/* Yulbi — marketing site.
   Design language «Глибина»: glass cards floating on warm clay; coral → violet signature gradient.
   Light theme only («Захід», sunset) — values mirror the app's colorsets. */

@font-face { font-family: "Onest"; src: url("../fonts/Onest-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/Onest-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --bg-top: #F8F1EA;
  --bg-bottom: #E8DACE;
  --bg-mid: #F1E7DD;
  --surface: #FBF6F0;
  --surface-2: #F4EBE2;
  --text: #241C16;
  --text-2: #5B4F44;
  --muted: #685E52;
  --hairline: #E0D4C7;
  --coral: #FF7A4D;
  --btn: #C4501F;
  --btn-text: #FFFFFF;
  --accent-text: #9E3F18;
  --violet: #C95CE8;
  --grad: linear-gradient(120deg, #FF7A4D 0%, #C95CE8 100%);
  --grad-soft: linear-gradient(120deg, rgba(255,122,77,.16), rgba(201,92,232,.16));
  --grad-deep: linear-gradient(120deg, #B8441B 0%, #A63FCB 100%);
  --grad-text: linear-gradient(120deg, #E8552A 0%, #B44AD6 100%); /* ≥3:1 on the page background */
  --tint: rgba(255,122,77,.10);
  --protein: #2E6FB0;
  --carbs: #E0892A;
  --fat: #C0508A;
  --glass: rgba(255,255,255,.62);
  --glass-strong: rgba(255,255,255,.78);
  --glass-border: rgba(255,255,255,.85);
  --umber: 120, 80, 60;
  --shadow-sm: 0 6px 14px -8px rgba(var(--umber), .35);
  --shadow-md: 0 16px 30px -14px rgba(var(--umber), .40);
  --shadow-float: 0 26px 48px -18px rgba(var(--umber), .50);
  --shadow-glow: 0 18px 36px -10px rgba(255,122,77,.55);
  --phone-frame: #1B1512;
  --blob-a: rgba(255,122,77,.45);
  --blob-b: rgba(201,92,232,.32);
  --r-sm: 12px; --r-md: 18px; --r-lg: 22px; --r-xl: 28px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: "Onest", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overflow-x: clip; }
/* Turned on by site.js after load, so deep links (/#pricing) land correctly first. */
html.smooth { scroll-behavior: smooth; }
/* Decorative blobs bleed past the edges; clip them here (not on body, which would break the sticky header). */
main, .site-footer { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html.smooth { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  /* Safari 26 on iOS ignores theme-color and paints the status bar with this colour,
     so it must equal what sits at the very top of the page (see .hero-glow). */
  background-color: var(--bg-top);
  background-image: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-md);
}

/* ---------- Header ---------- */
/* Open at the top of the page; once scrolled, the bar gathers into a floating warm-white capsule
   (no glass, no fade behind it). Only background, width and side padding change, so the header's
   height stays the same and the page doesn't jump. The header itself is transparent and lets taps
   through; only the capsule catches them.
   It sticks 10px below the top edge on purpose: Safari 26 on iOS probes a point 4px under the top
   edge, and if a fixed/sticky element is there it paints the status bar a solid colour
   (WebKit LocalFrameView::fixedContainerEdges). Nothing there → content stays visible under the clock. */
.site-header {
  position: sticky; top: 10px; z-index: 50;
  padding: 0 0 12px;
  pointer-events: none;
}
.site-header .nav {
  max-width: min(var(--wrap), 100%);
  padding: 6px var(--gutter);
  border-radius: 999px;
  pointer-events: auto;
  transition: max-width .3s ease, padding .3s ease, background-color .25s, box-shadow .25s;
}
.site-header.scrolled .nav {
  max-width: min(880px, calc(100% - 20px));
  padding: 6px 6px 6px 14px;
  background-color: #FFFDFB;
  box-shadow: 0 12px 30px -16px rgba(var(--umber), .5), 0 0 0 1px rgba(var(--umber), .07);
}
.site-header.scrolled .lang summary { border-color: transparent; background: var(--surface-2); }
.nav { display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); background: var(--tint); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--text-2);
  border: 1px solid var(--hairline); background: var(--glass);
  transition: background-color .25s, border-color .25s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang[open] summary { color: var(--text); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; margin: 0; padding: 6px; list-style: none;
  border-radius: var(--r-md); background: var(--glass-strong); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow-float);
}
.lang li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.lang li a:hover { background: var(--tint); }
.lang li a[aria-current="true"]::after { content: "✓"; color: var(--accent-text); }
.pill-soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--text); color: var(--bg-top); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.pill-soon svg { width: 15px; height: 15px; }
@media (max-width: 920px) { .nav-links { display: none; } .nav-tools { margin-left: auto; } }
@media (max-width: 420px) { .pill-soon { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--btn); color: var(--btn-text); box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary[aria-disabled="true"] { cursor: default; }
.btn-primary[aria-disabled="true"]:hover { transform: none; }
.btn-ghost { background: var(--glass); color: var(--text); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .sub { display: block; font-size: 11px; font-weight: 600; opacity: .8; letter-spacing: .02em; line-height: 1.1; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 110px); }
/* Glow layer: starts at the top of the page and fades in from nothing, so the topmost strip
   stays plain --bg-top and meets the iPhone status bar without a seam. Extends past the hero's
   bottom so the blur is not cut off by the mask box. */
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  top: -72px; left: 0; right: 0; bottom: -240px;
  -webkit-mask-image: linear-gradient(180deg, transparent 8px, rgba(0,0,0,.3) 80px, rgba(0,0,0,.75) 150px, #000 220px);
  mask-image: linear-gradient(180deg, transparent 8px, rgba(0,0,0,.3) 80px, rgba(0,0,0,.75) 150px, #000 220px);
}
.hero-glow::before, .hero-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px);
}
.hero-glow::before { width: 520px; height: 520px; right: -120px; top: -8px; background: var(--blob-a); }
.hero-glow::after { width: 460px; height: 460px; right: 220px; top: 332px; background: var(--blob-b); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; margin: 18px 0 22px; letter-spacing: -0.035em; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lede { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-glow::after { right: auto; left: -160px; }
}

/* ---------- Phone ---------- */
.phone {
  position: relative; width: min(300px, 74vw); aspect-ratio: 1206 / 2622;
  border-radius: clamp(40px, 13vw, 52px); padding: 10px; background: var(--phone-frame);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(255,255,255,.08) inset, 0 60px 90px -40px rgba(var(--umber), .55);
}
.phone::before { /* side button */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 70px; border-radius: 0 3px 3px 0; background: var(--phone-frame);
}
.phone::after { /* dynamic island */
  content: ""; position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 31%; height: 3.3%; border-radius: 999px; background: #000;
}
.phone picture, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(31px, 11vw, 42px); }
.phone.tilt-l { transform: rotate(-4deg); }
.phone.tilt-r { transform: rotate(4deg); }

.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--r-md); font-weight: 600; font-size: 14px; color: var(--text);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.chip .ic svg { width: 18px; height: 18px; }
.chip small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.chip strong { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.chip-voice { left: -6%; top: 16%; max-width: 260px; white-space: normal; }
.chip-card { right: -4%; top: 47%; animation-delay: -2s; flex-direction: column; align-items: stretch; gap: 8px; min-width: 190px; }
.chip-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.macro-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; }
.macro-bar i { display: block; height: 100%; }
.macro-legend { display: flex; gap: 10px; font-size: 12px; font-weight: 700; }
.macro-legend .p { color: var(--protein); } .macro-legend .c { color: #9A5A0E; } .macro-legend .f { color: #A8437A; }
.chip-ring { left: 2%; bottom: 9%; animation-delay: -4s; }
.ring { width: 46px; height: 46px; flex: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }
@media (max-width: 900px) {
  .hero-visual { min-height: 0; margin-top: 12px; }
  .chip-voice { left: 0; top: 10%; }
  .chip-card { right: 0; }
  .chip-ring { left: 2%; }
}
@media (max-width: 560px) {
  .chip { font-size: 13px; padding: 10px 12px; }
  .chip-voice { max-width: 190px; left: -2px; }
  .chip-card { min-width: 150px; right: -2px; }
  .chip-ring { display: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 18px; }

/* Ways */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { border-radius: var(--r-xl); padding: 30px 28px 32px; transition: transform .3s ease, box-shadow .3s ease; }
.way:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.way .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.way .ic svg { width: 26px; height: 26px; }
.way h3 { font-size: 26px; font-weight: 800; margin: 22px 0 8px; }
.way p { color: var(--text-2); }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* How */
.how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.how-visual { display: flex; justify-content: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--r-lg); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--accent-text); background: var(--tint);
}
.step h3 { font-size: 21px; font-weight: 700; margin: 4px 0 6px; }
.step p { color: var(--text-2); font-size: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--hairline); }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } .how-visual { order: 2; } }

/* Showcase rows */
.showcase { display: grid; gap: clamp(64px, 9vw, 120px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.feature:nth-child(even) .feature-visual { order: 2; }
.feature-visual { position: relative; display: flex; justify-content: center; }
.feature-visual::before {
  content: ""; position: absolute; inset: 8% 10%; border-radius: 50%; background: var(--grad-soft); filter: blur(40px); z-index: -1;
}
.feature h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; margin: 14px 0 16px; }
.feature p { color: var(--text-2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0633A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-visual { order: 0; }
  .feature-copy { text-align: center; }
  .checks { justify-content: center; text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* Awards */
.awards {
  position: relative; overflow: hidden; border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  background: linear-gradient(160deg, #FBF6F0 0%, #F1E2D6 100%);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255,255,255,.8);
}
.awards .section-head { margin-bottom: 28px; }
.shelf { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 2vw, 24px); align-items: end; }
.figure { text-align: center; }
.figure img { width: 100%; max-width: 170px; margin: 0 auto; filter: drop-shadow(0 18px 18px rgba(80, 40, 30, .22)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.figure:hover img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.figure figcaption { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text-2); overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 1000px) { .shelf { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } .figure img { max-width: 150px; } }
@media (max-width: 420px) { .shelf { grid-template-columns: repeat(2, 1fr); } }

/* Grid of small features */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { padding: 24px; border-radius: var(--r-lg); }
.mini .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); }
.mini .ic svg { width: 22px; height: 22px; }
.mini h3 { font-size: 18px; font-weight: 700; margin: 16px 0 6px; }
.mini p { color: var(--text-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 980px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mini-grid { grid-template-columns: 1fr; } }

/* Privacy */
.privacy-card { border-radius: clamp(28px, 4vw, 44px); padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.privacy-card h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; margin: 14px 0 16px; }
.privacy-card > div > p { color: var(--text-2); font-size: 18px; }
.privacy-list { display: grid; gap: 14px; }
.privacy-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hairline); }
.privacy-item .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.privacy-item .ic svg { width: 22px; height: 22px; }
.privacy-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.privacy-item p { color: var(--text-2); font-size: 15px; }
.ai-note { margin-top: 20px; font-size: 14px; color: var(--muted); font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .privacy-card { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.plan { position: relative; border-radius: var(--r-xl); padding: 30px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; font-weight: 700; color: var(--text-2); }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 48px; letter-spacing: -0.03em; margin-top: 10px; line-height: 1; }
.plan .per { color: var(--muted); font-weight: 600; margin-top: 6px; }
.plan .note { margin-top: auto; padding-top: 22px; color: var(--text-2); font-size: 15px; }
.plan.featured { background: var(--grad-deep); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.plan.featured h3, .plan.featured .per, .plan.featured .note { color: #fff; }
.plan .tag { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--accent-text); font-size: 13px; font-weight: 800; }
.plan.trial h3 { color: var(--accent-text); }
.plan.trial .price { font-size: 40px; }
.premium-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 15px; font-weight: 600; }
.premium-list li { display: flex; gap: 10px; }
.premium-list li::before { content: "✓"; color: var(--accent-text); font-weight: 800; }
.fine { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 24px; }
@media (max-width: 920px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--r-lg); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4501F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); }

/* Final CTA */
.final {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: clamp(28px, 4vw, 44px); padding: clamp(48px, 7vw, 88px) var(--gutter);
  background: var(--grad-deep); box-shadow: var(--shadow-glow);
}
.final::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -160px; top: -260px; background: rgba(255,255,255,.18); filter: blur(10px); }
.final img.icon { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.4); position: relative; }
.final h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; position: relative; }
.final p { margin: 16px auto 0; max-width: 34em; color: #fff; font-size: 18px; position: relative; }
.final .btn { margin-top: 30px; background: #fff; color: #241C16; position: relative; box-shadow: 0 16px 30px -12px rgba(0,0,0,.35); }
.final .btn:hover { transform: translateY(-2px); }

/* Footer */
.site-footer { padding: 56px 0 40px; color: var(--text-2); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.footer-grid .brand { font-size: 22px; }
.footer-grid .tag { margin-top: 8px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0; align-items: center; }
.footer-links a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; }
.footer-langs a { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--hairline); color: var(--text-2); text-decoration: none; font-size: 13px; font-weight: 700; }
.footer-langs a[aria-current="true"] { background: var(--text); color: var(--bg-top); border-color: var(--text); }
.legal-line { margin-top: 28px; color: var(--muted); font-size: 13px; }

/* Doc pages (legal, support) */
.doc { padding: clamp(32px, 6vw, 72px) 0 40px; }
.doc-card { max-width: 860px; margin: 0 auto; border-radius: clamp(24px, 4vw, 36px); padding: clamp(28px, 5vw, 64px); }
.doc-card h1 { font-size: clamp(28px, 7vw, 54px); font-weight: 800; margin: 12px 0 8px; overflow-wrap: anywhere; hyphens: auto; }
.doc-card .back { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; font-size: 15px; }
.doc-body { margin-top: 24px; }
.doc-body h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.doc-body h3 { font-size: 19px; font-weight: 700; margin: 28px 0 8px; }
.doc-body p, .doc-body li { color: var(--text-2); }
.doc-body p + p { margin-top: 12px; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.doc-body strong { color: var(--text); }
.doc-body a { overflow-wrap: anywhere; }
.legal-updated { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-text) !important; font-size: 14px; font-weight: 700; }
.translation-note { margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 600; }
.support-email { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.support-email .btn { min-height: 50px; }
.support-faq { margin-top: 40px; display: grid; gap: 12px; }
.support-faq details { border-radius: var(--r-md); padding: 0 20px; background: var(--surface); border: 1px solid var(--hairline); }
.support-faq summary {
  list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; font-family: var(--font-display); font-size: 17px;
}
.support-faq summary::-webkit-details-marker { display: none; }
.support-faq summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E3F18' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease;
}
.support-faq details[open] summary::after { transform: rotate(45deg); }
.support-faq p { padding-bottom: 16px; color: var(--text-2); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 20vw, 180px); line-height: 1; }
.notfound h1 { font-size: 32px; margin-top: 8px; }
.notfound p { color: var(--text-2); margin: 12px 0 28px; }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Inline icon sizes */
.badge svg { width: 14px; height: 14px; }
.text-link svg, .doc-card .back svg { width: 18px; height: 18px; }
.figure { min-width: 0; margin: 0; }
.macro-bar .mb-p { width: 36%; background: var(--protein); }
.macro-bar .mb-c { width: 17%; background: var(--carbs); }
.macro-bar .mb-f { width: 47%; background: var(--fat); }

/* Launch-list form (inside the final CTA) */
.notify { position: relative; max-width: 520px; margin: 30px auto 0; text-align: left; }
.notify-row { display: flex; gap: 10px; }
.notify input[type="email"] {
  flex: 1; min-width: 0; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1 var(--font-body); color: var(--text); background: #fff;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.35);
}
.notify input[type="email"]::placeholder { color: var(--muted); }
.notify input[type="email"]:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.final .notify .btn { margin-top: 0; flex: none; }
.final .notify .btn:disabled { opacity: .7; cursor: default; transform: none; }
.final .notify .btn:focus-visible { outline-color: #fff; }
.notify-status { margin: 12px 0 0; min-height: 0; font-weight: 700; text-align: center; }
.notify-status:empty { display: none; }
.notify-status a { color: #fff; }
.notify.is-done .notify-row { display: none; }
.final .notify-fine { margin: 14px auto 0; font-size: 13px; font-weight: 600; text-align: center; color: #fff; }
.notify-fine a, .final-contact a { color: #fff; font-weight: 700; }
.final .final-contact { margin-top: 22px; font-size: 15px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {
  .notify-row { flex-direction: column; }
  .final .notify .btn { width: 100%; }
}
.subscribed-back { margin-top: 28px; }

/* Print: show everything, no motion */
@media print {
  .js .reveal { opacity: 1; transform: none; }
  .chip { animation: none; }
  .site-header { position: static; }
}

