:root {
    --bg: #0b0924;
    --bg-soft: #0f0d2e;
    --panel: #14113a;
    --panel-2: #191645;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.17);
    --text: #f3f2ff;
    --muted: #a6a2c9;
    --muted-2: #7f7ba8;
    --indigo: #6366f1;
    --indigo-soft: #a5b4fc;
    --indigo-dim: rgba(99, 102, 241, 0.14);
    --gold: #facc15;
    --radius: 18px;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    background:
        radial-gradient(900px 600px at 88% -6%, rgba(99, 102, 241, 0.16), transparent 62%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 42%, #08061d 100%);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img,
svg {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.8rem 1.2rem;
    border-radius: 0 0 12px 0;
    background: var(--indigo);
    color: #fff;
    font-weight: 600;
}

.skip:focus {
    left: 0;
}

/* ---------- Nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem clamp(1.15rem, 4vw, 2.5rem);
    background: rgba(11, 9, 36, 0.74);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.nav__mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(145deg, #7c72ff, #4338ca);
    color: #fff;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.36);
}

.nav__mark svg {
    width: 19px;
    height: 19px;
}

.nav__name {
    font-weight: 700;
    font-size: 1.06rem;
    letter-spacing: -0.02em;
}

.nav__name span {
    color: var(--indigo-soft);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 2.2vw, 1.9rem);
    font-size: 0.9rem;
    color: var(--muted);
}

.nav__links a {
    transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
    color: var(--text);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lang {
    min-width: 44px;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.lang:hover,
.lang:focus-visible {
    border-color: var(--indigo);
    background: var(--indigo-dim);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.95rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav__cta svg {
    width: 16px;
    height: 16px;
}

.nav__cta:hover,
.nav__cta:focus-visible {
    border-color: var(--indigo);
    background: var(--indigo-dim);
    transform: translateY(-1px);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 3.6rem);
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(2.8rem, 6.5vw, 5.4rem) clamp(1.15rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5.6rem);
}

.hero__glow {
    position: absolute;
    top: -18%;
    right: -10%;
    width: 44rem;
    height: 44rem;
    max-width: 130vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 62%);
    pointer-events: none;
    z-index: 0;
}

.hero__copy {
    position: relative;
    z-index: 1;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    padding: 0.42rem 0.9rem 0.42rem 0.75rem;
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.08);
    font-family: var(--font-mono);
    font-size: 0.71rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--gold);
}

.pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.5);
    animation: pulse 2.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.45); }
    70% { box-shadow: 0 0 0 9px rgba(250, 204, 21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    font-weight: 800;
    background: linear-gradient(100deg, #ffffff 10%, #d5d2ff 48%, var(--indigo-soft) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h1 span {
    background: none;
    -webkit-text-fill-color: var(--indigo-soft);
    color: var(--indigo-soft);
}

.hero__lead {
    max-width: 34rem;
    margin-top: 1.35rem;
    font-size: clamp(1rem, 1.35vw, 1.08rem);
    color: #c8c5e6;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.78rem 1.4rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn--primary {
    background: linear-gradient(140deg, #6d63f5, var(--indigo));
    color: #fff;
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(99, 102, 241, 0.38);
}

.btn--ghost {
    border: 1px solid var(--line-strong);
    color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--indigo);
    background: var(--indigo-dim);
    transform: translateY(-2px);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 2.2rem;
    margin-top: 2.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.stats dt {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--indigo-soft);
}

.stats dd {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* ---------- Window / screenshots ---------- */

.hero__shot {
    position: relative;
    z-index: 1;
}

.window {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: var(--bg);
    box-shadow: 0 30px 70px rgba(3, 1, 16, 0.62), 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.window__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    background: var(--panel-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.window__bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b3668;
}

.window__bar em {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: 0.03em;
    color: var(--muted-2);
}

.window img {
    display: block;
    width: 100%;
    height: auto;
}

.hero__shot figcaption,
.split__shot figcaption,
.gallery figcaption {
    margin-top: 0.85rem;
    font-size: 0.8rem;
    color: var(--muted-2);
}

/* ---------- Sections ---------- */

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(2.6rem, 6vw, 4.6rem) clamp(1.15rem, 4vw, 2.5rem);
}

.section__head {
    max-width: 42rem;
    margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--indigo-soft);
}

.section h2,
.honesty h2 {
    margin-top: 0.6rem;
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 700;
}

.section__lead {
    max-width: 40rem;
    margin-top: 0.8rem;
    font-size: 1rem;
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.card {
    position: relative;
    padding: 1.5rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
    transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.45);
    background: linear-gradient(165deg, rgba(99, 102, 241, 0.12), rgba(255, 255, 255, 0.02));
    transform: translateY(-3px);
}

.card__icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: var(--indigo-dim);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--indigo-soft);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.card h3 {
    font-size: 1.06rem;
    letter-spacing: -0.02em;
}

.card p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- Split ---------- */

.section--split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 3.8rem);
}

.split__shot {
    min-width: 0;
}

.steps {
    display: grid;
    gap: 1.4rem;
    margin-top: 2rem;
}

.steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}

.steps li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.steps__num {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.28);
    color: var(--indigo-soft);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.steps h3 {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.steps p {
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- Gallery ---------- */

.gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr);
    align-items: start;
    gap: clamp(1.6rem, 4vw, 3rem);
}

.gallery__item {
    min-width: 0;
}

.gallery__item--phone {
    justify-self: center;
    width: min(280px, 100%);
}

.phone {
    padding: 9px;
    border-radius: 36px;
    background: linear-gradient(160deg, #262253, #12102f 42%, #0b0924);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.phone:hover {
    transform: translateY(-5px);
}

.phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
}

/* ---------- Honesty ---------- */

.section--honesty {
    padding-top: 0;
}

.honesty {
    position: relative;
    padding: clamp(1.8rem, 4vw, 2.8rem);
    border: 1px solid rgba(250, 204, 21, 0.22);
    border-radius: 22px;
    background:
        radial-gradient(520px 240px at 8% 0%, rgba(250, 204, 21, 0.09), transparent 62%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.honesty .eyebrow {
    color: var(--gold);
}

.honesty__list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.honesty__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.honesty__list li::before {
    content: "→";
    color: var(--gold);
    font-weight: 600;
}

/* ---------- Stack ---------- */

.stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.stack li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.05rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.stack strong {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--indigo-soft);
}

.stack span {
    font-size: 0.92rem;
    color: #d7d4ee;
}

/* ---------- Status ---------- */

.phases {
    display: grid;
    gap: 0.65rem;
}

.phase {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.022);
}

.phase__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b3668;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.phase h3 {
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.phase p {
    margin-top: 0.2rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.phase__tag {
    padding: 0.24rem 0.6rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
    white-space: nowrap;
}

.phase.is-done .phase__dot {
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

.phase.is-done .phase__tag {
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, 0.32);
    background: rgba(52, 211, 153, 0.08);
}

.phase.is-active {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.07);
}

.phase.is-active .phase__dot {
    background: var(--indigo);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18), 0 0 14px rgba(99, 102, 241, 0.7);
}

.phase.is-active .phase__tag {
    color: var(--indigo-soft);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.12);
}

/* ---------- Footer ---------- */

.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.2rem clamp(1.15rem, 4vw, 2.5rem) 2.6rem;
    border-top: 1px solid var(--line);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__name {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer__by {
    font-size: 0.82rem;
    color: var(--muted-2);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.footer__links a {
    transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
    color: var(--indigo-soft);
}

.footer__legal {
    width: 100%;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    color: var(--muted-2);
}

/* ---------- Focus ---------- */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--indigo-soft);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .nav__links {
        display: none;
    }

    .hero,
    .section--split,
    .gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.4rem;
    }

    .hero__shot {
        order: 2;
    }

    .section--split .split__shot {
        order: -1;
    }

    .gallery__item--phone {
        justify-self: start;
        width: min(250px, 82vw);
    }
}

@media (max-width: 640px) {
    .nav {
        gap: 0.7rem;
    }

    .nav__cta span {
        display: none;
    }

    .nav__cta {
        padding: 0.42rem 0.6rem;
    }

    .stats {
        gap: 0.5rem 1.5rem;
    }

    .stats dt {
        font-size: 1.2rem;
    }

    .phase {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .phase__tag {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.15rem;
    }

    .honesty__list li {
        font-size: 0.88rem;
    }

    .footer {
        padding-top: 1.8rem;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 3rem;
    }

    .btn {
        width: 100%;
    }
}
