:root {
    --navy: #2B3A55;
    --navy-deep: #1F2B42;
    --green: #10B981;
    --green-dark: #059669;
    --green-light: #D1FAE5;
    --carbs: #F59E0B;
    --protein: #3B82F6;
    --fat: #EC4899;

    --bg: #F7F8FA;
    --surface: #FFFFFF;
    --text: #1F2937;
    --text-2: #6B7280;
    --border: #E5E7EB;

    --radius: 18px;
    --font: "Inter", "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
img, svg, picture, video {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
p  { margin: 0 0 1em; }

a { color: inherit; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow    { width: min(720px, 100% - 40px); }

.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;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 22px;
    border: 0; border-radius: 12px;
    background: var(--green); color: #fff;
    font: 600 1rem/1 var(--font);
    text-decoration: none; cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { padding: 10px 16px; font-size: .92rem; }

.macro-dashes { display: flex; gap: 10px; margin: 0 0 24px; }
.macro-dashes.center { justify-content: center; }
.macro-dashes i { display: block; width: 44px; height: 7px; border-radius: 99px; }
.macro-dashes i:nth-child(1) { background: var(--fat); }
.macro-dashes i:nth-child(2) { background: var(--carbs); }
.macro-dashes i:nth-child(3) { background: var(--protein); }

.topbar {
    position: sticky; top: 0; z-index: 10;
    background: rgba(43, 58, 85, .92);
    backdrop-filter: saturate(140%) blur(8px);
    color: #fff;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.5rem; }
.brand img { border-radius: 10px; width: 44px; height: 44px; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: inline-flex; padding: 4px; text-decoration: none; outline: none; }
.lang-switch svg {
    width: 32px; height: 21px; display: block; border-radius: 4px;
    transition: transform .15s ease, opacity .15s ease;
}
.lang-switch:hover svg { transform: scale(1.1); }
.lang-switch:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.hero {
    background: var(--navy);
    color: #fff;
    padding: 56px 0 88px;
    overflow: hidden;
    position: relative;
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
    display: flex; align-items: center;
}
.scroll-cue {
    position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
    width: 40px; height: 40px; display: grid; place-items: center;
    color: #94A3B8; border-radius: 50%;
}
.scroll-cue:hover { color: var(--green); }
.scroll-cue svg { width: 24px; height: 24px; animation: cue-bob 2s ease-in-out infinite; }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
.hero-inner {
    width: min(1280px, 100% - 40px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px;
    font-size: .88rem; color: #CBD5E1;
    margin-bottom: 28px;
}
.eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .25);
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { font-size: 1.15rem; color: #CBD5E1; max-width: 34em; margin-bottom: 32px; }

.trust {
    list-style: none; padding: 0; margin: 20px 0 0;
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    font-size: .9rem; color: #94A3B8;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
}

.hero-visual { position: relative; height: 660px; }
.hero-visual .phone { position: absolute; width: 290px; will-change: translate; backface-visibility: hidden; }
.hero-visual .phone img { image-rendering: auto; }
.hero-visual .phone-front { right: 40px; top: 10px; transform: rotate(2deg); }
.hero-visual .phone-back  { right: 220px; top: 80px; transform: rotate(-5deg); opacity: .85; }

.phone {
    width: 280px;
    aspect-ratio: 9 / 19;
    border-radius: 36px;
    padding: 10px;
    background: #0F172A;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .45);
    flex-shrink: 0;
}
.phone img {
    width: 100%; height: 100%;
    border-radius: 27px;
    object-fit: cover; object-position: top;
    background: var(--bg);
}

.subscribe { max-width: 480px; }
.subscribe-form { display: flex; gap: 8px; }
.subscribe-form input {
    flex: 1; min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--border); border-radius: 12px;
    font: 1rem var(--font); color: var(--text);
    background: #fff;
}
.subscribe-form input:focus { outline: 3px solid rgba(16, 185, 129, .35); border-color: var(--green); }
.form-message { margin: 10px 0 0; font-size: .95rem; font-weight: 600; min-height: 0; }
.form-message:empty { display: none; }
.form-message.success { color: var(--green); }
.form-message.error   { color: #F87171; }
.subscribe.done .subscribe-form { display: none; }

.problem { padding: 88px 0 56px; text-align: center; }
.problem-title {
    font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; line-height: 1.15;
    max-width: 880px; margin: 0 auto;
}
.problem-title em { font-style: normal; color: var(--green-dark); }
.problem p { color: var(--text-2); font-size: 1.05rem; }
.compare {
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
    margin-top: 48px; text-align: left;
}
.compare-card {
    padding: 32px; border-radius: 24px;
    background: #fff; border: 1px solid var(--border);
}
.compare-card p { margin: 0; }
.compare-card > p:nth-child(2) { font-size: 1.15rem; line-height: 1.5; }
.compare::after {
    content: "→"; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--green); color: #fff; font-size: 1.5rem; font-weight: 800;
    box-shadow: 0 0 0 8px #F7F8FA;
}
.compare-card .compare-name {
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #9CA3AF; margin-bottom: 10px;
}
.compare-after { border-color: var(--green); background: #F0FDF9; }
.compare-after .compare-name { color: var(--green-dark); }
.compare-after > p:nth-child(2) { color: #1F2937; }
.compare-viz { position: relative; margin-top: 20px; padding: 16px; border-radius: 16px; background: #F7F8FA; }
.compare-after .compare-viz { background: #fff; }
.compare-viz svg { width: 100%; height: auto; display: block; overflow: visible; }
.compare-tag {
    position: absolute; top: 12px; right: 12px; z-index: 1;
    padding: 4px 10px; border-radius: 99px; font-size: .8rem; font-weight: 700;
}
.tag-grey  { background: #E5E7EB; color: #6B7280; }
.tag-green { background: var(--green-light); color: #065F46; }
.fixed-target { stroke: #9CA3AF; stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.compare-card .compare-chip { margin: 12px 0 0; font-size: .9rem; font-weight: 700; }
.chip-grey { color: #6B7280; }
.chip-green { color: var(--green-dark); }

.features { padding: 32px 0 64px; }
.bento {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.card {
    display: flex; flex-direction: column;
    padding: 28px; border-radius: 24px;
    background: #fff; border: 1px solid var(--border);
}
.card-wide { grid-column: span 2; }
.card h3 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 8px; }
.card-text { margin: 0; color: var(--text-2); font-size: 1rem; }
.card .kicker { align-self: flex-start; }
.viz { margin-top: auto; padding-top: 24px; }
.viz-note { margin: 10px 0 0; font-size: .85rem; color: #9CA3AF; }

.search-field {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 14px;
    background: #F7F8FA; border: 1px solid var(--border);
    color: #6B7280; font-size: .98rem;
}
.search-field > svg { width: 20px; height: 20px; flex-shrink: 0; }
.search-field > span:first-of-type { color: #1F2937; flex: 1; }
.scan-btn {
    display: inline-flex; padding: 8px; border-radius: 10px;
    background: var(--green); color: #fff;
}
.scan-btn svg { width: 20px; height: 20px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-chips span {
    padding: 6px 12px; border-radius: 99px; font-size: .85rem; font-weight: 600;
    background: #FEF3C7; color: #B45309;
}
.search-chips .fav { background: #FCE7F3; color: #BE185D; }

.viz-rings { display: flex; gap: 16px; justify-content: center; }
.ring {
    --c: #F59E0B;
    --pv: var(--p);
    transition: --pv 1.3s cubic-bezier(.2, .8, .2, 1) .25s;
    width: 72px; height: 72px; border-radius: 50%;
    background: conic-gradient(var(--c) calc(var(--pv) * 1%), #EEF0F4 0);
    display: grid; place-items: center; position: relative;
}
.ring::before {
    content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff;
}
.ring span { position: relative; font-weight: 800; font-size: 1.1rem; color: var(--c); }
.ring-carbs   { --c: #F59E0B; }
.ring-protein { --c: #3B82F6; }
.ring-fat     { --c: #EC4899; }

.viz-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.chart-delta strong { display: block; font-size: 2rem; line-height: 1; color: var(--green-dark); }
.chart-delta span { font-size: .85rem; color: var(--text-2); }
.grid-lines line { stroke: #EEF0F4; stroke-width: 1; }
.trend-area { fill: url(#trendFill); }
.raw-line { fill: none; stroke: #CBD5E1; stroke-width: 1.5; stroke-dasharray: 4 5; }
.raw-dots circle { fill: #94A3B8; stroke: #fff; stroke-width: 2; }
.trend-line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; }
.trend-halo { fill: var(--green); opacity: .2; }
.trend-end { fill: var(--green); stroke: #fff; stroke-width: 3; }
.legend { display: flex; gap: 16px; font-size: .82rem; color: var(--text-2); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.dot-raw { background: #94A3B8; }
.dot-trend { background: var(--green); }

.viz-target { text-align: center; }
.target-line { margin: 0 0 18px; font-size: .85rem; color: #6B7280; }
.donut {
    width: 160px; height: 160px; margin: 0 auto; border-radius: 50%;
    background: conic-gradient(#3B82F6 0 30%, #F59E0B 30% 71%, #EC4899 71% 100%);
    position: relative; display: grid; place-items: center;
}
.donut::before {
    content: ""; position: absolute; inset: 22px; border-radius: 50%; background: #fff;
}
.donut-center { position: relative; line-height: 1; }
.donut-center strong { display: block; font-size: 2rem; color: #1F2937; }
.donut-center small { font-size: .85rem; font-weight: 600; color: #6B7280; }
.donut-legend {
    list-style: none; padding: 0; margin: 20px 0 0;
    display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px;
    font-size: .9rem; font-weight: 700; color: #374151;
}
.donut-legend li { display: inline-flex; align-items: center; gap: 7px; }
.donut-legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-p i { background: #3B82F6; }
.lg-c i { background: #F59E0B; }
.lg-f i { background: #EC4899; }
.target-macros { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.target-macros span { padding: 4px 10px; border-radius: 99px; font-size: .82rem; font-weight: 700; }
.m-p { background: #DBEAFE; color: #1D4ED8; }
.m-c { background: #FEF3C7; color: #B45309; }
.m-f { background: #FCE7F3; color: #BE185D; }

.premium {
    color: #fff; padding: 96px 0; margin-top: 24px;
    background:
        radial-gradient(circle at 12% 0%, rgba(16, 185, 129, .28), transparent 45%),
        radial-gradient(circle at 92% 100%, rgba(59, 130, 246, .22), transparent 45%),
        var(--navy);
}
.premium .section-head h2 { color: #fff; }
.premium .section-head > p:last-child { color: #CBD5E1; }
.premium .section-head .kicker { margin-bottom: 14px; }
.premium-cta { text-align: center; margin: 40px 0 0; }

.premium .card {
    --glow: #10B981;
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14);
    transition: transform .25s ease, border-color .25s ease;
}
.premium .card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .3); }
.premium .card::before {
    content: ""; position: absolute; top: -90px; right: -90px; width: 260px; height: 260px;
    background: radial-gradient(circle, var(--glow), transparent 68%); opacity: .38;
    pointer-events: none;
}
.premium .card > * { position: relative; }
.premium .card h3 { color: #fff; font-size: 1.35rem; }
.premium .card-text { color: #B6C2D6; }
.p-icon {
    display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
    border-radius: 14px; background: var(--glow); color: #fff;
    box-shadow: 0 10px 24px -6px var(--glow);
}
.p-icon svg { width: 24px; height: 24px; }

.premium .card-adaptive {
    background: linear-gradient(135deg, #047857 0%, #10B981 55%, #34D399 100%);
    border-color: rgba(255, 255, 255, .35);
    box-shadow: 0 30px 60px -24px rgba(16, 185, 129, .6);
}
.premium .card-adaptive::before {
    top: auto; right: auto; left: -80px; bottom: -120px; width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, .4), transparent 70%); opacity: .5;
}
.premium .card-adaptive .p-icon { background: rgba(255, 255, 255, .22); box-shadow: none; }
.premium .card-adaptive .card-text { color: #D1FAE5; }
.adapt-delta { text-align: center; margin-bottom: 4px; }
.adapt-delta strong { display: block; font-size: 2.6rem; line-height: 1; color: #fff; letter-spacing: -.02em; }
.adapt-delta span { font-size: .9rem; color: #D1FAE5; }
.gauge { padding: 52px 12px; }
.gauge-track { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .28); }
.gauge-range { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: #fff; }
.gauge-dot {
    position: absolute; top: 50%; width: 24px; height: 24px; border-radius: 50%;
    transform: translate(-50%, -50%); border: 5px solid #047857;
}
.gauge-measured { background: #fff; }
.gauge-formula { background: #A7F3D0; }
.gauge-dot em {
    position: absolute; left: 50%; transform: translateX(-50%);
    font-style: normal; font-size: .82rem; color: #D1FAE5; white-space: nowrap; text-align: center;
}
.gauge-dot em b { margin-left: 4px; font-size: 1.05rem; color: #fff; }
.gauge-formula em { bottom: 26px; }
.gauge-measured em { top: 26px; }
.adapt-actions { display: flex; justify-content: center; gap: 10px; }
.adapt-actions span { padding: 10px 24px; border-radius: 99px; font-size: .9rem; font-weight: 700; }
.adapt-yes { background: #fff; color: #047857; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); }
.adapt-no  { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }

.stat-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08);
    font-size: .92rem; color: #CBD5E1;
}
.stat-row strong { font-size: 1.3rem; color: #93C5FD; }
.reliab {
    display: inline-block; margin-top: 12px; padding: 6px 14px; border-radius: 99px;
    background: rgba(59, 130, 246, .22); color: #BFDBFE; font-size: .82rem; font-weight: 700;
}

.slider + .slider { margin-top: 16px; }
.slider-top { display: flex; justify-content: space-between; font-size: .9rem; color: #CBD5E1; margin-bottom: 9px; }
.slider-top b { color: #fff; }
.slider-track { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.slider-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: #60A5FA; }
.slider-f i { background: #F472B6; }
.slider-track u {
    position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%;
    transform: translate(-50%, -50%); background: #fff; border: 4px solid #60A5FA;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}
.slider-f u { border-color: #F472B6; }

.files { display: flex; gap: 12px; }
.file {
    flex: 1; text-align: center; padding: 20px 0; border-radius: 14px;
    font-weight: 800; letter-spacing: .08em; border: 1px solid transparent;
}
.file-pdf { background: rgba(248, 113, 113, .16); color: #FCA5A5; border-color: rgba(248, 113, 113, .35); }
.file-csv { background: rgba(74, 222, 128, .14); color: #86EFAC; border-color: rgba(74, 222, 128, .32); }

.limit { display: flex; align-items: center; justify-content: center; gap: 18px; }
.limit > div { text-align: center; padding: 14px 24px; border-radius: 16px; background: rgba(255, 255, 255, .08); }
.limit strong { display: block; font-size: 2.2rem; line-height: 1; color: #CBD5E1; }
.limit span { font-size: .8rem; color: #94A3B8; }
.limit svg { width: 24px; height: 24px; color: #BEF264; }
.limit .limit-pro { background: rgba(132, 204, 22, .2); box-shadow: 0 0 0 1px rgba(190, 242, 100, .4); }
.limit-pro strong { color: #D9F99D; font-size: 2.6rem; }
.limit-pro span { color: #D9F99D; }

.kicker {
    display: inline-block;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 99px;
    margin-bottom: 16px;
}
.kicker-carbs   { color: #B45309; background: #FEF3C7; }
.kicker-protein { color: #1D4ED8; background: #DBEAFE; }
.kicker-fat     { color: #BE185D; background: #FCE7F3; }
.kicker-target  { color: #065F46; background: #D1FAE5; }
.kicker-fiber   { color: #3F6212; background: #ECFCCB; }
.kicker-premium { color: #064E3B; background: #A7F3D0; }

.local {
    margin: 0;
    padding: 96px 0;
    background: #fff;
    text-align: center;
}
.local h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.local .local-lead { font-size: 1.15rem; color: var(--text-2); max-width: 560px; margin: 12px auto 0; }
.local-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 44px; text-align: left;
}
.local-item {
    padding: 28px; border-radius: 24px; background: var(--bg);
    border: 1px solid var(--border);
}
.local-icon {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
    border-radius: 14px; background: var(--green); color: #fff;
    box-shadow: 0 10px 22px -8px rgba(16, 185, 129, .7);
}
.local-icon svg { width: 24px; height: 24px; }
.local-item h3 { font-size: 1.2rem; margin: 0 0 8px; color: #1F2937; }
.local .local-item p { font-size: 1rem; color: var(--text-2); margin: 0; }

.care { padding: 96px 0 72px; text-align: center; }
.care .care-lead { font-size: 1.15rem; color: var(--text-2); max-width: 560px; margin: 12px auto 0; }
.care-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
    margin-top: 44px; text-align: left;
}
.care .local-item { background: #fff; display: flex; flex-direction: column; }
.care .local-icon { background: var(--c); box-shadow: 0 10px 22px -8px var(--c); }

.pricing { padding: 72px 0 96px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head p { color: var(--text-2); }
.plans {
    display: grid; grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center; gap: 28px; align-items: stretch;
}
.plan {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 28px;
    padding: 36px;
}
.plan .btn { margin-top: auto; text-align: center; }
.plan .check-list { margin-bottom: 28px; }
.btn-ghost {
    background: transparent; color: #1F2937;
    border: 1.5px solid #D1D5DB; box-shadow: none;
}
.btn-ghost:hover { background: #F3F4F6; color: #1F2937; }

.plan-premium {
    color: #fff; border: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(16, 185, 129, .45), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(59, 130, 246, .25), transparent 50%),
        var(--navy);
    box-shadow: 0 36px 70px -28px rgba(31, 43, 66, .75);
}
.plan-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    padding: 6px 16px; border-radius: 99px;
    background: var(--green); color: #fff;
    font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    box-shadow: 0 10px 24px -8px rgba(16, 185, 129, .8);
}
.plan-name { font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.plan-premium .plan-name { color: #6EE7B7; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { font-size: 3rem; line-height: 1; letter-spacing: -0.03em; }
.plan-price span { color: var(--text-2); }
.plan-premium .plan-price span { color: #CBD5E1; }
.plan-alt { color: var(--text-2); font-size: .95rem; margin: 8px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.plan-premium .plan-alt { color: #CBD5E1; }
.plan-save {
    padding: 3px 10px; border-radius: 99px;
    background: rgba(16, 185, 129, .25); color: #6EE7B7;
    font-size: .8rem; font-weight: 700;
}
.check-list { list-style: none; padding: 0; margin: 28px 0 0; }
.check-list li { position: relative; padding: 8px 0 8px 34px; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--green-light);
}
.check-list li::after {
    content: ""; position: absolute; left: 6px; top: 16px;
    width: 10px; height: 6px;
    border-left: 2.5px solid var(--green-dark); border-bottom: 2.5px solid var(--green-dark);
    transform: rotate(-45deg);
}
.plan-premium .check-list li::before { background: rgba(16, 185, 129, .3); }
.plan-premium .check-list li::after { border-color: #6EE7B7; }

.faq { padding: 32px 0 72px; }
.faq h2 { text-align: center; margin-bottom: 28px; }
.faq-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start;
}
.faq details {
    background: #fff; border: 1px solid var(--border); border-radius: 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details:hover { border-color: #CBD5E1; }
.faq details[open] { border-color: var(--green); box-shadow: 0 14px 30px -18px rgba(16, 185, 129, .55); }
.faq summary {
    list-style: none; cursor: pointer;
    padding: 16px 60px 16px 22px;
    font-weight: 700; font-size: 1rem;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--green-light); color: var(--green-dark);
    font-size: 1.3rem; font-weight: 500; line-height: 1;
    transition: background .2s ease, color .2s ease;
}
.faq details[open] summary::after { content: "–"; background: var(--green); color: #fff; }
.faq details p { color: var(--text-2); margin: 0; padding: 0 22px 20px; font-size: .96rem; }

.join {
    background: var(--navy);
    color: #fff;
    padding: 96px 0;
    text-align: center;
}
.join p { color: #CBD5E1; }
.join .subscribe { margin: 32px auto 0; }

.footer { background: var(--navy-deep); color: #94A3B8; font-size: .9rem; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.socials { display: flex; gap: 18px; align-items: center; }
.socials a { color: #E2E8F0; text-decoration: none; display: inline-flex; }
.socials svg { width: 22px; height: 22px; }
.socials a:hover { color: var(--green); }

@media (max-width: 1180px) {
    .hero-visual { height: 580px; }
    .hero-visual .phone { width: 230px; }
    .hero-visual .phone-back { right: 170px; }
}

@media (max-width: 900px) {
    .compare { grid-template-columns: 1fr; }
    .compare::after { display: none; }
    .hero { padding: 40px 0 72px; }
    .scroll-cue { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { height: 580px; }
    .hero-visual .phone { width: 230px; }
    .hero-visual .phone-front { right: 50%; transform: translateX(70%) rotate(2deg); }
    .hero-visual .phone-back  { right: 50%; transform: translateX(12%) rotate(-5deg); }

    .bento { grid-template-columns: 1fr; }
    .local-grid, .care-grid, .faq-list { grid-template-columns: 1fr; }
    .card-wide { grid-column: auto; }

    .plans { grid-template-columns: minmax(0, 420px); }
}

@media (max-width: 520px) {
    body { font-size: 16px; }
    .hero-visual { height: 470px; }
    .hero-visual .phone { width: 180px; border-radius: 28px; padding: 8px; }
    .hero-visual .phone img { border-radius: 21px; }
    .subscribe-form { flex-direction: column; }
    .topbar .btn-small { display: none; }
}

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

@property --pv { syntax: "<number>"; inherits: false; initial-value: 0; }

@keyframes revealUp { from { opacity: 0; translate: 0 32px; } }
@keyframes heroRise { from { opacity: 0; translate: 0 28px; } }
@keyframes phoneIn  { from { opacity: 0; translate: 0 90px; } }
@keyframes bob      { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes dashGrow { from { transform: scaleX(0); } }

.js [data-reveal="up"]:not(.in) { opacity: 0; }
.js [data-reveal="up"].in {
    animation: revealUp .8s cubic-bezier(.2, .8, .2, 1) backwards;
    animation-delay: var(--d, 0ms);
}

.js .hero-text > * { animation: heroRise .8s cubic-bezier(.2, .8, .2, 1) backwards; }
.js .hero-text > :nth-child(1) { animation-delay: .05s; }
.js .hero-text > :nth-child(2) { animation-delay: .15s; }
.js .hero-text > :nth-child(3) { animation-delay: .25s; }
.js .hero-text > :nth-child(4) { animation-delay: .35s; }
.js .hero-text > :nth-child(5) { animation-delay: .45s; }
.js .hero-text > :nth-child(6) { animation-delay: .55s; }
.js .hero .macro-dashes i { transform-origin: left; animation: dashGrow .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.js .hero .macro-dashes i:nth-child(1) { animation-delay: .35s; }
.js .hero .macro-dashes i:nth-child(2) { animation-delay: .5s; }
.js .hero .macro-dashes i:nth-child(3) { animation-delay: .65s; }
.js .hero-visual .phone-back {
    animation: phoneIn 1.1s cubic-bezier(.2, .8, .2, 1) .25s backwards, bob 7s ease-in-out 1.35s infinite alternate;
}
.js .hero-visual .phone-front {
    animation: phoneIn 1.1s cubic-bezier(.2, .8, .2, 1) .45s backwards, bob 5.5s ease-in-out 1.55s infinite alternate;
}

.js .compare::after { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1) .5s; }
.js .compare:not(.in)::after { transform: translate(-50%, -50%) scale(0); }

.js .trend-line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1) .35s; }
.js [data-reveal]:not(.in) .trend-line { stroke-dashoffset: 1; }
.js .trend-area, .js .raw-line, .js .raw-dots {
    transition: opacity 1s ease .5s;
}
.js .trend-halo, .js .trend-end {
    transition: opacity .5s ease 1.7s, transform .6s cubic-bezier(.3, 1.6, .5, 1) 1.7s;
    transform-box: fill-box; transform-origin: center;
}
.js [data-reveal]:not(.in) .trend-area,
.js [data-reveal]:not(.in) .raw-line,
.js [data-reveal]:not(.in) .raw-dots { opacity: 0; }
.js [data-reveal]:not(.in) .trend-halo,
.js [data-reveal]:not(.in) .trend-end { opacity: 0; transform: scale(0); }

.js [data-reveal]:not(.in) .ring { --pv: 0; }

.js .donut { transition: transform 1s cubic-bezier(.2, .8, .2, 1) .2s, opacity .8s ease .2s; }
.js [data-reveal]:not(.in) .donut { transform: rotate(-140deg) scale(.7); opacity: 0; }

.js .gauge-range { transition: width 1.2s cubic-bezier(.2, .8, .2, 1) .5s; }
.js .gauge-measured { transition: left 1.2s cubic-bezier(.2, .8, .2, 1) .5s; }
.js [data-reveal]:not(.in) .gauge-range { width: 0 !important; }
.js [data-reveal]:not(.in) .gauge-measured { left: 75% !important; }

.js .slider-track i { transition: width 1.1s cubic-bezier(.2, .8, .2, 1) .4s; }
.js .slider-track u { transition: left 1.1s cubic-bezier(.2, .8, .2, 1) .4s; }
.js [data-reveal]:not(.in) .slider-track i { width: 0 !important; }
.js [data-reveal]:not(.in) .slider-track u { left: 0 !important; }

.js .file, .js .limit > * { transition: opacity .6s ease .5s, transform .6s cubic-bezier(.3, 1.4, .5, 1) .5s; }
.js [data-reveal]:not(.in) .file, .js [data-reveal]:not(.in) .limit > * { opacity: 0; transform: scale(.7); }
.js .file-csv, .js .limit .limit-pro { transition-delay: .7s; }

/* <picture> (WebP) : ne doit pas perturber la mise en page */
.phone picture { display: contents; }
