/* ============================================================================
   SQ5 site.css — soar.quest marketing one-pager (brief §7, surface B)
   ----------------------------------------------------------------------------
   Token-consistent with the app kit: imports ONLY tokens.css (the site is a
   standalone static surface — no app CSS dependency). Light + dark via .dark
   on <html>; the ink bands are nested `class="dark"` TOKEN SCOPES, so the
   whole page re-themes from the token system alone. One accent: brass
   (--site-accent, additive tokens below). System stack + system serif display.
   No CDN, no webfonts, no images. Art direction: annotated engineering
   drawing — page rails, crosshair marks, mono indices, measured rules.
   ============================================================================ */
@import url("tokens.css");

:root {
  --site-accent: 36 62% 42%; /* @kind color */
  --site-accent-bright: 40 70% 55%; /* @kind color */
  --site-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; /* @kind font */
  /* site.css imports only tokens.css, so the site owns this additive token —
     without it every mono element silently falls back to the sans stack */
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; /* @kind font */
  --wrap: 1120px; /* @kind spacing */
}
.dark {
  --site-accent: 40 62% 56%; /* @kind color */
  --site-accent-bright: 42 74% 64%; /* @kind color */
}

/* ---- base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-family: var(--site-serif); font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
::selection { background: hsl(var(--site-accent) / 0.2); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }

/* page rails — the drawing frame (wide screens only) */
.rails::before, .rails::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: hsl(var(--border) / 0.7);
  pointer-events: none;
  z-index: 1;
}
.rails::before { left: max(16px, calc(50vw - var(--wrap) / 2 - 28px)); }
.rails::after { right: max(16px, calc(50vw - var(--wrap) / 2 - 28px)); }
@media (max-width: 1219px) { .rails::before, .rails::after { display: none; } }

/* section plumbing: measured top rule + crosshair + mono index */
section { position: relative; padding-block: clamp(56px, 9vw, 92px); }
.rule { position: relative; border-top: 1px solid hsl(var(--border)); }
.rule::before {
  content: "+";
  position: absolute;
  top: -0.72em;
  left: -0.34em;
  font-family: var(--font-mono);
  font-size: 15px;
  color: hsl(var(--site-accent));
  background: hsl(var(--background));
  padding-inline: 1px;
}
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.75em;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--site-accent));
}
.eyebrow .idx { color: hsl(var(--muted-foreground)); letter-spacing: 0.06em; }
.section-title { font-size: clamp(27px, 3.6vw, 38px); max-width: 24ch; }
.section-intro { margin-top: 14px; color: hsl(var(--muted-foreground)); max-width: 62ch; }
.mono-note { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; color: hsl(var(--muted-foreground)); }

/* ---- buttons (marketing scale) ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) + 2px);
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease, transform 0.12s ease, color 0.14s ease;
}
.btn:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.btn:hover { transform: translateY(-1px); }
.btn .arrow { color: hsl(var(--site-accent-bright)); transition: translate 0.14s ease; }
.btn:hover .arrow { translate: 2px 0; }
.btn-accent { background: hsl(var(--site-accent)); color: hsl(0 0% 100%); }
.btn-accent:hover { background: hsl(var(--site-accent-bright)); }
.btn-accent .arrow { color: hsl(0 0% 100% / 0.85); }
.btn-quiet { border-color: hsl(var(--border)); color: hsl(var(--foreground)); background: hsl(var(--background)); }
.btn-quiet:hover { border-color: hsl(var(--muted-foreground)); }
.btn-sm { padding: 9px 15px; font-size: 14px; }

/* ---- nav ---------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: hsl(var(--background) / 0.82);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.mark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: hsl(var(--foreground));
}
.mark b { color: hsl(var(--site-accent)); }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a {
  padding: 8px 12px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: hsl(var(--muted-foreground));
}
.site-nav a:hover { color: hsl(var(--foreground)); background: hsl(var(--accent)); }
.theme-toggle {
  display: grid;
  place-content: center;
  width: 34px;
  height: 34px;
  margin-left: 6px;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-size: 15px;
}
.theme-toggle:hover { color: hsl(var(--foreground)); background: hsl(var(--accent)); }
.theme-toggle .moon, .dark .theme-toggle .sun { display: none; }
.dark .theme-toggle .moon { display: block; }
.head-cta { margin-left: 10px; }
@media (max-width: 760px) { .site-nav a:not(.head-cta) { display: none; } }

/* ---- hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero::before { /* faint blueprint grid, fades out to the right */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(hsl(var(--border) / 0.55) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.55) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(110% 100% at 8% 0%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(110% 100% at 8% 0%, #000 30%, transparent 72%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.07; max-width: 16ch; }
.hero .sub { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: hsl(var(--muted-foreground)); max-width: 50ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .fineprint { margin-top: 18px; }
.hero .fineprint b { color: hsl(var(--site-accent)); font-weight: 600; }

/* the product visual — a real miniature of the generated app, annotated */
.mock-wall { position: relative; }
.mock {
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  background: hsl(var(--card));
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06), 0 16px 40px -18px rgb(0 0 0 / 0.25);
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid hsl(var(--border) / 0.8);
  background: hsl(var(--muted) / 0.4);
}
.mock-bar i { width: 8px; height: 8px; border-radius: 999px; background: hsl(var(--muted-foreground) / 0.35); }
.mock-bar .url {
  flex: 1;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border) / 0.7);
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-body { display: grid; grid-template-columns: 118px minmax(0, 1fr); min-height: 300px; }
.mock-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 7px;
  border-right: 1px solid hsl(var(--border) / 0.7);
  background: color-mix(in srgb, hsl(var(--muted)) 40%, hsl(var(--background)));
}
.mock-brand { display: flex; align-items: center; gap: 5px; padding: 3px 5px 8px; font-weight: 600; font-size: 10.5px; }
.mock-brand i { width: 12px; height: 12px; border-radius: 4px; background: hsl(var(--primary)); }
.mock-nav { padding: 4px 6px; border-radius: 5px; color: hsl(var(--foreground) / 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-nav.on { background: hsl(var(--accent)); font-weight: 600; color: hsl(var(--accent-foreground)); }
.mock-lbl { padding: 6px 6px 2px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.mock-main { padding: 12px 12px 14px; }
.mock-title { font-weight: 650; font-size: 13px; letter-spacing: -0.01em; }
.mock-sub { color: hsl(var(--muted-foreground)); font-size: 9.5px; margin-top: 1px; }
.mock-stats { display: flex; gap: 6px; margin-top: 10px; }
.mock-stat { flex: 1; padding: 7px 9px; border: 1px solid hsl(var(--border) / 0.8); border-radius: 7px; background: hsl(var(--card)); }
.mock-stat b { display: block; font-size: 13.5px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mock-stat span { color: hsl(var(--muted-foreground)); font-size: 8.5px; }
.mock-table { margin-top: 10px; border: 1px solid hsl(var(--border) / 0.8); border-radius: 7px; overflow: hidden; }
.mock-tr { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 8px; align-items: center; padding: 6px 9px; border-top: 1px solid hsl(var(--border) / 0.6); }
.mock-tr.head {
  border-top: 0;
  background: hsl(var(--muted) / 0.45);
  font-size: 8.5px;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}
.mock-tr .amt { text-align: right; font-variant-numeric: tabular-nums; }
.mock-pill {
  justify-self: start;
  padding: 1.5px 7px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
}
.mock-pill.g { background: hsl(var(--status-green, 142 71% 45%) / 0.14); color: hsl(142 72% 26%); }
.dark .mock-pill.g { color: hsl(142 62% 62%); }
.mock-pill.a { background: hsl(38 92% 50% / 0.16); color: hsl(32 84% 30%); }
.dark .mock-pill.a { color: hsl(40 90% 62%); }

/* blueprint callouts */
.callout {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: hsl(var(--site-accent));
  white-space: nowrap;
}
.callout::before { content: ""; position: absolute; background: hsl(var(--site-accent) / 0.6); }
.callout.top { top: -34px; right: 8%; padding-bottom: 4px; }
.callout.top::before { left: 12px; top: 20px; width: 1px; height: 26px; }
.callout.side { bottom: 12%; left: -12px; translate: -100% 0; padding-right: 12px; }
.callout.side::before { right: -12px; top: 50%; width: 22px; height: 1px; }
@media (max-width: 1219px) { .callout.side { display: none; } }

/* ---- trust strip --------------------------------------------------------- */
.strip { border-block: 1px solid hsl(var(--border)); background: hsl(var(--muted) / 0.3); }
.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 34px;
  padding-block: 16px;
}
.strip .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.strip .w { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: hsl(var(--foreground) / 0.75); }
.strip .w small { font-weight: 400; color: hsl(var(--muted-foreground)); }

/* ---- pillars — ruled editorial columns ----------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); margin-top: 44px; }
.pillar { position: relative; border-top: 2px solid hsl(var(--foreground)); padding-top: 18px; }
.pillar .n { font-family: var(--font-mono); font-size: 12px; color: hsl(var(--site-accent)); }
.pillar h3 { font-size: 21px; margin: 8px 0 10px; }
.pillar p { color: hsl(var(--muted-foreground)); font-size: 15.5px; line-height: 1.6; }

/* ---- demos ---------------------------------------------------------------- */
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.demo-card {
  display: flex;
  flex-direction: column;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
  overflow: hidden;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}
.demo-card:hover { border-color: hsl(var(--muted-foreground) / 0.5); box-shadow: 0 12px 32px -16px rgb(0 0 0 / 0.2); }
.demo-thumb {
  padding: 18px 18px 0;
  background:
    linear-gradient(hsl(var(--border) / 0.4) 1px, transparent 1px) 0 0 / 100% 26px,
    color-mix(in srgb, hsl(var(--muted)) 45%, hsl(var(--background)));
  border-bottom: 1px solid hsl(var(--border));
}
.demo-thumb .mock { border-radius: 8px 8px 0 0; border-bottom: 0; box-shadow: none; }
.demo-thumb .mock-body { min-height: 132px; }
.demo-copy { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.demo-copy .tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: hsl(var(--site-accent)); }
.demo-copy h3 { font-size: 22px; }
.demo-copy p { color: hsl(var(--muted-foreground)); font-size: 15.5px; flex: 1; }
.demo-copy .btn { align-self: flex-start; margin-top: 6px; }
/* mini board vignette */
.mock-board { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 10px; }
.mock-col { display: grid; gap: 4px; align-content: start; padding: 4px; border-radius: 6px; background: hsl(var(--muted) / 0.5); }
.mock-col .h { font-size: 8.5px; font-weight: 600; color: hsl(var(--muted-foreground)); padding: 2px 3px; display: flex; justify-content: space-between; }
.mock-chip { padding: 5px 6px; border-radius: 5px; background: hsl(var(--card)); border: 1px solid hsl(var(--border) / 0.8); font-size: 9px; font-weight: 500; }

/* ---- steps — measured timeline -------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 30px); margin-top: 44px; }
.step { position: relative; padding-top: 20px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: 1px solid hsl(var(--border)); }
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 1px; height: 9px; background: hsl(var(--site-accent)); }
.step .when { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: hsl(var(--site-accent)); }
.step h3 { font-family: var(--font); font-size: 16.5px; font-weight: 650; margin: 8px 0 6px; letter-spacing: -0.01em; }
.step p { color: hsl(var(--muted-foreground)); font-size: 14.5px; line-height: 1.55; }

/* ---- feature grid — spec sheet -------------------------------------------- */
.spec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  overflow: hidden;
  background: hsl(var(--border) / 0.7);
  gap: 1px;
}
.spec-cell { background: hsl(var(--card)); padding: 20px; }
.spec-cell .sn { font-family: var(--font-mono); font-size: 10.5px; color: hsl(var(--muted-foreground)); }
.spec-cell h3 { font-family: var(--font); font-size: 15px; font-weight: 650; margin: 10px 0 5px; letter-spacing: -0.01em; }
.spec-cell p { color: hsl(var(--muted-foreground)); font-size: 13.5px; line-height: 1.5; }

/* ---- pricing ---------------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; align-items: stretch; }
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
}
.tier.flag { border-color: hsl(var(--site-accent)); box-shadow: 0 0 0 1px hsl(var(--site-accent)); }
.tier .flag-tab {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 4px 10px;
  border-radius: 6px;
  background: hsl(var(--site-accent));
  color: hsl(0 0% 100%);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tier .tname { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.tier h3 { font-size: 21.5px; margin-top: 8px; }
.tier .price { margin: 18px 0 2px; font-family: var(--font-mono); font-weight: 600; font-size: 26px; font-variant-numeric: tabular-nums; }
.tier .price small { font-size: 13px; font-weight: 400; color: hsl(var(--muted-foreground)); }
.tier .term { margin-bottom: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: hsl(var(--site-accent)); }
.tier .what { flex: 1; color: hsl(var(--muted-foreground)); font-size: 15px; line-height: 1.55; }
.retainer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: 14px;
}
.retainer .rt { font-family: var(--site-serif); font-size: 19px; }
.retainer .rd { flex: 1; min-width: 240px; max-width: 54ch; color: hsl(var(--muted-foreground)); font-size: 15px; }
.retainer .rp { font-family: var(--font-mono); font-size: 17px; font-weight: 600; color: hsl(var(--site-accent)); white-space: nowrap; }
.scope-note { margin-top: 16px; }

/* ---- ink bands — nested .dark token scopes -------------------------------- */
.band-ink {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border-block: 1px solid hsl(var(--border));
}
.band-ink .section-title, .band-ink h3 { color: hsl(var(--foreground)); }

/* guarantee */
.glist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; }
.g { display: flex; gap: 14px; align-items: flex-start; }
.g .check {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: hsl(var(--status-green, 142 71% 45%) / 0.15);
  color: hsl(142 62% 55%);
}
.g h3 { font-family: var(--font); font-size: 16.5px; font-weight: 650; margin-bottom: 5px; letter-spacing: -0.01em; }
.g p { color: hsl(var(--muted-foreground)); font-size: 14.5px; line-height: 1.55; }

/* ---- case note -------------------------------------------------------------- */
.case {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 40px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--card));
}
.case .fig { font-family: var(--font-mono); font-size: 12px; color: hsl(var(--site-accent)); writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: 0.14em; }
.case blockquote { margin: 0; font-family: var(--site-serif); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; letter-spacing: -0.01em; max-width: 34ch; }
.case .case-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---- about -------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 168px 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; margin-top: 8px; }
.avatar {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  background: hsl(var(--foreground));
  color: hsl(var(--site-accent-bright));
  font-family: var(--site-serif);
  font-size: 56px;
  letter-spacing: 0.02em;
}
.about p { color: hsl(var(--muted-foreground)); margin-top: 12px; max-width: 62ch; }
.about .about-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }

/* ---- FAQ ------------------------------------------------------------------------ */
.faq { margin-top: 36px; border-top: 1px solid hsl(var(--border)); max-width: 860px; }
.faq details { border-bottom: 1px solid hsl(var(--border)); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: hsl(var(--site-accent)); }
.faq summary .tick { font-family: var(--font-mono); color: hsl(var(--muted-foreground)); transition: transform 0.2s ease; }
.faq details[open] summary .tick { transform: rotate(45deg); }
.faq .a { padding: 0 2px 20px; color: hsl(var(--muted-foreground)); font-size: 15.5px; max-width: 66ch; }

/* ---- CTA band --------------------------------------------------------------------- */
.cta-band .wrap { display: grid; justify-items: center; text-align: center; gap: 8px; }
.cta-band .section-title { max-width: 26ch; font-size: clamp(28px, 4vw, 44px); }
.cta-band .section-intro { text-align: center; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* ---- footer ------------------------------------------------------------------------ */
.site-foot { border-top: 1px solid hsl(var(--border)); padding-block: 30px; background: hsl(var(--muted) / 0.3); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-foot small { color: hsl(var(--muted-foreground)); font-size: 13px; max-width: 56ch; }
.site-foot .links { display: flex; gap: 18px; font-size: 13.5px; }
.site-foot .links a { color: hsl(var(--muted-foreground)); text-decoration: none; }
.site-foot .links a:hover { color: hsl(var(--foreground)); }

/* ---- motion + responsive ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(14px); animation: site-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.reveal.d1 { animation-delay: 0.06s; }
.reveal.d2 { animation-delay: 0.14s; }
.reveal.d3 { animation-delay: 0.22s; }
@keyframes site-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .btn, .btn .arrow, .faq summary .tick { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .mock-wall { max-width: 560px; }
  .callout.top { right: 2%; }
  .spec { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
}
@media (max-width: 760px) {
  .pillars, .demos, .tiers, .glist { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .avatar { width: 120px; height: 120px; font-size: 42px; border-radius: 12px; }
  .case { grid-template-columns: 1fr; }
  .case .fig { writing-mode: horizontal-tb; }
  .retainer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .spec { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-body { grid-template-columns: 1fr; }
}

/* production: photo avatar (deploy-only rule) */
img.avatar { object-fit: cover; padding: 0; }
