/* Scranly marketing site - design tokens mirror the app (lib/theme.ts). Dark is canonical;
   light mode follows the device via prefers-color-scheme. No frameworks, no build step. */

/* ---------- fonts (self-hosted Cabinet Grotesk, Fontshare ITF free license) ---------- */
@font-face { font-family: 'Cabinet Grotesk'; src: url('../fonts/CabinetGrotesk-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('../fonts/CabinetGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('../fonts/CabinetGrotesk-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('../fonts/CabinetGrotesk-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* ---------- tokens ---------- */
/* Light theme is canonical for the site (matches the app's light tokens). */
:root {
  --bg: #F6F3EC; --card: #FFFFFF; --card-alt: #EFEBE1;
  --ink: #1A1714; --sub: #8A8175; --border: #E7E1D4;
  --brand: #F5610A; --brand-2: #FF8A3D; --brand-soft: #FFEFE2;
  --health: #1E8E4E; --health-soft: #E3F2E9; --on-brand: #FFFFFF;
  --macro-p: #2563EB; --macro-c: #E08A00; --macro-f: #E0483B;
  --radius: 18px; --radius-sm: 12px;
  --font: 'Cabinet Grotesk', -apple-system, system-ui, 'Segoe UI', sans-serif;
  --maxw: 1080px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.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;
}

/* ---------- reveal animation (JS adds .in; degrades to visible without JS via .no-js) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 12px; padding: 12px 22px; max-width: var(--maxw); margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 0; color: var(--ink); font-weight: 900; font-size: 27px; letter-spacing: -0.02em; }
.ly { color: var(--brand); }
.nav-logo:hover { text-decoration: none; }
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.logo-tile { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; }
.foot-brand .logo-tile { width: 27px; height: 27px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--sub); font-weight: 700; font-size: 14px; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: var(--on-brand) !important; font-weight: 800; font-size: 14px;
  padding: 9px 16px; border-radius: 12px; transition: transform .15s ease, filter .15s ease;
}
.pill:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); }

/* ---------- hero ---------- */
.hero { padding: 34px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; }
.hero h1 .accent { color: var(--brand); }
.hero .sub { color: var(--sub); font-size: clamp(18px, 1.6vw, 20px); font-weight: 500; margin: 20px 0 30px; max-width: 520px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg) !important; font-weight: 800; font-size: 16px;
  padding: 14px 22px; border-radius: 14px; transition: transform .15s ease;
}
.store-btn:hover { text-decoration: none; transform: translateY(-1px); }
.store-btn .apple { font-size: 20px; line-height: 1; }
.store-btn small { display: block; font-size: 10.5px; font-weight: 700; opacity: .72; letter-spacing: .02em; }
.store-btn .lines { text-align: left; line-height: 1.15; }
.soon-chip { color: var(--sub); font-size: 13px; font-weight: 700; background: var(--card); border: 1px solid var(--border); padding: 8px 13px; border-radius: 999px; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--sub); font-size: 13.5px; font-weight: 700;
  background: var(--card); border: 1px solid var(--border);
  padding: 8px 13px; border-radius: 999px;
}
.trust-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--health); }
.stats { display: flex; gap: 38px; margin-top: 40px; flex-wrap: wrap; }
.stat b { display: block; font-size: clamp(24px, 2.3vw, 32px); font-weight: 900; letter-spacing: -0.02em; }
.stat span { color: var(--sub); font-size: 14px; font-weight: 600; }

/* ---------- phone frame (3D presentation) ---------- */
.tilt-stage { perspective: 1400px; }
.tilt {
  --ds: 0.66;
  position: relative;
  width: calc(428px * var(--ds)); margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(7deg) rotateZ(2deg);
  transition: transform .25s ease-out;
  animation: phone-float 7s ease-in-out infinite;
  will-change: transform;
}
@media (max-width: 480px) { .tilt { --ds: 0.56; } }
@media (max-width: 360px) { .tilt { --ds: 0.5; } }
/* extruded titanium: stacked silhouette layers give the frame real thickness, so the
   side rail becomes visible when the phone rotates (and as the cursor tilts it) */
.extrude { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.extrude div {
  position: absolute; left: 0; top: 0;
  width: calc(428px * var(--ds)); height: calc(868px * var(--ds));
  border-radius: calc(68px * var(--ds));
  background: linear-gradient(160deg, #7a7672, #55524e 40%, #3e3b38);
}
.extrude div:nth-child(1)  { transform: translateZ(-1.7px); }
.extrude div:nth-child(2)  { transform: translateZ(-3.4px); }
.extrude div:nth-child(3)  { transform: translateZ(-5.1px); }
.extrude div:nth-child(4)  { transform: translateZ(-6.8px); }
.extrude div:nth-child(5)  { transform: translateZ(-8.5px); }
.extrude div:nth-child(6)  { transform: translateZ(-10.2px); }
.extrude div:nth-child(7)  { transform: translateZ(-12px); }
.extrude div:nth-child(8)  { transform: translateZ(-13.7px); }
.extrude div:nth-child(9)  { transform: translateZ(-15.4px); }
.extrude div:nth-child(10) { transform: translateZ(-17.1px); }
.extrude div:nth-child(11) { transform: translateZ(-18.8px); }
.extrude div:nth-child(12) { transform: translateZ(-20.5px); background: #2e2b29; }
@keyframes phone-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
/* soft brand glow behind the phone */
.tilt-stage { position: relative; }
.tilt-stage::before {
  content: ''; position: absolute; inset: 8% 12%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 26%, transparent), transparent 75%);
  filter: blur(30px); z-index: -1;
}
@media (prefers-reduced-motion: reduce) {
  .tilt { animation: none; transform: rotateY(-10deg) rotateX(4deg); transition: none; }
}
.no-js .tilt { transform: none; animation: none; }

/* devices.css iPhone 14 Pro is a fixed 428x868; scale it into the hero column (--ds set on .tilt). */
.device-scale { width: calc(428px * var(--ds)); height: calc(868px * var(--ds)); margin: 0 auto; }
.device-scale .device { transform: scale(var(--ds)); transform-origin: top left; }
.device-frame { position: relative; }

/* ---------- Ask Scranly demo (lives on the 390x830 screen inside the frame;
   sizes are set for that canvas, then the whole phone scales via --ds) ---------- */
/* .device-frame prefix outranks devices.css's .device .device-screen background
   and its .device * { display: block } blanket rule */
.device-frame .demo-screen { background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
.device-frame .demo-screen .demo-query-text,
.device-frame .demo-screen .dot { display: inline; }
.demo-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 34px 0; font-size: 16px; font-weight: 700; color: var(--ink);
}
.demo-status .icons { display: flex; align-items: center; gap: 7px; }
.demo-status .bars { display: flex; align-items: flex-end; gap: 2px; }
.demo-status .bars i { width: 3.5px; border-radius: 1px; background: var(--ink); display: block; }
.demo-status .bars i:nth-child(1) { height: 5px; }
.demo-status .bars i:nth-child(2) { height: 7px; }
.demo-status .bars i:nth-child(3) { height: 9px; }
.demo-status .bars i:nth-child(4) { height: 11px; }
.demo-status .battery {
  display: block; position: relative; width: 25px; height: 12.5px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 50%, transparent);
  border-radius: 4px; padding: 1.5px;
}
.demo-status .battery::after {
  content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  width: 2px; height: 5px; border-radius: 0 2px 2px 0;
  background: color-mix(in srgb, var(--ink) 50%, transparent);
}
.demo-status .battery i { display: block; height: 100%; width: 78%; border-radius: 2px; background: var(--ink); }
.demo-head { padding: 12px 26px 4px; }
.demo-head b { font-size: 25px; font-weight: 900; letter-spacing: -0.02em; }
.demo-head > span { display: block; color: var(--sub); font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.demo-chat { padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.demo-query {
  align-self: flex-end; max-width: 85%; margin: 0;
  background: var(--brand); color: var(--on-brand);
  font-size: 16px; font-weight: 700; line-height: 1.35;
  padding: 12px 16px; border-radius: 18px 18px 5px 18px;
  min-height: 46px;
}
.demo-query .caret {
  display: inline-block; width: 2px; height: 1em; background: var(--on-brand);
  vertical-align: -0.12em; margin-left: 1px; opacity: 0;
}
.typing .demo-query .caret { opacity: 1; animation: caret-blink 1s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.demo-results { display: flex; flex-direction: column; gap: 9px; }
.demo-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; box-shadow: 0 6px 14px rgba(122, 80, 30, 0.10); position: relative;
}
.demo-results .demo-card { opacity: 0; transform: translateY(10px); }
.demo-results.show .demo-card { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease; }
.demo-results.show .demo-card:nth-child(2) { transition-delay: .12s; }
.demo-results.show .demo-card:nth-child(3) { transition-delay: .24s; }
.demo-results.show .demo-card:nth-child(4) { transition-delay: .36s; }
.demo-results.show .demo-card:nth-child(5) { transition-delay: .48s; }
.demo-results.show .demo-card:nth-child(6) { transition-delay: .6s; }
.no-js .demo-results .demo-card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .demo-results .demo-card { opacity: 1; transform: none; transition: none; }
}
.logo-chip {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: #FFFFFF; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.logo-chip img { width: 35px; height: 35px; object-fit: contain; border-radius: 8px; }
.demo-card-main { flex: 1; min-width: 0; }
.demo-card-main b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-card-main .meta { color: var(--sub); font-size: 13px; font-weight: 600; }
.demo-macros { display: flex; gap: 9px; margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--sub); }
.demo-macros i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 3px; }
.demo-macros .mp i { background: var(--macro-p); }
.demo-macros .mc i { background: var(--macro-c); }
.demo-macros .mf i { background: var(--macro-f); }
.demo-card-side { text-align: right; flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.demo-card-side b { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
.demo-card-side .kcal { color: var(--sub); font-size: 11.5px; font-weight: 700; }
.demo-log {
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 17px; font-weight: 900; line-height: 28px; text-align: center;
  transition: background .25s ease, color .25s ease;
}
.demo-log.done { background: var(--health-soft); color: var(--health); }
.best-chip {
  position: absolute; top: -10px; left: 16px;
  background: var(--health); color: #fff;
  font-size: 11.5px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.demo-caption {
  color: var(--sub); font-size: 12px; font-weight: 600; text-align: center;
  max-width: 300px; margin: 18px auto 0;
}

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; margin-top: 8px; }
.section-head p { color: var(--sub); font-weight: 500; margin: 12px 0 0; }

/* chain marquee (auto-scrolling, full colour) */
.chains { padding: 34px 0 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); }
.chains-label { text-align: center; color: var(--sub); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 24px; }
.marquee {
  display: flex; gap: 56px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; align-items: center; flex-shrink: 0; min-width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 56px)); } }
.marquee-track img { height: 42px; width: auto; max-width: 110px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; min-width: 0; }
  .marquee-track[aria-hidden] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}
.disclaimer { max-width: 640px; margin: 26px auto 0; text-align: center; color: var(--sub); font-size: 11.5px; line-height: 1.6; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 30px; height: 30px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 900; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.step-card h3 { font-size: 19px; font-weight: 800; }
.step-card > p { color: var(--sub); font-size: 14px; font-weight: 500; margin: 0; }
/* step visuals: styled in-app mocks render by default; when a real screenshot
   (img/screen-*.png) exists, JS swaps it in on successful load */
.step-visual {
  margin-top: auto; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg); position: relative;
}
.step-visual > img { display: none; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: top; }
.step-visual.has-shot > img { display: block; }
.step-visual.has-shot .mini { display: none; }
.mini { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mini-head { display: flex; justify-content: space-between; align-items: center; }
.mini-head b { font-size: 13px; font-weight: 900; letter-spacing: -0.01em; }
.mini-head span {
  color: var(--sub); font-size: 10px; font-weight: 800;
  background: var(--card); border: 1px solid var(--border); padding: 3px 8px; border-radius: 999px;
}
.mini-row {
  display: flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px;
}
.mini-row .logo-chip { width: 30px; height: 30px; border-radius: 9px; }
.mini-row .logo-chip img { width: 24px; height: 24px; border-radius: 6px; }
.mini-row .txt { flex: 1; min-width: 0; }
.mini-row .txt b { display: block; font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row .txt span { display: block; color: var(--sub); font-size: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row .kc { font-size: 12px; font-weight: 900; color: var(--ink); }
.mini-bubble-q {
  align-self: flex-end; background: var(--brand); color: var(--on-brand); margin: 0;
  font-size: 11.5px; font-weight: 700; padding: 8px 11px; border-radius: 13px 13px 3px 13px; max-width: 88%;
}
.mini-tick {
  width: 22px; height: 22px; border-radius: 8px; background: var(--health-soft); color: var(--health);
  font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.mini-bar { display: flex; flex-direction: column; gap: 4px; }
.mini-bar .lbl { display: flex; justify-content: space-between; color: var(--sub); font-size: 10px; font-weight: 800; }
.mini-bar .lbl b { color: var(--ink); font-weight: 900; }
.mini-bar .track { display: block; height: 7px; border-radius: 999px; background: var(--card-alt); overflow: hidden; }
.mini-bar .fill { display: block; height: 100%; border-radius: 999px; }
.mini-bar.bp .fill { background: var(--macro-p); width: 78%; }
.mini-bar.bc .fill { background: var(--macro-c); width: 55%; }
.mini-bar.bf .fill { background: var(--macro-f); width: 62%; }

/* shock strip */
.shock { background: var(--card); border-block: 1px solid var(--border); text-align: center; }
.shock .big { font-size: clamp(30px, 5vw, 46px); font-weight: 900; letter-spacing: -0.02em; }
.shock .big em { color: var(--brand); font-style: normal; }
.shock p { color: var(--sub); font-weight: 600; margin: 12px 0 0; }

/* faq */
.faq { max-width: 680px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; font-weight: 800; font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-weight: 900; font-size: 20px; flex: 0 0 auto; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 18px 16px; color: var(--sub); font-size: 14.5px; font-weight: 500; }
.faq .a a { font-weight: 700; }

/* final cta */
.final { text-align: center; }
.final h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 900; }
.final .sub { color: var(--sub); font-weight: 500; margin: 14px 0 26px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0 50px; margin-top: 30px; }
.foot-grid { display: flex; gap: 34px; flex-wrap: wrap; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 0; font-weight: 900; font-size: 18px; }
.foot-brand img { width: 26px; height: 26px; border-radius: 7px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; min-width: 130px; }
.foot-col b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sub); margin-bottom: 3px; }
.foot-col a { color: var(--ink); font-weight: 600; font-size: 14px; }
.foot-col a:hover { color: var(--brand); text-decoration: none; }
.foot-small { color: var(--sub); font-size: 11.5px; line-height: 1.65; margin-top: 30px; max-width: 760px; }

/* ---------- content pages (privacy / support) ---------- */
.page { max-width: 720px; margin: 0 auto; padding: 56px 22px 80px; }
.page h1 { font-size: clamp(30px, 4.5vw, 40px); font-weight: 900; }
.page .updated { color: var(--sub); font-size: 13px; font-weight: 600; margin: 10px 0 34px; }
.page h2 { font-size: 21px; font-weight: 800; margin: 34px 0 10px; }
.page h3 { font-size: 16.5px; font-weight: 800; margin: 22px 0 8px; }
.page p, .page li { color: var(--sub); font-size: 15px; font-weight: 500; }
.page li { margin-bottom: 6px; }
.page strong { color: var(--ink); }
.page .card-note { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: var(--sub); }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-card b { display: block; font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.contact-card p { margin: 0 0 12px; font-size: 14px; }
.contact-card > a { font-weight: 700; font-size: 14.5px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { padding: 44px 0 26px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .sub { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .nav-links a.nav-plain { display: none; }
}
