/* ===== assemblys.vote — public site ===============================
   Rebuilt 2026-09-07 on the Elevation system the six apps run.

   Why dark, when a marketing site is usually light: the apex was two sites
   wearing one domain. Home loaded this stylesheet and was light; /contact,
   /privacy, /services and /terms never loaded it at all, fell through to
   app.css, and rendered dark. A visitor met a light homepage, a dark contact
   page, and then a dark product after signing in. Matching the product
   settles it — someone browsing and someone working are in the same world,
   and the sign-in stops being a visual cliff.

   The palette is the product's, not a parallel one: change a token in
   app.css and this should follow. Two accents rather than one, because a
   single blue cannot carry both a link on the ground and a fill on a
   raised surface.
   ==================================================================== */
:root{
  /* ground up, matching Elevation exactly */
  --ground:#0e1014;
  --surface:#161920;
  --raised:#1f232c;
  --line:#232833;
  --line-2:#333b49;

  --ink:#f5f7fa;
  --ink-2:#d8dde5;
  --muted:#8e96a6;

  /* accent on the ground, and its deeper sibling for fills */
  --accent:#60a5fa;
  --accent-deep:#2563eb;
  --on-accent:#0e1014;

  --pos:#3fd37e;
  --neg:#ff5c77;
  --warn:#fbbf24;

  --sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace;

  /* the two-layer shadow is the whole direction: contact edge plus soft lift */
  --sh:0 1px 2px rgba(0,0,0,.40), 0 6px 16px -8px rgba(0,0,0,.55);
  --sh-lg:0 2px 4px rgba(0,0,0,.45), 0 18px 40px -16px rgba(0,0,0,.65);

  --r:11px;
  --maxw:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--ground);color:var(--ink);
  font-family:var(--sans);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
@media(max-width:760px){.container{padding:0 16px}}

/* ── nav ───────────────────────────────────────────────────────── */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(14,16,20,.86);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--maxw);margin:0 auto;padding:13px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.brand{
  display:flex;align-items:center;gap:9px;
  font-family:var(--mono);font-weight:700;font-size:16px;letter-spacing:.02em;color:var(--ink);
}
.brand span{color:var(--accent);font-weight:400}
.brand em{
  font-style:normal;font-size:10.5px;color:var(--muted);font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;margin-left:5px;
}
.brand-dot{width:9px;height:9px;border-radius:50%;background:var(--accent)}
.nav-links{display:flex;gap:20px;align-items:center;font-size:14px;color:var(--ink-2)}
.nav-links a:hover{color:var(--accent)}
.nav-cta{
  background:var(--accent-deep);color:#fff;padding:8px 15px;
  border-radius:7px;font-weight:600;font-size:13.5px;
}
.nav-cta:hover{background:var(--accent);color:var(--on-accent)}
@media(max-width:820px){.nav-links a:not(.nav-cta){display:none}.nav-inner{padding:11px 16px}}

/* ── sections ──────────────────────────────────────────────────── */
.section{padding:84px 0;border-top:1px solid var(--line)}
.section:first-of-type{border-top:0}
.eyebrow{
  font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:var(--accent);margin:0 0 14px;
}
.h2{
  font-size:clamp(26px,3.6vw,38px);font-weight:800;letter-spacing:-.025em;
  line-height:1.12;margin:0 0 14px;max-width:22ch;text-wrap:balance;
}
.lede{font-size:17px;color:var(--muted);max-width:62ch;margin:0 0 40px;line-height:1.6}

/* ── hero ──────────────────────────────────────────────────────── */
.hero{position:relative;padding:96px 0 84px;overflow:hidden}
.hero-glow{
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(760px 420px at 18% 8%, rgba(96,165,250,.13), transparent 62%),
    radial-gradient(700px 400px at 88% 72%, rgba(63,211,126,.08), transparent 62%);
}
.hero-inner{position:relative;max-width:var(--maxw);margin:0 auto;padding:0 24px}
.hero-pill{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.18em;
  color:var(--accent);background:rgba(96,165,250,.10);
  border:1px solid rgba(96,165,250,.28);
  padding:6px 13px;border-radius:99px;margin-bottom:22px;
}
.hero-pill i{width:6px;height:6px;border-radius:50%;background:var(--pos);font-style:normal}
h1{
  font-size:clamp(38px,6.4vw,68px);font-weight:800;letter-spacing:-.035em;
  line-height:1.03;margin:0 0 20px;max-width:16ch;text-wrap:balance;
}
h1 em{font-style:normal;color:var(--accent)}
.hero-sub{font-size:18px;color:var(--ink-2);max-width:56ch;margin:0 0 32px;line-height:1.6}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:44px}
.btn-primary{
  background:var(--accent-deep);color:#fff;font-weight:600;font-size:15px;
  padding:13px 24px;border-radius:9px;box-shadow:var(--sh);
  transition:background .15s,transform .15s;
}
.btn-primary:hover{background:var(--accent);color:var(--on-accent);transform:translateY(-1px)}
.btn-ghost{
  color:var(--ink-2);border:1px solid var(--line-2);
  padding:12px 22px;border-radius:9px;font-size:15px;transition:border-color .15s,color .15s;
}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent)}

/* The one place a raw number belongs: it is the scale of one seat, not a state. */
.hero-facts{display:flex;gap:34px;flex-wrap:wrap;padding-top:30px;border-top:1px solid var(--line)}
.hero-facts div{display:flex;flex-direction:column;gap:3px}
.hero-facts b{font-family:var(--mono);font-size:23px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.hero-facts span{font-size:12px;color:var(--muted);letter-spacing:.05em}

/* ── cards ─────────────────────────────────────────────────────── */
.grid{display:grid;gap:16px}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.g3,.g4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.g2,.g3,.g4{grid-template-columns:1fr}}

.card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);padding:24px;box-shadow:var(--sh);
  transition:transform .15s,border-color .15s,box-shadow .15s;
}
.card:hover{transform:translateY(-2px);border-color:var(--line-2);box-shadow:var(--sh-lg)}
.card h3{font-size:18px;font-weight:700;margin:0 0 8px;letter-spacing:-.01em}
.card p{margin:0;font-size:14.5px;color:var(--muted);line-height:1.6}
.card-n{
  display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:8px;margin-bottom:14px;
  font-family:var(--mono);font-size:12px;font-weight:700;
  background:rgba(96,165,250,.12);color:var(--accent);
}

/* ── tiers: the reach order, drawn as one ───────────────────────── */
.tier{
  display:grid;grid-template-columns:132px 1fr auto;gap:18px;align-items:center;
  background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);
  border-radius:var(--r);padding:18px 22px;box-shadow:var(--sh);
}
.tier + .tier{margin-top:11px}
.tier.t2{border-left-color:#4d8ae8;margin-left:clamp(0px,3vw,34px)}
.tier.t3{border-left-color:#3d6fc4;margin-left:clamp(0px,6vw,68px)}
.tier b{font-size:16px;font-weight:700}
.tier .who{font-size:14px;color:var(--muted)}
.tier .scope{
  font-family:var(--mono);font-size:12px;color:var(--accent);
  white-space:nowrap;text-align:right;
}
@media(max-width:700px){
  .tier{grid-template-columns:1fr;gap:5px;margin-left:0!important}
  .tier .scope{text-align:left}
}

/* ── the work: a dense list, not eight more cards ───────────────── */
.work{display:grid;grid-template-columns:repeat(2,1fr);gap:0 40px}
@media(max-width:760px){.work{grid-template-columns:1fr}}
.work div{
  display:grid;grid-template-columns:26px 1fr;gap:13px;align-items:baseline;
  padding:13px 0;border-bottom:1px solid var(--line);
}
.work span{font-family:var(--mono);font-size:11px;color:var(--accent);font-variant-numeric:tabular-nums}
.work p{margin:0;font-size:14.5px;color:var(--ink-2)}
.work p em{font-style:normal;color:var(--muted);display:block;font-size:13px;margin-top:2px}

/* ── apps ──────────────────────────────────────────────────────── */
.app{
  display:flex;flex-direction:column;gap:10px;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);padding:20px;box-shadow:var(--sh);
}
.app-top{display:flex;align-items:center;gap:12px}
.app-badge{
  width:42px;height:42px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:13px;font-weight:700;
  background:var(--accent-deep);color:#fff;
}
.app h4{margin:0;font-size:16px;font-weight:700}
.app .tier-tag{font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.app p{margin:0;font-size:14px;color:var(--muted);line-height:1.55;flex:1}
.app-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:12px;border-top:1px solid var(--line)}
.app-size{font-family:var(--mono);font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.app-dl{background:var(--accent-deep);color:#fff;font-size:12.5px;font-weight:600;padding:7px 14px;border-radius:7px}
.app-dl:hover{background:var(--accent);color:var(--on-accent)}
.note{margin-top:26px;font-size:13.5px;color:var(--muted);max-width:70ch;line-height:1.6}

/* ── questions and answers ─────────────────────────────────────── */
/*  Rules down the page rather than a dozen more cards. An FAQ is read in
    order and mostly skimmed; boxing each question makes every answer look
    like a separate claim and doubles the height it takes to skim past one.
    Two markups land here on purpose — a plain <div> per question, or a
    native <details>, which needs no script and so survives static SSR
    whole. Pick one per page and stay with it. */
.faq{border-top:1px solid var(--line)}
.faq > div,.faq > details{padding:18px 0;border-bottom:1px solid var(--line)}
/*  overflow-wrap here and below is not decoration. A heading holding one
    long unbroken token — an address, an EPIC number, a pasted link — runs
    straight out of its box on a 375px screen, and the text is simply lost
    off the edge. Measured: 519px of heading in a 343px column. */
.faq h3,.faq summary{
  margin:0;font-size:16px;font-weight:700;letter-spacing:-.01em;
  color:var(--ink);line-height:1.4;overflow-wrap:anywhere;
}
.faq h3{margin-bottom:7px}
.faq summary{display:block;position:relative;cursor:pointer;list-style:none;padding-right:28px}
.faq summary::-webkit-details-marker{display:none}
/*  Closed, this marker is the only thing saying the row opens at all. */
.faq summary::after{
  content:"+";position:absolute;right:0;top:-3px;
  font-family:var(--mono);font-size:18px;font-weight:400;color:var(--accent);
}
.faq details[open] summary::after{content:"−"}
.faq p{margin:0;font-size:14.5px;color:var(--muted);line-height:1.65;max-width:70ch;overflow-wrap:anywhere}
.faq p + p,.faq details p:first-of-type{margin-top:9px}

/* ── specification list: label left, value right ───────────────── */
/*  One grid for the whole list, not a wrapper per row, so every value
    lands on the same right edge however long the label beside it runs.
    Children pair up in source order: <dt>/<dd> inside a <dl class="spec">,
    or <b>/<span> where the list is not a description list. Direct
    children only — wrap a pair in a div and the columns come apart. */
.spec{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);
  margin:0;border-top:1px solid var(--line);
}
.spec > dt,.spec > b{
  padding:12px 20px 12px 0;border-bottom:1px solid var(--line);
  font-size:14.5px;font-weight:400;color:var(--muted);
}
.spec > dd,.spec > span{
  margin:0;padding:12px 0;border-bottom:1px solid var(--line);
  font-family:var(--mono);font-size:13.5px;color:var(--ink);
  text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
/*  Below this the two columns stop being worth the squeeze: the value
    ends up two words to a line while the label sits half empty. */
@media(max-width:480px){
  .spec{grid-template-columns:1fr}
  .spec > dt,.spec > b{padding:12px 0 0;border-bottom:0}
  .spec > dd,.spec > span{padding:2px 0 12px;text-align:left}
}

/* ── numbered timeline: a sequence, not a set ──────────────────── */
/*  The line down the left is the whole point. Cards in a grid say "these
    four things"; a line says "this, then this". Numbers come from a
    counter rather than the markup, so adding a step in the middle cannot
    leave the page reading 01 02 02 04. Takes <div> children or an <ol>. */
.steps{counter-reset:step;margin:0;padding:0;list-style:none}
.steps > div,.steps > li{
  counter-increment:step;position:relative;margin-left:15px;
  padding:0 0 26px 30px;border-left:1px solid var(--line);
}
.steps > div:last-child,.steps > li:last-child{border-left-color:transparent;padding-bottom:0}
.steps > div::before,.steps > li::before{
  content:counter(step,decimal-leading-zero);
  position:absolute;left:-15px;top:-3px;
  display:flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:8px;
  font-family:var(--mono);font-size:11px;font-weight:700;
  background:var(--raised);border:1px solid rgba(96,165,250,.28);color:var(--accent);
}
.steps b{display:block;font-size:16px;font-weight:700;color:var(--ink);letter-spacing:-.01em;margin-bottom:5px;overflow-wrap:anywhere}
.steps p{margin:0;font-size:14.5px;color:var(--muted);line-height:1.6;max-width:64ch;overflow-wrap:anywhere}

/* ── comparison table ──────────────────────────────────────────── */
/*  The scroller is the wrapper, never the table. A table told to fit a
    phone either wraps every cell to one word or pushes the document
    sideways, and a page that scrolls horizontally is broken. Give the
    table a floor width and let the wrapper take the overflow instead.
    Mark the wrapper tabindex="0" so it can be scrolled from the keyboard
    as well as the thumb; the focus ring for it is with the others below. */
.cmp-scroll{
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--sh);
}
.cmp{border-collapse:collapse;width:100%;min-width:560px;font-size:14.5px}
.cmp th,.cmp td{padding:13px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.cmp thead th{
  background:var(--raised);color:var(--ink);white-space:nowrap;
  font-family:var(--mono);font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
}
.cmp tbody th{font-weight:600;color:var(--ink)}
.cmp td{color:var(--muted)}
.cmp tbody tr:last-child th,.cmp tbody tr:last-child td{border-bottom:0}
.cmp tbody tr:hover th,.cmp tbody tr:hover td{background:rgba(96,165,250,.05)}
/*  Colour only reinforces here. Put the glyph in the cell — a tick, a
    dash, the word — because a red cell and a green cell read the same to
    a good number of people, and identically in a printout. */
.cmp .yes{color:var(--pos)}
.cmp .no{color:var(--neg)}

/* ── inner pages: contact, privacy, services, terms ─────────────── */
.page-hero{padding:64px 0 34px}
.page-hero h1{font-size:clamp(30px,4.6vw,44px);margin-bottom:12px;max-width:20ch}
.page-hero p{font-size:17px;color:var(--muted);max-width:60ch;margin:0}
.prose{padding-bottom:80px;max-width:72ch}
.prose h2{font-size:20px;font-weight:700;margin:34px 0 10px;letter-spacing:-.01em}
.prose p,.prose li{font-size:15.5px;color:var(--ink-2);line-height:1.7}
.prose ul{padding-left:20px}
.prose li{margin-bottom:7px}
.prose a{color:var(--accent)}
.prose a:hover{text-decoration:underline}
.prose strong{color:var(--ink)}
.contact-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:22px;box-shadow:var(--sh);
}
.contact-card h3{font-size:15px;font-weight:700;margin:0 0 6px;color:var(--ink)}
.contact-card p{margin:0;font-size:14.5px;color:var(--muted)}
.contact-card a{color:var(--accent)}

/* ── footer ────────────────────────────────────────────────────── */
.footer{background:var(--surface);border-top:1px solid var(--line);padding:52px 0 0;color:var(--muted)}
.footer-inner{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:34px;padding-bottom:40px}
@media(max-width:760px){.footer-inner{grid-template-columns:1fr 1fr}}
.footer h5{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent);margin:0 0 12px;font-weight:600;
}
.footer a{display:block;font-size:14px;color:var(--ink-2);padding:4px 0}
.footer a:hover{color:var(--accent)}
.foot-tag{font-size:14px;color:var(--muted);max-width:34ch;margin:10px 0 0;line-height:1.6}
.foot-base{
  border-top:1px solid var(--line);padding:16px 24px;text-align:center;
  font-family:var(--mono);font-size:11.5px;color:var(--muted);
}

/* Focus must stay visible and must never be the accent fill.
   A <summary> and a scrollable wrapper both take focus and both were
   getting the browser's own ring on top of this palette; they join the
   list rather than keep it. */
a:focus-visible,button:focus-visible,summary:focus-visible,.cmp-scroll:focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto}}
