:root {
    --bg: #f3efe4;
    --bg-soft: #fcfbf8;
    --ink: #101823;
    --ink-dim: rgba(16, 24, 35, 0.68);
    --line: rgba(16, 24, 35, 0.12);
    --card: rgba(255, 255, 255, 0.74);
    --card-strong: #ffffff;
    --panel: #101823;
    --panel-soft: #152230;
    --white: #ffffff;
    --lime: #c7f045;
    --coral: #ff745b;
    --cyan: #48c8f0;
    --indigo: #7b7cf5;
    --rose: #ef74b0;
    --amber: #ffbc45;
    --mint: #4ecf87;
    --shadow-soft: 0 22px 60px rgba(16, 24, 35, 0.11);
    --shadow-strong: 0 28px 90px rgba(16, 24, 35, 0.2);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: min(1180px, calc(100vw - 40px));
    --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
    --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(199, 240, 69, 0.16), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(255, 116, 91, 0.14), transparent 24%),
        linear-gradient(180deg, #f8f4ea 0%, #f1ecdf 52%, #f7f3ea 100%);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

button {
    font: inherit;
}

.page-ambient,
.page-grid {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -2;
}

.page-grid {
    z-index: -3;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(16, 24, 35, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 35, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
}

.ambient-lime {
    background: radial-gradient(circle at 10% 15%, rgba(199, 240, 69, 0.18), transparent 32%);
}

.ambient-coral {
    background: radial-gradient(circle at 92% 18%, rgba(255, 116, 91, 0.18), transparent 24%);
}

.site-header,
.section,
.signal-strip,
.site-footer {
    width: var(--container);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--panel) 0%, #223245 100%);
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 0.95rem;
}

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

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink-dim);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(16, 24, 35, 0.06);
    color: var(--ink);
    transform: translateY(-1px);
}

.nav-cta {
    background: var(--panel);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(16, 24, 35, 0.08);
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.section {
    padding: 96px 0 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 46px;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding-top: 48px;
}

.eyebrow,
.feature-kicker,
.screen-kicker,
.timeline-time,
.workflow-step {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
}

.eyebrow {
    margin: 0 0 18px;
    color: rgba(16, 24, 35, 0.55);
}

.hero-copy h1,
.section-heading h2,
.story-copy h2,
.cta-panel h2 {
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.06em;
    line-height: 0.92;
}

.hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3.7rem, 7vw, 6.8rem);
}

.hero-lead,
.section-heading p,
.story-copy > p,
.cta-panel > p {
    max-width: 62ch;
    font-size: 1.08rem;
    line-height: 1.72;
    color: var(--ink-dim);
}

.hero-actions,
.cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

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

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.button-primary {
    color: var(--panel);
    background: linear-gradient(135deg, var(--lime), #f0ff9c);
}

.button-secondary {
    border-color: rgba(16, 24, 35, 0.12);
    background: rgba(255, 255, 255, 0.58);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-tags span,
.screen-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(16, 24, 35, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    color: rgba(16, 24, 35, 0.78);
}

.hero-visual {
    position: relative;
    min-height: 640px;
    display: grid;
    place-items: center;
}

.hero-badge {
    position: absolute;
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
}

.hero-badge strong {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: -0.08em;
}

.hero-badge span {
    color: var(--ink-dim);
    font-size: 0.94rem;
}

.badge-a {
    top: 48px;
    left: 12px;
}

.badge-b {
    right: 16px;
    bottom: 84px;
}

.phone-shell {
    position: relative;
    width: min(100%, 410px);
    padding: 16px;
    border-radius: 42px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(219, 227, 235, 0.5)),
        linear-gradient(160deg, rgba(16, 24, 35, 0.8), rgba(16, 24, 35, 0.32));
    box-shadow: var(--shadow-strong);
}

.phone-shell::before {
    content: "";
    position: absolute;
    inset: -24px;
    border-radius: 58px;
    background:
        radial-gradient(circle at 20% 20%, rgba(72, 200, 240, 0.16), transparent 32%),
        radial-gradient(circle at 86% 18%, rgba(255, 188, 69, 0.2), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(199, 240, 69, 0.2), transparent 28%);
    z-index: -1;
}

.phone-top {
    width: 34%;
    height: 26px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: rgba(16, 24, 35, 0.9);
}

.phone-screen {
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 188, 69, 0.18), transparent 22%),
        radial-gradient(circle at bottom left, rgba(72, 200, 240, 0.18), transparent 24%),
        linear-gradient(180deg, #0e1621 0%, #101b28 48%, #0d151f 100%);
    color: var(--white);
    padding: 24px;
}

.screen-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.screen-header h2 {
    margin: 6px 0 0;
    font-size: 1.7rem;
    line-height: 1;
    font-family: var(--font-display);
    letter-spacing: -0.06em;
}

.screen-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
}

.screen-pill {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.screen-grid {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-card {
    border-radius: 24px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
}

.card-score,
.card-chart {
    grid-column: span 2;
}

.card-score {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
}

.score-ring {
    position: relative;
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        conic-gradient(var(--lime) 0deg 245deg, rgba(255, 255, 255, 0.08) 245deg 360deg);
}

.score-ring::before {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: #101b28;
}

.score-ring-core {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: -0.08em;
}

.score-copy span,
.chart-labels span,
.card-metrics p,
.card-routine p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

.score-copy strong,
.chart-labels strong,
.card-routine strong {
    display: block;
    margin-top: 5px;
    font-size: 1rem;
}

.card-metrics ul {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.card-metrics li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-metrics li span {
    color: rgba(255, 255, 255, 0.62);
}

.bar-chart {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 10px;
    height: 132px;
    margin-top: 18px;
}

.bar-chart span {
    display: block;
    height: var(--bar);
    min-height: 18px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, var(--cyan), var(--indigo));
}

.card-routine span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
}

.signal-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
    padding: 18px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.66);
    box-shadow: var(--shadow-soft);
}

.signal-item {
    padding: 18px 18px 14px;
    border-radius: 22px;
    background: rgba(16, 24, 35, 0.03);
}

.signal-item span {
    display: block;
    margin-bottom: 10px;
    color: var(--ink-dim);
}

.signal-item strong {
    font-size: 1.08rem;
    letter-spacing: -0.04em;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.story-copy h2,
.cta-panel h2 {
    font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.section-heading.narrow,
.faq-stage .section-heading {
    max-width: 760px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.spotlight-stack {
    display: grid;
    gap: 22px;
}

.spotlight-row {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
    align-items: center;
    padding: 28px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-soft);
}

.spotlight-row.reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.spotlight-row.reverse .spotlight-copy {
    order: 2;
}

.spotlight-row.reverse .spotlight-visual {
    order: 1;
}

.spotlight-copy h3 {
    margin: 14px 0 12px;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-family: var(--font-display);
}

.spotlight-copy > p {
    margin: 0;
    color: var(--ink-dim);
    line-height: 1.78;
}

.spotlight-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 12px;
}

.spotlight-list li {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(16, 24, 35, 0.04);
    line-height: 1.62;
    color: var(--ink-dim);
}

.spotlight-list strong {
    color: var(--ink);
}

.spotlight-visual {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(156px, 0.85fr);
    gap: 16px;
    align-items: stretch;
}

.visual-column {
    display: grid;
    gap: 16px;
}

.visual-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

.visual-frame-large,
.visual-frame-small {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 22%),
        linear-gradient(180deg, #111b28 0%, #0f1723 100%);
    color: var(--white);
}

.visual-frame-large {
    min-height: 330px;
    padding: 22px;
}

.visual-frame-small {
    min-height: 156px;
    padding: 18px;
}

.visual-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.visual-header span,
.visual-frame-small span,
.sleep-stats span,
.med-item span,
.med-item em {
    color: rgba(255, 255, 255, 0.62);
}

.visual-header strong,
.visual-frame-small strong {
    display: block;
    margin-top: 4px;
}

.visual-scoreband {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 22px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.visual-score {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lime), #f0ff9c);
    color: #111b28;
    font-family: var(--font-display);
    font-size: 1.9rem;
    letter-spacing: -0.08em;
}

.visual-scorecopy strong {
    display: block;
    margin-top: 8px;
}

.visual-scorecopy span {
    color: rgba(255, 255, 255, 0.62);
}

.visual-bars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 12px;
    height: 138px;
    margin-top: 20px;
}

.visual-bars span {
    display: block;
    height: var(--bar);
    min-height: 18px;
    border-radius: 999px 999px 12px 12px;
    background: linear-gradient(180deg, var(--cyan), var(--indigo));
}

.meter {
    width: 100%;
    height: 10px;
    margin-top: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.meter-cyan i {
    background: linear-gradient(90deg, var(--cyan), #95efff);
}

.meter-blue i {
    background: linear-gradient(90deg, #7ab4ff, var(--indigo));
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.mini-grid i {
    display: block;
    aspect-ratio: 1;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.mini-grid i:nth-child(2),
.mini-grid i:nth-child(4) {
    background: linear-gradient(135deg, var(--coral), var(--amber));
}

.med-timeline {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.med-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.med-item b {
    color: var(--white);
}

.med-item.done em {
    color: var(--mint);
}

.med-item.soon em {
    color: var(--amber);
}

.med-item.later em {
    color: var(--cyan);
}

.pills-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pill-row {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.pill-row i {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7ab4ff, var(--indigo));
}

.pill-row i.pending {
    opacity: 0.3;
}

.dark-frame {
    background:
        radial-gradient(circle at top center, rgba(123, 124, 245, 0.24), transparent 28%),
        linear-gradient(180deg, #101223 0%, #0e1320 100%);
}

.sleep-wave {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 10px;
    height: 136px;
    margin-top: 26px;
}

.sleep-wave i {
    display: block;
    border-radius: 999px;
    background: linear-gradient(180deg, #97a0ff, var(--rose));
}

.sleep-wave i:nth-child(1) { height: 36%; }
.sleep-wave i:nth-child(2) { height: 64%; }
.sleep-wave i:nth-child(3) { height: 48%; }
.sleep-wave i:nth-child(4) { height: 86%; }
.sleep-wave i:nth-child(5) { height: 58%; }
.sleep-wave i:nth-child(6) { height: 72%; }

.sleep-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.sleep-stats div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.sleep-stats strong {
    display: block;
    margin-top: 6px;
    color: var(--white);
}

.orb {
    width: 68px;
    height: 68px;
    margin-top: 18px;
    border-radius: 50%;
}

.orb-lime {
    background:
        radial-gradient(circle at 35% 35%, #f9ffd1, transparent 20%),
        radial-gradient(circle, rgba(199, 240, 69, 0.92), rgba(199, 240, 69, 0.12));
    box-shadow: 0 0 30px rgba(199, 240, 69, 0.26);
}

.visual-frame-small p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

.feature-card,
.workflow-card,
.timeline-card,
.cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
}

.feature-card {
    min-height: 260px;
    padding: 24px;
}

.feature-card::before,
.workflow-card::before,
.timeline-card::before,
.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.feature-card h3,
.workflow-card h3,
.timeline-card h3 {
    margin: 14px 0 10px;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.feature-card p:last-child,
.workflow-card p,
.timeline-card p,
.story-points p {
    margin: 0;
    color: var(--ink-dim);
    line-height: 1.72;
}

.accent-steps {
    --accent-a: var(--coral);
    --accent-b: var(--amber);
}

.accent-sleep {
    --accent-a: var(--indigo);
    --accent-b: var(--rose);
}

.accent-water {
    --accent-a: var(--cyan);
    --accent-b: #8be6ff;
}

.accent-pill {
    --accent-a: #69a2ff;
    --accent-b: var(--indigo);
}

.accent-mind {
    --accent-a: var(--rose);
    --accent-b: #d18cff;
}

.accent-workout {
    --accent-a: var(--lime);
    --accent-b: var(--mint);
}

.story-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 22px;
    align-items: start;
}

.story-points {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.story-points article {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.story-points strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.story-stack {
    display: grid;
    gap: 16px;
}

.timeline-card {
    min-height: 180px;
    padding: 24px;
}

.timeline-card.sunrise {
    --accent-a: var(--amber);
    --accent-b: var(--coral);
}

.timeline-card.noon {
    --accent-a: var(--cyan);
    --accent-b: var(--lime);
}

.timeline-card.dusk {
    --accent-a: var(--indigo);
    --accent-b: var(--rose);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.workflow-card {
    --accent-a: var(--panel);
    --accent-b: rgba(16, 24, 35, 0.35);
    min-height: 240px;
    padding: 24px;
}

.workflow-step {
    color: rgba(16, 24, 35, 0.42);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    padding: 0 24px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
}

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

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

.faq-list p {
    margin: 0 0 22px;
    color: var(--ink-dim);
    line-height: 1.72;
}

.cta-panel {
    --accent-a: var(--lime);
    --accent-b: var(--cyan);
    padding: 36px;
    background:
        radial-gradient(circle at top right, rgba(72, 200, 240, 0.12), transparent 24%),
        radial-gradient(circle at bottom left, rgba(199, 240, 69, 0.16), transparent 22%),
        rgba(255, 255, 255, 0.8);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 30px 0 44px;
    color: rgba(16, 24, 35, 0.58);
}

.site-footer p,
.site-footer span {
    margin: 0;
}

.site-footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.site-footer-links a {
    color: rgba(16, 24, 35, 0.6);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 160ms ease;
}

.site-footer-links a:hover {
    color: rgba(16, 24, 35, 0.95);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero,
    .story-stage,
    .spotlight-row,
    .feature-grid,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy h1 {
        max-width: 12ch;
    }

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

    .signal-strip {
        grid-template-columns: 1fr;
    }

    .spotlight-row.reverse .spotlight-copy,
    .spotlight-row.reverse .spotlight-visual {
        order: initial;
    }
}

@media (max-width: 760px) {
    :root {
        --container: min(100vw - 28px, 100vw - 28px);
    }

    .site-header {
        padding: 12px 14px;
        border-radius: 28px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: var(--shadow-soft);
    }

    body.menu-open .site-nav {
        display: flex;
    }

    body.menu-open .menu-toggle span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    body.menu-open .menu-toggle span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .hero {
        padding-top: 34px;
        gap: 24px;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(3rem, 15vw, 4.6rem);
    }

    .hero-lead,
    .section-heading p,
    .story-copy > p,
    .cta-panel > p {
        font-size: 1rem;
    }

    .hero-badge {
        position: static;
        width: 100%;
        margin-bottom: 12px;
    }

    .hero-visual {
        gap: 12px;
    }

    .phone-shell {
        width: 100%;
    }

    .phone-screen {
        padding: 18px;
    }

    .screen-header {
        flex-direction: column;
    }

    .screen-grid,
    .card-score {
        grid-template-columns: 1fr;
    }

    .card-score,
    .card-chart {
        grid-column: auto;
    }

    .score-ring {
        width: 94px;
        height: 94px;
    }

    .section {
        padding-top: 74px;
    }

    .feature-card,
    .workflow-card,
    .timeline-card,
    .cta-panel,
    .spotlight-row {
        padding: 22px;
    }

    .spotlight-visual,
    .sleep-stats {
        grid-template-columns: 1fr;
    }

    .visual-frame-large {
        min-height: 286px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
