/* ==========================================================================
   Vimmi — Fresh Meadow theme
   Warm cream, light sage, leaf-green accents, dark forest-green text.
   Plain CSS, no dependencies. Mobile-first responsive.
   ========================================================================== */

:root {
    /* Palette */
    --cream: #FAF7EC;
    --cream-deep: #F6F1DE;
    --sage-light: #EDF0DE;
    --sage: #DDE3C8;
    --sage-deep: #CDD8AC;
    --leaf: #5AA64F;
    --leaf-deep: #4A8F42;
    --forest: #1E3A29;
    --forest-soft: #2C4A37;
    --forest-faint: rgba(30, 58, 41, 0.08);
    --white: #FFFFFF;

    /* Secondary accents */
    --sunny: #F2B234;
    --rose: #D9607C;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radii */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(30, 58, 41, 0.06);
    --shadow-md: 0 8px 24px rgba(30, 58, 41, 0.10);
    --shadow-lg: 0 16px 48px rgba(30, 58, 41, 0.14);
    --shadow-card: 0 4px 16px rgba(30, 58, 41, 0.06), 0 16px 40px rgba(30, 58, 41, 0.08);

    /* Layout */
    --container: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--forest);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: var(--forest);
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* Focus */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--leaf);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-align: center;
}

.btn svg {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--leaf);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(90, 166, 79, 0.35);
}

.btn-primary:hover {
    background: var(--leaf-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(90, 166, 79, 0.42);
}

.btn-light {
    background: var(--white);
    color: var(--forest);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 1.05rem 2.1rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: var(--nav-height);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    background: transparent;
}

.nav-scrolled {
    background: rgba(250, 247, 236, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 16px rgba(30, 58, 41, 0.08);
}

.nav-inner {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

.nav-logo-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.nav-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    padding: 0.5rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    color: var(--forest-soft);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: var(--forest-faint);
    color: var(--forest);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-cta .btn {
    padding: 0.65rem 1.35rem;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--forest);
}

.nav-toggle svg {
    width: 26px;
    height: 26px;
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-cream {
    background: var(--cream);
}

.section-sage {
    background: var(--sage-light);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    margin-bottom: 1.1rem;
}

.section-title em {
    font-style: italic;
    color: var(--leaf-deep);
}

.section-subtitle {
    font-size: 1.12rem;
    color: var(--forest-soft);
    line-height: 1.7;
}

.overline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.45rem 1rem;
    background: var(--sage);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--leaf-deep);
}

.overline svg {
    width: 1em;
    height: 1em;
}

.overline-light {
    background: rgba(255, 255, 255, 0.14);
    color: var(--sage);
}

.section-foot {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--forest-soft);
}

.section-foot a {
    font-weight: 600;
    color: var(--leaf-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pill {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    background: var(--forest-faint);
    color: var(--forest-soft);
    vertical-align: middle;
}

.pill-ios {
    background: rgba(30, 58, 41, 0.12);
    color: var(--forest);
}

.tag-free, .tag-premium {
    display: inline-block;
    padding: 0.18rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    vertical-align: middle;
}

.tag-free {
    background: rgba(90, 166, 79, 0.16);
    color: var(--leaf-deep);
}

.tag-premium {
    background: var(--forest);
    color: var(--sage);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1px solid var(--sage);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--forest-soft);
}

.say {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed rgba(90, 166, 79, 0.45);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--forest-soft);
    text-align: left;
}

.say svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    color: var(--leaf-deep);
}

.say-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    padding: calc(var(--nav-height) + 3.5rem) 0 5rem;
    background:
        radial-gradient(900px 500px at 12% 8%, rgba(205, 216, 172, 0.55), transparent 60%),
        radial-gradient(760px 480px at 88% 20%, rgba(242, 178, 52, 0.12), transparent 60%),
        var(--cream);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--sage);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-soft);
    box-shadow: var(--shadow-sm);
}

.hero-eyebrow .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: 0 0 0 4px rgba(90, 166, 79, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.6rem, 5.4vw, 4rem);
    margin-bottom: 1.25rem;
}

.hero-title em {
    font-style: italic;
    color: var(--leaf-deep);
}

.hero-subtitle {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--forest-soft);
    margin-bottom: 1.75rem;
    max-width: 34rem;
}

.hero-subtitle b {
    color: var(--forest);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat b {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--forest);
}

.hero-stat span {
    font-size: 0.82rem;
    color: var(--forest-soft);
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-bubble-wrap {
    position: relative;
    width: min(100%, 430px);
}

.hero-bubble {
    position: relative;
    padding: 2.2rem 2rem 1.8rem;
    background: var(--white);
    border-radius: 40px;
    box-shadow: var(--shadow-card);
    z-index: 2;
}

.hero-bubble::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.hero-bubble-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.hero-buddy {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.hero-buddy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bubble-header b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.hero-bubble-header span {
    font-size: 0.85rem;
    color: var(--leaf-deep);
    font-weight: 600;
}

.hero-bubble-lines {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.hero-bubble-line {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.hero-bubble-line .face {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-bubble-line .face svg {
    width: 18px;
    height: 18px;
}

.hero-bubble-line p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--forest-soft);
}

.hero-bubble-line p b {
    color: var(--forest);
}

.hero-bubble-line.vimmi .face {
    background: var(--sage);
    color: var(--leaf-deep);
}

.hero-bubble-line.you .face {
    background: var(--forest);
    color: var(--white);
}

.stage-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--leaf);
    margin-left: 2px;
    vertical-align: -2px;
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    to { visibility: hidden; }
}

.hero-mascot {
    position: absolute;
    left: -70px;
    bottom: 40px;
    width: 120px;
    z-index: 3;
    animation: float 5s ease-in-out infinite;
}

.hero-mascot img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.hero-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.05rem;
    background: var(--white);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-soft);
    white-space: nowrap;
}

.hero-chip svg {
    width: 1.05em;
    height: 1.05em;
    color: var(--leaf-deep);
}

.hero-chip-1 {
    top: 8%;
    right: -24px;
    animation: float 6s ease-in-out infinite;
}

.hero-chip-2 {
    bottom: 6%;
    right: 6%;
    animation: float 7s ease-in-out 1s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Phone mockups
   ========================================================================== */

.phone {
    position: relative;
    width: 300px;
    flex-shrink: 0;
    padding: 14px;
    background: var(--forest);
    border-radius: 52px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    border-radius: 40px;
    overflow: hidden;
    background: var(--cream);
    aspect-ratio: 1008 / 2128;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-small {
    width: 240px;
}

.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--white);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--forest);
    white-space: nowrap;
    z-index: 3;
}

.float-chip svg {
    width: 1.05em;
    height: 1.05em;
    color: var(--leaf-deep);
}

.float-chip-1 {
    top: 12%;
    left: -70px;
    animation: float 6s ease-in-out infinite;
}

.float-chip-2 {
    bottom: 14%;
    right: -64px;
    animation: float 7s ease-in-out 0.8s infinite;
}

/* ==========================================================================
   Voice deep-dive
   ========================================================================== */

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.voice-card {
    position: relative;
    padding: 2.25rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.voice-card-featured {
    background: var(--forest);
    color: var(--white);
}

.voice-card-featured h3 {
    color: var(--white);
}

.voice-card-featured p {
    color: rgba(255, 255, 255, 0.78);
}

.voice-card-featured .say {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
}

.voice-card-featured .say svg {
    color: var(--sage);
}

.voice-step {
    position: absolute;
    top: 0.6rem;
    right: 1.25rem;
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--forest);
    opacity: 0.07;
    user-select: none;
}

.voice-card-featured .voice-step {
    color: var(--white);
    opacity: 0.12;
}

.voice-card h3 {
    font-size: 1.35rem;
    margin: 1rem 0 0.7rem;
}

.voice-card p {
    font-size: 0.98rem;
    color: var(--forest-soft);
    line-height: 1.65;
}

.voice-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--sage-light);
    color: var(--leaf-deep);
}

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

.voice-card-featured .voice-card-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--sage);
}

.voice-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.voice-panel {
    padding: 2rem;
    background: var(--sage);
    border-radius: var(--radius-xl);
}

.voice-panel h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
}

.voice-panel h3 svg {
    width: 1.25em;
    height: 1.25em;
    color: var(--leaf-deep);
}

.voice-panel p {
    font-size: 0.93rem;
    color: var(--forest-soft);
    line-height: 1.65;
}

/* Flame streak demo */
.flame-demo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
    padding: 1.1rem 1.2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.flame-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFC93C, #F08A2E);
    color: var(--white);
    flex-shrink: 0;
    animation: pulse 2.4s ease-in-out infinite;
}

.flame-badge svg {
    width: 28px;
    height: 28px;
}

.flame-text b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.flame-text span {
    font-size: 0.85rem;
    color: var(--forest-soft);
}

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

.confetti i {
    position: absolute;
    top: -8px;
    width: 7px;
    height: 12px;
    border-radius: 2px;
    opacity: 0.85;
    animation: confetti-fall 3.2s ease-in infinite;
}

.confetti i:nth-child(1) { left: 12%; background: #F2B234; animation-delay: 0s; }
.confetti i:nth-child(2) { left: 30%; background: #5AA64F; animation-delay: 0.6s; }
.confetti i:nth-child(3) { left: 48%; background: #D9607C; animation-delay: 1.1s; }
.confetti i:nth-child(4) { left: 66%; background: #4FB3E8; animation-delay: 0.3s; }
.confetti i:nth-child(5) { left: 82%; background: #F2B234; animation-delay: 1.6s; }
.confetti i:nth-child(6) { left: 92%; background: #5AA64F; animation-delay: 0.9s; }

@keyframes confetti-fall {
    0% { transform: translateY(-10px) rotate(0deg); }
    100% { transform: translateY(150px) rotate(320deg); }
}

/* Check-in quote */
.checkin {
    margin-bottom: 1.1rem;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    border-left: 4px solid var(--leaf);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.93rem;
    font-style: italic;
    color: var(--forest-soft);
    line-height: 1.6;
}

.checkin-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
    font-style: normal;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--leaf-deep);
}

.checkin-head svg {
    width: 1.1em;
    height: 1.1em;
}

/* Chat demo */
.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}

.chat-line {
    padding: 0.75rem 1.05rem;
    background: var(--white);
    border-radius: 4px 16px 16px 16px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--forest-soft);
    align-self: flex-start;
    max-width: 95%;
}

.chat-line-you {
    background: var(--forest);
    color: var(--white);
    border-radius: 16px 16px 4px 16px;
    align-self: flex-end;
}

.voice-credits {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem 0.9rem;
    margin-top: 2.5rem;
    padding: 1.15rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--sage);
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    color: var(--forest-soft);
    text-align: center;
}

.voice-credits strong {
    color: var(--forest);
}

/* ==========================================================================
   AI logging: mode cards + feature split
   ========================================================================== */

.mode-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4.5rem;
}

.mode-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mode-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.mode-head svg {
    width: 1.3em;
    height: 1.3em;
    color: var(--leaf-deep);
}

.mode-card p {
    font-size: 0.95rem;
    color: var(--forest-soft);
    line-height: 1.65;
    flex-grow: 1;
}

.feature-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.feature-split-reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.feature-split-reverse .feature-split-content {
    order: 1;
}

.feature-split-reverse .feature-split-visual {
    order: 2;
}

.feature-split .section-title {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.feature-split .section-subtitle {
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.feature-list-item {
    display: flex;
    gap: 1rem;
}

.feature-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--sage);
    color: var(--leaf-deep);
}

.feature-list-icon svg {
    width: 23px;
    height: 23px;
}

.icon-success {
    background: rgba(90, 166, 79, 0.16);
    color: var(--leaf-deep);
}

.icon-rose {
    background: rgba(217, 96, 124, 0.14);
    color: var(--rose);
}

.icon-warning {
    background: rgba(242, 178, 52, 0.2);
    color: #B57B14;
}

.feature-list-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.feature-list-item p {
    font-size: 0.95rem;
    color: var(--forest-soft);
    line-height: 1.65;
}

.feature-list-item .say {
    margin-top: 0.6rem;
    font-size: 0.85rem;
}

.feature-split-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

/* ==========================================================================
   Trackers
   ========================================================================== */

.tracker-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3.5rem;
    align-items: start;
}

.tracker-layout .phone {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    justify-self: center;
}

.tracker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.tracker-card {
    padding: 1.5rem 1.35rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(30, 58, 41, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.tracker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--t-color, var(--leaf)) 16%, white);
    color: var(--t-color, var(--leaf-deep));
    margin-bottom: 0.8rem;
}

.tracker-icon svg {
    width: 22px;
    height: 22px;
}

.tracker-card h4 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
}

.tracker-card p {
    font-size: 0.88rem;
    color: var(--forest-soft);
    line-height: 1.6;
    margin-bottom: 0.7rem;
}

.tracker-card .say {
    font-size: 0.8rem;
    padding: 0.45rem 0.8rem;
}

.tracker-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
    margin-top: 1.15rem;
}

.tracker-extra {
    display: flex;
    gap: 1rem;
    padding: 1.6rem;
    background: var(--sage);
    border-radius: var(--radius-lg);
}

.tracker-extra > svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--leaf-deep);
}

.tracker-extra h4 {
    font-size: 1.02rem;
    margin-bottom: 0.3rem;
}

.tracker-extra p {
    font-size: 0.88rem;
    color: var(--forest-soft);
    line-height: 1.6;
    margin-bottom: 0.7rem;
}

/* ==========================================================================
   Supplement stack illustration
   ========================================================================== */

.stack-card {
    width: min(100%, 400px);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
}

.stack-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.stack-head img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.stack-head b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.stack-head span {
    font-size: 0.82rem;
    color: var(--forest-soft);
}

.stack-banner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    background: var(--sage-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--leaf-deep);
    margin-bottom: 1.15rem;
}

.stack-banner svg {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.stack-group {
    margin-bottom: 0.5rem;
}

.stack-group-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--forest-soft);
    margin-bottom: 0.6rem;
}
.stack-group-title svg {
    width: 1.15em;
    height: 1.15em;
    color: var(--sunny);
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.8rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.stack-pill {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sage-deep), var(--sage));
    flex-shrink: 0;
}

.stack-item div {
    flex-grow: 1;
    line-height: 1.35;
}

.stack-item b {
    display: block;
    font-size: 0.9rem;
}

.stack-item span {
    font-size: 0.78rem;
    color: var(--forest-soft);
}

.stack-log {
    padding: 0.4rem 0.9rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--leaf);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: default;
}

.stack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.stack-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
}

.stack-badge svg {
    width: 1.05em;
    height: 1.05em;
}

.stack-badge-ok {
    background: rgba(90, 166, 79, 0.14);
    color: var(--leaf-deep);
}

.stack-badge-warn {
    background: rgba(242, 178, 52, 0.2);
    color: #9A6607;
}

/* ==========================================================================
   health++
   ========================================================================== */

.hpp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.hpp-card {
    padding: 2.1rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.hpp-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.hpp-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--sage-deep), var(--leaf));
    color: var(--white);
    flex-shrink: 0;
}

.hpp-head-icon svg {
    width: 23px;
    height: 23px;
}

.hpp-head h3 {
    font-size: 1.25rem;
}

.hpp-card > p {
    font-size: 0.95rem;
    color: var(--forest-soft);
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

.level-track {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.level {
    flex: 1;
    min-width: 70px;
    padding: 0.7rem 0.4rem;
    background: var(--sage-light);
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.4;
}

.level b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--leaf-deep);
}

.level span {
    font-size: 0.75rem;
    color: var(--forest-soft);
}

.quest-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.quest {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
}

.quest-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--sage-deep);
    flex-shrink: 0;
}

.quest-done .quest-check {
    background: var(--leaf);
    border-color: var(--leaf);
    color: var(--white);
}

.quest-check svg {
    width: 14px;
    height: 14px;
}

.quest-xp {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--leaf-deep);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.buddy-roster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.buddy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.85rem 0.3rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.3;
}

.buddy-face {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: inset -6px -8px 0 rgba(0, 0, 0, 0.12), var(--shadow-sm);
}

.buddy b {
    font-size: 0.82rem;
}

.buddy span {
    font-size: 0.72rem;
    color: var(--forest-soft);
}

.evo-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--forest-soft);
}

.evo-track b {
    padding: 0.35rem 0.8rem;
    background: var(--sage-light);
    border-radius: var(--radius-pill);
    color: var(--forest);
}

.evo-track svg {
    width: 1em;
    height: 1em;
    color: var(--leaf-deep);
}

.milestones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.milestone {
    padding: 0.4rem 0.8rem;
    background: var(--sage-light);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--forest-soft);
}

.milestone b {
    color: var(--leaf-deep);
}

.league {
    border: 1px solid var(--sage);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
}

.league-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.league-row + .league-row {
    border-top: 1px solid var(--sage-light);
}

.league-row-you {
    background: var(--sage-light);
    font-weight: 700;
}

.league-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--forest-faint);
    font-size: 0.8rem;
    font-weight: 700;
}

.league-xp {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    color: var(--leaf-deep);
    font-weight: 700;
}

.league-note {
    font-size: 0.85rem;
    color: var(--forest-soft);
    margin-bottom: 0;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget-scene {
    position: relative;
    width: min(100%, 340px);
    padding: 2.5rem 1.75rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.widget-scene-label {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest-soft);
    white-space: nowrap;
}

.widget {
    border-radius: 20px;
    overflow: hidden;
}

.widget-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.widget-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.3rem 0.5rem;
    background: var(--sage-light);
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--forest-soft);
    text-align: center;
}

.widget-tile svg {
    width: 24px;
    height: 24px;
    color: var(--leaf-deep);
}

.widget-tile-voice {
    background: var(--forest);
    color: var(--white);
}

.widget-tile-voice svg {
    color: var(--sage);
}

.widget-medium {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    padding: 1rem;
    background: var(--cream);
    border-radius: 20px;
    border: 1px solid var(--sage);
}

.ring {
    position: relative;
    width: 122px;
    height: 122px;
    flex-shrink: 0;
}

.ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring circle {
    fill: none;
    stroke-width: 11;
    stroke-linecap: round;
}

.ring-track {
    stroke: var(--sage);
}

.ring-fill {
    stroke: var(--leaf);
    stroke-dasharray: 339.3;
    stroke-dashoffset: 120;
}

.ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
}

.ring-text b {
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.ring-text span {
    font-size: 0.7rem;
    color: var(--forest-soft);
}

.widget-medium-tiles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-medium-tiles .widget-tile {
    flex: 1;
    flex-direction: row;
    padding: 0.8rem;
}

/* ==========================================================================
   Insights
   ========================================================================== */

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-bottom: 5rem;
}

.insight-card {
    padding: 2rem 1.85rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--sage-deep);
}

.insight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--sage-light);
    color: var(--leaf-deep);
    margin-bottom: 1rem;
}

.insight-icon svg {
    width: 25px;
    height: 25px;
}

.insight-card h4 {
    font-size: 1.12rem;
    margin-bottom: 0.55rem;
}

.insight-card p {
    font-size: 0.92rem;
    color: var(--forest-soft);
    line-height: 1.65;
}

.bucket-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.bucket {
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
}

.bucket-strong {
    background: rgba(90, 166, 79, 0.16);
    color: var(--leaf-deep);
}

.bucket-watch {
    background: rgba(242, 178, 52, 0.22);
    color: #9A6607;
}

.bucket-low {
    background: rgba(217, 96, 124, 0.16);
    color: var(--rose);
}

.stepper {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--forest-soft);
}

.stepper b {
    padding: 0.3rem 0.75rem;
    background: var(--sage-light);
    border-radius: var(--radius-pill);
    color: var(--forest-soft);
    font-weight: 600;
}

.stepper b.is-on {
    background: var(--forest);
    color: var(--white);
}

.coach-split {
    margin-top: 0;
}

/* ==========================================================================
   Privacy / Apple Health section
   ========================================================================== */

.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.arch-card {
    padding: 2rem 1.8rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.arch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--sage);
    margin-bottom: 1rem;
}

.arch-icon svg {
    width: 24px;
    height: 24px;
}

.arch-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.arch-card p {
    font-size: 0.93rem;
    color: var(--forest-soft);
    line-height: 1.65;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.section-forest {
    background:
        radial-gradient(800px 420px at 85% 10%, rgba(90, 166, 79, 0.22), transparent 60%),
        radial-gradient(700px 500px at 10% 90%, rgba(242, 178, 52, 0.08), transparent 60%),
        var(--forest);
    color: var(--white);
}

.section-forest .section-title {
    color: var(--white);
}

.section-forest .section-title em {
    color: var(--sage);
}

.section-forest .section-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 2.25rem;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.4rem 2.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-xl);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pricing-card-featured {
    background: var(--cream);
    color: var(--forest);
    border-color: transparent;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: scale(1.045);
}

.pricing-popular {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.45rem 1.2rem;
    background: var(--sunny);
    color: var(--forest);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.pricing-card-featured .pricing-tier {
    color: var(--leaf-deep);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.9rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
}

.pricing-card-featured .pricing-period {
    color: var(--forest-soft);
}

.pricing-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.6rem;
}

.pricing-card-featured .pricing-desc {
    color: var(--forest-soft);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.94rem;
    line-height: 1.5;
}

.pricing-features svg {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    margin-top: 0.2em;
    color: var(--sage);
}

.pricing-card-featured .pricing-features svg {
    color: var(--leaf-deep);
}

.pricing-features .is-voice {
    font-weight: 700;
}

.pricing-cta {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.pricing-note {
    max-width: 820px;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.pricing-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.pricing-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-trust svg {
    width: 1.05em;
    height: 1.05em;
    color: var(--sage);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.section-cta {
    background: var(--leaf);
    color: var(--white);
    text-align: center;
    padding: 7rem 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.cta-orb-1 {
    width: 420px;
    height: 420px;
    top: -160px;
    left: -120px;
    background: rgba(255, 255, 255, 0.12);
}

.cta-orb-2 {
    width: 520px;
    height: 520px;
    bottom: -220px;
    right: -140px;
    background: rgba(30, 58, 41, 0.25);
}

.cta-sprout {
    position: absolute;
    width: 120px;
    border-radius: 30px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    opacity: 0.95;
}

.cta-bg .cta-sprout {
    bottom: 12%;
    left: 8%;
    transform: rotate(-10deg);
    animation: float 6s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 1.1rem;
}

.cta-title em {
    font-style: italic;
}

.cta-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--forest);
    color: rgba(255, 255, 255, 0.75);
    padding: 4.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 26rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.93rem;
    line-height: 1.7;
    max-width: 24rem;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col a {
    font-size: 0.94rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Legal pages (privacy.html, terms.html)
   ========================================================================== */

.legal {
    padding: calc(var(--nav-height) + 3rem) 0 5rem;
    background: var(--cream);
}

.legal-inner {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: clamp(1.75rem, 4vw, 3.5rem);
}

.legal-inner h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin-bottom: 0.5rem;
}

.legal-updated {
    font-size: 0.88rem;
    color: var(--forest-soft);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--sage);
}

.legal-inner h2 {
    font-size: 1.3rem;
    margin: 2.2rem 0 0.8rem;
    color: var(--leaf-deep);
}

.legal-inner p, .legal-inner li {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--forest-soft);
    margin-bottom: 0.9rem;
}

.legal-inner p b, .legal-inner li b {
    color: var(--forest);
}

.legal-inner ul {
    padding-left: 1.4rem;
}

.legal-inner a {
    color: var(--leaf-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   Scroll reveal (progressive enhancement; JS adds .reveal)
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   Hero - chunk 1 markup: live voice-session stage illustration
   ========================================================================== */

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
}

.hero-orb-1 {
    width: 480px;
    height: 480px;
    top: -160px;
    right: -120px;
    background: rgba(205, 216, 172, 0.5);
}

.hero-orb-2 {
    width: 340px;
    height: 340px;
    bottom: -120px;
    left: -100px;
    background: rgba(242, 178, 52, 0.12);
}

.hero-orb-3 {
    width: 220px;
    height: 220px;
    top: 30%;
    left: 42%;
    background: rgba(90, 166, 79, 0.12);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    max-width: 36rem;
}

.pill-live {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--white);
    border: 1px solid var(--sage);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-soft);
}

.pill-live img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-ghost {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--sage-deep);
}

.btn-ghost:hover {
    background: var(--sage-light);
    transform: translateY(-2px);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.hero-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--forest-soft);
}

.hero-proof-item svg {
    width: 1.1em;
    height: 1.1em;
    color: var(--leaf-deep);
}

/* Nav extras from chunk 1 */
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
}

.nav-store-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    font-size: 0.88rem;
    background: var(--forest);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-nav:hover {
    background: var(--forest-soft);
    transform: translateY(-2px);
}

.nav-links .nav-link-voice {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(90, 166, 79, 0.14);
    color: var(--leaf-deep);
    font-weight: 700;
}

.nav-links .nav-link-voice svg {
    width: 1.05em;
    height: 1.05em;
}

/* Voice-session stage illustration */
.stage {
    width: min(100%, 440px);
    margin: 0 auto;
    background: var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-card);
    padding: 1.5rem 1.5rem 1.25rem;
    position: relative;
    animation: float 7s ease-in-out infinite;
}

.stage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-soft);
    margin-bottom: 0.5rem;
}

.stage-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(90, 166, 79, 0.12);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--leaf-deep);
}

.stage-live::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: 0 0 0 3px rgba(90, 166, 79, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.stage-live img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.stage-orb {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0.75rem auto 0.25rem;
}

.stage-orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(90, 166, 79, 0.45);
    animation: ring-expand 3s ease-out infinite;
}

.stage-orb-ring:nth-child(2) {
    animation-delay: 1s;
}

.stage-orb-ring:nth-child(3) {
    animation-delay: 2s;
}

@keyframes ring-expand {
    0% { transform: scale(0.45); opacity: 0; }
    30% { opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0; }
}

.stage-orb-core {
    position: absolute;
    inset: 33px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(90, 166, 79, 0.35);
}

.stage-orb-core img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stage-eq {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    height: 30px;
    margin: 0.5rem 0 1rem;
}

.stage-eq i {
    width: 5px;
    border-radius: 3px;
    background: var(--leaf);
    animation: eq-bounce 1.2s ease-in-out infinite;
}

.stage-eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.stage-eq i:nth-child(2) { height: 80%; animation-delay: 0.15s; }
.stage-eq i:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.stage-eq i:nth-child(4) { height: 95%; animation-delay: 0.45s; }
.stage-eq i:nth-child(5) { height: 65%; animation-delay: 0.6s; }
.stage-eq i:nth-child(6) { height: 85%; animation-delay: 0.75s; }
.stage-eq i:nth-child(7) { height: 45%; animation-delay: 0.9s; }

@keyframes eq-bounce {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.stage-thread {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.stage-msg {
    padding: 0.7rem 1rem;
    border-radius: 4px 16px 16px 16px;
    background: var(--sage-light);
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--forest);
    max-width: 95%;
    align-self: flex-start;
}

.stage-msg-you {
    background: var(--forest);
    color: var(--white);
    border-radius: 16px 16px 4px 16px;
    align-self: flex-end;
}

.stage-msg-coach {
    /* Coach messages use the base .stage-msg bubble style */
}

.stage-who {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--leaf-deep);
    margin-bottom: 0.15rem;
}

.stage-msg-you .stage-who {
    color: var(--sage);
}

.stage-log {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    background: rgba(90, 166, 79, 0.12);
    border: 1px dashed rgba(90, 166, 79, 0.45);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--forest-soft);
}

.stage-log svg {
    width: 1.05em;
    height: 1.05em;
    color: var(--leaf-deep);
    flex-shrink: 0;
}

.stage-log b {
    color: var(--forest);
}

.stage-streak {
    background: linear-gradient(135deg, rgba(242, 178, 52, 0.18), rgba(242, 178, 52, 0.08));
    border-color: rgba(242, 178, 52, 0.5);
    position: relative;
    overflow: hidden;
}

.stage-streak svg {
    color: #D08A1D;
}

.stage-caption {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--forest-soft);
    margin-bottom: 0.75rem;
}

.stage-caption-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--leaf-deep);
    flex-shrink: 0;
}

.stage-caption-label svg {
    width: 1.15em;
    height: 1.15em;
}

.stage-note {
    text-align: center;
    font-size: 0.76rem;
    color: var(--forest-soft);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-links-open {
        display: flex;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem 1.5rem 1.5rem;
        background: var(--cream);
        border-bottom: 1px solid var(--sage);
        box-shadow: var(--shadow-md);
    }

    .nav-links-open a {
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

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

    .nav-cta .btn {
        display: none;
    }

    .nav-store-links {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: none;
    }

    .hero-visual {
        order: -1;
    }

    .hero-mascot {
        left: -10px;
    }

    .hero-chip-1 {
        right: 0;
    }

    .voice-grid, .voice-row {
        grid-template-columns: 1fr;
    }

    .mode-row {
        grid-template-columns: 1fr;
        margin-bottom: 3.5rem;
    }

    .feature-split, .feature-split-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tracker-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tracker-layout .phone {
        position: static;
    }

    .tracker-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insight-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 4rem;
    }

    .arch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hpp-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.25rem;
    }

    .pricing-card-featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .float-chip-1 {
        left: 0;
    }

    .float-chip-2 {
        right: 0;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .hero-bubble-wrap {
        width: min(100%, 340px);
    }

    .hero-mascot {
        width: 84px;
        left: -6px;
        bottom: 24px;
    }

    .hero-chip {
        font-size: 0.78rem;
        padding: 0.55rem 0.85rem;
    }

    .tracker-grid {
        grid-template-columns: 1fr;
    }

    .tracker-extras {
        grid-template-columns: 1fr;
    }

    .insight-grid {
        grid-template-columns: 1fr;
    }

    .arch-grid {
        grid-template-columns: 1fr;
    }

    .buddy-roster {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .phone {
        width: 270px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-actions .btn {
        flex: 1 1 100%;
    }

    .widget-scene {
        width: 100%;
    }

    .stack-card {
        width: 100%;
    }
}
