/* ZenSMS GH — landing page
   Light theme matched to the app portal: white ground, the dashboard's
   azure (#2196F3) for actions, teal logo dot, one warm gold for the
   sender name (the thing the whole product is about). */

:root {
  --blue:    #2196F3;
  --blue-dk: #1878CE;
  --ink:     #13293D;
  --body-2:  #45586B;
  --muted:   #6B7C8E;
  --teal:    #2DD4BF;
  --gold:    #F0B429;
  --gold-tx: #A36E00;
  --paper:   #FFFFFF;
  --bg-soft: #F3F7FB;
  --bg-soft-2: #EAF2FA;
  --panel:   #F6FAFD;
  --border:  #DFE8F0;
  --line-lo: #EEF3F8;
  --slate:   #14273A;
  --ok:      #0AA187; /* teal-leaning success — echoes the logo dot */

  --disp: 'Poppins', 'Trebuchet MS', sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --shadow: 8px 8px 0 #CDE4FA;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--disp); letter-spacing: -0.015em; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue-dk); text-decoration: none; }
code { font-family: var(--mono); font-size: 0.92em; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1140px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 92px; padding-bottom: 92px; }

/* clear the sticky nav when jumping to an anchor */
[id] { scroll-margin-top: 74px; }

/* grid/flex children default to min-width:auto, so wide content (the code
   sample, the phone) pushes the whole page sideways on small screens */
.hero-in > *, .split > *, .faq-wrap > *, .cards > *, .uses > *,
.tiers > *, .steps > *, .foot-grid > * { min-width: 0; }

/* ── shared type ─────────────────────────────────────────── */
.eyebrow {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-dk);
}
.eyebrow.dark { color: var(--blue-dk); }

h2 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.1; margin-top: 14px; max-width: 20ch; }
.sub { color: var(--body-2); margin-top: 16px; max-width: 62ch; font-size: 16px; }
.sub.light { color: var(--body-2); }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block; font: 600 14px var(--disp);
  padding: 12px 22px; border: 1px solid transparent; border-radius: 3px; cursor: pointer;
  transition: transform .14s ease, background .14s ease, color .14s ease, border-color .14s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.lg { padding: 15px 28px; font-size: 15px; }

/* portal-bound actions wear the portal's blue, so the login page feels expected */
.btn-accent { background: var(--blue); color: #fff; font-weight: 600; }
.btn-accent:hover { background: var(--blue-dk); color: #fff; }

.btn-quiet { border-color: #C9D8E6; color: var(--ink); }
.btn-quiet:hover { border-color: var(--blue); color: var(--ink); }

.btn-line { border-color: var(--border); background: var(--paper); color: var(--ink); }
.btn-line:hover { border-color: var(--blue); }

.btn-dark { background: var(--ink); color: #fff; font-weight: 600; }
.btn-dark:hover { background: #1D3A57; color: #fff; }

/* ── nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.nav.solid { box-shadow: 0 1px 16px rgba(19, 41, 61, .1); }
.nav-in { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }

/* the zensms. wordmark — same mark as the app portal */
.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo span { font: 700 21px/1 var(--disp); letter-spacing: -0.02em; }
.logo i { color: var(--teal); font-style: normal; }
.logo.light { color: #fff; }

.menu { display: flex; align-items: center; gap: 26px; }
.menu a { color: var(--body-2); font-size: 14px; }
.menu a:hover { color: var(--ink); }
.menu a.active { color: var(--blue-dk); font-weight: 600; }
.menu .btn-accent { color: #fff; }
.menu .btn-accent:hover { color: #fff; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }

/* ── hero ────────────────────────────────────────────────── */
.hero {
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 420px at 78% 8%, rgba(33, 150, 243, .1), transparent 65%),
    linear-gradient(rgba(19, 41, 61, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 41, 61, .045) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  border-bottom: 1px solid var(--border);
}
.hero-in {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-top: 78px; padding-bottom: 86px;
}
.hero h1 {
  font-size: clamp(29px, 3.5vw, 42px); line-height: 1.14; margin-top: 20px; color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--blue); }
.lede { color: var(--body-2); margin-top: 20px; max-width: 46ch; font-size: 16px; }

.namer { margin-top: 30px; max-width: 380px; }
.namer label {
  display: block; font: 600 10.5px var(--mono); letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.namer-row {
  display: flex; align-items: center; gap: 10px; margin-top: 9px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 3px; padding: 4px 14px 4px 4px;
}
.namer-row:focus-within { border-color: var(--blue); }
.namer input {
  flex: 1; background: transparent; border: 0; color: var(--ink); padding: 12px 12px;
  font: 700 19px var(--disp); letter-spacing: .06em; min-width: 0;
}
.namer input:focus { outline: none; }
.counter { font: 500 12px var(--mono); color: var(--muted); white-space: nowrap; }
.counter b { color: var(--blue-dk); font-weight: 600; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 9px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { font: 12px var(--mono); color: var(--muted); margin-top: 22px; }

/* signature: phone + receipt */
.hero-demo { display: grid; justify-items: center; gap: 20px; }
.phone {
  width: 268px; background: var(--slate); border: 1px solid #2A4258;
  border-radius: 26px; padding: 9px; box-shadow: 0 24px 60px rgba(19, 41, 61, .3);
}
.phone-top { display: grid; place-items: center; padding: 5px 0 9px; }
.notch { width: 74px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.25); }
.phone-screen {
  background: linear-gradient(175deg, #1D3A55, #122740);
  border-radius: 18px; padding: 14px 13px 18px; min-height: 306px;
}
.status {
  display: flex; justify-content: space-between;
  font: 500 10px var(--mono); color: rgba(255,255,255,.55); margin-bottom: 16px;
}
.status .sig { letter-spacing: .06em; }

.sms { background: rgba(255,255,255,.97); color: var(--ink); padding: 12px 13px; border-radius: 3px 14px 14px 14px; }
.sms-from {
  font: 700 12px var(--disp); letter-spacing: .07em; color: var(--ink);
  background: var(--gold); display: inline-block; padding: 3px 9px; border-radius: 2px;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sms-body { font-size: 13px; line-height: 1.5; margin-top: 10px; color: #1E3448; }
.sms-meta {
  display: flex; justify-content: space-between; margin-top: 11px;
  font: 500 10.5px var(--mono); color: var(--muted);
}
.sms-meta .tick { color: var(--ok); font-weight: 600; }
.sms.ghost { margin-top: 12px; opacity: .35; }
.sms.ghost .sms-body { margin-top: 8px; }

@keyframes smspop { 0% { transform: translateY(7px) scale(.985); opacity: .45; } 100% { transform: none; opacity: 1; } }
.sms.pop { animation: smspop .34s cubic-bezier(.2,.8,.3,1); }

.receipt { width: 268px; background: var(--paper); color: var(--ink); padding: 15px 17px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.receipt-h { font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.receipt dl { display: grid; gap: 8px; margin-top: 12px; }
.receipt dl > div { display: flex; justify-content: space-between; font: 12.5px var(--mono); }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; }
.receipt .ok { color: var(--ok); font-weight: 600; }

/* ── coverage strip ──────────────────────────────────────── */
.coverage { background: var(--paper); border-bottom: 1px solid var(--border); }
.cov-in {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px 30px; padding-top: 20px; padding-bottom: 20px;
}
.cov-label, .cov-note { font: 500 11.5px var(--mono); color: var(--muted); }
.cov-label { letter-spacing: .16em; text-transform: uppercase; }
.nets { display: flex; gap: 28px; align-items: center; }
.nets li { display: flex; align-items: center; }
/* MTN's dark oval sits on its brand yellow, as MTN renders it */
.net-mtn { display: inline-flex; align-items: center; background: #FFCB05; border-radius: 999px; padding: 6px 13px; }
.net-mtn img { height: 15px; display: block; }
/* official roundel + name set in Telecel red */
.net-telecel img { height: 24px; display: block; }
.net-telecel span { font: 700 17.5px var(--disp); color: #E60000; margin-left: 8px; letter-spacing: -0.01em; }
.net-at { height: 21px; display: block; }
.cov-note { border-left: 1px solid var(--border); padding-left: 30px; }

/* ── alternating bands ───────────────────────────────────── */
.band { background: var(--bg-soft); padding-top: 92px; padding-bottom: 92px; }
.band h2 { color: var(--ink); }
.band-soft { background: var(--bg-soft-2); }

/* ── capability cards ────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; background: var(--border); border: 1px solid var(--border); }
.card { background: var(--paper); padding: 26px 24px 28px; transition: background .16s ease; }
.card:hover { background: var(--panel); }
.card .ico { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 16.5px; margin-top: 15px; }
.card p { font-size: 13.5px; line-height: 1.62; color: var(--body-2); margin-top: 8px; }
.card p b { color: var(--gold-tx); font-weight: 700; letter-spacing: .04em; }
.card code { color: var(--blue-dk); }

/* ── use cases ───────────────────────────────────────────── */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.use { background: var(--paper); border: 1px solid var(--border); padding: 24px 22px 26px; transition: transform .16s ease, border-color .16s ease; }
.use:hover { transform: translateY(-3px); border-color: var(--blue); }
.use h3 { font-size: 17px; }
.use-msg {
  font: 13px/1.55 var(--mono); color: #1E3448; background: var(--panel);
  border-left: 3px solid var(--gold); padding: 12px 13px; margin-top: 13px;
}
.use > p:last-child { font-size: 13px; color: var(--muted); margin-top: 13px; }

/* ── steps ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.steps li { background: var(--paper); border: 1px solid var(--border); padding: 22px 22px 26px; }
.step-n {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--blue); color: #fff; font: 700 14px var(--disp); border-radius: 3px;
}
.steps h3 { font-size: 16px; margin-top: 16px; }
.steps p { font-size: 13.5px; line-height: 1.6; color: var(--body-2); margin-top: 8px; }

/* ── split sections ──────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: start; }
.split h2 { max-width: 16ch; }

.rules { margin-top: 26px; display: grid; gap: 14px; }
.rules li {
  font-size: 14px; line-height: 1.6; color: var(--body-2);
  padding-left: 26px; position: relative;
}
.rules li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; background: var(--blue);
}
.rules b { color: var(--ink); }
.rules code { background: var(--panel); border: 1px solid var(--border); padding: 1px 6px; }

.approve { background: var(--paper); border: 1px solid var(--border); padding: 24px 24px 26px; box-shadow: var(--shadow); }
.approve-h { font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.approve-row { display: flex; align-items: center; gap: 12px; margin-top: 15px; }
.approve-row code { font-size: 14px; font-weight: 500; letter-spacing: .05em; }
.pill { font: 700 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; white-space: nowrap; }
.pill.ok { background: #D6F5EC; color: #06614D; }
.pill.wait { background: #FDF0D0; color: #8A6206; }
.pill.no { background: #F6DEDE; color: #93341F; }
.approve-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin-top: 20px; border-top: 1px solid var(--line-lo); padding-top: 15px; }

/* ── pricing ─────────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; align-items: start; }
.tier { background: var(--paper); border: 1px solid var(--border); padding: 26px 24px 28px; }
.tier h3 { font-size: 17px; }
.rate { margin-top: 14px; display: flex; align-items: baseline; gap: 7px; }
.rate b { font: 700 36px var(--disp); letter-spacing: -0.03em; color: var(--ink); }
.rate span { font: 12px var(--mono); color: var(--muted); }
.vol { font: 12px var(--mono); color: var(--muted); margin-top: 4px; }
.tier ul { margin-top: 20px; display: grid; gap: 9px; font-size: 13.5px; color: var(--body-2); }
.tier li { padding-left: 20px; position: relative; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.tier .btn { margin-top: 24px; width: 100%; text-align: center; }

.tier.pop { border-color: var(--blue); box-shadow: var(--shadow); }
.flag {
  display: inline-block; background: var(--gold); color: var(--ink);
  font: 700 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; margin-bottom: 13px;
}

.estimator { background: var(--paper); border: 1px solid var(--border); padding: 28px 28px 26px; margin-top: 14px; }
.est-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.est-head h3 { font-size: 17px; }
.est-drag { font: 11px var(--mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.bundles { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.bundle {
  flex: 1 1 120px; border: 1px solid var(--border); border-radius: 3px;
  background: var(--paper); color: var(--ink); padding: 10px 8px 11px;
  font: 600 13.5px var(--disp); text-align: center; cursor: pointer;
  transition: border-color .14s ease, background .14s ease, color .14s ease;
}
.bundle span { display: block; font: 500 11.5px var(--mono); color: var(--muted); margin-top: 3px; }
.bundle:hover { border-color: var(--blue); }
.bundle.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.bundle.is-on span { color: rgba(255,255,255,.85); }
.est-note { font: 500 13px/1.5 var(--sans); color: var(--body-2); margin-top: 6px; }
.est-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.est-l { font: 600 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.est-v { font: 700 23px var(--disp); letter-spacing: -0.02em; margin-top: 4px; }
.est-v.accent { color: var(--blue-dk); }
.est-fine { font-size: 12.5px; color: var(--muted); margin-top: 20px; border-top: 1px solid var(--line-lo); padding-top: 15px; }

/* ── code card ───────────────────────────────────────────── */
.code { background: var(--slate); box-shadow: var(--shadow); max-width: 100%; }
.code-top {
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.13);
  font: 500 11.5px var(--mono); color: rgba(255,255,255,.6);
}
.code-top span { color: #7CC4FF; font-weight: 600; }
.code pre { margin: 0; padding: 18px 16px; overflow-x: auto; }
.code code { font: 12.5px/1.8 var(--mono); color: #fff; }
.code code b { color: #7CC4FF; font-weight: 400; }

/* ── faq ─────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.faq-head { position: sticky; top: 96px; }
.faq-head h2 { max-width: 14ch; }
.faq-head .sub { font-size: 14px; margin-top: 18px; }
.faq-head a { color: var(--blue-dk); }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 34px 19px 0; position: relative;
  font: 600 16px var(--disp); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 22px var(--sans); color: var(--blue);
}
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--blue-dk); }
.faq p { font-size: 14.5px; line-height: 1.68; color: var(--body-2); padding: 0 40px 22px 0; margin-top: -3px; }

/* ── final cta — the dashboard's blue, full bleed ────────── */
.final { background: var(--blue); }
.final-in { text-align: center; padding-top: 86px; padding-bottom: 86px; }
.final h2 { margin-left: auto; margin-right: auto; color: #fff; }
.final-in > p { color: rgba(255,255,255,.88); margin-top: 16px; font-size: 16px; }
.final-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.final .btn-accent { background: #fff; color: var(--blue-dk); }
.final .btn-accent:hover { background: #EAF4FE; color: var(--blue-dk); }
.final .btn-quiet { border-color: rgba(255,255,255,.55); color: #fff; }
.final .btn-quiet:hover { border-color: #fff; color: #fff; }
.final-contact { font: 12.5px var(--mono); color: rgba(255,255,255,.85); margin-top: 30px; }
.final-contact a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); }
.final-contact a:hover { border-bottom-color: #fff; }

/* ── footer ──────────────────────────────────────────────── */
.foot { background: var(--slate); color: rgba(255,255,255,.65); }
.foot-in { padding-top: 54px; padding-bottom: 26px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.foot-blurb { font-size: 13px; line-height: 1.6; margin-top: 14px; max-width: 30ch; }
.foot-contact { font: 12px/1.8 var(--mono); margin-top: 14px; color: rgba(255,255,255,.55); }
.foot-contact a { color: rgba(255,255,255,.55); }
.foot-contact a:hover { color: #7CC4FF; }
.foot-h { font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #7CC4FF; }
.foot ul { margin-top: 14px; display: grid; gap: 9px; }
.foot ul a { font-size: 13.5px; color: rgba(255,255,255,.65); }
.foot ul a:hover { color: #fff; }
.foot-base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px;
  font: 11.5px var(--mono); color: rgba(255,255,255,.4);
}
.powered { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.4); }
.powered span { font: 11.5px var(--mono); }
.powered img { height: 19px; width: auto; display: block; opacity: .92; transition: opacity .14s ease; }
.powered:hover { color: rgba(255,255,255,.7); }
.powered:hover img { opacity: 1; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1000px) {
  .cards, .uses, .tiers { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .section { padding-top: 66px; padding-bottom: 66px; }
  .band { padding-top: 66px; padding-bottom: 66px; }

  .burger { display: block; }
  .menu {
    position: fixed; inset: 61px 0 auto; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--border);
    padding: 8px 24px 22px; box-shadow: 0 18px 30px rgba(19,41,61,.12);
    transform: translateY(-120%); transition: transform .26s ease; visibility: hidden;
  }
  body.menu-open .menu { transform: none; visibility: visible; }
  .menu a { padding: 13px 0; border-bottom: 1px solid var(--line-lo); }
  .menu .btn-accent { margin-top: 14px; text-align: center; border-bottom: 0; padding: 14px; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero-in { grid-template-columns: 1fr; gap: 44px; padding-top: 52px; padding-bottom: 60px; }
  .split, .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .faq-head { position: static; }
  .cov-note { border-left: 0; padding-left: 0; flex-basis: 100%; text-align: center; }
  .cov-in { justify-content: center; }
  .est-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cards, .uses, .tiers, .steps, .foot-grid { grid-template-columns: 1fr; }
  h2 { max-width: none; }
  .namer { max-width: none; }
  .hero-cta .btn { flex: 1 1 100%; text-align: center; }
  .approve, .tier.pop, .code, .receipt { box-shadow: 6px 6px 0 #CDE4FA; }
}

/* ── legal pages (privacy, terms) ────────────────────────── */
.legal-head { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 56px 0 46px; }
.legal-head h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.legal-updated { font: 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.legal-intro { color: var(--body-2); margin-top: 16px; max-width: 62ch; font-size: 16px; }

.legal { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.legal h2 {
  font-size: 21px; margin-top: 44px; max-width: none;
  padding-top: 22px; border-top: 1px solid var(--line-lo);
}
.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 16px; margin-top: 26px; }
.legal p { margin-top: 14px; color: var(--body-2); font-size: 15px; line-height: 1.72; }
.legal ul { margin-top: 14px; display: grid; gap: 10px; }
.legal ul li {
  color: var(--body-2); font-size: 15px; line-height: 1.65;
  padding-left: 22px; position: relative;
}
.legal ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; background: var(--blue);
}
.legal b, .legal strong { color: var(--ink); font-weight: 600; }
.legal a { border-bottom: 1px solid rgba(24,120,206,.35); }
.legal a:hover { border-bottom-color: var(--blue); }
.legal-note {
  background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  padding: 16px 18px; margin-top: 22px;
}
.legal-note p { margin-top: 0; font-size: 14px; }

/* simplified nav for subpages */
.nav-back { display: flex; align-items: center; gap: 20px; }
.nav-back a { color: var(--body-2); font-size: 14px; }
.nav-back a:hover { color: var(--ink); }

/* ── scroll reveal (class added by JS only, so no-JS stays visible) ── */
.rev { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rev.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .btn:hover, .use:hover { transform: none; }
  .rev { opacity: 1; transform: none; transition: none; }
}
