/* AgentDeck marketing site — shared styles
   Palette and type match the live agentdeckcrm.com kit (kit.css). Single dark theme by design. */
:root {
  color-scheme: dark;
  --ink: #0A111C;
  --ink-2: #0D1724;
  --panel: #101D2B;
  --panel-2: #14222F;
  --line: #223141;
  --line-2: #1C2B3B;
  --line-soft: #1A2A3A;
  --gold: #CBA24C;
  --gold-br: #E4C069;
  --gold-lt: #F0D48A;
  --gold-deep: #A9863A;
  --paper: #EFEBE1;
  --slate: #96A4B2;
  --slate-2: #B6C0CA;
  --dim: #6E7C8B;
  --green: #7FA88C;
  --green-lt: #9CC3A8;
  --teal: #4FA79E;
  --red: #D4826B;
  --new: #5E7C99;
  --gutter: clamp(16px, 5vw, 72px);
  --sans: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hand: Caveat, "Bradley Hand", "Segoe Print", cursive;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-br); }
a:hover { color: var(--gold-lt); }
:focus-visible { outline: 2px solid var(--gold-br); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2 { color: var(--paper); font-weight: 800; text-wrap: balance; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(72px, 10vw, 120px); }
.band--alt { background: var(--ink-2); }
.band--rule { border-top: 1px solid rgba(255, 255, 255, .06); }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow--bare::before { display: none; }
.h2 { margin-top: 18px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.03em; }
.muted { color: var(--dim); }
.lede { margin-top: 22px; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.62; max-width: 40em; text-wrap: pretty; }
.small { font-size: 14px; color: var(--dim); }
.gold-text {
  background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold-br) 38%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono-label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 12px;
  font-family: var(--sans); font-size: 16.5px; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap; transition: filter .2s, border-color .2s;
}
.btn svg { flex-shrink: 0; }
.btn--gold {
  color: #161006;
  background: linear-gradient(var(--gold-br), var(--gold));
  box-shadow: 0 10px 30px rgba(203, 162, 76, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold:hover { color: #161006; filter: brightness(1.06); }
.btn--ghost { color: var(--paper); background: rgba(255, 255, 255, .02); border: 1px solid rgba(255, 255, 255, .09); }
.btn--ghost:hover { color: var(--paper); border-color: rgba(255, 255, 255, .22); }
.btn--sm { padding: 11px 18px; border-radius: 10px; font-size: 15px; }
.text-link { color: var(--gold-br); text-decoration: none; font-weight: 700; }
.text-link:hover { color: var(--gold-lt); }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.logo:hover { color: var(--paper); }
.site-nav { display: flex; gap: 34px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--slate); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.header-actions { display: flex; gap: 12px; }
.header-bar { border-bottom: 1px solid rgba(255, 255, 255, .06); }
@media (max-width: 920px) { .site-nav { display: none; } }
@media (max-width: 480px) { .header-actions .btn--ghost { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero__glow {
  position: absolute; right: -8%; top: 8%; width: 760px; height: 760px; max-width: 100vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(203, 162, 76, .13) 0%, rgba(203, 162, 76, .04) 38%, transparent 64%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center; padding-block: 48px 80px; }
.hero h1 { margin-top: 28px; font-size: clamp(44px, 6.2vw, 84px); line-height: 1; letter-spacing: -.035em; }
.hero .lede { margin-top: 28px; font-size: clamp(17px, 1.8vw, 19px); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--slate);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--gold)); }
.hero__note { margin-top: 22px; font-size: 14px; color: var(--dim); }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- phone showcase ---------- */
.showcase { position: relative; display: flex; flex-direction: column; align-items: center; }
.device-phone {
  position: relative; width: 300px; max-width: 100%; padding: 8px; border-radius: 46px;
  background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 70px 120px -40px rgba(0, 0, 0, .75), 0 0 0 6px rgba(255, 255, 255, .015);
}
.device-phone__screen { position: relative; aspect-ratio: 282 / 600; border-radius: 38px; overflow: hidden; background: var(--ink); }
.stack > img { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transition: opacity .9s ease; }
.stack > img.is-active { opacity: 1; }
.seg {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 26px; padding: 4px;
  border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line);
}
.seg [role="tab"] {
  position: relative; overflow: hidden; min-height: 40px; padding: 10px 17px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 13px/1 var(--sans); background: transparent; color: var(--dim); transition: background .4s, color .4s;
}
.seg [role="tab"][aria-selected="true"] { background: var(--panel-2); color: var(--paper); }
.seg .progress { position: absolute; left: 17px; bottom: 5px; height: 1.5px; border-radius: 1px; background: var(--gold); animation: seg-progress 6s linear both; }
@keyframes seg-progress { from { width: 0; } to { width: calc(100% - 34px); } }
.showcase__caption { margin-top: 16px; max-width: 380px; min-height: 44px; text-align: center; font-size: 14px; line-height: 1.55; }

/* ---------- iPad ---------- */
.ipad-section { position: relative; overflow: hidden; }
.ipad-section::before {
  content: ""; position: absolute; left: 50%; top: 260px; width: 1100px; height: 700px; max-width: 120vw; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(ellipse, rgba(203, 162, 76, .08) 0%, transparent 62%); pointer-events: none;
}
.device-ipad {
  position: relative; width: min(872px, 100%); margin-top: 56px; padding: clamp(8px, 1.6vw, 16px);
  border-radius: clamp(20px, 4vw, 40px); background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 80px 140px -50px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .015);
}
.device-ipad__screen { position: relative; aspect-ratio: 4 / 3; border-radius: clamp(12px, 2.6vw, 24px); overflow: hidden; background: var(--ink); }
.device-ipad__screen.stack > img { height: 100%; object-fit: cover; }

/* ---------- workflow ---------- */
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.split-head__aside { max-width: 440px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.62; }
.steps { position: relative; margin-top: 76px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps::before {
  content: ""; position: absolute; left: 24px; right: calc(20% - 4px); top: 23px; height: 2px; opacity: .8;
  background: linear-gradient(90deg, var(--new) 0%, var(--slate-2) 45%, var(--gold) 72%, var(--green) 100%);
}
.step { position: relative; display: flex; flex-direction: column; gap: 22px; }
.step__node {
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--node, var(--new));
  display: flex; align-items: center; justify-content: center; font: 600 13px var(--mono); color: var(--slate-2);
}
.step__node--gold { color: var(--gold-br); box-shadow: 0 0 0 6px rgba(203, 162, 76, .1); }
.step__node--done { background: var(--green); border-color: var(--green); color: var(--ink); }
.step__card { flex-grow: 1; padding: 24px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.step__card h3 { font-size: 20px; font-weight: 800; color: var(--paper); }
.step__card p { font-size: 15px; line-height: 1.55; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- two-column feature ---------- */
.feature-split { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 1100px) { .feature-split { grid-template-columns: 1fr; gap: 48px; } }
.rows { margin-top: 30px; border-bottom: 1px solid var(--line-2); }
.row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 1.55; }
.row b { color: var(--paper); font-weight: 800; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- lead cards before/after ---------- */
.before-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.paper-card {
  position: relative; flex-shrink: 0; width: 262px; min-height: 360px; padding: 22px 20px; border-radius: 6px;
  background: #D9D4C8; color: #3B3A36; transform: rotate(-3deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  font-family: "Courier New", Courier, monospace; font-size: 11.5px; line-height: 1.55;
  display: flex; flex-direction: column; gap: 3px; overflow: hidden;
}
.paper-card__head { display: flex; justify-content: space-between; border-bottom: 1px dashed #8C877C; padding-bottom: 6px; margin-bottom: 6px; font-size: 10px; letter-spacing: .06em; }
.paper-card s { text-decoration-color: #8B3A2E; }
.paper-card .hand { margin-top: 4px; font-family: var(--hand); font-size: 19px; line-height: 1.1; color: #2C4A7A; }
.paper-card .hand:first-of-type { margin-top: 10px; transform: rotate(-4deg); }
.paper-card .stamp {
  position: absolute; right: 16px; bottom: 18px; width: 64px; height: 64px; border: 2px solid rgba(139, 58, 46, .5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transform: rotate(-14deg);
  font-size: 9px; font-weight: 700; letter-spacing: .06em; color: rgba(139, 58, 46, .65);
}
.ba-arrow { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ba-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px;
  background: linear-gradient(var(--gold-br), var(--gold)); color: #161006; font-size: 13px; font-weight: 800;
  box-shadow: 0 10px 26px rgba(203, 162, 76, .3);
}
.lead-card {
  flex-shrink: 0; width: 324px; max-width: 100%; border-radius: 18px; background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 60px 100px -45px rgba(0, 0, 0, .85); overflow: hidden;
}
.lead-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line-soft); }
.lead-card__name { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--paper); }
.lead-card__meta { margin-top: 4px; font-size: 13px; }
.pill { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pill--gold { background: rgba(203, 162, 76, .14); color: var(--gold-br); }
.pill--green { background: rgba(127, 168, 140, .14); color: var(--green-lt); }
.lead-card dl { margin: 0; padding: 6px 22px; font-size: 13.5px; }
.lead-card dl > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--line-soft); }
.lead-card dl > div:last-child { border-bottom: 0; }
.lead-card dt { color: var(--dim); }
.lead-card dd { margin: 0; color: var(--paper); text-align: right; display: flex; align-items: center; gap: 8px; }
.tag-new { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--gold-br); }
.lead-card__actions { display: flex; gap: 8px; padding: 14px 22px 18px; border-top: 1px solid var(--line-soft); }
.lead-card__actions span { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--paper); }
@media (max-width: 760px) {
  .before-after { flex-direction: column; gap: 20px; }
  .ba-arrow svg { transform: rotate(90deg); }
}

/* ---------- carousel ---------- */
.carousel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel-controls { display: flex; gap: 10px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--paper);
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity .3s;
}
.round-btn:disabled { opacity: .35; cursor: default; }
.carousel-viewport { max-width: 1440px; margin: 56px auto 0; }
.carousel {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-block: 6px 8px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.tile {
  position: relative; flex: 0 0 min(400px, 82vw); height: 560px; scroll-snap-align: start; overflow: hidden;
  padding: 30px 30px 0; border-radius: 20px; background: var(--panel); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .5s ease;
}
.tile:hover { transform: translateY(-3px); border-color: #2E4257; }
.tile h3 { margin-top: 12px; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; color: var(--paper); }
.tile p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
.tile .device-phone { position: absolute; left: 50%; top: 200px; width: 250px; padding: 6px; border-radius: 38px; transform: translateX(-50%); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.tile .device-phone img { border-radius: 32px; width: 100%; }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(180deg, rgba(16, 29, 43, 0), var(--panel) 92%); pointer-events: none; }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: 30px; }
.dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dots button::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: #2E4257; transition: width .5s var(--ease), background .5s; }
.dots button.is-active::before { width: 22px; background: var(--gold); }

/* ---------- your AI ---------- */
.ai-title { margin-top: 22px; font-size: clamp(52px, 8vw, 96px); line-height: .96; letter-spacing: -.045em; }
#your-ai { overflow: hidden; }
.asks { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.asks span { padding: 12px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 15px; color: var(--slate-2); }
.ai-stage { position: relative; width: 1200px; height: 600px; margin-top: 64px; }
.ai-stage__glow { position: absolute; left: 50%; top: 20px; width: 620px; height: 620px; max-width: 100%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(203, 162, 76, .10), transparent 65%); pointer-events: none; }
.ai-stage__lines { position: absolute; left: 0; top: 0; }
.flow { stroke-dasharray: 2 10; animation: flow 3.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.agents { position: absolute; display: flex; flex-direction: column; gap: 90px; }
.agents--left { right: 882px; top: 120px; align-items: flex-end; }
.agents--right { left: 882px; top: 188px; align-items: flex-start; }
.agent {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--paper); white-space: nowrap;
}
.agent::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.agent--any { border-style: dashed; border-color: #3A4E64; color: var(--slate-2); }
.agent--any::before { background: var(--slate); }
.ai-phone { position: absolute; left: 444px; top: 0; width: 312px; height: 600px; padding: 8px; border-radius: 48px; }
.ai-phone .device-phone__screen { aspect-ratio: auto; height: 100%; border-radius: 40px; }
.ai-phone img { width: 100%; }
@media (max-width: 1260px) {
  .ai-stage { width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .ai-stage__lines { display: none; }
  .agents { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .ai-phone { position: relative; left: auto; margin-top: 28px; width: 300px; height: 560px; }
}
.guardrails { width: min(1200px, 100%); margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; text-align: left; }
.guardrails h3 { margin-top: 10px; font-size: 18px; font-weight: 800; color: var(--paper); }
.guardrails p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1000px) { .guardrails { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guardrails { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- pricing ---------- */
.plans { width: min(1080px, 100%); margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; font-variant-numeric: tabular-nums; text-align: left; }
.plan { border-radius: 20px; background: var(--panel); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan--featured { background: linear-gradient(180deg, #16263A 0%, var(--panel) 100%); border-color: rgba(203, 162, 76, .45); box-shadow: 0 30px 60px -30px rgba(203, 162, 76, .25); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.plan__name { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--slate); }
.plan--featured .plan__name { color: var(--gold-br); }
.badge { padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.badge--gold { background: rgba(203, 162, 76, .14); color: var(--gold-br); }
.badge--green { background: rgba(127, 168, 140, .14); color: var(--green-lt); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.plan__price strong { font-size: clamp(38px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: var(--paper); }
.plan hr { width: 100%; height: 1px; margin: 0; border: 0; background: var(--line); }
.plan p { font-size: 14px; line-height: 1.5; }
.fine-print { margin-top: 26px; max-width: 820px; font-size: 14px; line-height: 1.7; color: var(--dim); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .06); padding-block: 72px 36px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px 64px; }
.footer-brand { max-width: 400px; display: flex; flex-direction: column; gap: 18px; font-size: 14.5px; line-height: 1.6; }
.footer-brand .logo { font-size: 19px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 88px; font-size: 14.5px; }
.footer-cols div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols h2 { margin-bottom: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--dim); }
.footer-cols a { color: var(--slate); text-decoration: none; }
.footer-cols a:hover { color: var(--paper); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); }
.footer-bottom .mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }

/* ---------- features page ---------- */
.page-intro { position: relative; overflow: hidden; }
.page-intro::before { content: ""; position: absolute; left: 50%; top: -120px; width: 1100px; height: 560px; max-width: 120vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(203, 162, 76, .10), transparent 62%); pointer-events: none; }
.page-intro h1 { margin-top: 24px; font-size: clamp(42px, 6.5vw, 80px); line-height: 1; letter-spacing: -.04em; }
.pillars { width: 100%; margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
.pillar { position: relative; overflow: hidden; min-height: 360px; padding: 32px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.pillar h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--paper); }
.pillar p { font-size: 15px; line-height: 1.58; }
.pillar__foot { margin-top: auto; }
.pillar--wide { grid-column: span 2; min-height: 400px; padding: 36px; }
.pillar--wide .pillar__text { position: relative; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.pillar--wide h3 { font-size: 26px; }
.pillar--wide .map-art { position: absolute; right: 0; bottom: 0; }
.pillar--wide .map-fade { position: absolute; left: 0; top: 0; width: 520px; height: 100%; background: linear-gradient(90deg, var(--panel) 62%, rgba(16, 29, 43, 0)); }
.pillar--full { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 48px; padding: 40px 44px; background: linear-gradient(180deg, #122133 0%, var(--panel) 100%); border-color: rgba(203, 162, 76, .22); }
.pillar--full .pillar__text { max-width: 470px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.pillar--full .divider { width: 1px; align-self: stretch; background: var(--line); }
.pillar--full .statement { font-size: 21px; line-height: 1.5; color: var(--slate-2); }
.pillar--full .statement strong { color: var(--paper); font-weight: 800; }
.icon-tile { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: rgba(203, 162, 76, .1); border: 1px solid rgba(203, 162, 76, .28); display: flex; align-items: center; justify-content: center; }
.icon-row { display: flex; align-items: center; gap: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--ink-2); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--slate-2); }
.tags--soft span { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0; padding: 7px 11px; }
.tags--soft span.hl { background: rgba(203, 162, 76, .1); border-color: rgba(203, 162, 76, .3); color: var(--gold-br); }
.confidence { border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line); padding: 6px 14px; }
.confidence div { display: flex; align-items: center; gap: 10px; padding-block: 8px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.confidence div:last-child { border-bottom: 0; }
.confidence .k { width: 46px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--dim); }
.confidence .v { flex-grow: 1; color: var(--paper); }
.confidence .bar { width: 48px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.confidence .bar i { display: block; height: 100%; background: var(--c, var(--green)); }
.confidence .pct { width: 30px; text-align: right; font-family: var(--mono); font-size: 10px; color: var(--c, var(--green)); }
@media (max-width: 1000px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar--wide { grid-column: auto; }
  .pillar--wide .map-art, .pillar--wide .map-fade { display: none; }
  .pillar--full { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; }
  .pillar--full .divider { width: 100%; height: 1px; }
}

/* carrier board */
.board { border-radius: 20px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 60px 110px -50px rgba(0, 0, 0, .8); overflow: hidden; font-variant-numeric: tabular-nums; }
.board__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.board__head strong { font-size: 15px; font-weight: 800; color: var(--paper); }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--dim); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.board .tags--soft { padding: 16px 24px; border-bottom: 1px solid var(--line-soft); }
.board ol { list-style: none; padding: 0; counter-reset: plan; }
.board li { counter-increment: plan; display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line-soft); }
.board li::before { content: counter(plan, decimal-leading-zero); width: 22px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.board li div { flex-grow: 1; display: flex; flex-direction: column; gap: 3px; }
.board li b { font-size: 14.5px; color: var(--paper); }
.board li span { font-size: 12.5px; color: var(--dim); }
.board__ask { margin: 18px 24px 0; padding: 14px 16px; border-radius: 12px; background: rgba(203, 162, 76, .07); border: 1px solid rgba(203, 162, 76, .22); display: flex; flex-direction: column; gap: 4px; }
.board__ask span:last-child { font-size: 14px; color: var(--paper); }
.board__note { display: block; padding: 16px 24px 20px; font-size: 12.5px; color: var(--dim); }

/* explorer (permissions + every feature) */
.explorer { width: min(1180px, 100%); margin-top: 56px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; text-align: left; }
.explorer__tabs { display: flex; flex-direction: column; gap: 2px; }
.explorer__tabs [role="tab"] {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 16px; border: 0; border-radius: 10px;
  cursor: pointer; font: 500 15px/1.2 var(--sans); text-align: left; background: transparent; color: var(--slate); transition: background .3s, color .3s;
}
.explorer__tabs [role="tab"] .count { font-family: var(--mono); font-size: 11px; color: #4A5A6C; }
.explorer__tabs [role="tab"][aria-selected="true"] { background: var(--panel-2); color: var(--paper); font-weight: 700; }
.explorer__tabs [role="tab"][aria-selected="true"] .count { color: var(--gold); }
.explorer__panel { min-height: 560px; padding: 40px 44px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.explorer__panel h3 { margin-top: 12px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--paper); }
.explorer__panel .note { margin-top: 8px; font-size: 15px; color: var(--dim); }
.bullets { margin-top: 24px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.bullets li { display: flex; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line-soft); font-size: 15px; line-height: 1.5; color: var(--slate-2); }
.bullets li::before { content: ""; width: 5px; height: 5px; margin-top: 8px; flex-shrink: 0; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) {
  .explorer { grid-template-columns: 1fr; gap: 16px; }
  .explorer__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .explorer__tabs::-webkit-scrollbar { display: none; }
  .explorer__tabs [role="tab"] { flex: 0 0 auto; white-space: nowrap; }
  .explorer__panel { min-height: 0; padding: 28px 22px; }
  .bullets { grid-template-columns: 1fr; }
}
.trio { width: min(1180px, 100%); margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: left; }
.trio > div { padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.trio h3 { font-size: 17px; font-weight: 800; color: var(--paper); }
.trio p { font-size: 14.5px; line-height: 1.6; }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; gap: 28px; } }

/* quote */
.quote { position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; left: 50%; top: 40px; width: 600px; height: 420px; max-width: 100vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(203, 162, 76, .08), transparent 65%); pointer-events: none; }
.quote blockquote { position: relative; margin: 30px 0 0; max-width: 1000px; font-size: clamp(28px, 4vw, 46px); font-weight: 800; line-height: 1.18; letter-spacing: -.025em; color: var(--paper); text-wrap: balance; }
.quote figcaption { position: relative; margin-top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--dim); }

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

/* skip link: hidden until a keyboard user tabs to it */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold-br); color: #161006; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; color: #161006; }
