/* =========================================================================
   LumaFit — "Aurora Glow" design system
   Vibrant + fresh + premium. Warm cream base, coral→pink→violet brand
   gradient, fresh emerald accents, glassmorphism cards, aurora background.
   Variable + class names are kept stable so the legal / thank-you pages
   (which reuse them) stay coherent.
   ========================================================================= */

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

:root {
    /* Surfaces */
    --bg: #FBF8F5;
    --bg-soft: #F3EBE3;
    --ink: #181210;
    --ink-soft: #564D46;
    --ink-mute: #6E655C;
    --line: rgba(24, 18, 16, 0.09);

    /* Brand spectrum (vibrant) */
    --coral: #FF8E6E;
    --coral-deep: #F2603F;
    --coral-deeper: #B8431F; /* WCAG-AA link hover/focus (~5:1 on cream); --coral-deep is for large display only */
    --pink: #FF5C93;
    --pink-deep: #E0327A;
    --violet: #8A5BFF;
    --violet-deep: #7C3AED;
    --mint: #5FE0B0;
    --mint-deep: #16B488;
    --gold: #FFC76B;
    --sky: #59C2FF;

    /* Backward-compatible aliases (used by legal / thank-you pages) */
    --peach: var(--coral);
    --peach-deep: var(--coral-deep);

    /* Signature gradients */
    --grad-brand: linear-gradient(120deg, #FF8E6E 0%, #FF5C93 48%, #8A5BFF 100%);
    --grad-brand-deep: linear-gradient(120deg, #F2603F 0%, #E0327A 52%, #7C3AED 100%);
    --grad-fresh: linear-gradient(135deg, #5FE0B0, #16B488);
    --grad-ink: linear-gradient(135deg, #1F1813 0%, #2E2218 100%);
    /* Deep brand gradient for the sliding nav pill — stops chosen dark enough
       that white tab labels clear WCAG AA (4.5:1) across the whole pill. */
    --grad-nav-cursor: linear-gradient(120deg, #B8431F 0%, #C81E63 50%, #7C3AED 100%);

    /* Glass */
    --glass: rgba(255, 255, 255, 0.72);
    --glass-strong: rgba(255, 255, 255, 0.86);
    --glass-border: rgba(255, 255, 255, 0.7);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(40, 24, 16, 0.05);
    --shadow-md: 0 12px 32px rgba(40, 24, 16, 0.10);
    --shadow-lg: 0 30px 70px rgba(40, 24, 16, 0.16);
    --glow-brand: 0 18px 50px -12px rgba(226, 60, 110, 0.55);

    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; border: none; cursor: pointer; }

:focus-visible {
    outline: 3px solid var(--violet-deep);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- Aurora background ---------- */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(42% 52% at 12% 6%,  rgba(255, 142, 110, 0.40), transparent 62%),
        radial-gradient(46% 56% at 88% 2%,  rgba(255, 92, 147, 0.30),  transparent 60%),
        radial-gradient(52% 60% at 84% 96%, rgba(95, 224, 176, 0.34),  transparent 62%),
        radial-gradient(48% 58% at 8% 92%,  rgba(138, 91, 255, 0.24),  transparent 62%),
        var(--bg);
}

/* faint grain so large gradients never band */
.bg-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.5;
    mix-blend-mode: overlay;
    background-image: 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='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.bg-blob {
    position: fixed;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.42;
    z-index: -2;
    pointer-events: none;
    animation: float 22s ease-in-out infinite;
}

.bg-blob-1 { background: var(--coral); top: -240px; left: -200px; }
.bg-blob-2 { background: var(--mint); bottom: -260px; right: -200px; animation-delay: -11s; }
.bg-blob-3 {
    background: var(--violet);
    top: 38%; left: 56%;
    width: 480px; height: 480px;
    opacity: 0.26;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(46px, -42px) scale(1.12); }
}

/* Smooth mesh-gradient shader canvas (vanilla WebGL, see js/shader-bg.js).
   It renders the same flowing aurora in motion. When it initialises we hide
   the static CSS layers so the two don't double up; if WebGL is unavailable
   the canvas never mounts and the CSS aurora above remains the background. */
#shader-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    display: block;
    pointer-events: none;
}

.shader-active .bg-gradient,
.shader-active .bg-blob { display: none; }

/* ---------- Nav (floating glass pill) ---------- */
.nav {
    position: sticky;
    top: 16px;
    z-index: 100;
    margin: 16px auto 0;
    width: calc(100% - 32px);
    max-width: 1080px;
    border-radius: 100px;
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.nav.scrolled {
    background: var(--glass-strong);
    box-shadow: var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 12px 22px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.logo-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--grad-brand);
    box-shadow: 0 0 18px rgba(255, 92, 147, 0.6);
}

.logo-text { font-family: 'Fraunces', serif; font-weight: 700; font-style: italic; }

/* Sliding-pill nav (ported NavHeader). A gradient "cursor" slides behind the
   hovered/focused tab; see js/nav-cursor.js. */
.nav-links {
    position: relative;
    display: flex;
    gap: 2px;
}

.nav-links li:not(.nav-cursor) {
    position: relative;
    z-index: 1;
}

.nav-links a {
    display: block;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color 0.28s ease;
}

/* The tab under the sliding pill flips to white for contrast on the gradient.
   Gated behind the JS-set .cursor-ready + .is-active (added in lockstep with
   the pill) so the label is NEVER left white on the bare glass nav — with
   no/failed JS the labels stay --ink-soft (readable); keyboard focus is still
   marked by the global :focus-visible outline. */
.nav-links.cursor-ready li.is-active > a { color: #fff; }

.nav-cursor {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 0;
    width: 0;
    height: 38px;
    transform: translateY(-50%);
    border-radius: 100px;
    background: var(--grad-nav-cursor);
    box-shadow: 0 8px 22px -6px rgba(200, 30, 99, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: left 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
    white-space: nowrap;
    position: relative;
}

/* Dark, AAA-contrast CTA. Vibrancy comes from the brand glow on hover. */
.btn-primary {
    background: var(--grad-ink);
    color: #FFF;
    box-shadow: 0 10px 26px rgba(24, 18, 16, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(24, 18, 16, 0.28), var(--glow-brand);
}

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-xl { padding: 22px 40px; font-size: 1.1rem; width: 100%; }

.btn-arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Glass hover button (ported HoverButton) ----------
   A frosted-glass pill that trails soft, blurred brand-coloured glow dots
   under the pointer (see js/hover-button.js). Themed to LumaFit: coral→violet
   glow instead of the component's blue, on a light frosted surface. */
.hover-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 17px 34px;
    border-radius: 24px;
    /* Crisp coral→violet gradient ring (ties into the glow-dot colours). */
    border: 2px solid transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.48)) padding-box,
        var(--grad-brand) border-box;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    box-shadow:
        0 8px 22px -6px rgba(40, 24, 16, 0.20),
        0 16px 44px -14px rgba(226, 60, 110, 0.32);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    /* Glow-dot palette read by the JS (literal hex so it resolves cleanly). */
    --circle-start: #FF8E6E;
    --circle-end: #8A5BFF;
}

/* Inner glass sheen: top highlight + warm bottom glow, on top of the ring. */
.hover-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
        inset 0 -7px 16px -6px rgba(255, 142, 110, 0.30);
    transition: transform 0.3s ease;
}

.hover-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 26px -6px rgba(40, 24, 16, 0.22),
        var(--glow-brand);
}

.hover-btn:hover .btn-arrow { transform: translateX(4px); }
.hover-btn:active { transform: translateY(0); }
.hover-btn:active::before { transform: scale(0.975); }

/* A single trailing glow dot. Sits above the frosted surface but behind the
   label (negative z within the button's isolated stacking context). */
.hover-btn-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(9px);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hover-btn-dot.is-in { opacity: 0.75; }
.hover-btn-dot.is-out { opacity: 0; transition: opacity 1.2s ease; }

@media (max-width: 440px) {
    .hover-btn { padding: 15px 24px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
    padding: 96px 0 90px;
    text-align: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint-deep);
    box-shadow: 0 0 0 4px rgba(22, 180, 136, 0.18);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(22, 180, 136, 0.18); }
    50% { box-shadow: 0 0 0 8px rgba(22, 180, 136, 0.04); }
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
    font-size: clamp(2.9rem, 8.4vw, 5.8rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0 auto 38px;
    line-height: 1.55;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--ink-mute);
}

.dot-sep { color: var(--ink-mute); opacity: 0.5; }

/* Hero product mockup — a CSS-rendered "guide cover" to make the product
   tangible and lift perceived value. */
.hero-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 72px;
    perspective: 1400px;
}

.guide-cover {
    position: relative;
    width: min(320px, 76vw);
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    padding: 30px 26px;
    color: #fff;
    text-align: left;
    background: var(--grad-brand-deep);
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset -10px 0 24px rgba(0, 0, 0, 0.18);
    transform: rotateY(-16deg) rotateX(5deg) rotate(-2deg);
    transform-style: preserve-3d;
    animation: cover-float 7s ease-in-out infinite;
    overflow: hidden;
}

.guide-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 50% at 80% 0%, rgba(255, 255, 255, 0.35), transparent 60%);
    pointer-events: none;
}

/* spine highlight */
.guide-cover::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 14px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent);
}

@keyframes cover-float {
    0%, 100% { transform: rotateY(-16deg) rotateX(5deg) rotate(-2deg) translateY(0); }
    50% { transform: rotateY(-12deg) rotateX(4deg) rotate(-2deg) translateY(-14px); }
}

.guide-cover .gc-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
}

.guide-cover .gc-dot {
    display: inline-block;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}

.guide-cover .gc-title {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 10px 0 6px;
}

.guide-cover .gc-title em { font-style: italic; }

.guide-cover .gc-sub {
    font-size: 0.92rem;
    opacity: 0.92;
    max-width: 80%;
}

.guide-cover .gc-foot {
    position: absolute;
    left: 26px; right: 26px; bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 12px;
}

.guide-cover .gc-badge {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    padding: 4px 12px;
    backdrop-filter: blur(6px);
}

/* floating accent pills around the cover */
.float-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 100px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: cover-float 6s ease-in-out infinite;
}

.float-pill svg { width: 16px; height: 16px; }
.float-pill-1 { top: 8%; left: -2%; animation-delay: -2s; }
.float-pill-2 { bottom: 14%; right: -4%; animation-delay: -4s; }
.float-pill .fp-ico { color: var(--mint-deep); display: inline-flex; }
.float-pill-2 .fp-ico { color: var(--pink-deep); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.stat-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--grad-brand-deep);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--ink-mute);
    line-height: 1.4;
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--grad-brand-deep);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 5vw, 3.3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin-top: 18px;
}

/* ---------- Problem ---------- */
.problem .section-title { text-align: center; margin-bottom: 48px; }

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.problem-card {
    background: var(--glass-strong);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(255, 142, 110, 0.18), rgba(255, 92, 147, 0.18));
    color: var(--coral-deep);
}

.problem-icon svg { width: 26px; height: 26px; }

.problem-card p {
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.problem-lead {
    text-align: center;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    color: var(--ink);
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.4;
}

.problem-lead strong {
    font-weight: 700;
    font-style: normal;
    background: var(--grad-brand-deep);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Inside ---------- */
.inside-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.inside-card {
    background: var(--glass-strong);
    padding: 34px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.inside-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.inside-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 92, 147, 0.32);
}

.inside-card:hover::before { transform: scaleX(1); }

.inside-num {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    width: 44px; height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-brand-deep);
    box-shadow: 0 8px 20px -6px rgba(226, 60, 110, 0.5);
    margin-bottom: 18px;
}

.inside-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.42rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.inside-card p {
    color: var(--ink-soft);
    font-size: 0.97rem;
}

/* ---------- Benefits ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.benefit {
    text-align: center;
    padding: 36px 26px;
    border-radius: var(--radius-md);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.benefit-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--violet-deep);
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(138, 91, 255, 0.16), rgba(255, 92, 147, 0.16));
    border-radius: 50%;
    margin-bottom: 20px;
}

.benefit h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.benefit p { color: var(--ink-soft); line-height: 1.6; }

/* ---------- For who ---------- */
.for-who-card {
    background: var(--glass-strong);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.for-who-card::before {
    content: '';
    position: absolute;
    top: -40%; right: -20%;
    width: 320px; height: 320px;
    background: var(--grad-brand);
    opacity: 0.12;
    filter: blur(60px);
    border-radius: 50%;
}

.for-who-card .section-title { text-align: center; margin-bottom: 36px; position: relative; }

.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.05rem;
    color: var(--ink-soft);
}

.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin-top: 3px;
    border-radius: 50%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"),
        var(--grad-fresh);
    background-size: 14px 14px, cover;
    background-position: center, center;
    background-repeat: no-repeat;
    box-shadow: 0 6px 14px -4px rgba(22, 180, 136, 0.55);
}

/* ---------- Testimonials / honest start ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial {
    background: var(--glass-strong);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.testimonial p {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--ink);
    margin-bottom: 20px;
}

.t-author { font-size: 0.9rem; font-weight: 600; color: var(--ink-mute); }

/* ---------- Buy ---------- */
.buy-card {
    max-width: 580px;
    margin: 0 auto;
    background: var(--glass-strong);
    padding: 4px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* gradient ring */
.buy-card {
    background:
        linear-gradient(var(--glass-strong), var(--glass-strong)) padding-box,
        var(--grad-brand) border-box;
    border: 2px solid transparent;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.buy-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 246, 240, 0.5));
    border-radius: calc(var(--radius-lg) - 4px);
    padding: 56px 48px;
    text-align: center;
}

.buy-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-brand-deep);
    color: #FFF;
    padding: 8px 22px;
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px -4px rgba(226, 60, 110, 0.55);
    white-space: nowrap;
}

.buy-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}

.buy-sub { color: var(--ink-soft); margin-bottom: 30px; }

.buy-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.price-old {
    font-size: 1.3rem;
    color: var(--ink-mute);
    text-decoration: line-through;
}

.price-now {
    font-family: 'Fraunces', serif;
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1;
    background: var(--grad-brand-deep);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-note {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--coral-deep);
    background: rgba(255, 92, 147, 0.14);
    padding: 5px 12px;
    border-radius: 100px;
}

.buy-list {
    text-align: left;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.buy-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.buy-list li::before {
    content: '';
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"),
        var(--grad-fresh);
    background-size: 12px 12px, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.buy-fine { font-size: 0.82rem; color: var(--ink-mute); margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 92, 147, 0.3);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--coral-deep);
    transition: transform 0.25s ease;
    line-height: 1;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    padding: 0 24px 22px;
    color: var(--ink-soft);
    line-height: 1.65;
}

/* ---------- Footer ---------- */
.footer {
    padding: 56px 0;
    border-top: 1px solid var(--line);
    margin-top: 40px;
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-note { font-size: 0.9rem; color: var(--ink-soft); }

.footer-disc {
    font-size: 0.78rem;
    color: var(--ink-mute);
    max-width: 520px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.footer-links a {
    color: var(--ink-mute);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: var(--coral-deeper); }

/* ---------- Age gate ---------- */
.age-gate {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto 18px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--ink-soft);
    cursor: pointer;
}
.age-gate input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--pink-deep);
    flex-shrink: 0;
    cursor: pointer;
}
.btn.is-disabled,
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.is-disabled:hover, .btn:disabled:hover { transform: none; box-shadow: 0 10px 26px rgba(24, 18, 16, 0.22); }

/* ---------- Cascade text reveal (hover) ----------
   Vanilla port of the TextReveal component. Each character carries a copy of
   itself one line below via `text-shadow: 0 1em currentColor`; the wrapper
   clips to 1em, so translating the row up by 1em rolls the duplicate into
   view with a per-character stagger. Progressive enhancement: the effect only
   activates once js/cascade.js splits the text and adds `.cascade-ready`
   (so no-JS / reduced-motion users keep plain, fully readable links). */
.cascade-ready {
    display: inline-flex;
    align-items: center;
    vertical-align: bottom;
    /* Enlarge the pointer/tap target back toward the original line box without
       shifting layout (clipping is done by .cascade-inner, so no extra
       overflow:hidden is needed here). */
    padding-block: 0.32em;
    margin-block: -0.32em;
    transition: color 0.35s ease;
}

/* Clip window = roll distance. 1.2em (not 1em) gives descenders (g/y/p) ~0.2em
   of bottom clearance so they aren't shaved at rest, while the text-shadow
   duplicate still lands exactly one window down on hover. */
.cascade-inner {
    display: inline-flex;
    height: 1.2em;
    line-height: 1.2;
    overflow: hidden;
}

.cascade-char {
    display: inline-block;
    position: relative;
    will-change: transform;
    text-shadow: 0 1.2em currentColor;
    transition: transform var(--cascade-dur, 260ms) var(--cascade-ease, ease-in-out);
    transition-delay: calc(var(--i, 0) * var(--cascade-stagger, 26ms));
}

.cascade-ready:hover,
.cascade-ready:focus-visible {
    color: var(--cascade-hover, var(--coral-deeper));
}

.cascade-ready:hover .cascade-char,
.cascade-ready:focus-visible .cascade-char {
    transform: translateY(-1.2em);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .float-pill { display: none; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .section { padding: 76px 0; }
    .hero { padding: 60px 0 64px; }
    .hero-visual { margin-bottom: 56px; }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 24px;
    }
    .for-who-card { padding: 40px 26px; }
    .buy-inner { padding: 48px 28px; }
    .section-head { margin-bottom: 48px; }
}

@media (max-width: 440px) {
    .nav { top: 10px; width: calc(100% - 20px); }
    .nav-inner { padding: 10px 10px 10px 18px; }
    .logo { font-size: 1.05rem; }
    .btn-xl { padding: 18px 24px; font-size: 1rem; }
    .guide-cover .gc-title { font-size: 2.1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .guide-cover { transform: rotateY(-12deg) rotateX(4deg) rotate(-2deg); }
}
