/* Glosscam — landing + legal pages.
   Layout and components follow the VegPlan landing (apps/landing in the
   vegan-mealplanner repo), re-skinned as Y2K device plastic: graphite, chrome,
   orange gloss and LCD digits. One stylesheet, no build step, no JavaScript. */

@font-face {
  font-family: "DSEG14";
  src: url("/fonts/DSEG14Classic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f4f3ef;
  --paper: #0b0b0d;
  --muted: #a6a9b1;
  --accent: #ff8a1c;
  --accent-hi: #ffb15e;
  --accent-deep: #c25400;
  --lcd: #ff8a1c;
  --lcd-bg: #170c04;
  --surface-soft: #141518;
  --surface-raised: #1b1c20;
  --surface-muted: #101113;
  --surface-warm: #1d140c;
  --border-subtle: #24252a;
  --border-strong: #2f3036;
  --text-secondary: #b7bac1;
  --text-tertiary: #7d8089;
  --header-link: #c9ccd3;
  --grid-line: rgb(255 255 255 / 0.045);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9dce2 38%, #8d939c 52%, #e9ebef 70%, #b9bec7 100%);
  --gloss: linear-gradient(180deg, #ffb15e 0%, #ff8a1c 48%, #e86f00 52%, #ff9b3a 100%);
  --plastic-edge: inset 0 1px 0 rgb(255 255 255 / 0.07), inset 0 -1px 0 rgb(0 0 0 / 0.6);
  --header-h: 80px;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --font-lcd: "DSEG14", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("/img/plastic.webp");
  background-size: 192px 192px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection { background: #ff8a1c55; color: #fff; }

h1, h2, h3, .brand {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* LCD digits (DSEG14) */
.lcd {
  font-family: var(--font-lcd);
  font-weight: 700;
  color: var(--lcd);
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgb(255 138 28 / 0.55), 0 0 18px rgb(255 138 28 / 0.25);
}
.lcd-panel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--lcd-bg);
  box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.8), 0 0 0 1px #2c1a0a, 0 1px 0 rgb(255 255 255 / 0.06);
  font-size: 13px;
}
.lcd-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff3b1c;
  box-shadow: 0 0 8px #ff3b1c;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in srgb, #0b0b0d 78%, transparent);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header-inner {
  width: min(1380px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand-name span, .top .brand span { color: var(--accent); }
.brand-descriptor {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-left: 11px;
  border-left: 1px solid var(--border-strong);
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 60;
  background: var(--ink);
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--header-link);
}
.site-header nav > a:not(.header-cta):hover { color: #fff; }
.header-cta, .btn {
  display: inline-block;
  background: var(--gloss);
  color: #1a0b00;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), inset 0 -2px 0 rgb(0 0 0 / 0.18), 0 6px 18px rgb(255 138 28 / 0.28);
  transition: filter 0.15s ease;
}
.header-cta:hover, .btn:hover { filter: brightness(1.08); }

/* ---------- Grid background (VegPlan) ---------- */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 90% 72% at 50% 18%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 72% at 50% 18%, #000 12%, transparent 72%);
}
.grid-bg > * { position: relative; z-index: 1; }
.grid-bg-dense::before { background-size: 48px 48px; }

/* ---------- Hero ---------- */
.hero {
  min-height: min(calc(100dvh - var(--header-h)), 1040px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
  padding: 40px 24px 0;
  background:
    radial-gradient(circle at 50% 82%, rgb(255 138 28 / 0.22) 0, transparent 40%),
    radial-gradient(circle at 50% 0%, rgb(255 255 255 / 0.05) 0, transparent 45%);
}
.hero .lcd-panel { margin-bottom: 22px; }
h1 {
  margin: 0 auto 18px;
  max-width: 940px;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 750;
}
h1 span, .chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy {
  max-width: 660px;
  margin: 0 auto 28px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--muted);
}
.store-link { display: inline-flex; line-height: 0; border-radius: 10px; }
.store-badge { display: block; height: 52px; width: auto; }
.microcopy {
  position: relative;
  z-index: 2;
  margin: 14px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}

.phone-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(1180px, 100%);
  height: 680px;
  margin-top: auto;
  padding-top: 72px;
}
.phone {
  position: absolute;
  bottom: -75px;
  width: 290px;
  height: 590px;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(160deg, #4a4c52, #16171a 40%, #2b2c31);
  box-shadow: 0 28px 75px rgb(0 0 0 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.18), 0 0 0 1px #000;
}
.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 39px;
  background: #050506;
}
.app-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.phone-front {
  left: 50%;
  z-index: 3;
  width: 320px;
  height: 640px;
  transform: translateX(-50%);
}
.left-phone { left: 13%; z-index: 2; transform: rotate(-7deg); }
.right-phone { right: 13%; z-index: 2; transform: rotate(7deg); }

.hero-prop {
  position: absolute;
  z-index: 1;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 18px 28px rgb(0 0 0 / 0.55));
}
.phone-stage > .hero-prop:nth-child(1) { left: -10px; top: 20px; width: 132px; transform: rotate(-12deg); }
.phone-stage > .hero-prop:nth-child(2) { left: -24px; bottom: 120px; width: 118px; transform: rotate(9deg); }
.phone-stage > .hero-prop:nth-child(3) { right: -10px; top: 14px; width: 140px; transform: rotate(11deg); }
.phone-stage > .hero-prop:nth-child(4) { right: -22px; bottom: 112px; width: 126px; transform: rotate(-8deg); }
.phone-stage > .hero-prop:nth-child(5) { left: 21%; top: 12px; width: 104px; transform: rotate(14deg); }
.phone-stage > .hero-prop:nth-child(6) { right: 21%; top: 18px; width: 108px; transform: rotate(-14deg); }
.phone-stage > .hero-prop:nth-child(7) { right: 7%; top: 250px; width: 92px; transform: rotate(6deg); }

/* ---------- Proof strip ---------- */
.proof-strip {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 56px;
  padding: 22px 24px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgb(0 0 0 / 0.45);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.proof-strip b { font-family: var(--font-lcd); color: var(--lcd); font-size: 15px; margin-right: 8px; text-shadow: 0 0 8px rgb(255 138 28 / 0.45); }

/* ---------- Sections ---------- */
.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-heading .lcd { display: block; margin-bottom: 14px; font-size: 13px; }
.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.038em;
  font-weight: 680;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article {
  position: relative;
  min-height: 320px;
  border-radius: 30px;
  padding: 32px;
  background: linear-gradient(180deg, #1c1d21, #121316);
  box-shadow: var(--plastic-edge);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
.step-number { position: absolute; top: 26px; right: 28px; font-size: 14px; }
.step-visual { height: 132px; display: flex; align-items: center; margin: 28px 0 30px; }
.step-visual img { width: 124px; height: 124px; object-fit: contain; filter: drop-shadow(0 14px 24px rgb(0 0 0 / 0.55)); }
.steps h3, .feature-card h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -0.03em; }
.steps p, .feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ---------- Feature grid ---------- */
.feature-section {
  padding: 140px max(24px, calc((100% - 1160px) / 2));
  background: rgb(0 0 0 / 0.35);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(180deg, #1d1e22, #131417);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--plastic-edge);
  padding: 38px;
}
.feature-card h3 { max-width: 520px; font-size: 32px; line-height: 1.15; }
.feature-card p { max-width: 540px; font-size: 17px; }
.feature-wide {
  grid-column: 1 / -1;
  min-height: 400px;
  flex-direction: row;
  align-items: center;
  gap: 60px;
}
.feature-wide > div:first-child { flex: 1 1 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--lcd-bg);
  box-shadow: inset 0 1px 4px rgb(0 0 0 / 0.8), 0 0 0 1px #2c1a0a;
  font-family: var(--font-lcd);
  font-size: 12px;
  color: var(--lcd);
  text-shadow: 0 0 6px rgb(255 138 28 / 0.5);
}

/* LCD look viewer (replaces VegPlan's iOS device mock) */
.lcd-device {
  flex: 0 0 auto;
  width: min(460px, 48%);
  padding: 18px 18px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #e9ebef, #a9aeb6 48%, #d4d7dd 52%, #9aa0a9);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgb(0 0 0 / 0.25), 0 24px 50px rgb(0 0 0 / 0.55);
}
.lcd-device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 6px solid #1b2a44;
  background: #000;
  box-shadow: 0 0 0 2px #0b0c0f;
}
.lcd-device-screen img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.lcd-device-screen .lcd { position: absolute; left: 12px; top: 10px; font-size: 13px; }
.lcd-device-buttons { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 0 6px; }
.lcd-device-buttons i {
  display: block; width: 52px; height: 18px; border-radius: 10px;
  background: linear-gradient(180deg, #f4f5f7, #b5bac2);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.25), 0 1px 2px rgb(0 0 0 / 0.35);
}
.lcd-device-buttons b {
  display: block; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffffff, #9aa0a9 55%, #5d626b);
  box-shadow: 0 0 0 6px #c6cad1, 0 3px 8px rgb(0 0 0 / 0.4);
}

/* Film stock list (replaces VegPlan's shopping list) */
.stock-list { margin: 26px 0 0; padding: 0; list-style: none; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-subtle); }
.stock-list li { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #121316; }
.stock-list li + li { border-top: 1px solid var(--border-subtle); }
.stock-list img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.stock-list .no-art { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--lcd-bg); font-size: 10px; }
.stock-list strong { display: block; font-family: var(--font-lcd); font-size: 13px; color: var(--ink); letter-spacing: 0.04em; }
.stock-list small { display: block; color: var(--text-tertiary); font-size: 13px; margin-top: 3px; }

/* Marquees (VegPlan's recipe marquee) */
.marquee { margin: 26px -38px 0; display: grid; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee-left 46s linear infinite; }
.marquee-row:nth-child(2) .marquee-track { animation-name: marquee-right; animation-duration: 54s; }
.marquee-row:nth-child(3) .marquee-track { animation-duration: 62s; }
.marquee-track img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 8px 14px rgb(0 0 0 / 0.5)); }
.looks-marquee .marquee-track img { width: 200px; height: 150px; object-fit: cover; border-radius: 6px; border: 5px solid #f4f1ea; filter: none; box-shadow: 0 10px 22px rgb(0 0 0 / 0.5); }
.looks-marquee figure { margin: 0; text-align: center; }
.looks-marquee figcaption { margin-top: 8px; font-family: var(--font-lcd); font-size: 11px; color: var(--lcd); }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Studio tool list */
.tool-grid { flex: 0 0 auto; width: min(520px, 50%); display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tool-grid li { padding: 16px; border-radius: 18px; background: #111215; border: 1px solid var(--border-subtle); }
.tool-grid strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.tool-grid small { display: block; margin-top: 4px; color: var(--text-tertiary); font-size: 13px; line-height: 1.45; }
.tool-grid .lcd { font-size: 11px; display: block; margin-bottom: 8px; }

.sticker-card { background: linear-gradient(180deg, #221a24, #141217); }
.film-card { background: linear-gradient(180deg, #221a12, #141210); }
.feature-span { grid-column: 1 / -1; }
.feature-span .meta { margin-top: 18px; font-size: 12px; }

/* ---------- Free vs Pro ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan {
  border-radius: 30px;
  padding: 36px;
  background: linear-gradient(180deg, #1c1d21, #121316);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--plastic-edge);
}
.plan-pro { background: linear-gradient(180deg, #2a1a0c, #140d07); border-color: #4a2a10; }
.plan h3 { margin: 10px 0 6px; font-size: 30px; }
.plan > p { margin: 0 0 18px; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; color: var(--text-secondary); }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--gloss); box-shadow: 0 0 8px rgb(255 138 28 / 0.6); }
.plan-free li::before { background: var(--chrome); box-shadow: none; }

/* ---------- Privacy banner ---------- */
.privacy-banner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 44px;
  border-radius: 34px;
  background: linear-gradient(180deg, #17181b, #0f1012);
  border: 1px solid var(--border-subtle);
}
.privacy-banner img { width: 96px; height: 96px; object-fit: contain; }
.privacy-banner h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; }
.privacy-banner p { margin: 0; color: var(--muted); line-height: 1.6; }
.privacy-banner > a { color: var(--accent); font-weight: 650; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: 120px; }
.faq-list { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--border-strong); }
.faq-list details { border-bottom: 1px solid var(--border-strong); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 25px 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--accent); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: -5px 0 25px; max-width: 700px; color: var(--muted); line-height: 1.65; }
.faq-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA banner (VegPlan guide-final-cta) ---------- */
.cta-banner {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  overflow: hidden;
  width: min(1160px, calc(100% - 48px));
  margin: 80px auto 0;
  min-height: 360px;
  border: 1px solid #4a2a10;
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 110%, rgb(255 138 28 / 0.35), transparent 55%),
    linear-gradient(180deg, #24170c, #120c07);
  box-shadow: var(--plastic-edge);
}
.cta-banner-stage { position: relative; min-height: 360px; overflow: hidden; }
.cta-banner .phone { left: 50%; top: 36px; bottom: auto; width: 196px; height: 400px; transform: translateX(-50%) rotate(-4deg); }
.cta-banner-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px 48px 48px 8px; }
.cta-banner h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.04em; }
.cta-banner p { max-width: 520px; margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.cta-banner .store-link { margin-top: 22px; }
.home-final-cta { margin-bottom: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 34px;
}
.footer-brand p { color: var(--muted); line-height: 1.55; max-width: 380px; }
.footer-links { display: flex; flex-direction: column; gap: 15px; font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ---------- Legal / support pages (also used by scripts/site/licenses.mjs output) ---------- */
.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  margin: 0 -20px;
  padding: 0 20px;
  background: color-mix(in srgb, #0b0b0d 82%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.top .brand::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: url("/favicon.svg") center / cover no-repeat;
}
.lang { font-size: 14px; color: var(--text-tertiary); }
.lang a, .lang strong { color: var(--text-tertiary); padding: 0 2px; }
.lang strong { color: var(--ink); font-weight: 600; }
.lang a:hover { color: var(--ink); }
.wrap main { padding: 56px 0 72px; }
.wrap main > h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.08; margin: 0 0 10px; text-align: left; }
.wrap h2 { font-size: 22px; letter-spacing: -0.025em; margin: 40px 0 10px; }
.wrap h3 { font-size: 17px; letter-spacing: -0.01em; margin: 24px 0 6px; }
.wrap main p, .wrap main li { color: var(--text-secondary); line-height: 1.75; }
.wrap main b, .wrap main strong { color: var(--ink); }
.wrap main a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.muted, .meta { color: var(--text-tertiary); }
.meta { font-size: 14px; }
.wrap ul, .wrap ol { padding-left: 22px; }
.wrap li { margin: 6px 0; }
.wrap details { border-top: 1px solid var(--border-subtle); padding: 14px 0; }
.wrap details:last-of-type { border-bottom: 1px solid var(--border-subtle); }
.wrap summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.wrap summary small { color: var(--text-tertiary); font-weight: 400; }
.wrap details p { margin: 8px 0 0; }
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font: 12px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--muted);
  background: #0f1012;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  margin: 10px 0 0;
  max-height: 360px;
  overflow: auto;
}
.wrap footer {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0 44px;
  font-size: 14px;
  color: var(--text-tertiary);
}
.wrap footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
.wrap footer a { color: var(--text-tertiary); }
.wrap footer a:hover { color: var(--accent); }
.credits { padding: 18px 20px; border-radius: 16px; background: #121316; border: 1px solid var(--border-subtle); }
.wrap main.hero { min-height: 0; padding: 96px 0 72px; background: none; }
.wrap main.hero h1 { text-align: center; font-size: 96px; }
.wrap main.hero p { color: var(--muted); max-width: 30em; margin: 0 auto 32px; }

/* ---------- Responsive (VegPlan breakpoints) ---------- */
@media (max-width: 960px) {
  .feature-wide { gap: 36px; }
  .tool-grid { width: min(440px, 52%); }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .site-header-inner { width: calc(100% - 30px); }
  .brand { font-size: 20px; }
  .brand img { width: 36px; height: 36px; }
  .site-header nav > a:not(.header-cta) { display: none; }
  .header-cta { padding: 10px 14px; }
  .hero { padding: 28px 16px 0; }
  .phone-stage { height: 590px; padding-top: 36px; }
  .phone { width: 235px; height: 500px; }
  .phone-front { width: 270px; height: 550px; }
  .left-phone { left: -12%; }
  .right-phone { right: -12%; }
  .phone-stage > .hero-prop { display: none; }
  .section { padding: 100px 0; }
  .steps, .feature-grid, .plans { grid-template-columns: 1fr; }
  .feature-span { grid-column: auto; }
  .feature-wide { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .lcd-device, .tool-grid { width: 100%; }
  .feature-section { padding-top: 100px; padding-bottom: 100px; }
  .privacy-banner { grid-template-columns: 70px 1fr; padding: 34px; }
  .privacy-banner img { width: 70px; height: 70px; }
  .privacy-banner > a { grid-column: 2; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner-copy { order: 1; padding: 36px 32px 8px; }
  .cta-banner-stage { order: 2; min-height: 260px; }
  .cta-banner .phone { top: 24px; width: 168px; height: 340px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-header-inner { width: calc(100% - 28px); }
  .header-cta { padding: 9px 11px; font-size: 14px; }
  .brand-descriptor { display: none; }
  h1 { font-size: 42px; }
  .hero-copy { font-size: 17px; }
  .store-badge { height: 46px; }
  .phone-stage { height: 510px; }
  .phone-front { width: 256px; height: 525px; }
  .phone-back { display: none; }
  .section, .privacy-banner, .site-footer, .cta-banner { width: calc(100% - 32px); }
  .section-heading { margin-bottom: 44px; }
  .steps article, .feature-card, .plan { padding: 26px; border-radius: 26px; }
  .marquee { margin-left: -26px; margin-right: -26px; }
  .feature-card h3 { font-size: 27px; }
  .tool-grid { grid-template-columns: 1fr; }
  .privacy-banner { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
  .privacy-banner > a { grid-column: auto; }
  .proof-strip { gap: 12px 28px; }
  .site-footer { grid-template-columns: 1fr; gap: 32px; }
  .wrap main.hero h1 { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
.wrap main a.btn { color: #1a0b00; text-decoration: none; }
.top .brand { gap: 0; }
.top .brand::before { margin-right: 10px; }
.wrap main > h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 520px) { .wrap main > h1 { font-size: 34px; } }
