/* ==========================================================================
   Rivanaut — product page
   Pure HTML/CSS/JS, no build step. Dark, nautical, Apple-inspired layout.
   Palette is drawn straight from the app icon: deep navy + cyan + white.
   ========================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #04243d; }

/* ---------- Design tokens ---------- */
:root {
    --bg: #06182c;            /* deep navy night water */
    --bg-alt: #08213c;        /* slightly lifted navy */
    --bg-soft: #0c2c4f;       /* card/section navy (icon background family) */
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.06);

    --border: rgba(150, 196, 236, 0.16);
    --border-strong: rgba(150, 196, 236, 0.34);

    --text: #eaf2fb;
    --text-dim: #9db5d2;
    --text-faint: #6f88a8;

    /* Brand accent — icon cyan */
    --accent: #1fa8d6;
    --accent-hover: #46c4ec;
    --accent-2: #146ba0;      /* icon mid-blue */
    --accent-soft: rgba(31, 168, 214, 0.16);
    --accent-rgb: 31, 168, 214;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', ui-monospace, Menlo, Monaco, Consolas, monospace;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-full: 980px;

    --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --max: 1240px;
    --max-narrow: 980px;
    --pad: clamp(1.25rem, 4vw, 2.5rem);
    --nav-h: 56px;
}

/* ---------- Base ---------- */
html, body { background: var(--bg); color: var(--text); }

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -0.014em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ---------- Decorations ---------- */
.progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 0;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    z-index: 200; pointer-events: none;
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
}
.cursor {
    position: fixed; top: 0; left: 0; z-index: 300;
    width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), 0.7);
    pointer-events: none; mix-blend-mode: screen;
    transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease);
    opacity: 0;
}
.cursor.is-hover { width: 52px; height: 52px; background: rgba(var(--accent-rgb), 0.12); }
body.is-loaded .cursor { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center; justify-content: center;
    padding: 0 var(--pad);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner {
    width: 100%; max-width: var(--max);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; letter-spacing: -0.02em; }
.nav__brand img {
    width: 28px; height: 28px; border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
}
.nav__links { display: flex; gap: 1.6rem; align-items: center; font-size: .9rem; }
.nav__links a { color: var(--text); opacity: .82; transition: opacity .2s var(--ease), color .2s var(--ease); }
.nav__links a:hover { opacity: 1; color: var(--accent); }
.nav__cta {
    padding: .5rem 1rem; border-radius: var(--radius-full);
    background: var(--accent); color: #04243d; font-weight: 600; font-size: .85rem;
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav__cta:hover { background: var(--accent-hover); color: #04243d; }
.nav__lang { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; }
.nav__lang a { color: var(--text-faint); padding: .15rem .1rem; transition: color .2s var(--ease); }
.nav__lang a:hover { color: var(--text); }
.nav__lang a[aria-current="true"] { color: var(--accent); }
.nav__lang .sep { color: var(--text-faint); opacity: .45; }
.nav__burger { display: none; width: 36px; height: 36px; position: relative; }
.nav__burger span {
    position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px;
    background: var(--text); border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger span:nth-child(1) { transform: translate(-50%, -4px); }
.nav__burger span:nth-child(2) { transform: translate(-50%, 3px); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .9rem 1.6rem; border-radius: var(--radius-full);
    font-size: 1.02rem; font-weight: 600; letter-spacing: -0.02em;
    transition: background .25s var(--ease), color .25s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease);
    white-space: nowrap; cursor: pointer;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--accent); color: #04243d; }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 14px 34px -10px rgba(var(--accent-rgb), 0.6); }
.btn--store { flex-direction: row; gap: .65rem; }
.btn--store .btn__sub { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.btn--store .btn__sub small { font-size: .62rem; font-weight: 500; letter-spacing: .02em; opacity: .8; }
.btn--store .btn__sub b { font-size: 1.02rem; font-weight: 700; }
.btn--ghost { background: transparent; color: var(--accent); padding: .9rem .4rem; }
.btn--ghost::after { content: " ›"; transition: transform .25s var(--ease); display: inline-block; }
.btn--ghost:hover { color: var(--accent-hover); }
.btn--ghost:hover::after { transform: translateX(4px); }
.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn.is-disabled { opacity: .55; pointer-events: none; }

/* ---------- Sections ---------- */
main { position: relative; z-index: 2; }
.section { padding: clamp(4rem, 11vw, 8rem) var(--pad); position: relative; }
.section__inner { max-width: var(--max); margin: 0 auto; position: relative; }
.section--deep { background: var(--bg-alt); }
.section--soft {
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-soft), transparent 70%),
        var(--bg-alt);
}

.chapter { text-align: center; max-width: var(--max-narrow); margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); }
.chapter__kicker {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .82rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem;
}
.chapter__title { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.chapter__sub { margin: 1.15rem auto 0; max-width: 680px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-dim); line-height: 1.45; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100svh;
    padding: calc(var(--nav-h) + 4rem) var(--pad) 4rem;
    display: grid; place-items: center; overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% -5%, var(--accent-soft), transparent 70%),
        radial-gradient(ellipse 50% 45% at 12% 95%, rgba(20, 107, 160, 0.18), transparent 70%),
        var(--bg);
}
.hero__inner {
    position: relative; max-width: var(--max); width: 100%;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 1.25rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: clamp(.9rem, 1.2vw, 1rem); color: var(--text-dim); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); }
    50% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); }
}
.hero__title { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.0; }
.accent {
    background: linear-gradient(120deg, var(--accent) 0%, #aef0ff 55%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--text-dim); max-width: 560px; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: .5rem; }
.hero__stats { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 1.75rem; padding-top: 1.6rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; gap: .15rem; }
.hero__stat b { font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 700; letter-spacing: -0.02em; }
.hero__stat span { font-size: .82rem; color: var(--text-dim); }

/* ---------- Phone device frame ---------- */
.device {
    border-radius: 42px; padding: 7px;
    background: linear-gradient(155deg, #25303f 0%, #060d16 100%);
    box-shadow: 0 30px 70px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.07), inset 0 0 0 1px rgba(255,255,255,.04);
    overflow: hidden;
}
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 540px; }
.hero__visual::before {
    content: ""; position: absolute; inset: -6%;
    background: radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), .28), transparent 62%);
    filter: blur(40px); pointer-events: none;
}
.phones { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1.08; }
.phones .device { position: absolute; }
.phones .device--primary { width: 62%; aspect-ratio: 9 / 19.5; top: 3%; left: 50%; transform: translateX(-50%) rotate(-4deg); z-index: 2; transition: transform .6s var(--ease); }
.phones .device--secondary { width: 52%; aspect-ratio: 9 / 19.5; bottom: 0; right: 1%; transform: rotate(6deg); z-index: 1; opacity: .94; transition: transform .6s var(--ease); }
.phones:hover .device--primary { transform: translateX(-53%) rotate(-2deg) translateY(-6px); }
.phones:hover .device--secondary { transform: rotate(3deg) translateY(-6px); }

.hero__scroll {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    display: inline-flex; flex-direction: column; align-items: center; gap: .35rem;
    font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint);
}
.hero__scroll svg { width: 14px; height: 14px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }

/* ---------- Word reveal statement ---------- */
.statement { text-align: center; }
.wordreveal {
    font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.18;
    max-width: var(--max-narrow); margin: 0 auto;
}
.wordreveal .word { display: inline-block; margin: 0 .12em; color: color-mix(in srgb, var(--text) 20%, transparent); transition: color .5s var(--ease); }
.wordreveal .word.is-on { color: var(--text); }

/* ---------- Feature grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature {
    position: relative; padding: 1.6rem; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border); overflow: hidden;
    transition: transform .4s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.feature::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(120% 80% at 0% 0%, var(--accent-soft), transparent 60%);
    opacity: 0; transition: opacity .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.feature:hover::before { opacity: 1; }
.feature__icon {
    position: relative; width: 46px; height: 46px; border-radius: 13px;
    display: grid; place-items: center; margin-bottom: 1rem; font-size: 1.2rem;
    color: var(--accent); background: var(--accent-soft); border: 1px solid var(--border);
}
.feature__title { position: relative; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: .45rem; }
.feature__desc { position: relative; color: var(--text-dim); font-size: .98rem; line-height: 1.5; }

/* ---------- Screen walkthrough ---------- */
.walk { display: flex; flex-direction: column; gap: clamp(4rem, 9vw, 7rem); }
.walk__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
/* DOM order is content → visual; flip even rows so the phone sits on the left. */
.walk__row:nth-child(even) .walk__visual { order: -1; }
.walk__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 50%;
    font-size: .85rem; font-weight: 700; color: var(--accent);
    background: var(--accent-soft); border: 1px solid var(--border); margin-bottom: 1.1rem;
}
.walk__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.walk__title .accent { font-weight: 700; }
.walk__sub { margin-top: .65rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 600; color: var(--accent); }
.walk__desc { margin-top: 1rem; color: var(--text-dim); font-size: 1.05rem; line-height: 1.55; max-width: 30rem; }
.walk__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.walk__tags span {
    font-size: .8rem; color: var(--text-dim);
    padding: .35rem .75rem; border-radius: var(--radius-full);
    background: var(--surface); border: 1px solid var(--border);
}
.walk__visual { display: grid; place-items: center; position: relative; }
.walk__visual::before {
    content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 62%);
    filter: blur(46px);
}
.walk__visual .device { position: relative; width: min(300px, 78%); aspect-ratio: 9 / 19.5; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.why__list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.why__list li { position: relative; padding-left: 2rem; color: var(--text-dim); font-size: 1.06rem; line-height: 1.5; }
.why__list li b { color: var(--text); font-weight: 600; }
.why__list li::before {
    content: ""; position: absolute; left: 0; top: .15rem;
    width: 1.3rem; height: 1.3rem; border-radius: 50%;
    background: var(--accent-soft);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fa8d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / .85rem no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fa8d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / .85rem no-repeat;
    background-color: var(--accent);
}
.why__visual { display: grid; place-items: center; position: relative; }
.why__visual::before {
    content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 62%); filter: blur(46px);
}
.why__visual .device { position: relative; width: min(290px, 80%); aspect-ratio: 9 / 19.5; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta__icon { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 1.5rem; box-shadow: 0 18px 44px -12px rgba(var(--accent-rgb), .5), 0 0 0 1px rgba(255,255,255,.06); }
.cta__title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.cta__sub { margin: 1.1rem auto 2rem; max-width: 560px; color: var(--text-dim); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2.5rem; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer__brand { display: flex; flex-direction: column; gap: .9rem; max-width: 22rem; }
.footer__brand .nav__brand { font-size: 1.05rem; }
.footer__brand p { color: var(--text-dim); font-size: .95rem; line-height: 1.5; }
.footer__col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--text-dim); font-size: .96rem; padding: .3rem 0; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { max-width: var(--max); margin: 2.5rem auto 0; padding-top: 1.75rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; color: var(--text-faint); font-size: .85rem; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal {
    padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) var(--pad) clamp(3rem, 7vw, 5rem);
    background:
        radial-gradient(ellipse 70% 40% at 50% -5%, var(--accent-soft), transparent 70%),
        var(--bg);
}
.legal__inner { max-width: 56rem; margin: 0 auto; }
.legal__header { margin-bottom: 2.5rem; }
.legal__kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; }
.legal__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.legal__meta { margin-top: .9rem; color: var(--text-faint); font-size: .9rem; }
.legal__lead { margin-top: 1.4rem; color: var(--text-dim); font-size: 1.1rem; line-height: 1.6; }

.legal__toc { margin: 0 0 2.5rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.legal__toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); margin-bottom: .8rem; }
.legal__toc ol { list-style: none; columns: 2; column-gap: 2rem; }
.legal__toc li { margin: .3rem 0; }
.legal__toc a { color: var(--text-dim); font-size: .95rem; transition: color .2s var(--ease); }
.legal__toc a:hover { color: var(--accent); }

.legal__body { color: var(--text-dim); }
.legal__body section { scroll-margin-top: calc(var(--nav-h) + 1rem); padding-top: 1.5rem; }
.legal__body h2 { color: var(--text); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; margin: 1.6rem 0 .9rem; }
.legal__body h3 { color: var(--text); font-size: 1.08rem; font-weight: 600; margin: 1.4rem 0 .5rem; }
.legal__body p { margin: 0 0 1rem; line-height: 1.7; }
.legal__body ul { margin: 0 0 1.2rem; padding-left: 1.25rem; list-style: disc; }
.legal__body ol { margin: 0 0 1.2rem; padding-left: 1.35rem; list-style: decimal; }
.legal__body li { margin: .45rem 0; line-height: 1.65; }
.legal__body a { color: var(--accent); }
.legal__body a:hover { color: var(--accent-hover); }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__body table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: .95rem; }
.legal__body th, .legal__body td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--border); }
.legal__body th { color: var(--text); font-weight: 600; }

.legal__callout { margin: 1.6rem 0; padding: 1.1rem 1.3rem 1.1rem 1.4rem; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--border-strong); border-left: 3px solid var(--accent); color: var(--text); }
.legal__callout p { margin: 0; line-height: 1.6; }
.legal__callout strong { color: var(--text); }

@media (max-width: 620px) { .legal__toc ol { columns: 1; } }

/* ---------- GEO answer capsule (homepage) ---------- */
.answer-capsule {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.25rem 1.4rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.answer-capsule p { color: var(--text-dim); line-height: 1.65; margin: 0; }
.answer-capsule strong { color: var(--text); font-weight: 600; }
.answer-capsule a { color: var(--accent); }
.answer-capsule a:hover { color: var(--accent-hover); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 52rem; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .25s var(--ease); }
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 1.05rem; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.3rem 1.2rem; color: var(--text-dim); line-height: 1.65; margin: 0; }
.faq__item p a { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--delay, 0) * 1ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__text { align-items: center; }
    .hero__cta, .hero__stats { justify-content: center; }
    .hero__visual { min-height: 460px; margin-top: 1rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .walk__row, .why { grid-template-columns: 1fr; gap: 2rem; }
    .walk__row:nth-child(even) .walk__visual { order: 0; }
    .walk__content { text-align: center; }
    .walk__desc { margin-left: auto; margin-right: auto; }
    .walk__tags { justify-content: center; }
    .why__list { max-width: 28rem; margin-left: auto; margin-right: auto; }
    .why__list li { text-align: left; }
}
@media (max-width: 720px) {
    .nav__links {
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; gap: 0; padding: .5rem var(--pad) 1rem;
        background: color-mix(in srgb, var(--bg) 94%, transparent);
        backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-12px); opacity: 0; pointer-events: none;
        transition: transform .3s var(--ease), opacity .3s var(--ease);
    }
    .nav__links a { padding: .85rem 0; width: 100%; border-bottom: 1px solid var(--border); }
    .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .nav__burger { display: block; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 460px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* ---------- Motion / data preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .cursor { display: none; }
}
