:root {
    --bg: #fcfbf7;
    --surface: #ffffff;
    --surface-soft: #f5f0e8;
    --text: #121212;
    --muted: #6f6a63;
    --border: #e7e0d7;
    --coral: #c96b4b;
    --sage: #5e8e7d;
    --lavender: #6e78c9;
    --shadow-ambient: 0 18px 48px rgba(18, 18, 18, 0.06);
    --shadow-key: 0 3px 10px rgba(18, 18, 18, 0.04);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

button {
    font: inherit;
}

img,
svg {
    display: block;
}

.site-shell {
    min-height: 100vh;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.narrow {
    width: min(calc(100% - 40px), 820px);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    background: rgba(252, 251, 247, 0.86);
    backdrop-filter: blur(12px);
}

.simple-topbar {
    position: static;
    background: transparent;
    backdrop-filter: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-ambient), var(--shadow-key);
}

.brand-mark.small {
    width: 38px;
    height: 38px;
}

.brand-wordmark {
    font-size: 1.05rem;
}

.nav {
    display: inline-flex;
    align-items: center;
    gap: 28px;
}

.nav a,
.nav-drawer a {
    color: var(--muted);
    transition: color 150ms ease;
}

.nav a:hover,
.nav a.is-active,
.nav-drawer a:hover {
    color: var(--text);
}

.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nav-hamburger {
    display: none;
    border: 0;
    background: transparent;
    padding: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.nav-drawer {
    display: none;
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-ambient);
}

.nav-drawer.is-open {
    display: grid;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    font-weight: 600;
    box-shadow: var(--shadow-key);
}

.button:hover {
    opacity: 0.94;
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
}

.button-full {
    width: 100%;
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
}

.hero {
    padding: 52px 0 56px;
}

.hero-inner,
.two-column-layout,
.screen-showcase,
.final-cta-inner,
.footer-inner {
    display: grid;
    gap: 40px;
}

.hero-inner,
.two-column-layout,
.final-cta-inner,
.footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.hero-copy {
    max-width: 560px;
}

.eyebrow,
.panel-label,
.screen-kicker,
.device-kicker {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.05em;
}

h1,
h2 {
    font-family: "Newsreader", serif;
}

h1 {
    font-size: clamp(3.3rem, 6vw, 5.8rem);
    line-height: 0.95;
}

h2 {
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1;
}

h3 {
    font-size: 1.45rem;
    line-height: 1.12;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.hero-sub,
.section-heading p,
.screen-copy p,
.legal-lead {
    max-width: 640px;
    font-size: 1.06rem;
}

.hero-actions,
.hero-meta-row,
.chip-row,
.footer-links,
.screen-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions {
    margin-top: 32px;
}

.hero-meta-row {
    margin-top: 26px;
}

.hero-meta-pill,
.device-pill,
.word-chip,
.screen-tab {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
}

.hero-meta-pill,
.word-chip {
    padding: 10px 14px;
    font-size: 0.94rem;
}

.hero-visual {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-frame,
.metric-tile,
.feature-row,
.editorial-panel,
.step-row,
.screen-stage,
.level-row,
.faq-item,
.legal-card,
.final-cta-inner {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-ambient), var(--shadow-key);
}

.device-frame {
    width: min(100%, 360px);
    padding: 22px;
    border-radius: 34px;
}

.hero-device {
    transform: translateY(10px);
}

.device-header,
.device-sheet-head,
.review-row,
.metric-row,
.final-cta-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.device-story-line,
.device-checklist div,
.progress-bar,
.story-paragraph,
.device-card,
.device-sheet,
.review-row,
.metric-row {
    border-radius: 18px;
}

.device-story-line {
    height: 12px;
    background: #ece4da;
    margin-top: 16px;
}

.device-story-line.wide {
    width: 100%;
}

.device-story-line.medium {
    width: 82%;
}

.device-story-line.short {
    width: 58%;
}

.device-story-line.accent {
    background: #efe3de;
}

.word-chip.selected,
.screen-tab.is-active,
.inline-highlight {
    background: #f4e3dc;
    border-color: #ecd1c6;
}

.chip-row {
    margin-top: 20px;
}

.chip-row.compact {
    gap: 10px;
}

.device-sheet,
.device-card,
.progress-badge,
.editorial-panel,
.legal-card,
.final-cta-inner {
    margin-top: 22px;
}

.device-sheet,
.device-card,
.editorial-panel,
.legal-card,
.final-cta-inner {
    padding: 18px;
}

.device-sheet {
    background: #fffaf6;
}

.hero-note {
    position: absolute;
    display: flex;
    gap: 14px;
    width: 220px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-ambient);
}

.note-left {
    top: 82px;
    left: 0;
}

.note-right {
    right: 0;
    bottom: 94px;
}

.note-icon,
.feature-icon,
.level-icon,
.review-dot {
    flex: none;
}

.note-icon,
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-weight: 700;
    color: var(--text);
}

.note-coral,
.feature-icon.coral,
.coral-dot,
.level-icon.coral {
    background: #f4e3dc;
}

.note-sage,
.feature-icon.sage,
.sage-dot,
.level-icon.sage {
    background: #e1eee8;
}

.feature-icon.lavender,
.lavender-dot,
.level-icon.lavender {
    background: #e4e6f7;
}

.proof-band {
    padding: 0 0 24px;
}

.proof-band-grid,
.feature-rows,
.step-rows,
.faq-list,
.legal-card-stack,
.level-rows {
    display: grid;
    gap: 18px;
}

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

.metric-tile {
    padding: 24px;
    border-radius: 28px;
}

.metric-number {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.metric-label {
    color: var(--muted);
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(245, 240, 232, 0.38), rgba(245, 240, 232, 0.16));
}

.section-heading {
    margin-bottom: 34px;
    text-align: center;
}

.section-heading.left-aligned {
    text-align: left;
}

.section-heading.compact {
    max-width: 700px;
}

.feature-row,
.step-row,
.level-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 26px;
}

.feature-copy,
.screen-copy,
.faq-item p,
.legal-card p {
    display: grid;
    gap: 8px;
}

.step-row {
    align-items: flex-start;
}

.step-index {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
}

.panel-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    display: grid;
    gap: 10px;
}

.screen-tabs {
    margin-bottom: 24px;
}

.screen-tab {
    padding: 12px 16px;
    cursor: pointer;
}

.screen-tab.is-active {
    color: var(--text);
}

.screen-showcase {
    grid-template-columns: 1fr;
}

.screen-stage {
    display: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 380px);
    align-items: center;
    gap: 32px;
    padding: 28px;
    border-radius: 32px;
}

.screen-stage.is-active {
    display: grid;
}

.tall {
    min-height: 520px;
}

.story-paragraph {
    margin-top: 18px;
    padding: 18px;
    background: #fbf6ef;
    color: var(--muted);
    line-height: 1.9;
}

.inline-highlight {
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--text);
}

.device-card {
    background: #fbf6ef;
}

.device-card-label,
.review-row em {
    font-style: normal;
    color: var(--muted);
    font-size: 0.92rem;
}

.device-answer-row,
.device-checklist {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

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

.device-answer-row span,
.device-checklist div {
    min-height: 56px;
    border: 1px solid var(--border);
    background: #fbf6ef;
}

.review-row,
.metric-row {
    margin-top: 16px;
    padding: 16px;
    background: #fbf6ef;
}

.review-dot,
.level-icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
}

.progress-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #e1eee8;
    font-size: 1.45rem;
    font-weight: 700;
}

.progress-title {
    margin-top: 18px;
    font-size: 1.1rem;
    font-weight: 600;
}

.progress-bar {
    margin-top: 18px;
    height: 14px;
    background: #ece4da;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    width: 72%;
    height: 100%;
    background: linear-gradient(90deg, var(--sage), var(--lavender));
}

.faq-item {
    padding: 0 22px;
    border-radius: 24px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 0 22px;
}

.final-cta-inner {
    padding: 28px 30px;
    border-radius: 34px;
}

.site-footer {
    padding: 0 0 48px;
}

.footer-copy {
    margin-top: 10px;
}

.footer-links {
    justify-content: flex-end;
}

.legal-shell {
    padding-bottom: 48px;
}

.legal-main {
    padding-top: 24px;
}

.prose-card {
    display: grid;
    gap: 18px;
}

.prose-card h2 {
    font-size: 1.7rem;
}

.legal-links-card {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
}

@media (max-width: 980px) {
    .nav,
    .topbar-actions {
        display: none;
    }

    .nav-hamburger {
        display: inline-flex;
    }

    .hero-inner,
    .two-column-layout,
    .final-cta-inner,
    .footer-inner,
    .screen-stage {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 20px;
    }

    .hero-visual {
        min-height: auto;
        padding-top: 26px;
    }

    .hero-note {
        position: static;
        width: auto;
        margin-top: 18px;
    }

    .proof-band-grid {
        grid-template-columns: 1fr;
    }

    .screen-stage {
        padding: 24px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .container,
    .narrow {
        width: min(calc(100% - 28px), var(--container));
    }

    .topbar {
        padding: 16px 0;
    }

    .section {
        padding: 72px 0;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .button,
    .button-secondary {
        width: 100%;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .device-frame {
        width: 100%;
        padding: 18px;
    }

    .feature-row,
    .step-row,
    .level-row,
    .final-cta-inner {
        padding: 18px;
    }
}
