:root {
    color-scheme: dark;
    --ink: #080d12;
    --ink-soft: #101820;
    --paper: #f4f5ef;
    --paper-muted: #cbd0c8;
    --line-dark: #26313a;
    --line-light: #cbd0c6;
    --lime: #84e500;
    --cyan: #16d9ff;
    --white: #fbfcf8;
    --muted: #a9b0b5;
    --content: 1160px;
    --header-height: 72px;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 10px 14px;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 13, 18, 0.86);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(var(--content), calc(100% - 40px));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 850;
    text-decoration: none;
}

.brand img,
.footer-brand img {
    border-radius: 8px;
}

.header-inner nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-inner nav a {
    color: #dce2e5;
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
}

.header-inner nav a:hover {
    color: var(--lime);
}

.hero {
    position: relative;
    min-height: calc(100svh - 88px);
    margin-top: var(--header-height);
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line-dark);
    isolation: isolate;
}

.hero-art {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(8, 13, 18, 0.98) 0%, rgba(8, 13, 18, 0.9) 34%, rgba(8, 13, 18, 0.16) 72%),
        linear-gradient(0deg, rgba(8, 13, 18, 0.56), transparent 40%),
        url("assets/app-icon.png");
    background-position: center, center, right center;
    background-size: cover, cover, min(76vw, 900px);
    background-repeat: no-repeat;
}

.hero-inner {
    width: min(var(--content), calc(100% - 40px));
    margin-inline: auto;
    padding: 84px 0 112px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--lime);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
}

.eyebrow.dark {
    color: #3e7512;
}

.hero h1,
.hero-statement,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

.hero h1 {
    margin: 0;
    font-size: clamp(4rem, 10vw, 8.2rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-statement {
    max-width: 700px;
    margin: 42px 0 0;
    font-size: clamp(2rem, 4.5vw, 4.25rem);
    font-weight: 850;
    line-height: 1.18;
}

.hero-copy {
    margin: 28px 0 0;
    color: #dde3e5;
    font-size: clamp(1rem, 1.6vw, 1.24rem);
    font-weight: 700;
    line-height: 1.8;
}

.hero-footnote {
    position: absolute;
    right: max(20px, calc((100vw - var(--content)) / 2));
    bottom: 24px;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.7rem;
    font-weight: 800;
}

.section-light {
    background: var(--paper);
    color: var(--ink);
}

.how-section {
    padding: 110px max(20px, calc((100vw - var(--content)) / 2));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 38px;
    border-bottom: 1px solid var(--line-light);
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.section-heading h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: 1.1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    min-width: 0;
    padding: 38px 34px 10px 0;
    border-right: 1px solid var(--line-light);
}

.steps li + li {
    padding-left: 34px;
}

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

.steps span {
    color: #6c756c;
    font-size: 0.72rem;
    font-weight: 850;
}

.steps h3 {
    margin: 18px 0 10px;
    font-size: 1.5rem;
}

.steps p {
    margin: 0;
    color: #4e574f;
    font-size: 0.93rem;
}

.app-section {
    width: min(var(--content), calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: clamp(64px, 10vw, 150px);
    padding: 110px 0;
}

.phone-stage {
    position: relative;
    margin: 0;
    min-height: 650px;
    display: grid;
    place-items: center;
}

.phone-stage::before {
    content: "";
    position: absolute;
    inset: 13% -8% 6%;
    z-index: -1;
    border: 1px solid rgba(22, 217, 255, 0.34);
    background-image:
        linear-gradient(rgba(22, 217, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 217, 255, 0.09) 1px, transparent 1px);
    background-size: 48px 48px;
}

.phone-shell {
    width: min(330px, 76vw);
    padding: 9px;
    border: 1px solid #3e4750;
    border-radius: 30px;
    background: #030609;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
}

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

.app-copy h2 {
    margin: 0;
    font-size: clamp(2.7rem, 5.4vw, 5.6rem);
    line-height: 1.06;
}

.app-copy > p:not(.eyebrow) {
    max-width: 560px;
    margin: 26px 0 0;
    color: #c7ced2;
}

.feature-rule {
    width: 100%;
    height: 1px;
    margin: 48px 0;
    background: var(--line-dark);
}

.app-copy h3 {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.3rem);
    line-height: 1.35;
}

.app-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 46px 0 0;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}

.app-facts div {
    padding: 18px 8px;
    border-right: 1px solid var(--line-dark);
}

.app-facts div:last-child {
    border-right: 0;
}

.app-facts dt {
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 800;
}

.app-facts dd {
    margin: 4px 0 0;
    font-size: 0.88rem;
    font-weight: 800;
}

.release-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px max(20px, calc((100vw - var(--content)) / 2));
}

.release-section h2 {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5.2rem);
    line-height: 1.08;
}

.safety-strip {
    width: min(var(--content), calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 60px;
    padding: 54px 0;
    border-bottom: 1px solid var(--line-dark);
}

.safety-strip h2 {
    margin: 0;
    font-size: 1.15rem;
}

.safety-strip p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.site-footer {
    width: min(var(--content), calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 36px;
    padding: 38px 0 52px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #c2c9cd;
    font-size: 0.78rem;
    text-decoration: none;
}

.site-footer > p {
    margin: 0;
    color: #778088;
    font-size: 0.72rem;
}

@media (max-width: 820px) {
    .header-inner nav {
        gap: 18px;
    }

    .hero {
        min-height: min(780px, calc(100svh - 56px));
    }

    .hero-art {
        background-image:
            linear-gradient(0deg, rgba(8, 13, 18, 0.98) 0%, rgba(8, 13, 18, 0.78) 48%, rgba(8, 13, 18, 0.18) 100%),
            url("assets/app-icon.png");
        background-position: center, center top;
        background-size: cover, 100% auto;
    }

    .hero-inner {
        align-self: end;
        padding: 250px 0 70px;
    }

    .hero h1 {
        font-size: clamp(2.9rem, 14.5vw, 5rem);
        white-space: nowrap;
    }

    .hero-statement {
        margin-top: 28px;
    }

    .steps,
    .app-section {
        grid-template-columns: 1fr;
    }

    .steps li,
    .steps li + li {
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line-light);
    }

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

    .app-section {
        gap: 50px;
    }

    .phone-stage {
        min-height: auto;
    }

    .safety-strip {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    :root {
        --header-height: 64px;
    }

    .header-inner {
        width: calc(100% - 28px);
    }

    .brand {
        gap: 8px;
        font-size: 0.9rem;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .header-inner nav a:not(:last-child) {
        display: none;
    }

    .header-inner nav a {
        font-size: 0.78rem;
    }

    .hero {
        min-height: calc(100svh - 72px);
    }

    .hero-inner {
        width: calc(100% - 32px);
        padding-bottom: 74px;
    }

    .hero-statement {
        font-size: clamp(1.9rem, 9.8vw, 3rem);
    }

    .hero-copy {
        font-size: 0.94rem;
    }

    .hero-footnote {
        right: 16px;
        bottom: 14px;
    }

    .how-section {
        padding-top: 74px;
        padding-bottom: 74px;
    }

    .section-heading {
        display: block;
        padding-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 2.35rem;
    }

    .app-section {
        padding: 76px 0;
    }

    .phone-shell {
        width: min(286px, 82vw);
    }

    .phone-stage::before {
        inset: 11% -3% 4%;
    }

    .app-copy h2,
    .release-section h2 {
        font-size: 2.55rem;
    }

    .feature-rule {
        margin: 36px 0;
    }

    .app-facts {
        margin-top: 34px;
    }

    .app-facts div {
        padding: 14px 6px;
    }

    .app-facts dd {
        font-size: 0.74rem;
    }

    .release-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) and (max-height: 620px) {
    .hero-inner {
        padding-top: 178px;
        padding-bottom: 36px;
    }

    .hero .eyebrow {
        display: none;
    }

    .hero-statement {
        margin-top: 16px;
        font-size: 1.62rem;
    }

    .hero-copy {
        margin-top: 8px;
        font-size: 0.76rem;
        line-height: 1.5;
    }

    .hero-footnote {
        display: none;
    }
}

@media (min-width: 821px) and (max-height: 700px) {
    .hero-inner {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 5.4rem;
    }

    .hero-statement {
        margin-top: 20px;
        font-size: 2.45rem;
    }

    .hero-copy {
        margin-top: 12px;
        font-size: 0.92rem;
        line-height: 1.55;
    }

}

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