/* ============================================================
   Scenza landing — editorial / perfume-house look (SCE-31)
   Palette and type mirror the mobile app tokens:
   cream #f2f4ef · deep #283025 · sage #53644c · mint #c7e5cf
   Plus Jakarta Sans (product headings) + Manrope (text)
   Playfair Display is reserved for the hero's editorial accent.
   ============================================================ */

:root {
    --cream: #f2f4ef;
    --paper: #faf9f7;
    --deep: #283025;
    --deep-2: #1e241c;
    --sage: #53644c;
    --sage-soft: #eef2ec;
    --mint: #c7e5cf;
    --ink: #2d342f;
    --muted: #5a615b;
    --hairline: rgba(45, 52, 47, 0.16);
    --hairline-light: rgba(242, 244, 239, 0.22);

    --font-display: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
    --font-text: "Manrope", -apple-system, "Segoe UI", sans-serif;
    --font-editorial: "Playfair Display", "Times New Roman", serif;

    --container: 1200px;
    --gutter: clamp(20px, 4vw, 48px);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0; font-weight: 500; }

p { margin: 0; }

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

a { color: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--deep);
    color: var(--cream);
    padding: 10px 18px;
    z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 3px;
}

::selection { background: var(--mint); color: var(--deep); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
                border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.btn--small { padding: 9px 20px; font-size: 13px; }
.btn--large { padding: 15px 30px; font-size: 15px; }

.btn--primary {
    background: var(--deep);
    color: var(--cream);
}
.btn--primary:hover { background: var(--sage); transform: translateY(-1px); }

.btn--ghost {
    border-color: var(--hairline);
    color: var(--ink);
    background: transparent;
}
.btn--ghost:hover { border-color: var(--sage); color: var(--sage); }

.btn--light {
    background: var(--cream);
    color: var(--deep);
}
.btn--light:hover { background: var(--mint); transform: translateY(-1px); }

.btn svg { flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-header.is-scrolled {
    background: rgba(250, 249, 247, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--hairline);
}

.site-header__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo svg { display: block; height: 100%; width: auto; }

.site-logo--header {
    display: block;
    height: 44px;
    color: var(--deep);
}

.site-header__nav {
    display: flex;
    gap: clamp(20px, 2.5vw, 34px);
}

.site-header__nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.site-header__nav a:hover,
.site-header__nav a.is-current {
    color: var(--deep);
    border-bottom-color: var(--sage);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mobile-nav { display: none; }

.mobile-nav__toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--deep);
    background: rgba(250, 249, 247, 0.88);
    cursor: pointer;
    list-style: none;
}

.mobile-nav__toggle::-webkit-details-marker { display: none; }

.mobile-nav__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mobile-nav__toggle-icon,
.mobile-nav__toggle-icon::before,
.mobile-nav__toggle-icon::after {
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.mobile-nav__toggle-icon { position: relative; }
.mobile-nav__toggle-icon::before,
.mobile-nav__toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
}
.mobile-nav__toggle-icon::before { transform: translateY(-5px); }
.mobile-nav__toggle-icon::after { transform: translateY(5px); }

.mobile-nav[open] .mobile-nav__toggle-icon { background: transparent; }
.mobile-nav[open] .mobile-nav__toggle-icon::before { transform: rotate(45deg); }
.mobile-nav[open] .mobile-nav__toggle-icon::after { transform: rotate(-45deg); }

.mobile-nav[open]::before {
    content: "";
    position: fixed;
    inset: 72px 0 0;
    background: rgba(40, 48, 37, 0.2);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.mobile-nav__panel {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    z-index: 2;
    max-height: calc(100svh - 92px);
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    border: 1px solid var(--hairline);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: 0 24px 60px -24px rgba(40, 48, 37, 0.45);
}

.mobile-nav__panel a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.mobile-nav__panel a:hover,
.mobile-nav__panel a:focus-visible {
    background: var(--sage-soft);
    color: var(--deep);
}

.mobile-nav__language {
    color: var(--sage) !important;
    letter-spacing: 0.1em;
}

.lang-switch {
    display: inline-flex;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--muted);
}
.lang-switch__current { color: var(--deep); }
.lang-switch__divider { opacity: 0.4; }
.lang-switch:hover .lang-switch__alt { color: var(--sage); }

@media (max-width: 900px) {
    .site-header__nav { display: none; }
    .site-header__actions { gap: 10px; }
    .site-header__actions > .lang-switch { display: none; }
    .mobile-nav { display: block; }
}

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

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 122px 0 76px;
    overflow: hidden;
    background: var(--cream);
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__grain {
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.05;
    mix-blend-mode: multiply;
}

.hero__rule--v {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% + 120px);
    width: 1px;
    background: var(--hairline);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(28px, 4.5vw, 64px);
    align-items: center;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(52px, 7.4vw, 92px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--deep);
    margin: 0 0 26px;
}

.hero__title-line { display: block; }

.hero__title-line--italic {
    font-family: var(--font-editorial);
    font-style: italic;
    font-weight: 400;
    color: var(--sage);
}

/* SCE-105: opisowa fraza w H1 pod sloganem */
.hero__title-sub {
    display: block;
    margin-top: 20px;
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sage);
}

.hero__lead {
    max-width: 46ch;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 30px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero__families {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 14px;
    color: var(--muted);
    opacity: 0.85;
}

.hero__families-dot { color: var(--sage); }

/* Web-native app panels */

.hero__device {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 650px;
    isolation: isolate;
}

.hero__device::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(620px, 125%);
    aspect-ratio: 1;
    border-radius: 46% 54% 58% 42% / 42% 46% 54% 58%;
    background:
        radial-gradient(circle at 63% 26%, rgba(199, 229, 207, 0.75) 0 3px, transparent 4px),
        radial-gradient(circle at 43% 40%, rgba(199, 229, 207, 0.54) 0 4px, transparent 5px),
        linear-gradient(145deg, var(--deep), var(--sage));
    opacity: 0.98;
    transform: rotate(-8deg);
    box-shadow: 0 34px 80px -36px rgba(40, 48, 37, 0.58);
}

.device {
    background: transparent;
    border-radius: 32px;
    padding: 0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 30px 60px -24px rgba(40, 48, 37, 0.38);
}

.device__screen {
    border-radius: inherit;
    overflow: hidden;
    background: var(--paper);
}

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

.device__screen picture { display: block; }

.device--main {
    position: relative;
    width: min(340px, 78%);
    z-index: 2;
}

.device--secondary {
    position: absolute;
    width: min(278px, 62%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.9s var(--ease-out) 0.45s, transform 0.9s var(--ease-out) 0.45s;
}

.device--back-left {
    left: max(-38px, -8%);
    top: 92px;
    transform: rotate(-7deg) translateY(26px);
}

.hero__device.is-revealed .device--secondary {
    opacity: 1;
    transform: rotate(-7deg) translateY(0);
}

.hero__device.reveal[data-reveal="device"] .device--main {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.hero__device.reveal[data-reveal="device"].is-visible .device--main {
    opacity: 1;
    transform: translateY(0);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero__scroll-line {
    width: 1px;
    height: 44px;
    background: var(--hairline);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--sage);
    transform: translateY(-100%);
    animation: scrollline 2.2s var(--ease-out) infinite;
}

@keyframes scrollline {
    0% { transform: translateY(-100%); }
    55% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

@media (max-width: 820px) {
    .hero { padding: 100px 0 54px; min-height: 0; align-items: flex-start; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__rule--v { display: none; }
    .hero__device {
        min-height: 0;
        height: auto;
        margin-top: 0;
        align-items: flex-start;
        overflow: visible;
    }
    .hero__device::before { width: min(570px, 92vw); top: 42px; }
    .device--main { width: min(330px, 72vw); }
    .device--secondary { display: none; }
    .hero__scroll-hint { display: none; }
}

@media (max-width: 480px) {
    .hero { padding-top: 88px; }
    .hero__inner { gap: 18px; }
    .hero__badge { margin-bottom: 14px; font-size: 10px; letter-spacing: 0.13em; }
    .hero__title { font-size: clamp(44px, 12.8vw, 52px); margin-bottom: 16px; }
    .hero__title-sub { margin-top: 14px; font-size: 10px; line-height: 1.5; letter-spacing: 0.15em; }
    .hero__lead { font-size: 14.5px; line-height: 1.58; margin-bottom: 20px; }
    .hero__ctas { margin-bottom: 0; }
    .hero__ctas .btn { padding: 13px 18px; }
    .hero__ctas .btn--ghost { display: none; }
    .hero__families { display: none; }
    .hero__device { height: auto; }
    .device--main { width: min(308px, 78vw); }
}

/* ---------- Section headers ---------- */

.section-header {
    max-width: 720px;
    margin-bottom: clamp(44px, 7vw, 84px);
}

.section-header__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 18px;
}

.section-header__eyebrow::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 1px;
    background: var(--sage);
    margin-right: 12px;
}

.section-header__eyebrow--light { color: var(--mint); }
.section-header__eyebrow--light::before { background: var(--mint); }

.section-header__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(30px, 4.4vw, 48px);
    line-height: 1.14;
    letter-spacing: -0.005em;
    color: var(--deep);
    margin-bottom: 20px;
    text-wrap: balance;
}

.section-header__lead {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
    max-width: 60ch;
}

.section-header--light .section-header__title { color: var(--cream); }
.section-header--light .section-header__lead { color: rgba(242, 244, 239, 0.72); }

/* ---------- Stats ---------- */

.stats {
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: var(--paper);
    padding: clamp(52px, 7vw, 90px) 0;
}

.stats__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(20px, 2.6vw, 28px);
    line-height: 1.4;
    color: var(--deep);
    max-width: 30ch;
    margin-bottom: clamp(36px, 5vw, 60px);
    text-wrap: balance;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.stats__item {
    min-width: 0;
    border-left: 1px solid var(--hairline);
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats__value {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1;
    color: var(--deep);
    font-variant-numeric: tabular-nums;
}

.stats__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 860px) {
    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}

@media (max-width: 359px) {
    .stats__grid { grid-template-columns: 1fr; gap: 24px; }
    .stats__item { padding-left: 18px; }
    .stats__value { font-size: 36px; }
}

/* ---------- Features ---------- */

.features { padding: clamp(80px, 11vw, 150px) 0; }

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--hairline);
}

.feature-card {
    display: flex;
    gap: 26px;
    padding: clamp(30px, 4vw, 48px) clamp(4px, 2vw, 32px) clamp(30px, 4vw, 48px) 4px;
    border-bottom: 1px solid var(--hairline);
    transition: background-color 0.3s var(--ease-out);
}

.feature-card:nth-child(odd) { border-right: 1px solid var(--hairline); padding-right: clamp(24px, 3vw, 48px); }
.feature-card:nth-child(even) { padding-left: clamp(24px, 3vw, 48px); }

.feature-card:hover { background: var(--paper); }

.feature-card__num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--sage);
    line-height: 2;
    flex: none;
}

.feature-card__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.25;
    color: var(--deep);
    margin-bottom: 12px;
}

.feature-card__desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
    max-width: 44ch;
}

@media (max-width: 860px) {
    .features__grid { grid-template-columns: 1fr; }
    .feature-card:nth-child(odd) { border-right: 0; padding-right: 4px; }
    .feature-card:nth-child(even) { padding-left: 4px; }
}

/* ---------- Showcase (continuous SCE-123 panorama) ---------- */

.showcase {
    background: linear-gradient(135deg, #f7f8f4 0%, var(--cream) 54%, #e9eee7 100%);
    padding: clamp(76px, 8vw, 112px) 0 clamp(60px, 7vw, 92px);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.035;
    pointer-events: none;
}

.showcase::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: -8%;
    right: -8%;
    bottom: -28%;
    height: 54%;
    border-radius: 50% 52% 0 0 / 72% 68% 0 0;
    background: linear-gradient(105deg, var(--deep), var(--sage));
    opacity: 0.96;
    transform: rotate(-2deg);
    pointer-events: none;
}

.showcase > .container,
.showcase__rail { position: relative; z-index: 1; }

.showcase .section-header { margin-bottom: clamp(36px, 5vw, 60px); }

.showcase__track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 30px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.showcase__track::-webkit-scrollbar { display: none; }

.showcase__card {
    margin: 0;
    flex: 0 0 auto;
    width: clamp(340px, 30vw, 420px);
    scroll-snap-align: start;
    position: relative;
}

.showcase__card + .showcase__card {
    margin-left: -1px;
}

.device--showcase {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.device--showcase .device__screen { border-radius: 0; }
.showcase__card:first-child .device__screen { border-radius: 28px 0 0 28px; }
.showcase__card:last-child .device__screen { border-radius: 0 28px 28px 0; }
.device--showcase img { width: 100%; }

.showcase__caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    .showcase__track {
        padding-left: var(--gutter);
        padding-right: var(--gutter);
        scroll-padding-inline: var(--gutter);
    }
    .showcase__card { width: min(86vw, 350px); }
    .showcase::after { bottom: -12%; height: 42%; }
}

/* ---------- How it works ---------- */

.howto { padding: clamp(80px, 11vw, 150px) 0; }

.howto__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(32px, 4vw, 56px);
}

.howto__step {
    border-top: 1px solid var(--hairline);
    padding-top: 26px;
    position: relative;
}

.howto__step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 56px;
    height: 1px;
    background: var(--sage);
}

.howto__step-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1;
    color: var(--sage);
    opacity: 0.55;
    margin-bottom: 22px;
}

.howto__step-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    color: var(--deep);
    margin-bottom: 12px;
}

.howto__step-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
}

@media (max-width: 860px) {
    .howto__steps { grid-template-columns: 1fr; }
}

/* ---------- Why ---------- */

.why {
    background: var(--sage-soft);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: clamp(80px, 11vw, 150px) 0;
}

.why__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}

.why__intro .section-header__lead { margin-bottom: 0; }

.why__points {
    display: flex;
    flex-direction: column;
}

.why__point {
    display: flex;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--hairline);
}
.why__point:first-child { padding-top: 6px; }
.why__point:last-child { border-bottom: 0; }

.why__check {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--sage);
    color: var(--sage);
    display: grid;
    place-items: center;
}
.why__check svg { width: 15px; height: 15px; }

.why__point-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    color: var(--deep);
    margin-bottom: 8px;
}

.why__point-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted);
}

@media (max-width: 860px) {
    .why__grid { grid-template-columns: 1fr; }
}

/* ---------- Beta / download ---------- */

.download {
    position: relative;
    background: var(--deep);
    color: var(--cream);
    padding: clamp(80px, 11vw, 150px) 0;
    overflow: hidden;
}

.download__bg { position: absolute; inset: 0; pointer-events: none; }

.download__grain {
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.07;
}

.download__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.download__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.12;
    color: var(--cream);
    margin-bottom: 22px;
    text-wrap: balance;
}

.download__lead {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(242, 244, 239, 0.75);
    max-width: 52ch;
    margin-bottom: 38px;
}

.download__cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 44px;
}

.download__cta-mail {
    font-size: 13.5px;
    font-weight: 300;
    color: rgba(242, 244, 239, 0.6);
}

.download__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 14px;
    border: 1px solid var(--hairline-light);
    border-radius: 14px;
    color: var(--cream);
    text-decoration: none;
}

.store-badge--soon { opacity: 0.55; }

.store-badge__logo {
    display: block;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    overflow: visible;
}

.store-badge__text { display: flex; flex-direction: column; line-height: 1.25; }

.store-badge__pre {
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.store-badge__name { font-size: 15px; font-weight: 500; }

.download__device { display: flex; justify-content: center; }

.device--download {
    width: min(270px, 70%);
    transform: rotate(4deg);
    background: #10140e;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

@media (max-width: 960px) {
    .download__inner { grid-template-columns: 1fr; }
    .download__device { display: none; }
}

/* ---------- FAQ ---------- */

.faq { padding: clamp(80px, 11vw, 150px) 0; }

.faq__list {
    max-width: 820px;
    border-top: 1px solid var(--hairline);
}

.faq__item { border-bottom: 1px solid var(--hairline); }

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    color: var(--deep);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--sage); }

.faq__icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--sage);
    transition: transform 0.3s var(--ease-out);
}
.faq__icon svg { width: 100%; height: 100%; }

.faq__item[open] .faq__icon { transform: rotate(180deg); }

.faq__a {
    padding: 0 44px 26px 4px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--muted);
    max-width: 68ch;
}

.faq__a a {
    color: var(--sage);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq__a a:hover { color: var(--deep); }

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

.site-footer {
    background: var(--deep);
    color: var(--cream);
    padding: clamp(60px, 8vw, 100px) 0 36px;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: clamp(40px, 6vw, 90px);
    padding-bottom: clamp(40px, 6vw, 70px);
    border-bottom: 1px solid var(--hairline-light);
}

.site-logo--footer {
    display: block;
    height: 74px;
    color: var(--cream);
    margin-bottom: 18px;
}

.site-footer__tagline {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 16px;
    color: rgba(242, 244, 239, 0.65);
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.site-footer__col h4 {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 18px;
}

.site-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__col a {
    font-size: 14.5px;
    font-weight: 300;
    text-decoration: none;
    color: rgba(242, 244, 239, 0.78);
    transition: color 0.2s;
}
.site-footer__col a:hover { color: var(--cream); }

.site-footer__contact-cta { margin-top: 6px; }

.site-footer__contact-cta .btn--ghost {
    border-color: var(--hairline-light);
    color: var(--cream);
}
.site-footer__contact-cta .btn--ghost:hover {
    border-color: var(--mint);
    color: var(--mint);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 28px;
    font-size: 13px;
    font-weight: 300;
    color: rgba(242, 244, 239, 0.55);
}

@media (max-width: 860px) {
    .site-footer__top { grid-template-columns: 1fr; }
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Compact mobile rhythm ---------- */

@media (max-width: 600px) {
    .section-header { margin-bottom: 36px; }
    .section-header__eyebrow { margin-bottom: 12px; }
    .section-header__title { margin-bottom: 14px; }
    .section-header__lead { line-height: 1.62; }

    .stats { padding: 44px 0; }
    .stats__title { margin-bottom: 30px; }

    .showcase,
    .features,
    .howto,
    .why,
    .download,
    .faq { padding-top: 64px; padding-bottom: 64px; }

    .showcase .section-header { margin-bottom: 34px; }

    .feature-card {
        gap: 18px;
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .feature-card__title { margin-bottom: 8px; }
    .feature-card__desc { line-height: 1.62; }

    .howto__steps { gap: 36px; }
    .howto__step { padding-top: 20px; }
    .howto__step-num { margin-bottom: 16px; font-size: 42px; }

    .why__grid { gap: 34px; }
    .why__point { gap: 16px; padding: 20px 0; }

    .download__lead { margin-bottom: 28px; }
    .download__cta { margin-bottom: 34px; }

    .faq__q { padding: 20px 4px; font-size: 18px; }
    .faq__a { padding-bottom: 22px; line-height: 1.65; }

    .site-footer { padding-top: 56px; }
    .site-footer__top { gap: 34px; }
}

@media (max-width: 380px) {
    .site-header__inner { gap: 12px; }
    .site-header__actions { gap: 8px; }
    .site-header__actions > .btn { padding-left: 16px; padding-right: 16px; }
    .mobile-nav__panel { grid-template-columns: 1fr; }
    .site-footer__cols { grid-template-columns: 1fr; }
}

/* ---------- Reveal animations ---------- */

.reveal { opacity: 1; }

/* Above-the-fold content must be paintable without waiting for landing.js or
   an entrance transition; delayed opacity/clip-path directly inflates LCP. */
.js #hero .reveal[data-reveal="up"],
.js #hero .reveal[data-reveal="mask"],
.js #hero .hero__device.reveal[data-reveal="device"] .device--main {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
}

.js .reveal[data-reveal="up"] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease-out) var(--reveal-delay, 0s),
                transform 0.8s var(--ease-out) var(--reveal-delay, 0s);
}

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

.js .reveal[data-reveal="mask"] {
    display: block;
    clip-path: inset(0 0 100% 0);
    transform: translateY(20px);
    transition: clip-path 0.9s var(--ease-out) var(--reveal-delay, 0s),
                transform 0.9s var(--ease-out) var(--reveal-delay, 0s);
}

.js .reveal[data-reveal="mask"].is-visible {
    clip-path: inset(-4% -2% -8% -2%);
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal[data-reveal="up"],
    .js .reveal[data-reveal="mask"],
    .hero__device.reveal[data-reveal="device"] .device--main,
    .device--secondary {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        transition: none !important;
    }
    .hero__badge-dot, .hero__scroll-line::after { animation: none !important; }
}
