/* ============================================================================
   DineHop: site styles
   Load order: tokens.css then site.css. All colour/space/type come from tokens.
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); }

.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 7vw, var(--space-2xl)); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow.on-dark { color: var(--sage); }
.lede { font-size: var(--step-1); color: var(--muted-ink); max-width: 46ch; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: 0.6rem 1rem;
  border-radius: var(--radius-sm); transition: top 0.2s ease; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 800; font-size: var(--step-0);
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.4rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--olive); color: var(--ivory); box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--olive-deep); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--olive); color: var(--olive); }
.btn-ghost.on-dark { color: var(--ivory); border-color: var(--hairline-dark); }
.btn-ghost.on-dark:hover { border-color: var(--sage); color: var(--sage); }

/* "Coming soon to Google Play": our own compliant pill (no official badge pre-launch) */
.store-pill {
  display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none;
  background: var(--pine); color: var(--porcelain);
  border-radius: 14px; padding: 0.7rem 1.15rem 0.7rem 1rem;
  border: 1px solid rgba(255,252,246,0.12);
}
.store-pill:hover { background: #0a2019; }
.store-pill .glyph {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
}
.store-pill .glyph svg { width: 22px; height: 22px; }
.store-pill .lines { display: flex; flex-direction: column; line-height: 1.15; }
.store-pill .small { font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sage); font-weight: 800; }
.store-pill .big { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ivory); }

/* ---- Nav ------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,252,246,0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-card); }
.brand .word { font-family: var(--font-display); font-weight: 600; font-size: 1.24rem; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 0.96rem; color: var(--muted-ink); transition: color 0.15s ease; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-cta { display: inline-flex; }
.nav-cta { white-space: nowrap; }
@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 460px) {
  .nav-inner { padding-block: 0.6rem; }
  .brand .mark { width: 30px; height: 30px; }
  .brand .word { font-size: 1.06rem; }
  .nav-cta.btn { padding: 0.6rem 1rem; font-size: 0.88rem; }
}

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; background: var(--hero-gradient); color: var(--porcelain); overflow: hidden; isolation: isolate; }
.hero::before {
  /* faint botanical glow, top-right */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 55% at 82% 8%, rgba(159,196,130,0.22), transparent 60%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}
.hero-copy { max-width: 34rem; }
.hero h1 {
  color: var(--porcelain); font-size: var(--step-4); font-weight: 560;
  margin-top: 1.1rem; letter-spacing: -0.025em;
}
.hero h1 .accent { font-style: italic; font-weight: 500; color: var(--sage); }
.hero .lede { color: rgba(250,246,238,0.86); margin-top: 1.2rem; font-size: var(--step-1); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.hero-trust { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(250,246,238,0.82); font-weight: 700; }
.hero-trust .item svg { width: 18px; height: 18px; flex: none; color: var(--sage); }

.hero-stage { display: grid; place-items: center; position: relative; }

/* awning-scallop bottom edge: the brand's signature device (used only here) */
.scallop {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; z-index: 2;
  background: radial-gradient(circle 26px at 26px bottom, transparent 25px, var(--ivory) 26px);
  background-size: 52px 26px; background-repeat: repeat-x; background-position: center bottom;
}

/* ---- Device frame + live app screens -------------------------------------- */
.device {
  --screen-w: 300px;
  width: var(--screen-w);
  background: #0f0d0b;
  border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-phone);
  position: relative;
  transform: rotate(-2.5deg);
  transition: transform 0.4s ease;
}
.hero-stage .device:hover { transform: rotate(0deg); }
.device::after { /* punch-hole camera */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: #000;
  box-shadow: inset 0 0 0 1.5px #26221d; z-index: 6;
}
.screen {
  border-radius: 32px; overflow: hidden; background: var(--ivory);
  width: 100%; aspect-ratio: 300 / 640; position: relative;
  font-size: 12px; line-height: 1.35; color: var(--ink);
  display: flex; flex-direction: column;
}
.screen * { box-sizing: border-box; }

/* status bar */
.st-bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 16px 4px; font-size: 10px; font-weight: 800; color: inherit; }
.st-bar .dots { display: inline-flex; gap: 3px; align-items: center; }
.st-bar .dots span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* app green header */
.app-head { background: var(--hero-gradient); color: var(--porcelain); padding: 4px 16px 20px; position: relative; }
.app-head .st-bar { color: var(--porcelain); padding-inline: 0; }
.app-head .brandrow { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.app-head .brandrow img { width: 18px; height: 18px; border-radius: 5px; }
.app-head .brandrow b { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.app-head .greeting { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin-top: 10px; letter-spacing: -0.02em; }
.loc-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,252,246,0.16); border: 1px solid rgba(255,252,246,0.22); color: var(--porcelain); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; margin-top: 8px; }
.loc-pill svg { width: 12px; height: 12px; color: var(--coral); }
.search-field { display: flex; align-items: center; gap: 8px; background: var(--ivory); color: var(--muted-ink); border-radius: 12px; padding: 10px 12px; margin-top: 12px; box-shadow: 0 6px 14px rgba(13,42,33,0.22); font-weight: 600; font-size: 11.5px; }
.search-field svg { width: 15px; height: 15px; color: var(--coral); flex: none; }
.app-head .scallop-sm { position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; background: radial-gradient(circle 12px at 12px bottom, transparent 11.5px, var(--ivory) 12px); background-size: 24px 12px; background-repeat: repeat-x; background-position: center bottom; }

/* app body */
.app-body { flex: 1; overflow: hidden; background: var(--ivory); padding: 14px 16px 0; }
.app-sec { font-family: var(--font-display); font-weight: 600; font-size: 14px; margin: 4px 0 9px; display: flex; align-items: center; gap: 6px; }
.app-sec svg { width: 14px; height: 14px; color: var(--olive); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: var(--sage-mist); color: var(--olive-deep); border-radius: 999px; padding: 5px 11px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.chip.is-active { background: var(--olive); color: var(--ivory); }

/* result / place card inside app */
.pcard { display: flex; gap: 10px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 9px; box-shadow: var(--shadow-card); margin-top: 12px; }
.pcard .thumb { width: 62px; height: 62px; border-radius: 10px; flex: none; background-size: cover; background-position: center; }
.pcard .pmeta { min-width: 0; display: flex; flex-direction: column; }
.pcard .pname { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .prow { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 10.5px; color: var(--muted-ink); font-weight: 700; flex-wrap: wrap; }
.stars { color: var(--saffron); letter-spacing: 1px; font-size: 11px; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-ink); opacity: 0.5; }
.hygiene { display: inline-flex; align-items: center; gap: 3px; background: rgba(46,125,50,0.12); color: var(--fhrs-green); border-radius: 6px; padding: 2px 5px; font-size: 9.5px; font-weight: 900; }
.hygiene svg { width: 10px; height: 10px; }
.open-now { color: var(--olive); font-weight: 800; }
.tag-open { color: var(--olive); } .tag-soon { color: var(--saffron); } .tag-closed { color: var(--tomato); }

/* bottom nav */
.app-nav { display: flex; border-top: 1px solid var(--hairline); background: #fff; padding: 7px 0 9px; }
.app-nav .navitem { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; font-weight: 800; color: var(--muted-ink); }
.app-nav .navitem svg { width: 18px; height: 18px; }
.app-nav .navitem.is-active { color: var(--olive); }

/* mini map (stylised, no external tiles) */
.mini-map { position: relative; height: 168px; background: linear-gradient(160deg, #eef3ea, #e3ede0); overflow: hidden; }
.mini-map .park { position: absolute; background: #d6e8c9; border-radius: 12px; }
.mini-map .road { position: absolute; background: #fff; opacity: 0.9; }
.mini-map .water { position: absolute; background: #cfe4ef; border-radius: 40% 60% 55% 45%; }
.mini-map .mpin { position: absolute; width: 22px; height: 22px; transform: translate(-50%, -100%); filter: drop-shadow(0 3px 3px rgba(13,42,33,0.28)); }
.mini-map .mpin.is-sel { width: 28px; height: 28px; z-index: 3; }
.map-sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 9px; box-shadow: var(--shadow-lift); }

/* place-detail hero photo */
.detail-hero { position: relative; height: 150px; background-size: cover; background-position: center; }
.detail-hero .fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,42,33,0.55), transparent 55%); }
.detail-hero .savebtn { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,252,246,0.92); display: grid; place-items: center; }
.detail-hero .savebtn svg { width: 15px; height: 15px; color: var(--coral); }
.detail-title { position: absolute; left: 14px; bottom: 10px; right: 14px; color: var(--ivory); }
.detail-title .dt-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.detail-title .dt-sub { font-size: 10.5px; font-weight: 700; opacity: 0.92; }
.actbar { display: flex; gap: 6px; padding: 12px 14px; }
.actchip { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; background: var(--sage-mist); color: var(--olive-deep); border-radius: 10px; padding: 8px 4px; font-size: 9px; font-weight: 800; }
.actchip svg { width: 15px; height: 15px; }
.actchip.is-primary { background: var(--olive); color: var(--ivory); }
.fhrs-panel { display: flex; align-items: center; gap: 10px; margin: 2px 14px; background: rgba(46,125,50,0.09); border: 1px solid rgba(46,125,50,0.2); border-radius: 12px; padding: 10px 12px; }
.fhrs-panel .score { width: 34px; height: 34px; border-radius: 9px; background: var(--fhrs-green); color: #fff; font-weight: 900; font-size: 16px; display: grid; place-items: center; flex: none; }
.fhrs-panel .ft { font-size: 10px; color: var(--muted-ink); font-weight: 700; }
.fhrs-panel .ft b { display: block; font-size: 12px; color: var(--ink); font-weight: 800; }
.review { display: flex; gap: 8px; margin: 12px 14px 0; }
.review .av { width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--sage); color: var(--basil); display: grid; place-items: center; font-weight: 900; font-size: 11px; }
.review .bubble { background: var(--porcelain); border: 1px solid var(--hairline); border-radius: 12px; border-top-left-radius: 3px; padding: 8px 10px; font-size: 10.5px; color: var(--muted-ink); }
.review .bubble .rname { color: var(--ink); font-weight: 800; font-size: 10.5px; }
.review .bubble .rstars { color: var(--saffron); font-size: 10px; letter-spacing: 0.5px; }

/* saved / library list */
.lib-tabs { display: flex; gap: 16px; padding: 4px 16px 10px; border-bottom: 1px solid var(--hairline); }
.lib-tabs span { font-weight: 800; font-size: 12px; color: var(--muted-ink); padding-bottom: 6px; }
.lib-tabs span.is-active { color: var(--ink); border-bottom: 2px solid var(--coral); }
.lib-card { display: flex; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--hairline); }
.lib-card .thumb { width: 48px; height: 48px; border-radius: 10px; flex: none; background-size: cover; background-position: center; }
.lib-card .note { background: var(--cream); border-radius: 8px; padding: 5px 8px; font-size: 10px; color: var(--basil); margin-top: 5px; font-style: italic; }

/* photo placeholder gradients (stand in for real venue photography) */
.ph-pasta  { background: linear-gradient(135deg, #e7b15a, #c8663a); }
.ph-ramen  { background: linear-gradient(135deg, #d98b3f, #9a4a2f); }
.ph-cafe   { background: linear-gradient(135deg, #c99a6a, #8c6239); }
.ph-pizza  { background: linear-gradient(135deg, #e0a24a, #b4472e); }
.ph-dessert{ background: linear-gradient(135deg, #f0c3a0, #d47a6a); }
.ph-sushi  { background: linear-gradient(135deg, #7fb3a0, #3e7c6f); }
.ph-green  { background: linear-gradient(135deg, #9FC482, #557A32); }

/* ---- Features ------------------------------------------------------------- */
.section-head { max-width: 40rem; }
.section-head h2 { font-size: var(--step-3); margin-top: 0.7rem; }
.section-head p { color: var(--muted-ink); font-size: var(--step-1); margin-top: 0.8rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.fcard { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-card); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.fcard .ficon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--sage-mist); color: var(--olive); margin-bottom: 1.1rem; }
.fcard.accent .ficon { background: rgba(242,94,114,0.12); color: var(--coral); }
.fcard.hygiene-card .ficon { background: rgba(46,125,50,0.12); color: var(--fhrs-green); }
.fcard .ficon svg { width: 24px; height: 24px; }
.fcard h3 { font-size: var(--step-1); }
.fcard p { color: var(--muted-ink); margin-top: 0.5rem; font-size: 0.98rem; }
.fcard .minichips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 0.9rem; }
.fcard .minichips span { background: var(--sage-mist); color: var(--olive-deep); border-radius: 999px; padding: 3px 10px; font-size: 0.78rem; font-weight: 800; }

/* ---- How it works --------------------------------------------------------- */
.band-porcelain { background: var(--porcelain); border-block: 1px solid var(--hairline); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.6rem; } }
.step { position: relative; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--saffron); color: var(--basil); font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; display: grid; place-items: center; box-shadow: var(--shadow-card); }
.step h3 { font-size: var(--step-1); margin-top: 1rem; }
.step p { color: var(--muted-ink); margin-top: 0.4rem; }

/* ---- Screens gallery ------------------------------------------------------ */
.gallery-scroll {
  display: flex; gap: clamp(1.2rem, 3vw, 2.2rem); margin-top: clamp(2rem, 4vw, 3rem);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem;
  scroll-padding-inline: clamp(1.1rem, 4vw, 2.5rem);
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 999px; }
.gitem { scroll-snap-align: center; flex: none; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.gitem .device { transform: none; }
.gitem .caption { font-weight: 800; font-size: 0.92rem; color: var(--ink); }
.gitem .caption span { display: block; font-weight: 600; color: var(--muted-ink); font-size: 0.82rem; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq { max-width: 760px; margin-top: clamp(2rem, 4vw, 3rem); }
.faq-item {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow-card); margin-top: 0.9rem; overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-lift); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--olive); }
.faq-item summary::after {
  content: "+"; flex: none; font-family: var(--font-body); font-weight: 700;
  font-size: 1.5rem; line-height: 1; color: var(--olive);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem 1.2rem; }
.faq-a p { color: var(--muted-ink); max-width: 62ch; }
.faq-a a { color: var(--olive); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Final CTA ------------------------------------------------------------ */
.cta { background: var(--basil); color: var(--porcelain); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 15% 100%, rgba(159,196,130,0.18), transparent 60%); }
.cta-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; text-align: center; } }
.cta h2 { color: var(--porcelain); font-size: var(--step-3); }
.cta p { color: rgba(250,246,238,0.82); font-size: var(--step-1); margin-top: 0.9rem; max-width: 40ch; }
@media (max-width: 800px) { .cta p { margin-inline: auto; } }
.cta-actions { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-end; }
@media (max-width: 800px) { .cta-actions { align-items: center; } }
.cta-actions .mailto { color: var(--sage); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.cta-actions .mailto:hover { text-decoration: underline; }

/* ---- Footer --------------------------------------------------------------- */
.footer { background: var(--cream); border-top: 1px solid var(--hairline); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer .brand .word { font-size: 1.15rem; }
.footer .tag { color: var(--muted-ink); font-size: 0.9rem; margin-top: 0.7rem; max-width: 28ch; }
.footer-cols { display: flex; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--basil); margin-bottom: 0.8rem; }
.footer-col a, .footer-col button.linklike {
  display: block; text-decoration: none; color: var(--muted-ink); font-weight: 600;
  font-size: 0.94rem; padding-block: 0.3rem; background: none; border: none; cursor: pointer; font-family: inherit; text-align: left;
}
.footer-col a:hover, .footer-col button.linklike:hover { color: var(--olive); }
.footer-base { border-top: 1px solid var(--hairline); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; color: var(--muted-ink); font-size: 0.85rem; }

/* ---- Legal pages ---------------------------------------------------------- */
.legal-main { max-width: 720px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.legal-main .eyebrow { display: block; margin-bottom: 0.6rem; }
.legal-main h1 { font-size: var(--step-3); }
.legal-updated { color: var(--muted-ink); font-size: 0.9rem; margin-top: 0.5rem; }
.draft-note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: rgba(236,164,63,0.12); border: 1px solid rgba(236,164,63,0.4);
  border-radius: var(--radius); padding: 0.9rem 1.1rem; margin: 1.6rem 0; color: #7a5410; font-size: 0.92rem;
}
.draft-note svg { width: 20px; height: 20px; flex: none; color: var(--saffron); margin-top: 1px; }
.prose { margin-top: 1.5rem; }
.prose h2 { font-size: var(--step-1); margin-top: 2.2rem; margin-bottom: 0.6rem; }
.prose h3 { font-size: var(--step-0); font-weight: 700; margin-top: 1.4rem; margin-bottom: 0.4rem; font-family: var(--font-body); color: var(--basil); }
.prose p { margin-top: 0.8rem; color: #34302c; }
.prose ul { margin-top: 0.8rem; padding-left: 1.3rem; color: #34302c; }
.prose li { margin-top: 0.4rem; }
.prose a { color: var(--olive); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 3px solid var(--sage); padding-left: 1rem; color: var(--muted-ink); margin-top: 1rem; }
.legal-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 2.5rem; text-decoration: none; color: var(--olive); font-weight: 800; }

/* ---- 404 ------------------------------------------------------------------ */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf h1 { font-size: var(--step-4); }
.nf p { color: var(--muted-ink); font-size: var(--step-1); margin-top: 1rem; }

/* ---- Consent banner ------------------------------------------------------- */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80;
  max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 1.1rem 1.2rem;
  transform: translateY(140%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.consent.is-open { transform: translateY(0); }
.consent h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.consent p { color: var(--muted-ink); font-size: 0.9rem; margin-top: 0.35rem; }
.consent p a { color: var(--olive); }
.consent-actions { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.consent-actions .btn { padding: 0.65rem 1.1rem; font-size: 0.92rem; }
@media (max-width: 480px) { .consent-actions { flex-direction: column-reverse; } .consent-actions .btn { width: 100%; justify-content: center; } }

/* ---- Reveal on scroll (progressive; no-JS shows everything) --------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* gentle float for hero device */
@keyframes floaty { 0%,100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-2.5deg) translateY(-10px); } }
.hero-stage .device { animation: floaty 6s ease-in-out infinite; }
.hero-stage .device:hover { animation-play-state: paused; }

/* ---- Responsive hero ------------------------------------------------------ */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: clamp(4rem, 12vw, 6rem); }
  .hero-copy { max-width: 40rem; }
  .hero-stage { margin-top: 1rem; }
  .device { --screen-w: 268px; }
}
@media (max-width: 380px) { .device { --screen-w: 240px; } }
