:root {
    --paper: #f7f3ee;
    --paper-strong: #fffdf8;
    --ink: #181412;
    --muted: #665c56;
    --muted-soft: #8a7d74;
    --line: rgba(24, 20, 18, 0.1);
    --accent: #ff8b65;
    --accent-strong: #ff5d63;
    --card: rgba(255, 255, 255, 0.82);
    --shadow: 0 28px 80px rgba(37, 23, 16, 0.12);
    --shadow-soft: 0 18px 42px rgba(37, 23, 16, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: "Sora", sans-serif;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 225, 205, 0.18), transparent 32%),
        linear-gradient(180deg, #fffdfb 0%, #faf6f1 54%, #f8f2ec 100%);
}

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

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

.page-shell {
    width: min(1240px, calc(100vw - 32px));
    margin: 0 auto;
    padding-bottom: 40px;
}

.topbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding: 20px 0 8px;
}

.topbar-cta {
    min-height: 44px;
    padding-inline: 18px;
    background: #171414;
    box-shadow: none;
}

.hero,
.editorial,
.how-it-works,
.scenes,
.download {
    position: relative;
    padding: 48px 0;
}

.hero {
    display: grid;
    justify-items: center;
    gap: 14px;
    min-height: calc(100vh - 72px);
    padding-top: 6px;
    text-align: center;
    overflow: visible;
}

.hero-hands {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 680px;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: visible;
    z-index: 8;
}

.hero-hand {
    position: absolute;
    top: 18px;
    width: min(50.4vw, 732px);
    opacity: 0.98;
    object-fit: contain;
    filter: contrast(1.02);
}

.hero-hand-left {
    left: 0;
}

.hero-hand-right {
    right: 0;
}

.hero-visual {
    position: relative;
    width: min(100%, 410px);
    margin-top: 58px;
    z-index: 4;
}

.phone {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background: #100d10;
    border-radius: 42px;
    border: 10px solid #121013;
    box-shadow: 0 36px 100px rgba(25, 14, 8, 0.22);
}

.phone-hero {
    width: min(100%, 300px);
    aspect-ratio: 9 / 19;
    animation: hero-float 8s ease-in-out infinite;
}

.phone-notch {
    position: absolute;
    inset: 12px 74px auto;
    height: 24px;
    border-radius: 999px;
    background: rgba(10, 8, 10, 0.92);
    z-index: 3;
}

.phone-screen {
    position: absolute;
    inset: 0;
    padding: 22px 18px 18px;
}

.hero-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 235, 220, 0.94), transparent 24%),
        radial-gradient(circle at 78% 18%, rgba(255, 195, 173, 0.72), transparent 28%),
        linear-gradient(180deg, #ffbe92 0%, #ff966e 42%, #ff6f70 100%);
}

.hero-screen-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.8rem;
    font-weight: 700;
}

.screen-status {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(31, 19, 20, 0.18);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pulse-stack {
    display: grid;
    gap: 18px;
}

.pulse-orbit {
    position: relative;
    width: 176px;
    height: 176px;
    margin: 0 auto;
}

.pulse-ring,
.mini-ring {
    position: absolute;
    inset: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    transform: translate(-50%, -50%);
}

.pulse-ring-one {
    width: 104px;
    height: 104px;
}

.pulse-ring-two {
    width: 166px;
    height: 166px;
}

.pulse-dot,
.mini-point {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12);
}

.pulse-dot-self {
    width: 18px;
    height: 18px;
    left: 79px;
    top: 79px;
    background: #fff8f1;
}

.pulse-dot-a {
    width: 12px;
    height: 12px;
    right: 24px;
    top: 58px;
}

.pulse-dot-b {
    width: 11px;
    height: 11px;
    left: 28px;
    top: 52px;
}

.pulse-dot-c {
    width: 10px;
    height: 10px;
    right: 58px;
    bottom: 30px;
}

.signal-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(24, 15, 17, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    text-align: left;
}

.signal-card p {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 246, 241, 0.8);
}

.signal-card strong {
    font-size: 1rem;
    line-height: 1.45;
}

.signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.screen-chip,
.mini-chip,
.match-pill {
    border-radius: 999px;
    font-weight: 700;
}

.screen-chip {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.86);
    color: #5b3d34;
    font-size: 0.76rem;
}

.screen-chip-ghost {
    background: rgba(24, 16, 19, 0.16);
    color: #fff9f6;
}

.hero-copy-block {
    display: grid;
    justify-items: center;
    gap: 12px;
    max-width: 760px;
    margin-top: 2px;
    position: relative;
    z-index: 3;
}

.section-kicker,
.policy-plaque-kicker,
.scene-index,
.feature-index {
    margin: 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    font-weight: 700;
}

.hero h1,
.editorial h2,
.how-it-works h2,
.scenes h2,
.download h2 {
    margin: 0;
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 0.94;
}

.hero h1 {
    max-width: none;
    font-size: clamp(2.9rem, 4.2vw, 4.4rem);
    line-height: 0.92;
    white-space: nowrap;
}

.hero-copy,
.hero-note,
.editorial-panel p,
.feature-card p,
.scene-card p,
.download-panel p,
.footer {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.hero-copy {
    max-width: 42rem;
    font-size: 0.84rem;
    line-height: 1.6;
}

.policy-plaque-note,
.footer {
    font-size: 0.92rem;
}

.hero-anchor {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.policy-plaque:hover,
.policy-plaque:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #fffaf5;
    box-shadow: 0 18px 40px rgba(255, 107, 98, 0.24);
}

.topbar-cta {
    background: #171414;
    color: #fffdf9;
    box-shadow: none;
}

.button-large {
    min-width: min(100%, 280px);
}

.cta-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.editorial,
.how-it-works,
.scenes {
    display: grid;
    gap: 28px;
}

.editorial {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
}

.editorial h2,
.how-it-works h2,
.scenes h2,
.download h2 {
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.editorial-panel {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 32px;
    border: 1px solid rgba(24, 20, 18, 0.08);
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.statement-card {
    grid-column: 1 / -1;
    padding: clamp(26px, 4vw, 40px);
    border-radius: 34px;
    border: 1px solid rgba(24, 20, 18, 0.08);
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 244, 236, 0.94), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(253, 244, 236, 0.94) 100%);
    box-shadow: var(--shadow-soft);
}

.statement-card span {
    display: block;
    max-width: 21ch;
    font-family: "Instrument Serif", serif;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    letter-spacing: -0.03em;
    line-height: 0.96;
}

.section-head {
    display: grid;
    gap: 14px;
    max-width: 760px;
}

.cards-grid,
.scene-grid {
    display: grid;
    gap: 18px;
}

.cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.scene-card,
.download-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(24, 20, 18, 0.08);
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.feature-card,
.scene-card {
    padding: 28px;
}

.mini-phone {
    width: min(100%, 240px);
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 28px;
    background: linear-gradient(180deg, #171116 0%, #24171a 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.mini-screen {
    min-height: 250px;
    border-radius: 22px;
    padding: 18px;
}

.mini-screen-tags {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 248, 238, 0.82), transparent 20%),
        linear-gradient(180deg, #ffbc90 0%, #ff946d 55%, #ff6f75 100%);
}

.mini-chip {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.84);
    color: #5a3b30;
    font-size: 0.8rem;
}

.mini-chip-muted {
    background: rgba(63, 33, 39, 0.16);
    color: #fff4ef;
}

.mini-screen-radar {
    position: relative;
    background:
        radial-gradient(circle at center, rgba(255, 244, 237, 0.24), transparent 34%),
        linear-gradient(180deg, #ffbf90 0%, #ff8967 58%, #e95971 100%);
}

.mini-ring {
    width: 110px;
    height: 110px;
    top: 50%;
    left: 50%;
}

.mini-ring-two {
    width: 180px;
    height: 180px;
}

.mini-point-self {
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    background: #fff7f0;
}

.mini-point-a {
    width: 10px;
    height: 10px;
    top: 72px;
    right: 44px;
}

.mini-point-b {
    width: 12px;
    height: 12px;
    bottom: 54px;
    left: 52px;
}

.mini-screen-match {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    background:
        radial-gradient(circle at 35% 12%, rgba(255, 247, 241, 0.85), transparent 23%),
        linear-gradient(180deg, #ffd4a0 0%, #ff8a69 52%, #f15b74 100%);
    color: #fff8f4;
}

.match-pill {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    background: rgba(28, 18, 20, 0.18);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mini-screen-match strong {
    font-size: 1.08rem;
    line-height: 1.32;
}

.mini-screen-match p {
    color: rgba(255, 249, 245, 0.84);
    line-height: 1.65;
}

.feature-card h3,
.scene-card h3,
.policy-plaque strong {
    margin: 0 0 12px;
    font-size: 1.18rem;
    font-weight: 700;
}

.scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.scene-card-soft {
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 247, 241, 0.88), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(252, 241, 233, 0.98) 100%);
}

.scene-card-warm {
    background:
        radial-gradient(circle at 20% 16%, rgba(255, 241, 229, 0.6), transparent 22%),
        linear-gradient(180deg, rgba(255, 199, 170, 0.94) 0%, rgba(255, 123, 111, 0.96) 100%);
    color: #fffaf5;
}

.scene-card-warm p,
.scene-card-warm .scene-index,
.scene-card-warm h3 {
    color: #fffaf5;
}

.scene-card-light {
    background:
        radial-gradient(circle at 76% 18%, rgba(255, 220, 199, 0.62), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(247, 238, 228, 0.96) 100%);
}

.download-panel {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(255, 208, 184, 0.5), transparent 20%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 238, 228, 0.98) 100%);
}

.cta-row-final {
    margin-top: 6px;
}

.policy-plaque {
    display: grid;
    gap: 6px;
    justify-items: start;
    width: min(100%, 340px);
    margin-top: 10px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(24, 20, 18, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    text-align: left;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.policy-plaque-note {
    color: var(--muted-soft);
    line-height: 1.65;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(24, 20, 18, 0.1);
}

.footer a {
    text-decoration: underline;
    text-decoration-color: rgba(24, 20, 18, 0.22);
    text-underline-offset: 0.2em;
}

@keyframes hero-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 1120px) {
    .hero-hand {
        top: 38px;
        width: min(40vw, 520px);
    }

    .editorial,
    .cards-grid,
    .scene-grid,
    .footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .hero {
        min-height: auto;
        padding-top: 12px;
    }

    .hero-hand {
        display: none;
    }

    .topbar {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .hero-copy-block {
        margin-top: 6px;
    }

    .hero h1 {
        white-space: normal;
    }

    .footer {
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100vw - 24px, 100%);
    }

    .topbar {
        align-items: flex-end;
    }

    .hero,
    .editorial,
    .how-it-works,
    .scenes,
    .download {
        padding: 32px 0;
    }

    .hero h1 {
        max-width: 10ch;
        font-size: clamp(3.2rem, 14vw, 4.7rem);
        white-space: normal;
    }

    .editorial h2,
    .how-it-works h2,
    .scenes h2,
    .download h2,
    .statement-card span {
        font-size: clamp(2.2rem, 12vw, 3.7rem);
    }

    .button {
        width: 100%;
    }

    .topbar-cta {
        width: 100%;
        min-width: 0;
    }

    .hero-copy,
    .download-panel p {
        font-size: 0.98rem;
    }

    .feature-card,
    .scene-card,
    .editorial-panel,
    .download-panel,
    .statement-card {
        border-radius: 24px;
    }

    .footer {
        flex-direction: column;
    }
}

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

    .phone-hero,
    .button,
    .policy-plaque {
        animation: none;
        transition: none;
    }
}
