/* ============================================================
   BLENDIT — shared site styles
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --navy:        #12385F;
  --navy-deep:   #0C2842;
  --accent:      #3B6FE0;
  --accent-tint: #EAF0FC;

  /* Text */
  --ink:         #16202B;
  --muted:       #6E7B89;
  --muted-light: #93A0AD;

  /* Surfaces */
  --white:       #FFFFFF;
  --canvas:      #EEF0F3;
  --fill:        #F1F3F5;

  /* Borders */
  --line:        #E4E7EB;
  --line-soft:   #EDEFF2;

  /* Cartographic blue tonal set */
  --b1: #C6D4E6;
  --b2: #A9BFDA;
  --b3: #8CA8CB;
  --b4: #DAE2ED;
  --b5: #6F8FBC;
  --b6: #B8C9DF;

  /* Radii */
  --r-card: 12px;
  --r-btn:  9px;

  /* Type */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space: 8px;

  /* Consensus states (borrowed from the real app) */
  --loved:     #2E9E6B;
  --contested: #C9922B;

  --shell-max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 0; letter-spacing: -0.01em; line-height: 1.04; }
h1 { font-size: clamp(2.4rem, 6.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.5rem; line-height: 1.15; }
p  { margin: 0; }
a  { color: var(--accent); text-decoration: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead { font-size: 1.18rem; color: var(--muted); max-width: 46ch; }

/* ============================================================
   LAYOUT SHELL
   ============================================================ */
.shell { max-width: var(--shell-max); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: clamp(72px, 11vw, 132px) 0; }

/* Full-bleed white bands (content still constrained by inner .shell) */
.band   { background: var(--white); border-top: 1px solid var(--line); }
.band-b { border-bottom: 1px solid var(--line); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-btn);
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--white); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn svg { transition: transform .2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,240,243,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
header.nav.scrolled { border-bottom-color: var(--line); background: rgba(238,240,243,0.94); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-family: var(--serif); font-size: 1.72rem; color: var(--navy); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 9px; }
.wordmark .glyph { width: 22px; height: 22px; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.link { font-size: 0.9rem; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width .22s ease;
}
.nav-links a.link:hover { color: var(--navy); }
.nav-links a.link:hover::after { width: 100%; }
.nav-links a.link[aria-current="page"] { color: var(--navy); }
.nav-links a.link[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 860px) { .nav-links .link { display: none; } }

/* ============================================================
   HERO — asymmetric split, product does the talking
   ============================================================ */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .ital { font-style: italic; color: var(--accent); }
.hero .lead { margin-bottom: 30px; font-size: 1.24rem; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.email-capture {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 6px 6px 6px 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
  max-width: 420px; width: 100%;
}
.email-capture:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.email-capture input {
  border: none; outline: none; background: transparent;
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  flex: 1; min-width: 0; padding: 8px 0;
}
.email-capture input::placeholder { color: var(--muted-light); }
.capture-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; display: flex; align-items: center; gap: 7px; }
.capture-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--loved); display: inline-block; }
.form-msg { font-size: 0.85rem; margin-top: 10px; font-weight: 500; color: var(--loved); min-height: 1em; }

/* trust row */
.trust-row { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 999px; border: 2px solid var(--canvas);
  margin-left: -10px; display: inline-block;
}
.avatars span:first-child { margin-left: 0; }
.trust-row .txt { font-size: 0.85rem; color: var(--muted); }
.trust-row .txt b { color: var(--ink); font-weight: 600; }

/* ---- Phone mockup ---- */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(330px, 82%);
  aspect-ratio: 300 / 620;
  background: var(--navy-deep);
  border-radius: 42px;
  padding: 11px;
  box-shadow: 0 30px 70px -30px rgba(12,40,66,0.55), 0 6px 18px -8px rgba(12,40,66,0.3);
  z-index: 2;
}
.phone::after { /* notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: var(--navy-deep); border-radius: 999px; z-index: 4;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  background: var(--white); border-radius: 32px; overflow: hidden;
  display: flex; flex-direction: column;
}
.app-top { padding: 30px 16px 10px; border-bottom: 1px solid var(--line-soft); }
.app-top .app-word { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.app-top .app-sub { font-size: 0.68rem; color: var(--muted); }

/* map area inside phone */
.map-area { position: relative; flex: 1; background: var(--b4); overflow: hidden; }
.map-area .roads path, .map-area .roads line { stroke: var(--white); stroke-width: 4; fill: none; opacity: .9; }
.map-area .roads .thin { stroke-width: 2; opacity: .7; }
.map-area .park { fill: var(--b1); opacity: .8; }
.map-area .water { fill: var(--b6); }
.map-area .block { fill: var(--white); opacity: .45; }

.pin {
  position: absolute; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center;
  animation: pin-drop .5s cubic-bezier(.2,.8,.3,1.2) backwards;
}
.pin .head {
  width: 26px; height: 26px; border-radius: 50% 50% 50% 2px;
  transform: rotate(45deg);
  border: 2.5px solid #fff;
  box-shadow: 0 3px 8px -2px rgba(12,40,66,.5);
  display: grid; place-items: center;
}
.pin .head b { transform: rotate(-45deg); color: #fff; font-size: 0.7rem; font-weight: 700; font-family: var(--sans); }
.pin.loved  .head { background: var(--loved); }
.pin.accent .head { background: var(--accent); }
.pin.navy   .head { background: var(--navy); }
.pin.cont   .head { background: var(--contested); }

@keyframes pin-drop { from { opacity: 0; transform: translate(-50%, -140%); } to { opacity: 1; transform: translate(-50%, -100%); } }

/* floating consensus card over phone */
.float-card {
  position: absolute; z-index: 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  width: 214px;
  box-shadow: 0 18px 40px -20px rgba(12,40,66,0.4);
}
.float-consensus { right: -26px; bottom: 92px; }
.float-paste { left: -34px; top: 74px; width: 200px; }
@media (max-width: 1080px) { .float-consensus { right: -6px; } .float-paste { left: -8px; } }

.fc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.fc-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.fc-place { font-family: var(--serif); font-size: 1.12rem; color: var(--navy); line-height: 1.1; }
.fc-sub { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.meter { height: 7px; border-radius: 999px; background: var(--fill); margin: 11px 0 8px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--loved)); width: 0; transition: width 1.1s cubic-bezier(.3,.8,.3,1); }
.fc-votes { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: var(--muted); }
.fc-votes .yes { color: var(--loved); font-weight: 600; }
.vote-faces { display: flex; }
.vote-faces span { width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid #fff; margin-left: -7px; }
.vote-faces span:first-child { margin-left: 0; }

.fp-row { display: flex; align-items: center; gap: 9px; }
.fp-logo { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; display: grid; place-items: center; }
.fp-url { font-size: 0.72rem; color: var(--ink); font-family: var(--sans); }
.fp-url b { display: block; font-size: 0.64rem; color: var(--muted); font-weight: 500; margin-top: 1px; }
.fp-status { margin-top: 10px; font-size: 0.7rem; color: var(--accent); display: flex; align-items: center; gap: 6px; font-weight: 500; }
.fp-status .spin { width: 11px; height: 11px; border: 2px solid var(--accent-tint); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { margin-top: 48px; }
  .hero .lead { max-width: 44ch; }
}
@media (max-width: 480px) {
  .email-capture { flex-wrap: wrap; padding: 10px; gap: 10px; }
  .email-capture input { flex-basis: 100%; padding: 6px 6px; }
  .email-capture .btn { width: 100%; justify-content: center; }
  .hero .lead { font-size: 1.1rem; }
  .float-paste, .float-consensus { display: none; }
  .phone { width: min(300px, 92%); }
}

/* ============================================================
   MARQUEE / logo strip
   ============================================================ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.strip-inner { display: flex; align-items: center; gap: 14px; padding: 20px 0; flex-wrap: wrap; justify-content: center; }
.strip-inner .label { font-size: 0.78rem; color: var(--muted-light); letter-spacing: 0.04em; }
.chip {
  font-size: 0.82rem; color: var(--muted); font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  display: inline-flex; align-items: center; gap: 7px; background: var(--white);
}
.chip svg { opacity: .8; }

/* ============================================================
   PROBLEM → SOLUTION
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.panel {
  border-radius: var(--r-card);
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.panel.before { background: var(--fill); }
.panel .tag { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; display: inline-block; }
.panel.before .tag { color: var(--muted); }
.panel.after  .tag { color: var(--accent); }
.panel h3 { margin-bottom: 12px; }
.panel p { color: var(--muted); font-size: 1rem; }

/* chaotic screenshot pile for "before" */
.pile { position: relative; height: 190px; margin-top: 26px; }
.pile .shot {
  position: absolute; width: 118px; height: 150px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: 0 8px 20px -12px rgba(12,40,66,0.35);
  overflow: hidden;
}
.pile .shot .thumb { height: 96px; }
.pile .shot .txt { padding: 8px; }
.pile .shot .txt i { display: block; height: 7px; border-radius: 3px; background: var(--line); margin-bottom: 5px; }
.pile .shot .txt i.short { width: 60%; }
.pile .s1 { transform: rotate(-9deg); left: 4%; top: 20px; z-index: 1; }
.pile .s2 { transform: rotate(4deg);  left: 32%; top: 6px;  z-index: 3; }
.pile .s3 { transform: rotate(-3deg); left: 58%; top: 28px; z-index: 2; }
.pile .qmark {
  position: absolute; right: 6%; bottom: 4px; z-index: 4;
  font-family: var(--serif); font-size: 2.6rem; color: var(--muted-light);
  font-style: italic;
}

/* clean map for "after" */
.mini-map { margin-top: 26px; height: 190px; border-radius: 10px; overflow: hidden; position: relative; background: var(--b4); border: 1px solid var(--line); }

/* ============================================================
   HOW IT WORKS — numbered editorial rows
   ============================================================ */
.how-head { max-width: 620px; margin-bottom: 56px; }
.how-head h2 { margin: 16px 0 14px; }
.how-head p { color: var(--muted); font-size: 1.08rem; }

.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--serif); font-size: 3.2rem; color: var(--b3); line-height: 1; font-style: italic; }
.step .copy h3 { margin-bottom: 10px; }
.step .copy p { color: var(--muted); }
.step .visual { min-height: 150px; }
@media (max-width: 820px) {
  .step { grid-template-columns: 56px 1fr; }
  .step .num { font-size: 2.4rem; }
  .step .visual { grid-column: 1 / -1; }
}

/* step visual: paste field */
.demo-paste {
  background: var(--white); border: 1px solid var(--line); border-radius: 11px;
  padding: 14px; display: flex; align-items: center; gap: 11px;
}
.demo-paste .ico { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-tint); display: grid; place-items: center; flex: 0 0 auto; }
.demo-paste .u { font-size: 0.86rem; color: var(--ink); font-weight: 500; }
.demo-paste .u b { display: block; font-weight: 400; color: var(--muted); font-size: 0.76rem; margin-top: 2px; }
.demo-paste .go { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }

/* step visual: extracted list */
.demo-list { background: var(--white); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.demo-list .row { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.demo-list .row:last-child { border-bottom: none; }
.demo-list .pindot { width: 22px; height: 22px; border-radius: 50% 50% 50% 2px; transform: rotate(45deg); flex: 0 0 auto; }
.demo-list .row .nm { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.demo-list .row .nm b { display: block; font-weight: 400; color: var(--muted); font-size: 0.74rem; }
.demo-list .row .x {
  margin-left: auto; width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  border: 1px solid var(--line); color: var(--muted);
  display: grid; place-items: center; background: var(--white);
}

/* step visual: consensus */
.demo-vote { background: var(--white); border: 1px solid var(--line); border-radius: 11px; padding: 16px; }
.demo-vote .vh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.demo-vote .vh .nm { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.demo-vote .pct { font-weight: 700; color: var(--loved); font-size: 0.9rem; }

/* ============================================================
   FEATURES — asymmetric bento
   ============================================================ */
.feat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.feat-head h2 { max-width: 15ch; }
.feat-head p { color: var(--muted); max-width: 40ch; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--b3); }
.card .ico-wrap { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-tint); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { font-size: 1.32rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card.span2 { grid-column: span 2; }
.card.feature-map { padding: 0; overflow: hidden; }

.fm-body { padding: 28px; }
.fm-map { flex: 1; min-height: 190px; position: relative; background: var(--b4); overflow: hidden; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span2 { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .card.span2 { grid-column: span 1; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote-lead { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.quote-lead h2 { margin-bottom: 14px; }
.quote-lead p { color: var(--muted); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; display: flex; flex-direction: column;
}
.quote.feature { background: var(--navy); }
.quote.feature .q-text, .quote.feature .q-name { color: #fff; }
.quote.feature .q-role { color: var(--b1); }
.quote.feature .q-mark { color: var(--accent); }
.q-mark { font-family: var(--serif); font-size: 3rem; line-height: 0.4; color: var(--b3); font-style: italic; height: 30px; }
.q-text { font-size: 1.05rem; color: var(--ink); margin: 14px 0 22px; flex: 1; }
.q-who { display: flex; align-items: center; gap: 12px; }
.q-av { width: 42px; height: 42px; border-radius: 999px; flex: 0 0 auto; }
.q-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.q-role { font-size: 0.8rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }
.stat { text-align: center; padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.stat .n { font-family: var(--serif); font-size: 2.6rem; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 0.86rem; color: var(--muted); margin-top: 8px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-wrap { padding-bottom: clamp(72px, 11vw, 132px); }
.cta {
  background: var(--navy);
  border-radius: 20px;
  padding: clamp(44px, 6vw, 76px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta h2 .ital { font-style: italic; color: var(--b1); }
.cta p { color: var(--b1); max-width: 44ch; margin: 0 auto 30px; font-size: 1.08rem; }
.cta .email-capture { margin: 0 auto; }
.cta-mini { font-size: 0.82rem; color: var(--b2); margin-top: 16px; }
/* faint map grid inside CTA */
.cta .grid-bg { position: absolute; inset: 0; opacity: 0.14; pointer-events: none; }
.cta .grid-bg path, .cta .grid-bg line { stroke: #fff; fill: none; }
.cta > * { position: relative; z-index: 1; }
.cta .cta-pin { position: absolute; z-index: 0; }

/* Slim CTA band for subpages */
.cta-slim {
  background: var(--navy);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-slim .grid-bg { position: absolute; inset: 0; opacity: 0.14; pointer-events: none; }
.cta-slim .grid-bg path, .cta-slim .grid-bg line { stroke: #fff; fill: none; }
.cta-slim > * { position: relative; z-index: 1; }
.cta-slim h2 { color: #fff; margin-bottom: 12px; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.cta-slim h2 .ital { font-style: italic; color: var(--b1); }
.cta-slim p { color: var(--b1); margin: 0 auto 28px; max-width: 42ch; font-size: 1.02rem; }
.cta-slim .btn { background: #fff; color: var(--navy); }
.cta-slim .btn:hover { background: var(--accent-tint); transform: translateY(-1px); }

/* ============================================================
   SUBPAGE HERO
   ============================================================ */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 72px); max-width: 760px; }
.page-hero.center { margin: 0 auto; text-align: center; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero h1 { margin: 18px 0 20px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero .lead { font-size: 1.16rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); padding: 20px 24px; }
.faq details + details { margin-top: 12px; }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: 1;
  color: var(--b3); transition: transform .2s ease; flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; font-size: 0.97rem; }
.faq details p + p { margin-top: 8px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-btn);
  padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--white); outline: none; appearance: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field .sel-wrap { position: relative; }
.field .sel-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; pointer-events: none;
  width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
}
.contact-side .panel + .panel { margin-top: 20px; }
.contact-side .panel h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-side .panel p { font-size: 0.93rem; }
.contact-side .panel p + p { margin-top: 8px; }
.contact-side .panel a { font-weight: 500; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal { max-width: 740px; }
.legal .updated { color: var(--muted-light); font-size: 0.88rem; margin: 12px 0 40px; }
.legal h3 { margin: 38px 0 10px; font-size: 1.32rem; }
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .note {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: var(--white); border-radius: 8px; padding: 14px 18px; margin-top: 44px;
  font-size: 0.88rem; color: var(--muted);
}

/* ============================================================
   404
   ============================================================ */
.nf { min-height: 58vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(64px, 9vw, 110px) 0; }
.nf .nf-pin { position: relative; width: 64px; height: 64px; margin-bottom: 10px; }
.nf h1 { margin: 16px 0 14px; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.nf p { color: var(--muted); max-width: 44ch; margin-bottom: 30px; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line); background: var(--white); }
.foot { display: flex; justify-content: space-between; gap: 40px; padding: 52px 0 32px; flex-wrap: wrap; }
.foot .brand-col { max-width: 280px; }
.foot .wordmark { margin-bottom: 12px; }
.foot .brand-col p { color: var(--muted); font-size: 0.9rem; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-family: var(--sans); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-light); margin: 0 0 16px; font-weight: 600; }
.foot-col a { display: block; color: var(--ink); font-size: 0.9rem; margin-bottom: 11px; font-weight: 500; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line-soft); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-bottom p { color: var(--muted-light); font-size: 0.82rem; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: border-color .18s, color .18s; }
.foot-social a:hover { border-color: var(--navy); color: var(--navy); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
