/* ============================================================================
   Future Bail Bonds — design system
   ----------------------------------------------------------------------------
   The world: a bond instrument. A Texas bail bond is a legal document with a
   number, a principal, an amount and a premium, written on paper and kept in a
   book. This site is that book, open on a dark desk.

   Two materials only:
     · ink   — the ground, warm black rather than neutral grey.
     · paper — the sheet. The estimate, the receipt, the agreement, the
               signature pad, the QR tile. Paper is the only light surface, and
               it is always a thing you could hand to someone.

   Language is set in one serif (Literata). Monospace is reserved for values
   that are measured: money, bond numbers, timestamps, hashes, table figures.
   No gradients, no glass, no glow, no pill buttons. Rules and spacing carry
   the structure, the way they do on a document.

   Structure: tokens → reset → type → chrome → hero → components → pages →
   responsive → print.
   ========================================================================== */

@import url("/css/fonts.css");

/* ── tokens ───────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;

  /* The ground family. Identity values are injected from config/site.json by
     views/partials/head.ejs; these are the compiled defaults so the stylesheet
     stands alone. Warm, not neutral: the desk is wood and lamp, not a server
     rack, and a dead grey under warm paper reads as an accident. */
  --ground: #0c0a08;
  --ground-deep: #070605;
  --ground-raise: #17130e;
  --mist: #090705;

  /* The sheet. --paper is the stock; --paper-ink is what prints on it. */
  --paper: #f3eee2;
  --paper-ink: #191510;
  --white: #ffffff;

  /* Text. --ink is the primary voice on the field, --slate the second voice,
     --on-black the quieter body weight. All three are measured against every
     dark surface, not eyeballed. */
  --ink: #efe8da;
  --slate: #c3b7a3;
  --on-black: #b3a794;
  --on-dark: #ffffff;
  --on-plate: #0c0a08;

  /* The filled plate: what a primary control is cut from. On this site that is
     bone, with ink on it — the sheet, not a colour. */
  --plate: #efe8da;
  --plate-hover: #fffbf1;
  --accent: #d8c6a4;
  --accent-deep: #6e5a34;

  --line: #2c2419;
  --line-2: #3d3223;
  --line-soft: #201a12;
  --line-3: #55462f;
  --fine: #948a7a;
  --sheet: #ded4bf;
  --placeholder: #8b8171;

  /* Status. Rare by design: a notice, a pending invoice, a failed field. */
  --success: #9CC4FF;
  --success-bg: #0B1B33;
  --warning: #e0b273;
  --warning-bg: #1d160b;
  --danger: #ec8b76;
  --danger-bg: #1b0f0c;
  /* The hairline each status notice is drawn with. A status colour is a text
     colour: at a 1px border the same value vibrates, so the edge is a step of its
     own, and it belongs in the token set where a re-skin can reach it. */
  --danger-line: #593024;
  --warning-line: #4d3c1e;
  --success-line: #23539C;
  --plate-success: #1E5FA8;
  --plate-danger: #8f2f20;

  --font-body: "Literata", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* Kept as a name because templates and figures reference it; it is the same
     face as --font-data. */
  --font-figure: var(--font-data);

  --wrap: 1180px;
  --wrap-narrow: 720px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);

  /* Radius is a document corner, not a bubble. Two pixels: enough to soften a
     cut edge, not enough to read as a button from 2019. */
  --r-sm: 2px;
  --r: 2px;
  --r-lg: 3px;
  --r-pill: 2px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --selection-bg: #efe8da;
  --selection-ink: #0c0a08;

  --focus: #efe8da;
}

/* Paper scope. Everything inside a document surface re-resolves the same
   tokens to their light-ground values, so components need no light variants.
   The scope sets its own color; without that line the subtree inherits the
   page's resolved --ink and the sheet renders light on white. */
.slip,
.doc-frame,
.qr-frame,
.sig-pad,
.sig-type,
.receipt-doc,
.legal-sheet {
  --ground: #f3eee2;
  --ground-deep: #eae3d3;
  --ground-raise: #fbf7ec;
  --mist: #eee7d8;
  --ink: #191510;
  --slate: #564d3f;
  --on-black: #3a332a;
  --on-dark: #191510;
  --on-plate: #f7f2e6;
  --plate: #191510;
  --plate-hover: #2a241c;
  --accent: #6e5a34;
  --accent-deep: #4a3a1c;
  --line: #d3c9b6;
  --line-2: #b8ac95;
  --line-soft: #e2d9c9;
  --line-3: #8d8272;
  --fine: #6d6455;
  --sheet: #ded4bf;
  --placeholder: #8a8072;
  --success: #1D5FBF;
  --success-bg: #E8F0FB;
  --warning: #7a5310;
  --warning-bg: #faf1de;
  --danger: #a3341f;
  --danger-bg: #fbece8;
  --danger-line: #e0b3a7;
  --warning-line: #ddc08f;
  --success-line: #A9C6E8;
  --selection-bg: #191510;
  --selection-ink: #f3eee2;
  --focus: #191510;
  color: var(--ink);
  background-color: var(--ground);
}

/* ── reset ────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ol, ul, fieldset, legend { margin: 0; }

ol, ul { padding: 0; }
ul { list-style: none; }

html, body { max-width: 100%; }

body {
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas { max-width: 100%; height: auto; }
svg { display: block; }

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

table { border-collapse: collapse; }

[hidden] { display: none !important; }

hr { border: 0; border-top: 1px solid var(--line); }

::selection {
  background: var(--selection-bg);
  color: var(--selection-ink);
}

html { scrollbar-color: var(--line-2) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 0; border: 3px solid var(--ground); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

@supports not selector(:focus-visible) {
  :focus { outline: 2px solid var(--focus); outline-offset: 3px; }
}

/* ── type ─────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.25rem);
  letter-spacing: -0.028em;
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  letter-spacing: -0.022em;
  line-height: 1.1;
}

h3 {
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.006em;
}

p { text-wrap: pretty; }

strong, b { font-weight: 600; }
em, i { font-style: italic; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color 140ms var(--ease), color 140ms var(--ease);
}
a:hover { text-decoration-color: var(--ink); }

/* A label on a document: small, spaced, monospaced because it names a field
   rather than speaks a sentence. */
.sign,
.cap,
.figure,
.mono,
.ref {
  font-family: var(--font-data);
  font-variant-ligatures: none;
}

.sign {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.mono, .figure {
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.figure { font-variant-numeric: tabular-nums; }

.muted { color: var(--slate); }
.body { color: var(--on-black); }
.big { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; }

.lede {
  max-width: 62ch;
  font-size: clamp(1.09rem, 1.35vw, 1.24rem);
  line-height: 1.55;
  color: var(--slate);
}

.prose > * + * { margin-top: 1.15em; }
.prose p, .prose li { max-width: 68ch; color: var(--on-black); }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before {
  content: "—";
  position: absolute;
  left: -1.15rem;
  color: var(--slate);
}
.prose ol { list-style: decimal; }
.prose ol > li::marker { font-family: var(--font-data); font-size: 0.85em; color: var(--slate); }
.prose li + li { margin-top: 0.55em; }
.prose strong { color: var(--ink); }
.prose a { text-decoration-color: var(--line-2); }
.prose a:hover { text-decoration-color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  background: var(--plate);
  color: var(--on-plate);
  font-size: 0.9rem;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ── layout ───────────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gut); }

.band {
  padding-block: clamp(3.75rem, 7vw, 6.25rem);
  border-top: 1px solid var(--line);
}
.band-tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.band-mist { background: var(--mist); }
.band-black { background: var(--ground-deep); }
.band > .wrap > * + * { margin-top: clamp(1.75rem, 3.2vw, 2.75rem); }

.sec-head { max-width: 46rem; }
.sec-head > * + * { margin-top: 0.85rem; }
.sec-head h2 + .lede { margin-top: 0.95rem; }

.sec-body { margin-top: clamp(1.75rem, 3.2vw, 2.75rem); }

/* The section label that survives: a field caption on the rule, not a coloured
   kicker floating above a title. */
.sec-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate);
}
.sec-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.cols-2 { columns: 2; column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols-3 { columns: 3; column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols-2 > *, .cols-3 > * { break-inside: avoid; }

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}
.split-head > * { margin-top: 0; }

.stack > * + * { margin-top: 1rem; }

.note-line {
  max-width: 66ch;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate);
}
.note-line strong { color: var(--ink); }

/* ── chrome ───────────────────────────────────────────────────────────────── */
.demo {
  background: var(--ground-deep);
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.75rem;
  line-height: 1.5;
}
.demo .wrap {
  display: flex;
  gap: 0.6rem 0.9rem;
  align-items: baseline;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}
/* The demonstration strip is a fact about the build, not a warning: it sits at
   the top of every page and should read as deliberately as everything under it.
   A hairline tag, one sentence, and a way to the page that spells out which
   parts are real. */
.demo-tag {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 0.16rem 0.45rem 0.2rem;
}
.demo-full { flex: 1 1 24rem; min-width: 0; }
.demo-short { display: none; flex: 1 1 100%; }
.demo-more {
  white-space: nowrap;
  color: var(--ink);
  text-decoration-color: var(--line-2);
  text-underline-offset: 0.2em;
  /* 24px tall: the link is the way out of the demonstration notice, so it has
     to be as easy to hit as a button in the masthead. */
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
}
.demo-more::after { content: " →"; color: var(--accent); }
.demo-more:hover { text-decoration-color: currentColor; }
@media (max-width: 860px) {
  .demo-full { display: none; }
  .demo-short { display: block; }
}

.utility {
  border-bottom: 1px solid var(--line);
  background: var(--ground-deep);
  color: var(--slate);
}
.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.35rem;
}
.utility-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.utility-list li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.78rem;
}
.utility-list .sign { font-size: 0.75rem; color: var(--on-black); }
/* every standalone link on the site is at least 24px tall to hit (WCAG 2.2 · 2.5.8);
   inline links inside a sentence are exempt by the guideline and left alone */
/* a paragraph or definition that is nothing but a link is a standalone
   action, not a phrase inside a sentence: it gets a full-size target */
p > a:only-child,
dd > a,
td > a:only-child,
li > a:only-child,
.utility-list a,
.nav-contact-phone,
.masthead-phone,
.foot-legal-links a,
.foot ul a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.utility .sign a { color: var(--slate); text-decoration-color: var(--line-2); }
.utility .sign a:hover { color: var(--ink); }
.utility > .wrap > .sign {
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.utility > .wrap > .sign a { display: inline-flex; align-items: center; min-height: 24px; color: var(--ink); text-decoration: none; }
.utility > .wrap > .sign a:hover { text-decoration: underline; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.masthead > .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.35rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand svg { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 0.1rem; }
.brand-name {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.brand-sub {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
}

.nav { margin-left: auto; }
.nav > ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav a,
.nav summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 140ms var(--ease), border-color 140ms var(--ease);
}
.nav a:hover,
.nav summary:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav details { position: relative; }
.nav details summary {
  cursor: pointer;
  list-style: none;
}
.nav details summary::-webkit-details-marker { display: none; }
.nav details summary::after {
  content: "";
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}
.nav details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.nav details > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  min-width: 15rem;
  padding: 0.4rem;
  background: var(--ground-raise);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  display: grid;
  gap: 0.05rem;
}
.nav details > ul a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-bottom: 0;
  font-size: 0.92rem;
}
.nav details > ul a:hover { background: var(--ground-deep); color: var(--ink); }
.nav details > ul a[aria-current="page"] { background: transparent; color: var(--ink); text-decoration: underline; }

.masthead-cta {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: 0.5rem;
}
.masthead-phone {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  text-align: right;
}
.masthead-phone .lbl {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}
.masthead-phone .num {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.masthead-phone:hover .num { text-decoration: underline; text-underline-offset: 0.2em; }

.nav-toggle { display: none; position: relative; }
.nav-toggle > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color 140ms var(--ease);
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle > summary::before {
  content: "";
  width: 14px; height: 1px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor, 0 -4px 0 currentColor;
}
.nav-toggle > summary:hover,
.nav-toggle[open] > summary { border-color: var(--ink); }
.nav-toggle:not([open]) nav { display: none; }
.nav-toggle nav {
  position: absolute;
  right: calc(var(--gut) * -1);
  top: calc(100% + 0.85rem);
  width: min(22rem, calc(100vw - var(--gut) * 2));
  padding: 0.6rem;
  background: var(--ground-raise);
  border: 1px solid var(--line-2);
  max-height: calc(100dvh - 7rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-toggle nav > ul { display: grid; gap: 0.05rem; }
.nav-toggle nav a,
.nav-toggle nav summary {
  display: block;
  padding: 0.7rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0;
  white-space: normal;
}
.nav-toggle nav a:hover,
.nav-toggle nav summary:hover { background: var(--ground-deep); }
.nav-toggle nav a[aria-current="page"] { background: var(--ground-deep); }
.nav-toggle nav summary { cursor: pointer; list-style: none; }
.nav-toggle nav summary::-webkit-details-marker { display: none; }
.nav-toggle nav summary::after { content: " +"; color: var(--slate); }
.nav-toggle nav details[open] > summary::after { content: " −"; }
.nav-toggle nav details > ul { padding-left: 0.85rem; border-left: 1px solid var(--line); margin: 0.15rem 0 0.35rem 0.75rem; }
.nav-toggle nav details > ul a { padding: 0.55rem 0.7rem; font-size: 0.94rem; color: var(--slate); }
.nav-contact {
  margin-top: 0.6rem;
  padding: 0.9rem 0.75rem 0.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.3rem;
}
.nav-contact-phone {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.nav-contact-hours { font-size: 0.8rem; color: var(--slate); }

/* ── buttons ──────────────────────────────────────────────────────────────── */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.68rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease), transform 120ms var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.btn-solid {
  background: var(--plate);
  border-color: var(--plate);
  color: var(--on-plate);
}
.btn-solid:hover { background: var(--plate-hover); border-color: var(--plate-hover); }

.btn-outline,
.btn-ghost-light {
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-outline:hover,
.btn-ghost-light:hover { border-color: var(--ink); background: var(--ground-raise); }

.btn-ghost {
  padding-inline: 0.2rem;
  min-height: 2.4rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line-2);
}
.btn-ghost:hover { text-decoration-color: var(--ink); }

.btn-black {
  background: var(--ground-deep);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-black:hover { border-color: var(--ink); }

.btn-lg { min-height: 3.2rem; padding: 0.85rem 1.45rem; font-size: 1.02rem; }
.btn-sm { min-height: 2.3rem; padding: 0.45rem 0.75rem; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.board {
  position: relative;
  padding-block: clamp(3.25rem, 6vw, 5.5rem) clamp(3.75rem, 6.5vw, 6rem);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.board-lead { max-width: 34rem; }

.board-title {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.01;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.board-title em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.board-sub {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--slate);
}

.board-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.board-facts {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.5rem;
}
.board-facts dt {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate);
}
.board-facts dd {
  margin: 0.4rem 0 0;
  font-size: 0.94rem;
  line-height: 1.4;
  color: var(--ink);
}

/* The estimate slip. A real sheet of paper on the desk, holding the one number
   the visitor came for. Paper is the interface here, not decoration. */
.slip {
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  border-radius: var(--r-sm);
  position: relative;
}
.slip::after {
  content: "";
  position: absolute;
  inset: 4px -4px -4px 4px;
  z-index: -1;
  background: var(--sheet);
  border-radius: var(--r-sm);
}
.slip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-2);
}
.slip-title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.slip-ref {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.slip-field { margin-top: 1.15rem; }
.slip-field > label {
  display: block;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.35rem;
}
.quote-prefix {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  border-bottom: 1px solid var(--ink);
}
.quote-prefix .sym {
  font-family: var(--font-data);
  font-size: 1.35rem;
  color: var(--slate);
}
.quote-prefix input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.15rem 0 0.35rem;
  font-family: var(--font-data);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  outline: none;
}
.quote-prefix input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.slip .hint {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--slate);
}

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}
.quick-amounts button {
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: transparent;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--slate);
  transition: color 120ms var(--ease), border-color 120ms var(--ease), background-color 120ms var(--ease);
}
.quick-amounts button:hover { color: var(--ink); border-color: var(--ink); }
.quick-amounts button[aria-pressed="true"] {
  background: var(--plate);
  border-color: var(--plate);
  color: var(--on-plate);
}

.slip-table { margin-top: 1.35rem; }
.slip-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 0.42rem;
  font-size: 0.9rem;
}
.slip-row .k { color: var(--slate); }
.slip-row .k::after {
  content: "";
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--line-2);
  transform: translateY(-0.2em);
}
.slip-row .k { display: flex; align-items: baseline; gap: 0.6rem; flex: 1; }
.slip-row .v {
  font-family: var(--font-data);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}
.slip-row.total {
  margin-top: 0.55rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--ink);
}
.slip-row.total .k { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.slip-row.total .k::after { border-bottom: 0; }
.slip-row.total .v { font-size: 1.32rem; font-weight: 500; letter-spacing: -0.02em; }
.slip-note {
  margin-top: 0.85rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--slate);
  min-height: 1.1em;
}
.slip-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.slip-cta span:last-child { font-family: var(--font-data); font-weight: 400; }
.slip-cta:hover { text-decoration: underline; text-underline-offset: 0.22em; }

/* Legacy hero pieces kept for the pages that still use them. */
.board-phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  text-decoration: none;
  flex-wrap: wrap;
}
.board-phone .num {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.status-plate {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  white-space: nowrap;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.board .eyebrow { display: none; }

/* ── page head ────────────────────────────────────────────────────────────── */
.page-head {
  padding-block: clamp(2.5rem, 4.5vw, 4rem) clamp(2.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--ground);
}
.page-head > .wrap > * + * { margin-top: 1.1rem; }
.page-head h1 { max-width: 21ch; font-size: clamp(2.15rem, 4vw, 3.4rem); }
.page-head .lede { margin-top: 1.15rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line-2); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; color: var(--slate); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.page-head-actions { margin-top: 1.65rem; }

/* ── surfaces ─────────────────────────────────────────────────────────────── */
.panel {
  --panel-pad: clamp(1.15rem, 2vw, 1.6rem);
  padding: var(--panel-pad);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ground-raise);
  overflow: clip;
}
/* A panel that carries its own header loses its padding so the header can span
   the full width; the body puts the padding back. Plain panels keep it. */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: calc(var(--panel-pad) * -1) calc(var(--panel-pad) * -1) 0;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--ground-deep);
}
.panel-head h3, .panel-head h2 { font-size: 1.02rem; }
.panel-flush { padding: 0; }
.panel-flush .panel-head { margin: 0; }
.panel-flush .panel-body { padding: var(--panel-pad); }
.panel-flush .panel-body + .panel-body { border-top: 1px solid var(--line-soft); }
.panel > p, .panel > .panel-body p { color: var(--on-black); }
.panel > * + * { margin-top: 1rem; }
.panel > .panel-head + * { margin-top: 0; }
.panel + .panel { margin-top: 1.25rem; }

.plaque {
  border-top: 1px solid var(--line-2);
  padding-top: 1.1rem;
}
.plaque h2, .plaque h3 { font-size: 1.04rem; }
.plaque p { margin-top: 0.6rem; color: var(--on-black); font-size: 0.94rem; }
.plaque-phone {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.plaque-phone:hover { text-decoration: underline; }
.plaque-accent { border-top-color: var(--accent); }

.notice {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
  background: var(--ground-raise);
}
.notice > * + * { margin-top: 0.8rem; }
.notice h2, .notice h3 { font-size: 1.02rem; }
.notice p, .notice li { font-size: 0.94rem; line-height: 1.62; color: var(--on-black); }
.notice ul { display: grid; gap: 0.55rem; }
.notice li { position: relative; padding-left: 1.1rem; }
.notice li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--line-2);
}
.notice-danger { border-color: var(--danger-line); background: var(--danger-bg); }
.notice-danger h2, .notice-danger h3 { color: var(--danger); }
.notice-danger li::before { color: var(--danger); }
.notice-warn { border-color: var(--warning-line); background: var(--warning-bg); }
.notice-warn h2, .notice-warn h3 { color: var(--warning); }
.notice-warn li::before { color: var(--warning); }
.notice-good { border-color: var(--success-line); background: var(--success-bg); }
.notice-good h2, .notice-good h3 { color: var(--success); }
.notice-black { background: var(--ground-deep); border-color: var(--line); }

.tag, .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.5rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--slate);
  white-space: nowrap;
}
.chip .dot { width: 5px; height: 5px; }
.tag-black { background: var(--ground-deep); }
.tag-good, .chip-good { color: var(--success); border-color: var(--success-line); }
.tag-warn, .chip-warn { color: var(--warning); border-color: var(--warning-line); }
.chip-live { color: var(--success); border-color: var(--success-line); }
.chip-wait { color: var(--warning); border-color: var(--warning-line); }
.chip-dead { color: var(--danger); border-color: var(--danger-line); }
.chip-wait .dot { background: var(--warning); }
.chip-dead .dot { background: var(--danger); }

/* ── the ledger ───────────────────────────────────────────────────────────── */
.ledger {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ground-raise);
  padding: 1.15rem 1.3rem 1.3rem;
}
.ledger-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
}
.ledger-head .ref { color: var(--slate); }
.ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.52rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.ledger-row .k { color: var(--slate); }
.ledger-row .v {
  font-family: var(--font-data);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--ink);
}
.ledger-row.total { border-bottom: 0; border-top: 1px solid var(--line-2); margin-top: 0.35rem; padding-top: 0.8rem; }
.ledger-row.total .k { color: var(--ink); font-weight: 600; }
.ledger-row.total .v { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.ledger-row.credit .v { color: var(--success); }
.ledger-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--slate);
}

/* ── schedule (the rate table) ────────────────────────────────────────────── */
.schedule {
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.schedule caption {
  text-align: left;
  padding-bottom: 0.85rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
}
.schedule th {
  padding: 0 0 0.7rem;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: right;
  vertical-align: bottom;
}
.schedule th:first-child { text-align: left; width: 30%; }
.schedule th:nth-child(2) { width: 36%; }
.schedule td {
  padding: 0.82rem 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: right;
  font-family: var(--font-data);
  font-size: 0.95rem;
  color: var(--slate);
}
.schedule td:first-child {
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.schedule td.us { color: var(--ink); font-weight: 500; }
.schedule tr:last-child td { border-bottom: 1px solid var(--line-2); }
.schedule .foot td {
  border-bottom: 0;
  padding-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.83rem;
  color: var(--slate);
  text-align: left;
  line-height: 1.55;
}

/* ── docket (a sequence, so it is numbered) ───────────────────────────────── */
.docket {
  border-top: 1px solid var(--line-2);
  counter-reset: docket;
}
.docket > li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 58ch) max-content;
  justify-content: start;
  gap: 0.35rem clamp(1rem, 2.5vw, 2.5rem);
  align-items: baseline;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.docket-n {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.docket h3 { font-size: 1.08rem; font-weight: 500; }
.docket p {
  grid-column: 2;
  margin-top: 0.45rem;
  max-width: 58ch;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--on-black);
}
.docket-t {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--slate);
  white-space: nowrap;
}
/* A console listing: the timestamp gets exactly the room it needs and no more,
   because a fixed column width silently collides with the name at every font
   that is not the one it was measured against. */
.docket-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 1rem 1.5rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.docket-kind { font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.docket-what { font-size: 1rem; color: var(--ink); }
.docket-detail { font-size: 0.9rem; color: var(--slate); }
.docket-time { font-family: var(--font-data); font-size: 0.75rem; color: var(--slate); white-space: nowrap; }

/* ── steps (three-up process blocks) ──────────────────────────────────────── */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 2.4vw, 2rem) 1.5rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.steps-3 .step {
  border-bottom: 0;
  border-left: 1px solid var(--line);
  padding: 1.6rem clamp(1rem, 2.2vw, 2rem);
}
.steps-3 .step:first-child { border-left: 0; padding-left: 0; }
.step-num {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--slate);
  padding-top: 0.25rem;
}
.step h2, .step h3 { font-size: 1.06rem; font-weight: 500; letter-spacing: -0.012em; }
.step p { margin-top: 0.5rem; font-size: 0.94rem; line-height: 1.6; color: var(--on-black); }

/* ── facilities ───────────────────────────────────────────────────────────── */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-2);
}
.facility {
  padding-block: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line);
}
.facility h3 { font-size: 1.06rem; font-weight: 500; }
.facility .note {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--slate);
}
.facility .addr {
  margin-top: 0.55rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--on-black);
}

/* ── trust / colophon ─────────────────────────────────────────────────────── */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.trust-item { border-top: 1px solid var(--line-2); padding-top: 0.9rem; }
.trust-item .k {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate);
}
.trust-item .v {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--on-black);
}

/* ── faq ──────────────────────────────────────────────────────────────────── */
.faq-group { border-top: 1px solid var(--line-2); }
.faq { border-bottom: 1px solid var(--line); }
.faq details { border: 0; }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.15rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  transition: color 140ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 400;
  color: var(--slate);
  flex-shrink: 0;
}
.faq details[open] > summary::after { content: "−"; }
.faq summary:hover { color: var(--slate); }
.faq .answer {
  padding-bottom: 1.35rem;
  max-width: 68ch;
}
.faq .answer p { font-size: 0.96rem; line-height: 1.65; color: var(--on-black); }
.faq .answer p + p { margin-top: 0.7rem; }

/* ── coins ────────────────────────────────────────────────────────────────── */
.coin-chips {
  border-top: 1px solid var(--line-2);
}
.coin-chips li {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 9rem) minmax(0, 1fr);
  gap: 0.4rem 1rem;
  align-items: baseline;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.coin-chips .t {
  font-family: var(--font-data);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.coin-chips .c { font-size: 0.98rem; color: var(--ink); }
.coin-chips .n {
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--slate);
}
.coin-chips li.is-off { opacity: 0.5; }
.coin-chips li.is-off .t { text-decoration: line-through; }

.coins { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.coin {
  display: grid;
  grid-template-columns: 3.5rem 9rem minmax(0, 1fr);
  gap: 0.4rem 1rem;
  align-items: baseline;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
/* the agreement renders its block headings as h3 after the h2 section: same look */
.doc-frame h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.006em; }
.coin input[type="radio"] { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); margin-top: 0.15rem; }
.coin-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; font-family: var(--font-data); font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.coin-mark img { display: block; width: 30px; height: 30px; }
.coin-table-name {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-telecom);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.coin-table-name img { display: block; width: 24px; height: 24px; }
.coin-table-name .tag { font-size: 0.78rem; }
.service-coin { display: inline-grid; place-items: center; width: 30px; height: 30px; }
.service-coin img { display: block; width: 30px; height: 30px; }
.ledger-coin { display: inline-flex; vertical-align: -4px; margin-right: 0.4rem; }
.ledger-coin img { display: block; width: 18px; height: 18px; }
.coin-name { font-size: 1rem; color: var(--ink); }
.coin-net { font-size: 0.84rem; color: var(--slate); }
.coin-bad { color: var(--danger); }

/* ── tutorials ────────────────────────────────────────────────────────────── */
.tut-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 17rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--line-2);
}
.tut {
  padding: 1.35rem 0 1.45rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 7rem;
}
.tut-num {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: var(--slate);
}
.tut-head { margin-top: 0.5rem; font-size: 1.05rem; font-weight: 500; }
.tut p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--on-black); }
/* The rail already prints its own number in the left column; the list marker
   would print a second one ("1. 01 …"). */
.tut-nav ol { list-style: none; margin: 0; padding: 0; }
.tut-nav { display: grid; gap: 0.15rem; }
@media (min-width: 961px) {
  /* a long document deserves a rail that stays with the reader */
  .legal-shell .tut-nav { position: sticky; top: 5.25rem; align-self: start; }
  .tut-grid .tut-nav-shell {
    position: sticky;
    top: 5.25rem;
    align-self: start;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .tut-nav-shell > .tut-nav-summary { display: none; }
}
.tut-nav a {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.44rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.88rem;
  line-height: 1.32;
  text-decoration: none;
  color: var(--slate);
}
.tut-nav .n {
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.tut-nav a:hover, .tut-nav a[aria-current="page"] { color: var(--ink); }
.tut-nav a:hover .n, .tut-nav a[aria-current="page"] .n { color: var(--ink); }

@media (max-width: 960px) {
  .tut-grid { grid-template-columns: minmax(0, 1fr); }
  .tut-nav-shell {
    border: 1px solid #16223A;
    border-radius: 12px;
    background: #0A1120;
    padding: 0 1rem;
  }
  .tut-nav-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    color: var(--ink);
    cursor: pointer;
    font-family: var(--font-data);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    list-style: none;
    text-transform: uppercase;
  }
  .tut-nav-summary::-webkit-details-marker { display: none; }
  .tut-nav-summary::after {
    content: "+";
    color: var(--tc-signal);
    font-size: 1.1rem;
    line-height: 1;
  }
  .tut-nav-shell[open] .tut-nav-summary::after { content: "\2212"; }
  .tut-nav-hint { color: var(--tc-muted); font-size: 0.8rem; letter-spacing: 0.04em; }
  .tut-nav-shell .tut-nav { border: 0; background: transparent; padding: 0 0 0.9rem; }
  .tut-nav-rule { display: none; }
}

/* ── services ─────────────────────────────────────────────────────────────── */
.services { border-top: 1px solid var(--line-2); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1rem clamp(1.5rem, 4vw, 3.5rem);
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.service h2, .service h3 { font-size: 1.08rem; font-weight: 500; letter-spacing: -0.012em; }
.service p { font-size: 0.95rem; line-height: 1.62; color: var(--on-black); }

/* ── stats / kv / copy ────────────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr));
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.stat {
  padding: 1rem 1.1rem 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.stat .k {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.stat .v {
  margin-top: 0.5rem;
  font-family: var(--font-data);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat.warn .v { color: var(--warning); }
.stat.good .v { color: var(--success); }

.kv { display: grid; gap: 0.6rem; }
.kv > div { display: grid; grid-template-columns: minmax(7rem, 12rem) minmax(0, 1fr); gap: 1rem; }
.kv dt { font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--slate); }
.kv dd { font-size: 0.95rem; color: var(--ink); overflow-wrap: anywhere; }

.copy-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.copy-row .mono { overflow-wrap: anywhere; }

.empty {
  padding: clamp(1.75rem, 4vw, 3rem) 1.25rem;
  text-align: center;
  color: var(--slate);
}
.empty .big { color: var(--ink); }

/* ── forms ────────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 1.1rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.form-grid .span-2 { grid-column: span 2; }

.field { min-width: 0; }
.field > label,
.fieldset > legend {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
}
.req { color: var(--danger); }

.input, .select, .textarea,
.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--ground-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
.input::placeholder,
.field input::placeholder,
.field textarea::placeholder { color: var(--placeholder); }
.input:hover, .select:hover, .textarea:hover,
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.input:focus, .select:focus, .textarea:focus,
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--ground);
  box-shadow: 0 0 0 3px rgba(239, 232, 218, 0.09);
}
.textarea { min-height: 8rem; resize: vertical; }

.fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1rem 1.1rem 1.15rem;
}
.fieldset > legend { padding-inline: 0.35rem; margin-bottom: 0.2rem; }

.hint { margin-top: 0.4rem; font-size: 0.8rem; line-height: 1.5; color: var(--slate); }
.err { margin-top: 0.35rem; font-size: 0.82rem; color: var(--danger); }
.err:empty { display: none; }

.consent-stack { display: grid; gap: 0.75rem; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; align-items: start; }
.consent input { width: 1.05rem; height: 1.05rem; margin-top: 0.25rem; accent-color: var(--ink); }
.consent label { font-size: 0.92rem; line-height: 1.55; color: var(--on-black); }
.consent-note { font-size: 0.82rem; color: var(--slate); }

.form-notice {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--slate);
}
.form-notice.bad { border-color: var(--danger-line); background: var(--danger-bg); color: var(--danger); }
.form-notice.good { border-color: var(--success-line); background: var(--success-bg); color: var(--success); }
.form-notice.warn { border-color: var(--warning-line); background: var(--warning-bg); color: var(--warning); }

.quote-field { min-width: 0; }
.quote-field > label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
}
.quote-field .quote-prefix { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0.1rem 0.8rem; background: var(--ground-deep); }
.quote-field .quote-prefix:focus-within { border-color: var(--ink); }
.quote-field .quote-prefix input { font-size: 1.45rem; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }

/* ── tables ───────────────────────────────────────────────────────────────── */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
table.data {
  width: 100%;
  min-width: 34rem;
  font-size: 0.9rem;
}
table.data thead th {
  padding: 0.7rem 0.9rem;
  background: var(--ground-deep);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: left;
  white-space: nowrap;
}
table.data td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--on-black);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: var(--ground-raise); }
table.data .num, table.data .amount { font-family: var(--font-data); font-variant-numeric: tabular-nums; white-space: nowrap; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-block: 1.25rem;
}
.filters a, .filters button {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--slate);
  text-decoration: none;
}
.filters a:hover { border-color: var(--line-2); color: var(--ink); }
.filters a[aria-current="page"], .filters .on { background: var(--plate); border-color: var(--plate); color: var(--on-plate); }

/* ── paper documents ──────────────────────────────────────────────────────── */
.doc-frame {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  max-height: 34rem;
  overflow: auto;
}
.doc-title { font-size: 1.15rem; font-weight: 600; }
.doc-version {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.doc-frame h2, .doc-frame h3 { color: var(--ink); }
.doc-frame p, .doc-frame li { color: var(--on-black); font-size: 0.92rem; }

.receipt-doc {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: clamp(1.35rem, 3.2vw, 2.5rem);
  max-width: 44rem;
}
.receipt-doc header { border-bottom: 2px solid var(--ink); padding-bottom: 1rem; }

.qr-frame {
  display: inline-block;
  padding: 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--white);
}
.qr-frame img, .qr-frame svg { display: block; }

.sig-pad {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--ground-raise);
  touch-action: none;
}
.sig-render { border-bottom: 1px solid var(--line-2); }
.sig-tabs { display: flex; gap: 0.35rem; margin-bottom: 0.6rem; }
.sig-tabs button {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: transparent;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
}
.sig-tabs button[aria-selected="true"] { background: var(--plate); border-color: var(--plate); color: var(--on-plate); }
.sig-tools { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; margin-top: 0.6rem; }
.sig-type input { font-size: 1.6rem; font-style: italic; }
.pad-hint { font-size: 0.8rem; color: var(--slate); }
.timer { font-family: var(--font-data); font-size: 0.8rem; color: var(--warning); }
.confirm-meter { display: grid; gap: 0.35rem; font-size: 0.85rem; color: var(--slate); }

/* The strip above a signing page: the header of the instrument, read across. */
.sign-strip {
  border-bottom: 1px solid var(--line);
  background: var(--ground-deep);
  padding-block: 0.85rem;
}
.sign-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2.5rem;
  align-items: baseline;
}
.sign-strip-item { display: flex; flex-direction: column; gap: 0.2rem; }
.sign-strip-item .k {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.sign-strip-item .v { font-size: 0.92rem; color: var(--ink); }

/* ── contact / login / legal shells ───────────────────────────────────────── */
.contact-panel { border-top: 1px solid var(--line-2); padding-top: 1.25rem; }
.contact-line { display: flex; flex-direction: column; gap: 0.2rem; padding-block: 0.8rem; border-bottom: 1px solid var(--line); }
.contact-line .k { font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.contact-line .v { font-size: 1rem; color: var(--ink); }
.lead-form-shell { max-width: 42rem; }

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--gut);
}
.login-card {
  width: min(26rem, 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--ground-raise);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.login-card h1 { font-size: 1.6rem; }
/* One sheet, not a card on a card: the panel inside the sign-in card drops its
   own frame and the card carries the whole surface. */
.login-card .panel {
  margin-top: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.login-card .panel > h1, .login-card .panel > h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.login-card > p a { display: inline-flex; align-items: center; min-height: 24px; }

.legal-shell {
  max-width: 60rem;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 900px) {
  .legal-shell { grid-template-columns: minmax(0, 1fr); }
}
.legal-sheet { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: clamp(1.25rem, 3vw, 2.25rem); }

/* ── callout ──────────────────────────────────────────────────────────────── */
.callout-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  border-top: 1px solid var(--line-2);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}
.callout-strip h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.callout-strip p { margin-top: 0.8rem; max-width: 46ch; color: var(--on-black); }
.callout-phone {
  display: inline-block;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
}
.callout-phone:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.callout-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.callout-actions .btn { align-self: flex-start; }
/* A placeholder fact is stated once, in small type, next to the thing it
   qualifies — not repeated on every surface that mentions the phone. */
.placeholder-note {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.7rem;
}
.callout-actions .placeholder-note { margin-top: -0.35rem; }

/* ── footer ───────────────────────────────────────────────────────────────── */
.foot {
  background: var(--ground-deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.5rem;
  color: var(--slate);
  font-size: 0.9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.foot-brand p { max-width: 34ch; color: var(--slate); }
.foot h3 {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--on-black);
  margin-bottom: 0.7rem;
}
.foot ul { display: grid; gap: 0.42rem; }
.foot a { color: var(--slate); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.foot-phone {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink) !important;
  text-decoration: none;
}
.foot-phone:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.foot-legal {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.foot-disclaimer p { font-size: 0.78rem; line-height: 1.6; color: var(--fine); max-width: 72ch; }
.foot-disclaimer strong { color: var(--ink); }
.foot-legal-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; }
.foot-legal-links a { font-size: 0.78rem; }
.foot-bar {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--fine);
}
.foot-bar a { color: var(--slate); }

.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  gap: 0.6rem;
  padding: 0.65rem var(--gut) calc(0.65rem + env(safe-area-inset-bottom));
  background: var(--ground-deep);
  border-top: 1px solid var(--line-2);
}
.callbar .btn { flex: 1; }
.callbar-num { font-variant-numeric: tabular-nums; }

/* ── page components ──────────────────────────────────────────────────────── */
/* An index number on a ruled row: 01, 02, 03. A sequence, so it is numbered. */
.idx {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* The closing line of a described item — what it actually commits you to. */
.terms {
  margin-top: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate);
}

/* A timing note under an hour in a walkthrough. */
.meta {
  margin-top: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.more { position: relative; }

.tut-figure {
  margin: 1.75rem 0 0;
  padding: clamp(1rem, 2.4vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ground-raise);
}
.tut-figure figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--slate);
}

/* ── the invoice page ─────────────────────────────────────────────────────── */
.pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
.amount-big {
  font-family: var(--font-data);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  overflow-wrap: anywhere;
}
.amount-big .unit {
  font-size: 0.42em;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.val {
  font-family: var(--font-data);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.timer {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-data);
}
.timer .t { font-size: 1.1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.timer .l { font-size: 0.78rem; color: var(--slate); }

.copy-row button {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: transparent;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.copy-row button:hover { color: var(--ink); border-color: var(--ink); }
.copy-row button.done { border-color: var(--success); color: var(--success); }

/* ── the signing page ─────────────────────────────────────────────────────── */
.sig-pad { position: relative; }
.sig-pad canvas { display: block; width: 100%; height: auto; touch-action: none; }
.baseline {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 34%;
  height: 1px;
  background: var(--line-2);
}
.pad-hint {
  position: absolute;
  left: 12%;
  bottom: 14%;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.sig-tabs { border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: 1.1rem; }
.sig-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.5rem 0.7rem;
  background: transparent;
  color: var(--slate);
}
.sig-tabs button[aria-selected="true"] {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.sig-type { padding: 1rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--ground-raise); }
.sig-type output { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); }

.face-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.face {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 6rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 120ms var(--ease), background-color 120ms var(--ease);
}
.face input { position: absolute; opacity: 0; pointer-events: none; }
.face span:first-of-type { font-size: 1.35rem; line-height: 1; color: var(--ink); }
.face-name {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.face:hover { border-color: var(--ink); }
.face:has(input:checked) { border-color: var(--ink); background: var(--ground-raise); }
.face:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ── the staff console ────────────────────────────────────────────────────── */
/* the console's section headings sit under the page h1 and stay at working
   size: the level changed, the measure did not */
.console h2 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.006em; }
.console summary { min-height: 24px; display: flex; align-items: center; }
body.console { background: var(--ground); }
.console-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.console-bar > .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  min-height: 3.6rem;
  padding-block: 0.6rem;
}
.console-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.console-nav a {
  padding: 0.4rem 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.console-nav a:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.console-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.console-user { display: flex; align-items: center; gap: 0.8rem; }
.console-user .who {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.console .sec-rule { color: var(--accent); }
.console .sec-rule::after { background: var(--line-2); }

/* ── callout to trust row ─────────────────────────────────────────────────── */
.callout-strip + .trust {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}


/* ── pay a bond + exchange guide ──────────────────────────────────────────── */
.paybond-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ground-raise);
}
.paybond-intro > div {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.2rem 1.1rem;
  border-left: 1px solid var(--line);
}
.paybond-intro > div:first-child { border-left: 0; }
.paybond-intro strong { font-size: 0.98rem; font-weight: 500; color: var(--ink); }
.paybond-intro span:last-child { font-size: 0.86rem; line-height: 1.5; color: var(--slate); }
.paybond-intro .sign { color: var(--accent); }

.paybond-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
.paybond-form .band:first-of-type { padding-top: 0; }
.paybond-form .band-mist + .band { border-top: 1px solid var(--line); }

.paybond-flow { display: grid; gap: 0.8rem; margin-top: 0.9rem; }
.paybond-flow li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}
.paybond-flow li > span {
  font-family: var(--font-data);
  font-size: 0.78rem;
  color: var(--accent);
  padding-top: 0.1rem;
}
.paybond-flow p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--on-black); }

.exchange-guide {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--ground-deep);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
}
.guide-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.guide-head h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; margin-top: 0.25rem; }
.guide-sub { max-width: 44rem; margin-top: 0.55rem; font-size: 0.92rem; line-height: 1.6; color: var(--slate); }
.guide-badge {
  flex: none;
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  font-family: var(--font-data);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.guide-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.guide-tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.68rem 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--slate);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), color 140ms var(--ease);
}
.guide-tab:hover { border-color: var(--accent-deep); color: var(--ink); }
.guide-tab[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--ground-raise);
  color: var(--ink);
}
.guide-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.guide-tab-num { font-family: var(--font-data); font-size: 0.76rem; color: var(--accent); }
.guide-tab strong { display: block; font-size: 0.9rem; font-weight: 500; }
.guide-tab small { display: block; margin-top: 0.12rem; font-size: 0.76rem; color: var(--slate); }

.guide-player { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--ground); overflow: hidden; }
.guide-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.8rem;
  font-family: var(--font-data);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}
.guide-progress { height: 2px; background: var(--line); }
.guide-progress > span { display: block; height: 100%; background: var(--accent); transition: width 280ms var(--ease); }

.guide-stage {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  min-height: 18rem;
  padding: clamp(1.1rem, 2.5vw, 2rem);
}
.guide-visual { position: relative; display: grid; place-items: center; min-height: 13rem; }
.guide-device {
  position: relative;
  width: 7.4rem;
  height: 13.4rem;
  padding: 0.75rem 0.45rem 0.55rem;
  border: 1px solid var(--line-2);
  border-radius: 1.1rem;
  background: var(--ground-raise);
  box-shadow: 0 1.2rem 2.4rem rgba(0,0,0,.35);
  transform: rotate(-5deg);
  transition: transform 320ms var(--ease-out);
}
.guide-stage[data-scene="warning"] .guide-device { transform: rotate(4deg); border-color: var(--danger-line); }
.guide-device-speaker { display: block; width: 2rem; height: 0.22rem; margin: 0 auto 0.45rem; border-radius: 999px; background: var(--line-2); }
.guide-device-screen {
  display: grid;
  place-content: center;
  gap: 0.35rem;
  height: calc(100% - 0.8rem);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: radial-gradient(circle at 50% 30%, rgba(216,198,164,.14), transparent 60%);
  text-align: center;
}
.guide-glyph {
  font-family: var(--font-data);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.guide-device-screen small { font-family: var(--font-data); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.guide-orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.guide-orbit-a { width: 9.5rem; height: 9.5rem; }
.guide-orbit-b { width: 12.5rem; height: 12.5rem; border-style: dashed; opacity: 0.55; }

.guide-copy { min-width: 0; }
.guide-kicker { font-family: var(--font-data); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.guide-copy h4 { margin-top: 0.45rem; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 500; line-height: 1.25; }
.guide-copy p { margin-top: 0.65rem; max-width: 42rem; font-size: 0.98rem; line-height: 1.65; color: var(--on-black); }
.guide-caption {
  min-height: 3.1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--ground-deep);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--slate);
}
.guide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
}
.guide-controls-step { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.guide-controls .btn { min-height: 2.3rem; }
.guide-voice {
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: transparent;
  padding: 0.45rem 0.65rem;
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--slate);
  cursor: pointer;
}
.guide-voice:hover { border-color: var(--accent-deep); color: var(--ink); }
.guide-voice[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.guide-voice:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.guide-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.guide-foot p { max-width: 48rem; font-size: 0.84rem; line-height: 1.55; color: var(--slate); }
.guide-foot a { display: inline-flex; align-items: center; min-height: 24px; font-size: 0.84rem; }

@media (max-width: 900px) {
  .paybond-intro { grid-template-columns: minmax(0, 1fr); }
  .paybond-intro > div { border-left: 0; border-top: 1px solid var(--line); }
  .paybond-intro > div:first-child { border-top: 0; }
  .paybond-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-stage { grid-template-columns: minmax(0, 1fr); }
  .guide-visual { min-height: 10rem; order: 2; }
  .guide-copy { order: 1; }
  .guide-orbit-b { width: 11rem; height: 11rem; }
}
@media (max-width: 560px) {
  .guide-tabs { grid-template-columns: minmax(0, 1fr); }
  .guide-head { display: block; }
  .guide-badge { display: inline-block; margin-top: 0.7rem; }
  .guide-controls { align-items: stretch; }
  .guide-controls-step { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .guide-controls-step .btn { padding-inline: 0.35rem; font-size: 0.78rem; }
  .guide-voice { width: 100%; }
  .guide-visual { display: none; }
  .guide-stage { min-height: 0; }
  .guide-caption { min-height: 0; }
}

/* ── responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1419px) {
  .nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .masthead-cta { margin-left: 0; }
}

@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .slip { max-width: 30rem; }
  .board-lead { max-width: 38rem; }
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-3 { grid-template-columns: minmax(0, 1fr); }
  .steps-3 .step { border-left: 0; padding-inline: 0; }
  .steps-3 .step + .step { border-top: 1px solid var(--line); }
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .callout-strip { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .foot-legal { grid-template-columns: minmax(0, 1fr); }
  .facility-grid { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, 1fr); }
  .docket > li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .docket-t { grid-column: 2; grid-row: auto; justify-self: start; }
  .docket p { grid-column: 2; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .console-nav { width: 100%; margin-left: 0; }
  .console-bar > .wrap { min-height: 3.2rem; }
  .utility-list li:nth-child(2), .utility-list li:nth-child(3) { display: none; }
  /* The masthead CTA steps aside: the hero carries the number, and the callbar
     carries both actions for the whole scroll on a phone. */
  .masthead-cta { display: none; }
  .masthead > .wrap { min-height: 3.9rem; gap: 1rem; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.75rem; }
  .board { padding-block: 2.5rem 3.25rem; }
  .board-title { max-width: 100%; }
  .board-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
  .board-facts dd { font-size: 0.88rem; }
  .band { padding-block: 3.25rem; }
  .page-head h1 { max-width: 100%; }
  .callbar { display: flex; }
  .foot { padding-bottom: 5.5rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: span 2; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-2 { grid-column: auto; }
  .cols-2, .cols-3 { columns: 1; }
  .kv > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .schedule th, .schedule td { font-size: 0.85rem; }
  .schedule td { padding-block: 0.72rem; }
  .docket-row { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
}

@media (max-width: 560px) {
  .utility > .wrap > .sign { display: none; }
  .utility-list li:nth-child(1) { display: flex; }
  .demo .wrap { padding-block: 0.45rem; row-gap: 0.3rem; }
  /* On a phone the strip is two lines: the tag and the way out on the first,
     the short notice under them. The old rule hid every span here, which left
     the link floating alone with nothing to explain it. */
  .demo-tag { order: 1; }
  .demo-more { order: 2; margin-left: auto; }
  .demo-short { order: 3; flex-basis: 100%; }
  /* Two actions stacked at their own widths left a ragged edge on the left of
     the hero; on a phone they run the full measure, which is easier to hit. */
  .board-actions { flex-direction: column; align-items: stretch; }
  .board-actions .btn { width: 100%; }
  .board-title { font-size: clamp(2.2rem, 10vw, 2.85rem); }
  .quick-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* A coin row is symbol, name, network. On a phone the network is too long to
     sit beside the name, so it goes under it, still aligned to the name. */
  .coin-chips li { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .coin-chips .n { grid-column: 2; }
  /* The bar keeps both actions and drops the number it no longer has room for. */
  .callbar-num { display: none; }
  .quick-amounts button { padding-inline: 0.35rem; }
  .slip { padding: 1.1rem; }
  .slip::after { display: none; }
  .board-facts { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .board-facts > div { border-bottom: 1px solid var(--line-soft); padding-bottom: 0.6rem; }
  .board-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-brand { grid-column: auto; }
  .btn-row { width: 100%; }
  .btn-row > .btn { flex: 1 1 auto; }
  .page-head-actions .btn-row > .btn { flex: 1 1 100%; }
  table.data { min-width: 26rem; }
  .nav-toggle > summary { padding-inline: 0.7rem; }
  .nav-toggle-text { display: none; }
}

/* Galaxy Fold cover screens are 280px wide. The header row needs two pixels
   more room than it has there, and a three-column coin row cannot hold a
   network name: both tighten rather than push the page sideways. */
@media (max-width: 340px) {
  .wrap { padding-inline: 0.85rem; }
  .masthead > .wrap { gap: 0.75rem; }
  .utility > .wrap { gap: 0.5rem; }
  .coin { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.3rem 0.7rem; }
  .coin > span:nth-of-type(2) { grid-column: 2; }
}

/* ── motion ───────────────────────────────────────────────────────────────── */
@starting-style {
  .slip { opacity: 0; transform: translateY(6px); }
}
.slip { transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .slip { transition: none; opacity: 1; transform: none; }
}

/* ============================================================================
   Home — the telecom surface
   ----------------------------------------------------------------------------
   The front page is an instrument, not a brochure. It borrows the shape of a
   telecom landing page — a live line, a device on the right, a payment rail,
   and plain facts underneath — and keeps the bail-office content intact.
   Everything here is scoped to .page-home so the document pages keep the
   original ink-and-paper system.
   ========================================================================== */
.page-home {
  --font-telecom: "Archivo", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  --ground: #04070E;
  --ground-deep: #02040A;
  --ground-raise: #0A1122;
  --mist: #050914;
  --ink: #F3F7FF;
  --slate: #A9B8D0;
  --on-black: #8fa296;
  --on-dark: #ffffff;
  --line: #18233A;
  --line-2: #263754;
  --line-soft: #111A2C;
  --line-3: #31466A;
  --fine: #7D8CA6;

  --plate: #3B82F6;
  --plate-hover: #60A5FA;
  --on-plate: #050B18;
  --accent: #3B82F6;
  --accent-deep: #1746B8;
  --focus: #3B82F6;

  --tc-panel: #0A1120;
  --tc-panel-2: #0C1428;
  --tc-signal: #3B82F6;
  --tc-signal-ink: #050B18;
  --tc-signal-dim: #12264F;
  --tc-muted: #93A3BE;
  --tc-soft: #C8D3E6;

  font-family: var(--font-telecom);
  background: var(--ground);
  color: var(--ink);
}
.page-home h1,
.page-home h2,
.page-home h3,
.page-home h4,
.page-home .brand-name,
.page-home .foot h3 { font-family: var(--font-telecom); }
.page-home .sign,
.page-home .cap,
.page-home .figure,
.page-home .mono,
.page-home .ref,
.page-home .brand-sub { font-family: var(--font-data); }

.page-home .masthead-phone .num { color: var(--tc-signal); }
.page-home .masthead-phone .lbl { color: var(--tc-muted); }
.page-home .masthead .btn-solid { border-radius: 8px; }
.page-home .utility { background: #02040A; }
.page-home .foot { font-family: var(--font-telecom); }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.tc-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3.25rem, 6vw, 6rem) clamp(3rem, 5vw, 4.75rem);
  border-bottom: 1px solid var(--line);
  background: #04070E;
}
.tc-hero-glow {
  position: absolute;
  z-index: 0;
  top: -28rem;
  right: -18rem;
  width: 72rem;
  height: 72rem;
  background: radial-gradient(circle, rgba(59,130,246, 0.19) 0%, rgba(59,130,246, 0.07) 31%, rgba(59,130,246, 0) 66%);
  pointer-events: none;
}
.tc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  pointer-events: none;
}
.tc-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(21rem, 0.88fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}
.tc-hero-copy { max-width: 40rem; }

.tc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2rem;
  padding: 0.3rem 0.72rem;
  border: 1px solid #1F2D4B;
  border-radius: 999px;
  background: rgba(59,130,246, 0.07);
  color: var(--tc-soft);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}
.tc-pip {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--tc-signal);
  box-shadow: 0 0 0 4px rgba(59,130,246, 0.12);
  animation: tc-pulse 2.6s ease-in-out infinite;
}
@keyframes tc-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(59,130,246, 0.12); }
  50% { box-shadow: 0 0 0 7px rgba(59,130,246, 0.03); }
}

.tc-title {
  margin-top: 1.35rem;
  font-size: clamp(2.7rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.06em;
}
.tc-title-line { display: block; }
.tc-title em { color: var(--tc-signal); font-style: normal; }
@media (min-width: 1081px) {
  .tc-title-line { white-space: nowrap; }
}
.tc-lede {
  margin-top: 1.6rem;
  max-width: 47ch;
  color: var(--tc-soft);
  font-size: clamp(1.03rem, 1.25vw, 1.14rem);
  line-height: 1.65;
}
.tc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.7rem;
  margin-top: 1.9rem;
}
.tc-call {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.4rem;
  padding: 0.55rem 1.05rem 0.55rem 0.65rem;
  border: 1px solid var(--tc-signal);
  border-radius: 9px;
  background: var(--tc-signal);
  color: var(--tc-signal-ink);
  text-decoration: none;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), transform 120ms var(--ease-out);
}
.tc-call:hover { background: #60A5FA; border-color: #60A5FA; text-decoration: none; }
.tc-call:active { transform: translateY(1px); }
.tc-call-icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 2.3rem;
  border-radius: 7px;
  background: rgba(4, 19, 10, 0.12);
}
.tc-call-text { display: grid; gap: 0.08rem; text-align: left; }
.tc-call-label {
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0.7;
}
.tc-call-number {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.4rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--tc-line-2);
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-telecom);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease), transform 120ms var(--ease-out);
}
.tc-btn:hover { border-color: var(--ink); background: #0D1526; text-decoration: none; }
.tc-btn:active { transform: translateY(1px); }
.tc-btn-solid { background: var(--tc-signal); border-color: var(--tc-signal); color: var(--tc-signal-ink); }
.tc-btn-solid:hover { background: #60A5FA; border-color: #60A5FA; color: var(--tc-signal-ink); }
.tc-btn-ghost { border-color: #2F4166; background: rgba(255, 255, 255, 0.018); }
.tc-btn-ghost:hover { border-color: #6F8FC0; background: #0D1526; }
.tc-placeholder {
  margin-top: 0.65rem;
  color: var(--tc-muted);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.tc-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-top: 1.8rem;
  color: var(--tc-soft);
  font-size: 0.8rem;
}
.tc-points > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.tc-check {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid #2F4264;
  border-radius: 50%;
  color: var(--tc-signal);
  font-family: var(--font-data);
  font-size: 0.58rem;
  line-height: 1;
}
.tc-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  margin-top: 1.6rem;
  color: var(--tc-muted);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}
.tc-arrow-link:hover { color: var(--tc-signal); text-decoration: none; }

/* ── the calculator, presented as a handset ──────────────────────────────── */
.tc-calc {
  position: relative;
  width: min(100%, 29rem);
  justify-self: end;
  padding: 0.6rem;
  border: 1px solid #2F4264;
  border-radius: 2.25rem;
  background: linear-gradient(180deg, #0D1526 0%, #050914 58%, #0A1120 100%);
  box-shadow:
    0 2.5rem 6rem rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(59,130,246, 0.04),
    0 0 5rem rgba(59,130,246, 0.07);
}
.tc-calc::before {
  content: "";
  position: absolute;
  top: 0.77rem;
  left: 50%;
  width: 4.4rem;
  height: 0.27rem;
  border-radius: 999px;
  background: #1E2B47;
  transform: translateX(-50%);
}
.tc-calc-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.05rem 0.8rem;
}
.tc-calc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #dbe8df;
}
.tc-calc-mark {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid #223254;
  border-radius: 4px;
  background: #0A1220;
  color: var(--tc-signal);
  font-family: var(--font-data);
  font-size: 0.66rem;
  font-weight: 500;
}
.tc-calc-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--tc-signal);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.tc-calc-live .tc-pip { width: 5px; height: 5px; flex-basis: 5px; animation: none; box-shadow: none; }
.tc-calc-screen {
  position: relative;
  overflow: hidden;
  padding: clamp(1.2rem, 2.4vw, 1.65rem);
  border: 1px solid #223254;
  border-radius: 1.8rem;
  background:
    radial-gradient(130% 85% at 50% 0%, rgba(59,130,246, 0.11) 0%, rgba(59,130,246, 0.025) 36%, transparent 66%),
    #070B16;
}
.tc-calc-kicker {
  color: var(--tc-muted);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.tc-calc-label {
  display: block;
  margin-top: 1.35rem;
  color: var(--tc-soft);
  font-size: 0.76rem;
  font-weight: 500;
}
.tc-calc-amount {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-top: 0.4rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #263754;
}
.tc-calc-amount > span {
  color: var(--tc-muted);
  font-family: var(--font-data);
  font-size: 1.35rem;
}
.tc-calc-amount input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-telecom);
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.tc-calc-amount input:focus-visible { outline: 2px solid var(--tc-signal); outline-offset: 6px; }
.tc-calc-hint {
  margin-top: 0.55rem;
  color: var(--tc-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
.tc-calc-hint a { color: var(--tc-soft); text-decoration-color: #2F4264; }
.tc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: 0.9rem;
}
.tc-quick button {
  min-height: 2rem;
  padding: 0.35rem 0.52rem;
  border: 1px solid #263754;
  border-radius: 999px;
  background: transparent;
  color: #A9B8D0;
  font-family: var(--font-data);
  font-size: 0.66rem;
  letter-spacing: 0.01em;
  transition: color 120ms var(--ease), border-color 120ms var(--ease), background-color 120ms var(--ease);
}
.tc-quick button:hover { color: var(--ink); border-color: #3A4F76; }
.tc-quick button[aria-pressed="true"] {
  border-color: var(--tc-signal);
  background: rgba(59,130,246, 0.12);
  color: var(--tc-signal);
}
.tc-calc-optional {
  margin-left: 0.35rem;
  color: var(--tc-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}
.tc-calc-select {
  position: relative;
  margin-top: 0.35rem;
}
.tc-calc-select::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--tc-muted);
  border-bottom: 1.5px solid var(--tc-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.tc-calc-select select {
  width: 100%;
  min-height: 2.55rem;
  appearance: none;
  padding: 0.62rem 2.2rem 0.62rem 0.72rem;
  border: 1px solid #263754;
  border-radius: 9px;
  background: #0A1122;
  color: var(--ink);
  font-family: var(--font-telecom);
  font-size: 0.84rem;
  line-height: 1.3;
  cursor: pointer;
}
.tc-calc-select select:focus-visible {
  outline: 2px solid var(--tc-signal);
  outline-offset: 3px;
}
.tc-calc-hint[data-county-status] { min-height: 2.3em; }
.tc-ledger { margin-top: 1.2rem; }
.tc-ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.48rem;
  border-top: 1px solid #121D31;
  color: var(--tc-muted);
  font-size: 0.77rem;
}
.tc-ledger-row:first-child { border-top: 0; }
.tc-value {
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.tc-value-quiet { color: #a8baae; font-size: 0.75rem; }
.tc-ledger-total { margin-top: 0.15rem; padding-top: 0.75rem; border-top-color: #2F4264 !important; }
.tc-ledger-total > span:first-child { color: var(--ink); font-weight: 600; }
.tc-ledger-total .tc-value { color: var(--tc-signal); font-size: 1.55rem; font-weight: 500; letter-spacing: -0.03em; }
.tc-ledger-note {
  min-height: 1.1em;
  margin-top: 0.55rem;
  color: var(--tc-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}
.tc-calc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.1rem;
  margin-top: 1.1rem;
  padding: 0.7rem 0.95rem;
  border-radius: 8px;
  background: var(--tc-signal);
  color: var(--tc-signal-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 140ms var(--ease), transform 120ms var(--ease-out);
}
.tc-calc-cta:hover { background: #60A5FA; color: var(--tc-signal-ink); text-decoration: none; }
.tc-calc-cta:active { transform: translateY(1px); }
.tc-calc-cta span:last-child { font-family: var(--font-data); font-weight: 400; }
.tc-calc-fine {
  margin-top: 0.72rem;
  color: #7D8CA6;
  font-size: 0.75rem;
  line-height: 1.45;
}
.tc-calc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.05rem 0.55rem;
  color: #7D8CA6;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.tc-calc-foot a { display: inline-flex; align-items: center; min-height: 24px; padding-block: 2px; color: #9DB0CB; text-decoration: none; }
.tc-calc-foot a:hover { color: var(--tc-signal); }

/* ── the payment rail ────────────────────────────────────────────────────── */
.tc-pay-strip {
  padding-block: 1.35rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: #04070E;
}
.tc-pay-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}
.tc-pay-label {
  color: var(--tc-soft);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}
.tc-pay-sub {
  margin-top: 0.28rem;
  color: var(--tc-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
.tc-pay-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 24px;
  color: var(--tc-soft);
  font-family: var(--font-data);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.tc-pay-link:hover { color: var(--tc-signal); }

/* The marquee is one long flex track. Each item carries its own right padding,
   so two full copies are exactly 50% of the track and the reset lands on the
   same pixel the first copy started from. */
.tc-marquee {
  max-width: min(1180px, calc(100% - 2.5rem));
  margin: 0.95rem auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(59,130,246, 0.05), transparent 18%, transparent 82%, rgba(59,130,246, 0.05)),
    #070B16;
  padding-block: 0.7rem;
}
.tc-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tc-marquee 32s linear infinite;
  will-change: transform;
}
.tc-marquee:hover .tc-marquee-track,
.tc-marquee:focus-within .tc-marquee-track { animation-play-state: paused; }
.tc-marquee-item {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  padding-right: 56px;
  white-space: nowrap;
}
.tc-marquee-mark {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  overflow: hidden;
  border-radius: 50%;
}
.tc-marquee-mark svg { display: block; width: 100%; height: 100%; }
.tc-marquee-text { display: flex; align-items: baseline; gap: 0.38rem; }
.tc-marquee-symbol {
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tc-marquee-name {
  color: var(--tc-muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.tc-pay-note {
  margin-top: 0.65rem;
  color: var(--tc-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
@keyframes tc-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 640px) {
  .tc-pay-head { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .tc-pay-link { align-self: flex-start; }
  .tc-marquee { max-width: calc(100% - 1.25rem); }
  .tc-marquee-item { padding-right: 48px; }
  .tc-marquee-symbol { font-size: 0.8rem; }
  .tc-marquee-name { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-marquee { overflow-x: auto; }
  .tc-marquee-track { animation: none; }
}

/* ── plain facts ─────────────────────────────────────────────────────────── */
.tc-stats {
  padding-block: 2.1rem;
  border-bottom: 1px solid var(--line);
  background: #04070E;
}
.tc-stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tc-stat {
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid #16223A;
}
.tc-stat:first-child { padding-left: 0; border-left: 0; }
.tc-stat strong {
  display: block;
  color: var(--ink);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}
.tc-stat strong i { color: var(--tc-signal); font-style: normal; font-size: 0.56em; letter-spacing: -0.02em; }
.tc-stat span {
  display: block;
  margin-top: 0.5rem;
  color: #8190A8;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── section frame ───────────────────────────────────────────────────────── */
.tc-band,
.tc-video-band,
.tc-desk,
.tc-close { scroll-margin-top: 5.75rem; }
.tc-band {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  background: #04070E;
}
.tc-band-alt { background: #050914; }
.tc-section-head { max-width: 45rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.tc-section-head-center { margin-inline: auto; text-align: center; }
.tc-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--tc-signal);
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.tc-section-head h2,
.tc-video-copy h2,
.tc-desk h2,
.tc-close h2 {
  max-width: 17ch;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.tc-section-head-center h2 { max-width: 22ch; margin-inline: auto; }
.tc-section-head p {
  margin-top: 1rem;
  color: var(--tc-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.tc-section-head-center p { margin-inline: auto; max-width: 44ch; }

/* ── feature cards ───────────────────────────────────────────────────────── */
.tc-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.tc-feature {
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  border: 1px solid #16223A;
  border-radius: 14px;
  background: linear-gradient(180deg, #0A1122 0%, #070B16 100%);
}
.tc-feature-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.25rem;
  border: 1px solid #1F2D4B;
  border-radius: 9px;
  background: rgba(59,130,246, 0.08);
  color: var(--tc-signal);
}
.tc-feature h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.tc-feature p {
  margin-top: 0.62rem;
  color: var(--tc-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ── the three steps ─────────────────────────────────────────────────────── */
.tc-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.tc-step {
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  border: 1px solid #16223A;
  border-radius: 14px;
  background: #0A1120;
}
.tc-step-num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--tc-signal);
  color: var(--tc-signal-ink);
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-weight: 500;
}
.tc-step h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.tc-step p {
  margin-top: 0.62rem;
  color: var(--tc-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}
.tc-step-meta {
  display: block;
  margin-top: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #121D31;
  color: #7D8CA6;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tc-under-link {
  margin-top: 1.6rem;
  color: var(--tc-muted);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.tc-under-link a { color: var(--tc-soft); text-decoration-color: #2F4264; }
.tc-under-link a:hover { color: var(--tc-signal); }

/* ── Cash App walkthrough ────────────────────────────────────────────────── */
.tc-video-band {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(75% 110% at 84% 20%, rgba(59,130,246, 0.09) 0%, transparent 62%),
    #050914;
}
.tc-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.tc-video-copy h2 { max-width: 12ch; }
.tc-video-lede {
  margin-top: 1rem;
  max-width: 42ch;
  color: var(--tc-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.tc-video-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.6rem;
}
.tc-video-list li {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  color: var(--tc-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}
.tc-video-list li span {
  flex: 0 0 1.25rem;
  color: var(--tc-signal);
  font-family: var(--font-data);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}
.tc-video-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.7rem; }
.tc-video-actions .tc-btn { min-height: 2.9rem; padding: 0.55rem 0.9rem; font-size: 0.84rem; }
.tc-video-safe {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid #1E2B47;
  max-width: 44ch;
  color: #7D8CA6;
  font-size: 0.78rem;
  line-height: 1.55;
}
.tc-video-frame {
  margin: 0;
  padding: 0.45rem;
  border: 1px solid #1E2B47;
  border-radius: 16px;
  background: #02040A;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.45);
}
.tc-video-media { position: relative; border-radius: 12px; overflow: hidden; background: #000; }
.tc-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #000;
}
.tc-video-play { display: none; }
.tc-video-frame.has-video-ui .tc-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(3,5,4,0) 0%, rgba(3,5,4,.24) 100%);
  color: #fff;
  cursor: pointer;
}
.tc-video-play:focus-visible { outline: 3px solid var(--tc-signal); outline-offset: -3px; }
.tc-video-play-ui {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(3,7,5,.72);
  box-shadow: 0 0.8rem 2rem rgba(0,0,0,.35);
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tc-video-play-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  border-radius: 50%;
  background: var(--tc-signal);
  color: #050B18;
  font-size: 0.8rem;
}
.tc-video-play-icon::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.12rem;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.64rem solid currentColor;
}
.tc-video-frame figcaption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.55rem 0.2rem;
  color: #8190A8;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
}
.tc-video-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--tc-signal);
}
.tc-transcript {
  margin-top: 2rem;
  border-top: 1px solid #1E2B47;
  padding-top: 0.35rem;
}
.tc-transcript summary {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--tc-soft);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}
.tc-transcript summary:hover { color: var(--tc-signal); }
.tc-transcript-body {
  max-width: 76ch;
  padding-top: 0.55rem;
  color: var(--tc-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}
.tc-transcript-body p + p { margin-top: 0.8rem; }
.tc-transcript-body ol { margin-top: 0.9rem; padding-left: 1.2rem; list-style: decimal; display: grid; gap: 0.5rem; }
.tc-transcript-body li::marker { font-family: var(--font-data); color: #7D8CA6; font-size: 0.8em; }
.tc-transcript-body strong { color: var(--tc-soft); }
.tc-transcript-body a { color: var(--tc-signal); }

/* ── the desk ────────────────────────────────────────────────────────────── */
.tc-desk { background: #050914; }
.tc-desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.86fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.tc-desk-lede {
  margin-top: 1rem;
  max-width: 45ch;
  color: var(--tc-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.tc-desk-card {
  padding: 0.35rem 1.35rem;
  border: 1px solid #16223A;
  border-radius: 14px;
  background: #0A1120;
}
.tc-desk-row {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.95rem;
  border-top: 1px solid #121D31;
}
.tc-desk-row:first-child { border-top: 0; }
.tc-desk-row > span {
  color: #7D8CA6;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}
.tc-desk-row strong {
  color: #dbe8df;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
}
.tc-desk-row a { display: inline-flex; align-items: center; min-height: 24px; padding-block: 2px; color: var(--tc-signal); text-decoration-color: #1F2D4B; }
.tc-desk-row a:hover { text-decoration-color: currentColor; }

/* ── fine print ──────────────────────────────────────────────────────────── */
.tc-fine {
  border-bottom: 1px solid var(--line);
  background: #02040A;
}
.tc-fine .wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: 2.5rem;
}
.tc-fine-item strong { display: block; color: #cfddd2; font-size: 0.8rem; font-weight: 600; }
.tc-fine-item p { margin-top: 0.4rem; color: #7D8CA6; font-size: 0.75rem; line-height: 1.6; }
.tc-fine-item a { color: #A9B8D0; text-decoration-color: #223254; }
.tc-fine-item a:hover { color: var(--tc-signal); }

/* ── close ───────────────────────────────────────────────────────────────── */
.tc-close {
  padding-block: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(65% 130% at 20% 100%, rgba(59,130,246, 0.11) 0%, transparent 66%),
    #04070E;
}
.tc-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.tc-close h2 { max-width: 10ch; font-size: clamp(2.4rem, 5vw, 4.25rem); }
.tc-close p {
  margin-top: 1rem;
  max-width: 44ch;
  color: var(--tc-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.tc-close-actions { display: grid; gap: 1rem; justify-items: start; }
.tc-close-actions .tc-call { width: 100%; justify-content: flex-start; }
.tc-close-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tc-close-buttons .tc-btn { min-height: 2.9rem; padding: 0.55rem 0.9rem; font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  .tc-pip { animation: none; }
}

@media (max-width: 1080px) {
  .tc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .tc-hero-copy { max-width: 44rem; }
  .tc-calc { justify-self: start; width: min(100%, 34rem); }
  .tc-video-grid { grid-template-columns: minmax(0, 1fr); }
  .tc-video-frame { max-width: 48rem; }
  .tc-desk-grid { grid-template-columns: minmax(0, 1fr); }
  .tc-close-grid { grid-template-columns: minmax(0, 1fr); }
  .tc-close h2 { max-width: 14ch; }
}

@media (max-width: 900px) {
  .tc-feature-grid,
  .tc-step-grid { grid-template-columns: minmax(0, 1fr); }
  .tc-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0; }
  .tc-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .tc-fine .wrap { grid-template-columns: minmax(0, 1fr); }
  .tc-pay-strip .wrap { grid-template-columns: minmax(0, 1fr); }
  .tc-pay-note { grid-column: auto; }
}

@media (max-width: 720px) {
  .tc-hero { padding-block: 2.5rem 3rem; }
  .tc-hero-glow { top: -18rem; right: -24rem; opacity: 0.8; }
  .tc-title { font-size: clamp(2.55rem, 11vw, 3.8rem); }
  .tc-lede { font-size: 1rem; }
  .tc-hero-actions { flex-direction: column; align-items: stretch; }
  .tc-call { justify-content: flex-start; }
  .tc-calc { width: 100%; max-width: 34rem; }
  .tc-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-desk-row { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
  .tc-close-buttons { width: 100%; }
  .tc-close-buttons .tc-btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {
  .tc-hero-grid { gap: 2rem; }
  .tc-eyebrow { font-size: 0.75rem; letter-spacing: 0.1em; }
  .tc-title { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .tc-call-number { font-size: 1rem; }
  .tc-calc { padding: 0.4rem; border-radius: 1.8rem; }
  .tc-calc-chrome { padding: 1.05rem 0.8rem 0.65rem; }
  .tc-calc-brand { font-size: 0.78rem; }
  .tc-calc-screen { padding: 1.05rem; border-radius: 1.45rem; }
  .tc-calc-amount input { font-size: 2.55rem; }
  .tc-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tc-quick button { padding-inline: 0.25rem; }
  .tc-calc-foot { padding-inline: 0.8rem; font-size: 0.75rem; }
  .tc-coins { gap: 0.3rem; }
  .tc-coins li { min-height: 1.95rem; font-size: 0.75rem; padding-right: 0.5rem; }
  .tc-coin-mark { width: 1.35rem; height: 1.35rem; flex-basis: 1.35rem; font-size: 0.72rem; }
  .tc-coin-net { display: none; }
  .tc-stat { padding-inline: 1rem; }
  .tc-stat strong { font-size: 2.1rem; }
  .tc-section-head h2,
  .tc-video-copy h2,
  .tc-desk h2 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  .tc-video-frame { padding: 0.3rem; border-radius: 12px; }
  .tc-video-frame video { border-radius: 9px; }
  .tc-video-frame figcaption { font-size: 0.75rem; }
  .tc-close h2 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .tc-close-buttons { flex-direction: column; align-items: stretch; }
  .tc-close-buttons .tc-btn { width: 100%; }
}

@media (max-width: 340px) {
  .tc-title { font-size: 2.2rem; }
  .tc-call { padding-right: 0.7rem; }
  .tc-call-number { font-size: 0.92rem; }
  .tc-calc-amount input { font-size: 2.2rem; }
  .tc-calc-foot { display: block; line-height: 1.7; }
  .tc-calc-foot a { display: inline-flex; min-height: 24px; }
}


/* ============================================================================
   Public telecom skin
   ----------------------------------------------------------------------------
   Every public page is the same instrument as the front page: a black field
   with an electric-blue rail, one large sentence, a bond line on the right, and a payment rail
   underneath. Document surfaces (the agreement, the invoice receipt, the
   signature pad) keep their paper scope, so the legal record is still a sheet
   you could hand to a court while the shell around it stays consistent.
   ========================================================================== */
.telecom {
  --font-telecom: "Archivo", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-body: var(--font-telecom);

  --ground: #04070E;
  --ground-deep: #02040A;
  --ground-raise: #0A1122;
  --mist: #050914;
  --ink: #F3F7FF;
  --slate: #A9B8D0;
  --on-black: #9DB0CB;
  --on-dark: #ffffff;
  --line: #18233A;
  --line-2: #263754;
  --line-soft: #111A2C;
  --line-3: #31466A;
  --fine: #7D8CA6;

  --plate: #3B82F6;
  --plate-hover: #60A5FA;
  --on-plate: #050B18;
  --accent: #3B82F6;
  --accent-deep: #1746B8;
  --focus: #3B82F6;

  --tc-panel: #0A1120;
  --tc-panel-2: #0C1428;
  --tc-signal: #3B82F6;
  --tc-signal-ink: #050B18;
  --tc-muted: #93A3BE;
  --tc-soft: #C8D3E6;

  --success: #3B82F6;
  --success-bg: #102347;
  --success-line: #23539C;
  --warning: #f1c56b;
  --warning-bg: #281f0e;
  --warning-line: #665028;
  --danger: #ff927d;
  --danger-bg: #2a1210;
  --danger-line: #6d2c23;
  --white: #ffffff;
  --selection-bg: #3B82F6;
  --selection-ink: #050B18;

  --r: 14px;
  --r-sm: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  font-family: var(--font-telecom);
  background: var(--ground);
  color: var(--ink);
}
.telecom h1,
.telecom h2,
.telecom h3,
.telecom h4,
.telecom .brand-name,
.telecom .foot h3 {
  font-family: var(--font-telecom);
  font-weight: 600;
  letter-spacing: -0.038em;
}
.telecom h1 { line-height: 1.02; }
.telecom .btn,
.telecom .tag,
.telecom .chip,
.telecom .input,
.telecom .select,
.telecom .textarea,
.telecom .sec-rule,
.telecom .sign,
.telecom .figure,
.telecom .mono { font-family: var(--font-data); }
.telecom .btn,
.telecom .input,
.telecom .select,
.telecom .textarea { font-family: var(--font-telecom); }

/* ── chrome ─────────────────────────────────────────────────────────────── */
.telecom .masthead {
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.telecom .masthead-phone .num { color: var(--tc-signal); }
.telecom .masthead-phone .lbl { color: var(--tc-muted); }
.telecom .brand-name { font-weight: 700; letter-spacing: -0.02em; }
.telecom .brand-sub { color: var(--tc-muted); font-family: var(--font-data); }
.telecom .utility { background: #02040A; border-bottom: 1px solid var(--line); }
.telecom .utility-list,
.telecom .utility .sign { color: #84978b; }
.telecom .utility a { color: #b8c9bd; }
.telecom .demo { background: #070B16; border-bottom: 1px solid #16223A; }
.telecom .demo-tag { background: var(--tc-signal); color: var(--tc-signal-ink); }
.telecom .demo a { color: #CFE0FF; }
.telecom .nav a,
.telecom .nav summary { font-family: var(--font-telecom); color: #aebfb3; }
.telecom .nav a:hover,
.telecom .nav summary:hover { color: var(--ink); border-bottom-color: var(--tc-signal); }
.telecom .nav a[aria-current="page"] { color: var(--tc-signal); border-bottom-color: var(--tc-signal); }
.telecom .nav details > ul { background: #070B16; border-color: var(--line-2); border-radius: 10px; }
.telecom .nav details > ul a:hover { background: #111A2C; }
.telecom .nav-toggle > summary { border-radius: 8px; }
.telecom .nav-toggle[open] > summary { border-color: var(--tc-signal); }
.telecom .nav-toggle nav { background: #070B16; border-radius: 12px; border-color: var(--line-2); }
.telecom .nav-toggle nav a:hover { background: #111A2C; }
.telecom .callbar { background: rgba(5, 8, 6, 0.97); border-top-color: var(--line-2); }
.telecom .foot { font-family: var(--font-telecom); background: #02040A; }
.telecom .foot h3 { color: #dce9e0; font-family: var(--font-data); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.telecom .foot a { color: #A9B8D0; }
.telecom .foot a:hover { color: var(--tc-signal); }
.telecom .foot-phone { color: var(--tc-signal); }

/* ── page hero ──────────────────────────────────────────────────────────── */
.telecom .page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.25rem, 6.2vw, 5.8rem) clamp(3rem, 5vw, 4.75rem);
  border-bottom: 1px solid var(--line);
  background: #04070E;
}
.telecom .page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
  pointer-events: none;
}
.telecom .tc-pagehead-glow {
  position: absolute;
  z-index: 0;
  top: -24rem;
  right: -16rem;
  width: 64rem;
  height: 64rem;
  background: radial-gradient(circle, rgba(59,130,246, 0.17) 0%, rgba(59,130,246, 0.05) 34%, rgba(59,130,246, 0) 67%);
  pointer-events: none;
}
.telecom .tc-pagehead-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(19rem, 0.84fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: end;
}
.telecom .tc-pagehead-copy { max-width: 44rem; }
.telecom .page-head .breadcrumb { color: var(--tc-muted); }
.telecom .page-head .breadcrumb li + li::before { color: #2F4264; }
.telecom .page-head .breadcrumb a { color: #A9B8D0; }
.telecom .page-head .breadcrumb a:hover { color: var(--tc-signal); }
.telecom .tc-pagehead-copy .tc-eyebrow { margin-bottom: 1rem; }
.telecom .page-head h1 {
  margin-top: 0.2rem;
  max-width: 18ch;
  font-size: clamp(2.7rem, 4.8vw, 4.6rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.052em;
  text-wrap: balance;
}
.telecom .page-head .lede {
  margin-top: 1.25rem;
  max-width: 58ch;
  color: var(--tc-soft);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
}
.telecom .page-head-actions { margin-top: 1.8rem; }
.telecom .page-head-actions .btn-row { gap: 0.6rem; }
.telecom .page-head-actions .btn { border-radius: 9px; }
.telecom .placeholder-note { margin-top: 0.7rem; color: var(--tc-muted); font-size: 0.75rem; }
.telecom .tc-pagehead-card {
  position: relative;
  align-self: end;
  padding: 1.3rem;
  border: 1px solid #2F4264;
  border-radius: 20px;
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(59,130,246, 0.11) 0%, rgba(59,130,246, 0.02) 42%, transparent 70%),
    #0A1120;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.38), 0 0 4rem rgba(59,130,246, 0.05);
}
.telecom .tc-pagehead-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}
.telecom .tc-pagehead-card-tag {
  max-width: 12rem;
  color: #8190A8;
  font-family: var(--font-data);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: right;
}
.telecom .tc-pagehead-phone {
  display: block;
  margin-top: 1.25rem;
  color: var(--tc-signal);
  text-decoration: none;
}
.telecom .tc-pagehead-phone:hover { text-decoration: none; }
.telecom .tc-pagehead-phone:hover .tc-pagehead-number { text-decoration: underline; text-underline-offset: 0.16em; }
.telecom .tc-pagehead-number {
  display: block;
  margin-top: 0.18rem;
  color: var(--tc-signal);
  font-size: clamp(1.7rem, 2.7vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.telecom .tc-pagehead-note {
  margin-top: 0.7rem;
  color: var(--tc-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}
.telecom .tc-pagehead-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.telecom .tc-pagehead-actions .tc-btn {
  min-height: 2.8rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
}
.telecom .tc-pagehead-fine {
  margin-top: 0.8rem;
  color: #7D8CA6;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ── sections ───────────────────────────────────────────────────────────── */
.telecom .band {
  padding-block: clamp(3.5rem, 6.5vw, 5.75rem);
  border-top: 1px solid var(--line);
  background: #04070E;
}
.telecom .band-tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.telecom .band-mist { background: #050914; }
.telecom .band-black { background: #02040A; }
.telecom .band > .wrap > * + * { margin-top: clamp(1.75rem, 3.2vw, 2.75rem); }
.telecom .sec-head h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 3.35vw, 3.05rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.telecom .sec-head .lede,
.telecom .lede { color: var(--tc-muted); }
.telecom .sec-rule {
  color: var(--tc-signal);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
}
.telecom .sec-rule::after { background: #1F2D4B; }
.telecom .sec-body { margin-top: clamp(1.75rem, 3.2vw, 2.75rem); }

/* ── reading copy ───────────────────────────────────────────────────────── */
.telecom .prose { max-width: 72ch; }
.telecom .prose h2 {
  margin-top: 2.35rem;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.telecom .prose h2:first-child { margin-top: 0; }
.telecom .prose h3 { margin-top: 1.8rem; font-size: 1.2rem; }
.telecom .prose p,
.telecom .prose li {
  color: #b8c8bc;
  font-size: 1rem;
  line-height: 1.72;
}
.telecom .prose p + p { margin-top: 0.95rem; }
.telecom .prose ul,
.telecom .prose ol { margin-top: 1rem; padding-left: 1.2rem; display: grid; gap: 0.55rem; }
.telecom .prose li::marker { color: var(--tc-signal); font-family: var(--font-data); font-size: 0.85em; }
/* The tutorial step list is itself the .prose element, so the nested-list rule
   above never reaches it. Give it its own gutter or the markers render outside
   the viewport on a phone. */
.telecom ol.prose,
.telecom ul.prose { padding-left: 1.6rem; }
.telecom ol.prose > li::marker {
  color: var(--tc-signal);
  font-family: var(--font-data);
  font-size: 0.85em;
}
.telecom .prose a { color: var(--tc-signal); text-decoration-color: #2F4264; }
.telecom .prose a:hover { text-decoration-color: currentColor; }
.telecom .prose strong { color: var(--ink); font-weight: 600; }
.telecom .prose .figure { color: #c3d1c7; }
.telecom .muted { color: var(--tc-muted); }

/* ── cards, notices, plaques ────────────────────────────────────────────── */
.telecom .panel {
  border: 1px solid #16223A;
  border-radius: 14px;
  background: linear-gradient(180deg, #0A1122 0%, #070B16 100%);
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.12);
}
.telecom .panel-head { background: #050914; border-bottom-color: var(--line); }
.telecom .panel-head h2,
.telecom .panel-head h3 { color: var(--ink); font-weight: 600; }
.telecom .panel > p,
.telecom .panel > .panel-body p { color: var(--tc-muted); }
.telecom .notice {
  border: 1px solid #263754;
  border-radius: 14px;
  background: #0A1120;
}
.telecom .notice h2,
.telecom .notice h3 { color: var(--ink); font-weight: 600; }
.telecom .notice p,
.telecom .notice li { color: #b1c2b6; }
.telecom .notice-danger { border-color: var(--danger-line); background: var(--danger-bg); }
.telecom .notice-warn { border-color: var(--warning-line); background: var(--warning-bg); }
.telecom .notice-good { border-color: var(--success-line); background: var(--success-bg); }
.telecom .notice-black { background: #02040A; border-color: var(--line); }
.telecom .plaque { border-top: 1px solid #263754; }
.telecom .plaque-accent { border-top-color: var(--tc-signal); }
.telecom .plaque h2,
.telecom .plaque h3 { color: var(--ink); font-weight: 600; }
.telecom .plaque p { color: var(--tc-muted); }
.telecom .tag,
.telecom .chip {
  border-radius: var(--r-pill);
  border-color: #263754;
  background: #0A1120;
  color: #B9C7DD;
  font-size: 0.75rem;
}
.telecom .tag-black { border-color: #2F4264; color: var(--tc-signal); }
.telecom .chip-good { border-color: var(--success-line); background: var(--success-bg); color: var(--success); }
.telecom .chip-warn { border-color: var(--warning-line); background: var(--warning-bg); color: var(--warning); }
.telecom .chip-danger { border-color: var(--danger-line); background: var(--danger-bg); color: var(--danger); }

/* ── lists, services, stats ────────────────────────────────────────────── */
.telecom .service { border-bottom-color: var(--line); }
.telecom .service h2 a,
.telecom .service h3 a { display: inline-flex; align-items: center; min-height: 24px; }
.telecom .contact-line a { display: inline-flex; align-items: center; min-height: 24px; }
.telecom .service h2,
.telecom .service h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.telecom .service p { color: var(--tc-muted); }
.telecom .idx,
.telecom .service .idx {
  color: var(--tc-signal);
  font-family: var(--font-data);
}
.telecom .services { border-top-color: var(--line-2); }
.telecom .stat-grid { border-top-color: var(--line-2); }
.telecom .stat { border-bottom-color: var(--line); }
.telecom .stat .k { color: var(--tc-muted); }
.telecom .stat .v { color: var(--ink); }
.telecom .trust-item { border-top-color: var(--line-2); }
.telecom .trust-item .k { color: var(--tc-muted); }
.telecom .trust-item .v { color: var(--ink); }
.telecom .ledger { border: 1px solid #1C2A45; border-radius: 12px; background: #0A1120; }
.telecom .ledger-head { background: #050914; color: #B9C7DD; }
.telecom .ledger-row { border-bottom-color: #121D31; }
.telecom .ledger-row .k { color: var(--tc-muted); }
.telecom .ledger-row .v { color: var(--ink); }
.telecom .ledger-row.total { border-top-color: #2F4264; }
.telecom .ledger-row.total .v { color: var(--tc-signal); }

/* ── table ──────────────────────────────────────────────────────────────── */
.telecom .data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #1C2A45;
  border-radius: 12px;
  overflow: hidden;
  background: #0A1120;
}
.telecom .data th {
  background: #050914;
  color: #93A3BE;
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.telecom .data th,
.telecom .data td { border-bottom-color: #121D31; color: #b8c8bc; }
.telecom .data tr:last-child td { border-bottom: 0; }
.telecom .data td strong { color: var(--ink); }
.telecom .data caption { color: var(--tc-muted); }

/* ── forms ──────────────────────────────────────────────────────────────── */
.telecom .field > label,
.telecom .fieldset > legend { color: #c3d1c7; }
.telecom .input,
.telecom .select,
.telecom .textarea,
.telecom .field input:not([type="checkbox"]):not([type="radio"]),
.telecom .field select,
.telecom .field textarea {
  border: 1px solid #263754;
  border-radius: 9px;
  background: #070B16;
  color: var(--ink);
}
.telecom .input::placeholder,
.telecom .field input::placeholder,
.telecom .field textarea::placeholder { color: #6F7F98; }
.telecom .input:hover,
.telecom .select:hover,
.telecom .textarea:hover,
.telecom .field input:hover,
.telecom .field select:hover,
.telecom .field textarea:hover { border-color: #3A4F76; }
.telecom .input:focus,
.telecom .select:focus,
.telecom .textarea:focus,
.telecom .field input:focus,
.telecom .field select:focus,
.telecom .field textarea:focus { border-color: var(--tc-signal); outline: 2px solid rgba(59,130,246, 0.22); outline-offset: 1px; }
.telecom .hint { color: #8190A8; }
.telecom .form-notice { border-radius: 12px; background: #0A1120; }
.telecom .form-notice.bad { border-color: var(--danger-line); background: var(--danger-bg); color: var(--danger); }
.telecom .form-notice.good { border-color: var(--success-line); background: var(--success-bg); color: var(--success); }
.telecom .form-notice.warn { border-color: var(--warning-line); background: var(--warning-bg); color: var(--warning); }

/* ── buttons ────────────────────────────────────────────────────────────── */
.telecom .btn { border-radius: 8px; font-family: var(--font-telecom); font-weight: 600; }
.telecom .btn-solid { background: var(--tc-signal); border-color: var(--tc-signal); color: var(--tc-signal-ink); }
.telecom .btn-solid:hover { background: #60A5FA; border-color: #60A5FA; color: var(--tc-signal-ink); }
.telecom .btn-outline { border-color: #2F4166; color: #d5e2d8; background: rgba(255, 255, 255, 0.015); }
.telecom .btn-outline:hover { border-color: #6F8FC0; background: #0D1526; color: var(--ink); }
.telecom .btn-ghost { border-color: transparent; color: #B9C7DD; }
.telecom .btn-ghost:hover { border-color: #2F4166; background: #0D1526; color: var(--ink); }
.telecom .btn-black { background: #0A1122; border-color: #263754; color: var(--ink); }
.telecom .btn-black:hover { border-color: #3A4F76; background: #0D1526; }

/* ── FAQ / tutorials ────────────────────────────────────────────────────── */
.telecom .faq-group { border-top-color: var(--line-2); }
.telecom .faq { border-bottom-color: var(--line); }
.telecom .faq summary { color: var(--ink); font-family: var(--font-telecom); font-weight: 600; }
.telecom .faq summary:hover { color: var(--tc-signal); }
.telecom .faq summary::after { color: var(--tc-signal); }
.telecom .faq .answer p { color: var(--tc-muted); }
.telecom .tut {
  border-top-color: #16223A;
  padding-top: 1.5rem;
}
.telecom .tut-head h2 { color: var(--ink); }
.telecom .tut p { color: #b8c8bc; }
.telecom .tut-nav { border: 1px solid #16223A; border-radius: 12px; padding: 1rem; background: #0A1120; }
.telecom .tut-nav a { color: #A9B8D0; border-radius: 6px; }
.telecom .tut-nav a:hover,
.telecom .tut-nav a[aria-current="page"] { color: var(--tc-signal); background: #0D1526; }
.telecom .tut-nav .n { color: #6F7F98; }
.telecom .tut-nav a:hover .n,
.telecom .tut-nav a[aria-current="page"] .n { color: var(--tc-signal); }
.telecom .tut-figure { border-color: #1C2A45; border-radius: 12px; background: #0A1120; }
.telecom .tut-figure figcaption { color: var(--tc-muted); }

/* ── payments / pay-bond ───────────────────────────────────────────────── */
.telecom .paybond-intro {
  border: 1px solid #1C2A45;
  border-radius: 14px;
  background: #0A1120;
}
.telecom .paybond-intro > div { border-left-color: #121D31; }
.telecom .paybond-intro strong { color: var(--ink); }
.telecom .paybond-intro span:last-child { color: var(--tc-muted); }
.telecom .paybond-intro .sign { color: var(--tc-signal); }
.telecom .exchange-guide {
  border: 1px solid #263754;
  border-radius: 14px;
  background: #050914;
}
.telecom .guide-tab { border-radius: 9px; border-color: #263754; color: var(--tc-muted); }
.telecom .guide-tab[aria-selected="true"] { border-color: var(--tc-signal); background: #102347; color: #60A5FA; }
.telecom .guide-tab:hover { border-color: #3A4F76; color: var(--ink); }
.telecom .guide-badge { border-color: #263754; color: var(--tc-signal); }
.telecom .guide-sub { color: var(--tc-muted); }
.telecom .exchange-stage { background: #02040A; border-color: #1C2A45; }
.telecom .exchange-step { border-top-color: #121D31; }
.telecom .exchange-step h4 { color: var(--ink); }
.telecom .exchange-step p { color: var(--tc-muted); }

/* ── quote slip stays paper: it is the estimate a visitor could print ───── */
.telecom .slip { box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35); }
.telecom .quote-field > label { color: #B9C7DD; }
.telecom .quote-field .quote-prefix { border-color: #263754; background: #070B16; }
.telecom .quote-field .quote-prefix input { color: var(--ink); }

/* ── callouts / legal ──────────────────────────────────────────────────── */
.telecom .callout-strip { border-top-color: var(--line-2); }
.telecom .callout-strip h2 { color: var(--ink); }
.telecom .callout-strip p { color: var(--tc-muted); }
.telecom .legal-shell .tut-nav { position: sticky; }
.telecom .slip,
.telecom .doc-frame,
.telecom .receipt-doc,
.telecom .legal-sheet {
  --font-body: "Literata", Georgia, "Times New Roman", serif;
  font-family: var(--font-body);
}

/* ── signature shell ───────────────────────────────────────────────────── */
.telecom .sign-strip { background: #02040A; border-bottom: 1px solid var(--line); }
.telecom .sign-strip .k { color: #6F7F98; }
.telecom .sign-strip .v { color: #dbe8df; }
.telecom .doc-frame { box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.38); }

/* ── receipt shell ─────────────────────────────────────────────────────── */
.telecom .receipt-doc { box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.38); }
.pay-coin-icon { width: 44px; height: 44px; flex: 0 0 44px; }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .telecom .tc-pagehead-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .telecom .tc-pagehead-copy { max-width: 48rem; }
  .telecom .tc-pagehead-card { width: min(100%, 32rem); }
  .telecom .page-head h1 { max-width: 20ch; }
}
@media (max-width: 720px) {
  .telecom .page-head { padding-block: 2.5rem 3rem; }
  .telecom .page-head h1 { font-size: clamp(2.4rem, 10vw, 3.25rem); }
  .telecom .page-head .lede { font-size: 1rem; }
  .telecom .tc-pagehead-card { width: 100%; }
  .telecom .tc-pagehead-actions { grid-template-columns: 1fr 1fr; }
  .telecom .sec-head h2 { font-size: clamp(1.85rem, 7.5vw, 2.5rem); }
  .telecom .prose h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
}
@media (max-width: 560px) {
  .telecom .tc-pagehead-card { padding: 1.05rem; border-radius: 16px; }
  .telecom .tc-pagehead-number { font-size: 1.7rem; }
  .telecom .tc-pagehead-actions { grid-template-columns: minmax(0, 1fr); }
  .telecom .tc-pagehead-actions .tc-btn { width: 100%; }
}

.print-demo { display: none; }

@media print {
  .print-demo {
    display: block;
    position: fixed;
    top: 0.5in;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0.25in;
    background: #ffffff;
    color: #8a1f14;
    border-top: 2px solid #8a1f14;
    border-bottom: 2px solid #8a1f14;
    font: 700 12pt/1.3 Helvetica, Arial, sans-serif;
    letter-spacing: 0.04em;
    text-align: center;
  }
}

/* ── print ────────────────────────────────────────────────────────────────── */
@media print {
  /* Paper takes over: the tokens the screen resolves to ink are redefined to
     their light-ground values, so one set of rules prints as the light theme.
     html:root rather than :root — the page emits its identity colours into a
     :root block after the stylesheet link, and this has to outrank it. */
  html:root {
    --ground: #ffffff;
    --ground-deep: #ffffff;
    --ground-raise: #ffffff;
    --mist: #ffffff;
    --ink: #000000;
    --slate: #444444;
    --on-black: #1a1a1a;
    --on-dark: #000000;
    --line: #bbbbbb;
    --line-2: #999999;
    --line-soft: #dddddd;
    --plate: #ffffff;
    --plate-hover: #ffffff;
    --on-plate: #000000;
    --accent: #6e5a34;
    --accent-deep: #4a3a1c;
    --success: #1D5FBF;
    --success-bg: #eef7f1;
    --warning: #7a5310;
    --warning-bg: #fdf8ee;
    --danger: #a3341f;
    --danger-bg: #fdeceb;
    color-scheme: light;
  }
  .utility, .demo, .masthead, .foot, .callbar, .nav-toggle, .btn, .no-print { display: none !important; }
  body { background: #fff; padding: 0; color: #000; font-size: 11pt; line-height: 1.45; }
  .board, .page-head { padding-block: 0.5rem; border-bottom: 1px solid #999; }
  .band, .band-tight { padding-block: 0.75rem; border-top: 1px solid #ddd; }
  .band-mist, .band-black { background: #fff; }
  .panel, .ledger, .notice, .doc-frame, .receipt-doc, .slip { border: 1px solid #bbb; break-inside: avoid; }
  .slip::after { display: none; }
  .schedule tr, .facility, .docket > li { break-inside: avoid; }
  .faq details { break-inside: avoid; }
  .faq .answer { display: block !important; }
  a { color: #000; text-decoration: none; }
  .doc-frame { max-height: none; overflow: visible; border: 0; padding: 0; background: #fff; }
  .receipt-doc { border: 0 !important; padding: 0 !important; background: #fff; }
  .receipt-doc header { border-bottom: 2px solid #000; }
  .qr-frame { border: 1px solid #999; }
  .kv dt { color: #444; }
  .chip, .tag { border: 1px solid #999; background: #fff !important; color: #000 !important; }
  .chip .dot { background: #000 !important; }
  @page { margin: 14mm; }
}

/* The public telecom skin is a screen treatment. Print is the document:
   white field, black rule, no glow, no card, no sales chrome. This has to
   come after the generic print block because .telecom declares its own
   tokens on the body and would otherwise outrank html:root. */
@media print {
  .telecom {
    --ground: #ffffff;
    --ground-deep: #ffffff;
    --ground-raise: #ffffff;
    --mist: #ffffff;
    --ink: #000000;
    --slate: #333333;
    --on-black: #1a1a1a;
    --on-dark: #000000;
    --line: #bbbbbb;
    --line-2: #999999;
    --line-soft: #dddddd;
    --line-3: #777777;
    --fine: #444444;
    --plate: #ffffff;
    --plate-hover: #ffffff;
    --on-plate: #000000;
    --accent: #444444;
    --accent-deep: #222222;
    --tc-panel: #ffffff;
    --tc-panel-2: #ffffff;
    --tc-signal: #000000;
    --tc-signal-ink: #000000;
    --tc-muted: #444444;
    --tc-soft: #222222;
    --success: #1D5FBF;
    --success-bg: #ffffff;
    --warning: #6b470d;
    --warning-bg: #ffffff;
    --danger: #8a2a1c;
    --danger-bg: #ffffff;
    --white: #ffffff;
    background: #ffffff !important;
    color: #000000 !important;
  }
  .telecom .page-head,
  .telecom .band,
  .telecom .band-mist,
  .telecom .band-black,
  .telecom .panel,
  .telecom .panel-head,
  .telecom .notice,
  .telecom .notice-danger,
  .telecom .notice-warn,
  .telecom .notice-good,
  .telecom .plaque,
  .telecom .service,
  .telecom .data,
  .telecom .data th,
  .telecom .data td,
  .telecom .tc-pagehead-card,
  .telecom .tut-nav,
  .telecom .ledger,
  .telecom .ledger-head,
  .telecom .paybond-intro,
  .telecom .exchange-guide {
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #000000 !important;
  }
  .telecom .page-head::before,
  .telecom .tc-pagehead-glow,
  .telecom .tc-pagehead-card { display: none !important; }
  .telecom .page-head-actions { display: none !important; }
  .telecom .page-head h1,
  .telecom .page-head .lede,
  .telecom .band h1,
  .telecom .band h2,
  .telecom .band h3,
  .telecom .band p,
  .telecom .band li,
  .telecom .prose p,
  .telecom .prose li,
  .telecom .service p,
  .telecom .notice p,
  .telecom .notice li,
  .telecom .panel p,
  .telecom .plaque p,
  .telecom dt,
  .telecom dd,
  .telecom .hint,
  .telecom .tc-muted {
    color: #000000 !important;
  }
  .telecom a { color: #000000 !important; text-decoration: underline !important; }
  .telecom .tag,
  .telecom .chip { border-color: #777 !important; background: #fff !important; color: #000 !important; }
  .telecom .chip .dot { background: #000 !important; }
  .telecom .tc-pagehead-grid { display: block; }
  .telecom .page-head { padding-block: 0.5rem; }
  .telecom .band, .telecom .band-tight { padding-block: 0.75rem; }
}

/* The telecom components are a screen surface. On paper every one of them
   becomes a white sheet with black text; decorative fields, the handset, the
   video player and the figures are not printed. This is intentionally broad:
   the printed page is the content, not a screenshot of the interface. */
@media print {
  .telecom,
  .telecom *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(text) {
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .telecom svg text { fill: #000000 !important; }
  .telecom .tc-hero::before,
  .telecom .tc-hero-glow,
  .telecom .tc-pagehead-glow,
  .telecom .tc-video-frame,
  .telecom .tc-video-band video,
  .telecom .tut-figure { display: none !important; }
  .telecom .print-demo {
    display: block !important;
    position: fixed !important;
    top: 0.5in !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0.25in !important;
    border-top: 2px solid #8a1f14 !important;
    border-bottom: 2px solid #8a1f14 !important;
    background: #ffffff !important;
    color: #8a1f14 !important;
  }
  .telecom .tc-call,
  .telecom .tc-calc-cta,
  .telecom .tc-step-num,
  .telecom .tc-coin-mark,
  .telecom .tc-btn-solid {
    border: 1px solid #777777 !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
  .telecom .tc-calc input,
  .telecom .tc-calc-screen,
  .telecom .tc-calc-foot,
  .telecom .tc-calc-chrome,
  .telecom .tc-calc {
    border: 1px solid #999999 !important;
    background: #ffffff !important;
    color: #000000 !important;
  }
  .telecom .tc-calc input { border: 0 !important; }
}

/* ── exchange walkthrough: the phone is an interface, not a glyph ────────── */
@media screen {
  .guide-stage {
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    min-height: 30rem;
  }
  .guide-visual { min-height: 28rem; isolation: isolate; }
  .guide-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,.15) 0%, rgba(59,130,246,.04) 38%, transparent 70%);
    filter: blur(4px);
    pointer-events: none;
  }
  .guide-orbit { display: none; }
  .guide-device {
    width: 15.5rem;
    height: 28rem;
    padding: 0.55rem;
    border: 1px solid #263754;
    border-radius: 2.1rem;
    background: linear-gradient(180deg, #0D1526 0%, #070B16 60%, #0D1526 100%);
    box-shadow: 0 2rem 4rem rgba(0,0,0,.5), 0 0 3rem rgba(59,130,246,.06);
    transform: rotate(-2deg);
    z-index: 1;
  }
  .guide-device::before,
  .guide-device::after {
    content: "";
    position: absolute;
    right: -2px;
    width: 2px;
    border-radius: 2px;
    background: #263754;
  }
  .guide-device::before { top: 4.5rem; height: 2rem; }
  .guide-device::after { top: 7.2rem; height: 3.2rem; }
  .guide-device-speaker {
    width: 4.4rem;
    height: 0.32rem;
    margin: 0.2rem auto 0.4rem;
    background: #223254;
  }
  .guide-device-screen {
    display: flex;
    flex-direction: column;
    height: calc(100% - 1.15rem);
    padding: 0;
    border: 1px solid #d8ddd4;
    border-radius: 1.55rem;
    background: #f7f6f1;
    color: #111511;
    text-align: left;
    overflow: hidden;
  }
  .guide-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.42rem 0.7rem 0.2rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.52rem;
    color: #171b18;
  }
  .guide-status-right { display: flex; align-items: center; gap: 0.18rem; }
  .guide-status-right i { width: 0.16rem; height: 0.3rem; background: #171b18; border-radius: 2px; }
  .guide-status-right i:nth-child(2) { height: 0.4rem; }
  .guide-status-right i:nth-child(3) { height: 0.5rem; }
  .guide-status-right b { width: 0.55rem; height: 0.3rem; margin-left: 0.15rem; border: 1px solid #171b18; border-radius: 2px; }
  .guide-appbar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem 0.55rem;
    border-bottom: 1px solid #e4e5df;
    background: #fff;
  }
  .guide-appicon {
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    flex: 0 0 1.6rem;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 0 0 1px #e2e5de;
    overflow: hidden;
  }
  .guide-appicon[hidden] { display: none; }
  .guide-appicon img { width: 1.25rem; height: 1.25rem; display: block; }
  .guide-appname { display: grid; gap: 0.02rem; min-width: 0; }
  .guide-appname strong { font-family: Archivo, sans-serif; font-size: 0.66rem; font-weight: 700; line-height: 1.1; color: #141814; }
  .guide-appname small { font-family: Archivo, sans-serif; font-size: 0.52rem; color: #5C6B84; line-height: 1.2; }
  .guide-appdots { margin-left: auto; color: #5C6B84; font-size: 0.6rem; letter-spacing: 0.05em; }
  .guide-appbody { display: flex; flex: 1; flex-direction: column; gap: 0.32rem; padding: 0.8rem 0.7rem 0.5rem; min-height: 0; }
  .guide-screen-kicker { font-family: "IBM Plex Mono", monospace; font-size: 0.5rem; letter-spacing: 0.1em; color: #5C6B84; }
  .guide-asset { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.2rem; }
  .guide-asset img { width: 2rem; height: 2rem; flex: 0 0 2rem; }
  .guide-asset span { display: grid; gap: 0.04rem; }
  .guide-asset strong { font-family: Archivo, sans-serif; font-size: 0.7rem; font-weight: 700; line-height: 1.1; color: #141814; }
  .guide-asset small { font-family: Archivo, sans-serif; font-size: 0.52rem; color: #5C6B84; line-height: 1.2; }
  .guide-screen-amount { margin-top: 0.5rem; font-family: Archivo, sans-serif; font-size: 1.8rem; font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: #111511; }
  .guide-screen-note { font-family: "IBM Plex Mono", monospace; font-size: 0.52rem; line-height: 1.45; color: #5C6B84; }
  .guide-summary { display: none; margin-top: 0.6rem; border-top: 1px solid #e4e5df; }
  .guide-stage[data-scene="phone"] .guide-summary { display: grid; }
  .guide-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.38rem 0; border-bottom: 1px solid #eceee8; }
  .guide-summary span { font-family: Archivo, sans-serif; font-size: 0.52rem; color: #5C6B84; }
  .guide-summary strong { font-family: Archivo, sans-serif; font-size: 0.54rem; font-weight: 600; color: #283028; }
  .guide-address {
    margin-top: 0.45rem;
    padding: 0.48rem 0.55rem;
    border: 1px solid #dfe2da;
    border-radius: 0.4rem;
    background: #f0f1ec;
    color: #3b443c;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.44rem;
    line-height: 1.45;
    word-break: break-all;
  }
  .guide-timeline { display: grid; gap: 0.55rem; margin-top: 0.6rem; }
  .guide-timeline > div { display: grid; grid-template-columns: 0.5rem 1fr auto; align-items: center; gap: 0.4rem; }
  .guide-timeline i { width: 0.38rem; height: 0.38rem; border-radius: 50%; background: #dfe4dc; }
  .guide-timeline i.on { background: #00d632; box-shadow: 0 0 0 3px rgba(0,214,50,.12); }
  .guide-timeline span { font-family: Archivo, sans-serif; font-size: 0.6rem; color: #2b322c; }
  .guide-timeline small { font-family: "IBM Plex Mono", monospace; font-size: 0.46rem; color: #5C6B84; }
  .guide-warning {
    margin-top: 0.45rem;
    padding: 0.5rem 0.55rem;
    border: 1px solid #e5cc9a;
    border-radius: 0.4rem;
    background: #fff8e9;
    color: #6b4a13;
    font-family: Archivo, sans-serif;
    font-size: 0.55rem;
    line-height: 1.45;
  }
  .guide-primary {
    margin-top: auto;
    padding: 0.55rem 0.5rem;
    border-radius: 0.45rem;
    background: #00d632;
    color: #050B18;
    font-family: Archivo, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 0.35rem 0.8rem rgba(0,214,50,.2);
  }
  .guide-tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.1rem;
    margin-top: auto;
    padding: 0.45rem 0.35rem 0.35rem;
    border-top: 1px solid #e4e5df;
    background: #fff;
  }
  .guide-tabbar span { display: grid; place-items: center; gap: 0.1rem; color: #5C6B84; font-family: Archivo, sans-serif; font-size: 0.44rem; }
  .guide-tabbar span.on { color: #007a1e; }
  .guide-tabbar i { width: 0.45rem; height: 0.45rem; border: 1px solid currentColor; border-radius: 0.16rem; }
  .guide-tabbar span.on i { background: currentColor; }
  .guide-homebar { display: block; width: 4.2rem; height: 0.22rem; margin: 0.35rem auto 0; border-radius: 999px; background: #2a3a2f; }

  .guide-tab-logo {
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    flex: 0 0 1.8rem;
    border-radius: 0.4rem;
    background: #fff;
    color: #0A1122;
    font-family: Archivo, sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 0 0 1px rgba(255,255,255,.12);
  }
  .guide-tab-logo img { display: block; width: 1.35rem; height: 1.35rem; }
  .guide-tab-moonpay { width: 3.2rem; flex: 0 0 3.2rem; background: #fff; }
  .guide-tab-moonpay img { width: 2.7rem; height: auto; }
  .guide-tab-cash { background: #fff; }
  .guide-tab-coinbase { background: #fff; }

  @media (max-width: 900px) {
    .guide-stage { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .guide-visual { min-height: 27rem; order: 2; }
    .guide-device { width: 15.5rem; height: 28rem; }
    .guide-copy { order: 1; }
  }
  @media (max-width: 560px) {
    .guide-device { width: 14.2rem; height: 25.8rem; }
    .guide-visual { display: grid; min-height: 25rem; }
    .guide-device-screen { border-radius: 1.4rem; }
    .guide-appbar { padding-inline: 0.5rem; }
  }
}

/* ============================================================================
   Nationwide search, directory and agent network
   ----------------------------------------------------------------------------
   These surfaces are still the telecom shell: public geography is the map,
   electric blue is the live layer, and an empty state is a real answer. */

.tc-nationwide {
  padding-block: clamp(2.8rem, 5vw, 4.6rem);
  border-bottom: 1px solid #121D31;
  background:
    radial-gradient(72% 130% at 82% 12%, rgba(59,130,246, 0.1), transparent 62%),
    #060A14;
}
.tc-nationwide-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.tc-nationwide-head h2 {
  max-width: 15ch;
  margin-top: 0.5rem;
  color: var(--tc-ink);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.tc-nationwide-head p {
  max-width: 51ch;
  margin-top: 0.8rem;
  color: var(--tc-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.tc-nationwide-directory {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 0;
  color: var(--tc-soft);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.tc-nationwide-directory:hover { color: var(--tc-signal); }
.tc-nationwide-form {
  position: relative;
  margin-top: 1.65rem;
  padding: 0.5rem;
  border: 1px solid #263754;
  border-radius: 15px;
  background: #0A1120;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.28);
}
.tc-nationwide-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tc-search-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  color: var(--tc-muted);
}
.tc-nationwide-field input {
  min-width: 0;
  flex: 1;
  height: 3.4rem;
  padding: 0 0.65rem;
  border: 0;
  background: transparent;
  color: var(--tc-ink);
  font-family: var(--font-telecom);
  font-size: 1.02rem;
}
.tc-nationwide-field input::placeholder { color: #7D8CA6; }
.tc-nationwide-field input:focus { outline: 2px solid var(--tc-signal); outline-offset: 2px; border-radius: 6px; }
.tc-nationwide-field .tc-btn { flex: none; min-height: 2.8rem; padding-inline: 1.1rem; }
.tc-nationwide-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 0.9rem;
  color: var(--tc-muted);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.tc-nationwide-links a { display: inline-flex; align-items: center; min-height: 24px; color: var(--tc-soft); text-decoration-color: #2F4264; }
.tc-nationwide-links a:hover { color: var(--tc-signal); }
.tc-nationwide-links > span:last-child { margin-left: auto; display: inline-flex; align-items: center; gap: 0.45rem; }

.tc-suggest {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  max-height: 22rem;
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid #1E2B47;
  border-radius: 10px;
  background: #0D1526;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.48);
}
.tc-suggest a,
.tc-suggest button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.8rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--tc-soft);
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
.tc-suggest a:hover,
.tc-suggest a:focus-visible,
.tc-suggest button:hover,
.tc-suggest button:focus-visible { background: #111A2C; outline: none; }
.tc-suggest strong { display: block; color: var(--tc-ink); font-size: 0.9rem; font-weight: 600; }
.tc-suggest span { display: block; color: var(--tc-muted); font-size: 0.74rem; line-height: 1.4; }
.tc-suggest .suggest-type {
  align-self: center;
  color: var(--tc-signal);
  font-family: var(--font-data);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tc-suggest .suggest-empty { padding: 0.85rem; color: var(--tc-muted); font-size: 0.82rem; }

/* ── search and directory body ───────────────────────────────────────────── */
.network-band { background: #060A14; }
.network-search-panel {
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid #1E2B47;
  border-radius: 14px;
  background: #0A1120;
}
.network-search-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}
.network-search-hint { margin-top: 0.45rem; color: var(--tc-muted); font-size: 0.86rem; line-height: 1.55; }
.network-free-search { position: relative; display: grid; gap: 0.35rem; }
.network-free-search > span { color: var(--tc-soft); font-family: var(--font-data); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; }
.network-free-search .input { min-height: 2.9rem; }
.geo-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.geo-fields .field > label { color: var(--tc-soft); font-size: 0.78rem; }
.geo-fields .field select,
.geo-fields .field input { min-height: 2.7rem; }
.label-note { color: var(--tc-muted); font-family: var(--font-data); font-size: 0.67rem; letter-spacing: 0.02em; }
.network-search-bottom {
  display: flex;
  align-items: end;
  gap: 1rem;
  margin-top: 1rem;
}
.network-search-bottom .field { width: min(18rem, 100%); }
.network-search-bottom .tc-btn { margin-left: auto; min-height: 2.9rem; }
.network-matches { margin-top: 1.1rem; }
.network-matches > .sign { display: block; margin-bottom: 0.5rem; }
.network-chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.network-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.45rem 0.6rem;
  border: 1px solid #1E2B47;
  border-radius: 7px;
  background: #0A1120;
  color: var(--tc-soft);
  font-size: 0.8rem;
  text-decoration: none;
}
.network-chip span { color: var(--tc-muted); font-size: 0.7rem; }
.network-chip:hover { border-color: var(--tc-signal); color: var(--tc-ink); }
.network-result-head,
.network-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
}
.network-result-head h2,
.network-section-head h2 { margin-top: 0.35rem; color: var(--tc-ink); font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 600; letter-spacing: -0.035em; }
.network-result-head p { margin-top: 0.35rem; color: var(--tc-muted); font-size: 0.9rem; }
.network-section-head .tag { flex: none; }
.agent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.15rem; }
.agent-grid-single { grid-template-columns: minmax(0, 1fr); }
.agent-card {
  padding: 1.15rem;
  border: 1px solid #1E2B47;
  border-radius: 12px;
  background: #0A1120;
}
.agent-card-head { display: flex; align-items: flex-start; gap: 0.7rem; }
.agent-avatar {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 2.55rem;
  border-radius: 50%;
  background: var(--tc-signal);
  color: var(--tc-signal-ink);
  font-family: var(--font-data);
  font-size: 0.8rem;
  font-weight: 700;
}
.agent-card-name { min-width: 0; flex: 1; }
.agent-card-name h3 { color: var(--tc-ink); font-size: 1.06rem; font-weight: 600; line-height: 1.2; }
.agent-card-name p { margin-top: 0.16rem; color: var(--tc-muted); font-size: 0.8rem; }
.agent-card-head .tag { flex: none; font-size: 0.67rem; }
.agent-coverage { margin-top: 0.85rem; color: var(--tc-soft); font-size: 0.84rem; line-height: 1.5; }
.agent-coverage .sign { margin-right: 0.35rem; }
.agent-facts { display: grid; gap: 0.35rem; margin-top: 0.8rem; }
.agent-facts > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.5rem; }
.agent-facts dt { color: var(--tc-muted); font-family: var(--font-data); font-size: 0.65rem; letter-spacing: 0.03em; text-transform: uppercase; }
.agent-facts dd { color: var(--tc-soft); font-size: 0.78rem; line-height: 1.45; }
.agent-bio { margin-top: 0.8rem; color: var(--tc-muted); font-size: 0.82rem; line-height: 1.55; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.agent-actions .tc-btn { min-height: 2.3rem; padding-inline: 0.7rem; font-size: 0.72rem; }
.agent-note { margin-top: 0.7rem; color: var(--tc-muted); font-size: 0.72rem; }
.network-disclaimer { margin-top: 1.2rem; max-width: 60rem; color: var(--tc-muted); font-size: 0.76rem; line-height: 1.6; }
.network-agent-coverage { margin-top: 1.2rem; padding: 1rem; border: 1px solid #1E2B47; border-radius: 10px; background: #0A1120; }
.network-agent-coverage h3 { color: var(--tc-ink); font-size: 0.9rem; }
.network-agent-coverage ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.5rem; color: var(--tc-soft); font-size: 0.8rem; }

.network-empty {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-top: 1.2rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid #2F4264;
  border-radius: 12px;
  background: #0A1220;
}
.network-empty-mark {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 3.2rem;
  border: 1px solid #2F4264;
  border-radius: 50%;
  color: var(--tc-signal);
  font-family: var(--font-data);
  font-size: 1.2rem;
}
.network-empty h2 { margin-top: 0.3rem; color: var(--tc-ink); font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 600; }
.network-empty p { max-width: 62ch; margin-top: 0.5rem; color: var(--tc-muted); font-size: 0.88rem; line-height: 1.65; }
.network-empty-soft { border-color: #1E2B47; background: #0A1120; }
.network-empty-soft .tc-btn { margin-top: 0.8rem; }
.network-start-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem; margin-top: 2rem; align-items: start; }
.network-start-copy h2 { margin-top: 0.45rem; max-width: 17ch; color: var(--tc-ink); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.04; letter-spacing: -0.04em; }
.network-start-copy p { max-width: 56ch; margin-top: 0.8rem; color: var(--tc-muted); font-size: 0.94rem; line-height: 1.65; }
.network-start-facts { display: grid; gap: 0; border-top: 1px solid #1E2B47; }
.network-start-facts > div { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.2rem 0.7rem; padding: 0.8rem 0; border-bottom: 1px solid #1E2B47; }
.network-start-facts .sign { grid-row: span 2; color: var(--tc-signal); font-family: var(--font-data); font-size: 0.7rem; }
.network-start-facts strong { color: var(--tc-ink); font-size: 0.9rem; }
.network-start-facts p { color: var(--tc-muted); font-size: 0.8rem; line-height: 1.5; }
.network-help-band { background: #050914; border-top: 1px solid #121D31; }
.network-help-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2.5rem; align-items: start; }
.network-help-grid h2 { max-width: 16ch; margin-top: 0.5rem; color: var(--tc-ink); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.04; letter-spacing: -0.04em; }
.network-help-grid p { max-width: 54ch; margin-top: 0.8rem; color: var(--tc-muted); font-size: 0.9rem; line-height: 1.65; }
.network-checklist { display: grid; gap: 0; border-top: 1px solid #1E2B47; }
.network-checklist li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0.8rem; padding: 0.85rem 0; border-bottom: 1px solid #1E2B47; color: var(--tc-soft); font-size: 0.86rem; line-height: 1.5; }
.network-checklist li span { color: var(--tc-signal); font-family: var(--font-data); font-size: 0.68rem; }
.network-checklist.compact li { padding: 0.55rem 0; font-size: 0.8rem; }
.network-help-band .network-checklist li { align-items: start; }

/* ── directory ───────────────────────────────────────────────────────────── */
.directory-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid #1E2B47; border-radius: 11px; background: #0A1120; overflow: hidden; }
.directory-stats > div { display: grid; gap: 0.15rem; padding: 1rem; border-right: 1px solid #1E2B47; }
.directory-stats > div:last-child { border-right: 0; }
.directory-stats strong { color: var(--tc-ink); font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; letter-spacing: -0.04em; }
.directory-stats span { color: var(--tc-muted); font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }
.directory-note { margin-top: 1.2rem; padding: 0.9rem 1rem; border-left: 2px solid var(--tc-signal); background: #0A1220; }
.directory-note p { max-width: 76ch; color: var(--tc-muted); font-size: 0.84rem; line-height: 1.6; }
.directory-state-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; margin-top: 1.5rem; }
.directory-state-card { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr) auto; gap: 0.1rem 0.7rem; padding: 0.8rem; border: 1px solid #1E2B47; border-radius: 9px; background: #0A1120; color: var(--tc-soft); text-decoration: none; transition: border-color 160ms ease, background 160ms ease; }
.directory-state-card:hover { border-color: #3A5A94; background: #0D1526; }
.directory-state-code { grid-row: span 2; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid #1E2B47; border-radius: 6px; color: var(--tc-signal); font-family: var(--font-data); font-size: 0.75rem; }
.directory-state-name { align-self: end; color: var(--tc-ink); font-size: 0.95rem; font-weight: 600; }
.directory-state-meta { color: var(--tc-muted); font-size: 0.75rem; line-height: 1.4; }
.directory-state-arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; color: var(--tc-muted); }
.directory-breadcrumb-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #1E2B47; color: var(--tc-muted); font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.directory-county-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1.2rem; }
.directory-county-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 0.6rem; padding: 0.75rem 0.8rem; border: 1px solid #1E2B47; border-radius: 8px; background: #0A1120; text-decoration: none; }
.directory-county-card:hover { border-color: #3A5A94; }
.directory-county-name { color: var(--tc-soft); font-size: 0.84rem; }
.directory-county-meta { grid-column: 1; color: var(--tc-muted); font-size: 0.75rem; }
.county-coverage-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  list-style: none;
}
.county-coverage-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070B16;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.25;
  text-decoration: none;
}
.county-coverage-list a:hover { border-color: #3A4F76; background: #0A1122; }
.county-coverage-list a:focus-visible { outline: 2px solid var(--tc-signal); outline-offset: 2px; }
.county-coverage-name { min-width: 0; }
@media (max-width: 900px) {
  .county-coverage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .county-coverage-list { grid-template-columns: minmax(0, 1fr); }
}
.coverage-mark {
  display: inline-block;
  padding: 0.08rem 0.34rem;
  border: 1px solid #263754;
  border-radius: 4px;
  font-family: var(--font-data);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}
.coverage-covered { border-color: #23539C; background: #0B1B33; color: #CFE0FF; }
.coverage-pending { border-color: #665028; background: #281f0e; color: #f1c56b; }
.coverage-unavailable { border-color: #6d2c23; background: #2a1210; color: #ff927d; }
.directory-county-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--tc-muted); }
.directory-detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr); gap: 2rem; align-items: start; }
.directory-aside { display: grid; gap: 0; }
.directory-city-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; margin-top: 0.7rem; }
.directory-city-card { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 38px; padding: 0.45rem 0.55rem; border: 1px solid #1E2B47; border-radius: 6px; color: var(--tc-soft); font-size: 0.78rem; text-decoration: none; }
.directory-city-card:hover { border-color: var(--tc-signal); color: var(--tc-ink); }
.facility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.8rem; }
.facility-card { display: grid; gap: 0.25rem; padding: 0.9rem; border: 1px solid #1E2B47; border-radius: 9px; background: #0A1120; color: var(--tc-soft); text-decoration: none; }
.facility-card:hover { border-color: var(--tc-signal); }
.facility-type { color: var(--tc-signal); font-family: var(--font-data); font-size: 0.63rem; letter-spacing: 0.06em; text-transform: uppercase; }
.facility-card strong { color: var(--tc-ink); font-size: 0.95rem; font-weight: 600; }
.facility-card > span:not(.facility-type):not(.facility-arrow) { color: var(--tc-muted); font-size: 0.75rem; line-height: 1.45; }
.facility-arrow { margin-top: 0.3rem; color: var(--tc-signal); font-family: var(--font-data); font-size: 0.75rem; text-transform: uppercase; }
.local-facts { display: grid; gap: 0.5rem; }
.local-facts > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.6rem; }
.local-facts dt { color: var(--tc-muted); font-family: var(--font-data); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.03em; }
.local-facts dd { color: var(--tc-soft); font-size: 0.8rem; line-height: 1.45; }
.facility-detail-panel { max-width: 53rem; }
.facility-notes { margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid #1E2B47; color: var(--tc-muted); font-size: 0.85rem; line-height: 1.6; }
.network-steps { display: grid; gap: 0.75rem; }
.network-steps li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 0.6rem; color: var(--tc-soft); font-size: 0.82rem; line-height: 1.5; }
.network-steps span { color: var(--tc-signal); font-family: var(--font-data); font-size: 0.66rem; }

/* ── remote inquiry ──────────────────────────────────────────────────────── */
.network-remote-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(1.5rem, 4vw, 3.2rem); align-items: start; }
.network-remote-copy h2 { max-width: 16ch; margin-top: 0.5rem; color: var(--tc-ink); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.03; letter-spacing: -0.045em; }
.network-remote-copy > p { max-width: 55ch; margin-top: 0.8rem; color: var(--tc-muted); font-size: 0.94rem; line-height: 1.65; }
.remote-note { margin-top: 1.15rem; padding: 0.9rem 1rem; border-left: 2px solid #2F4264; background: #0A1120; }
.remote-note strong { display: block; color: var(--tc-ink); font-size: 0.83rem; }
.remote-note ul { display: grid; gap: 0.35rem; margin-top: 0.5rem; padding-left: 1rem; list-style: disc; color: var(--tc-muted); font-size: 0.8rem; line-height: 1.5; }
.remote-note p { margin-top: 0.45rem; color: var(--tc-muted); font-size: 0.8rem; line-height: 1.55; }
.remote-note-warn { border-left-color: #9a7a3a; }
.network-small-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-top: 1.25rem; }
.network-small-links a { display: inline-flex; align-items: center; min-height: 24px; color: var(--tc-soft); font-family: var(--font-data); font-size: 0.75rem; text-decoration-color: #2F4264; }
.network-small-links a:hover { color: var(--tc-signal); }
.network-remote-form-wrap { min-width: 0; }
.network-remote-form { background: #0A1120; }
.network-remote-form .panel-head { margin: -1px -1px 0; }
.network-remote-form .panel-body { padding: 1.2rem; }
.network-form-note { color: var(--tc-muted); font-size: 0.76rem; line-height: 1.55; }
.network-form-section { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid #1E2B47; }
.network-form-section > .sec-rule { display: block; margin-bottom: 0.7rem; }
.network-form-section .geo-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.network-form-section .field { margin-top: 0.65rem; }
.network-form-section .field > label { color: var(--tc-soft); }
.network-form-section .field-hint { margin-top: 0.28rem; color: var(--tc-muted); font-size: 0.75rem; }
.network-form-submit { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.network-form-submit .tc-btn { min-height: 2.9rem; }
.network-form-status { color: var(--tc-signal); font-size: 0.82rem; line-height: 1.55; }
.network-form-status:empty { display: none; }
.network-form-status.is-error { color: #ff9b8a; }
.checkline { display: flex; align-items: flex-start; gap: 0.55rem; margin-top: 0.9rem; color: var(--tc-muted); font-size: 0.78rem; line-height: 1.5; }
.checkline input { margin-top: 0.2rem; accent-color: var(--tc-signal); }
.honey { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }

@media (max-width: 1080px) {
  .directory-state-grid,
  .directory-county-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .directory-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 900px) {
  .tc-nationwide-head { display: block; }
  .tc-nationwide-directory { margin-top: 1rem; }
  .network-search-top,
  .network-remote-grid,
  .network-start-grid,
  .network-help-grid { grid-template-columns: minmax(0, 1fr); }
  .geo-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .agent-grid { grid-template-columns: minmax(0, 1fr); }
  .directory-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-stats > div:nth-child(3) { border-right: 0; }
  .directory-stats > div:nth-child(n+4) { border-top: 1px solid #1E2B47; }
  .directory-aside { grid-template-columns: minmax(0, 1fr); }
  .directory-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .tc-nationwide-field { flex-wrap: wrap; padding-bottom: 0.4rem; }
  .tc-nationwide-field input { flex-basis: calc(100% - 3.4rem); }
  .tc-nationwide-field .tc-btn { width: 100%; margin-top: 0.25rem; }
  .tc-nationwide-links { display: grid; gap: 0.5rem; }
  .tc-nationwide-links > span:last-child { margin-left: 0; }
  .geo-fields,
  .network-form-section .geo-fields { grid-template-columns: minmax(0, 1fr); }
  .network-search-bottom { display: grid; grid-template-columns: minmax(0, 1fr); }
  .network-search-bottom .field { width: 100%; }
  .network-search-bottom .tc-btn { width: 100%; margin-left: 0; }
  .directory-state-grid,
  .directory-county-grid,
  .directory-city-grid,
  .facility-grid { grid-template-columns: minmax(0, 1fr); }
  .directory-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-stats > div:nth-child(2n) { border-right: 0; }
  .directory-stats > div:nth-child(n+3) { border-top: 1px solid #1E2B47; }
  .network-empty { display: block; }
  .network-empty-mark { margin-bottom: 0.8rem; }
  .form-grid.two { grid-template-columns: minmax(0, 1fr); }
  .network-remote-form .panel-body { padding: 1rem; }
  .agent-facts > div { grid-template-columns: 5.8rem minmax(0, 1fr); }
  .network-result-head { display: block; }
  .network-result-head .tc-btn { margin-top: 0.8rem; }
}

/* Console network helpers */
.console-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.form-grid.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.checkgrid { display: grid; gap: 0.35rem; }
.checkgrid .checkline { margin-top: 0; }
.console .network-form-section { border-color: var(--line); }
.console .label-note { color: var(--slate); }
@media (max-width: 980px) {
  .console-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .form-grid.three { grid-template-columns: minmax(0, 1fr); }
}

/* Search and remote-intake pages need the form above the fold. */
.page-find .page-head,
.page-outofstate .page-head { padding-block: 1.7rem 1.5rem; }
.page-find .page-head h1,
.page-outofstate .page-head h1 { max-width: 22ch; font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.01; }
.page-find .page-head .lede,
.page-outofstate .page-head .lede { margin-top: 0.75rem; max-width: 64ch; font-size: 0.96rem; line-height: 1.55; }
.page-find .tc-pagehead-grid,
.page-outofstate .tc-pagehead-grid { align-items: center; }
.page-find .tc-pagehead-copy .tc-eyebrow,
.page-outofstate .tc-pagehead-copy .tc-eyebrow { margin-bottom: 0.65rem; }
.page-find .page-head-actions,
.page-outofstate .page-head-actions { margin-top: 1rem; }
.page-find .tc-pagehead-card,
.page-outofstate .tc-pagehead-card { padding: 1rem; }
.page-find .tc-pagehead-number,
.page-outofstate .tc-pagehead-number { font-size: 1.9rem; }
@media (max-width: 900px) {
  .page-find .page-head h1,
  .page-outofstate .page-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
}

/* Portal inquiry thread */
.portal-inquiry { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.portal-inquiry:first-child { padding-top: 0; }
.portal-inquiry:last-child { border-bottom: 0; padding-bottom: 0; }
.portal-inquiry-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.portal-inquiry-head h3 { margin-top: 0.25rem; font-size: 1.02rem; }
.portal-inquiry-head p { margin-top: 0.25rem; color: var(--slate); font-size: 0.8rem; }
.portal-agent { margin-top: 0.7rem; color: var(--on-black); font-size: 0.86rem; }
.portal-thread { display: grid; gap: 0.5rem; margin-top: 0.8rem; }
.portal-message { padding: 0.55rem 0.65rem; border-left: 2px solid var(--line-2); background: var(--ground-deep); }
.portal-message-customer { border-left-color: var(--accent); }
.portal-message-agent { border-left-color: var(--success); }
.portal-message .sign { display: block; margin-bottom: 0.2rem; font-size: 0.65rem; }
.portal-message p { color: var(--on-black); font-size: 0.82rem; line-height: 1.5; white-space: pre-wrap; }
.portal-updates { display: grid; gap: 0.25rem; margin-top: 0.8rem; color: var(--slate); font-size: 0.74rem; }
.portal-message-form { display: grid; gap: 0.4rem; margin-top: 0.8rem; }
.portal-message-form label { color: var(--slate); font-size: 0.75rem; }
.portal-message-form .btn { justify-self: start; }

/* Directory pages use the same compact framing as the search page: the
   directory is a working surface, not a second landing page. */
.page-directory .page-head { padding-block: 1.7rem 1.5rem; }
.page-directory .page-head h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.01;
}
.page-directory .page-head .lede {
  margin-top: 0.75rem;
  max-width: 64ch;
  font-size: 0.96rem;
  line-height: 1.55;
}
.page-directory .tc-pagehead-grid { align-items: center; }
.page-directory .tc-pagehead-copy .tc-eyebrow { margin-bottom: 0.65rem; }
.page-directory .page-head-actions { margin-top: 1rem; }
.page-directory .tc-pagehead-card { padding: 1rem; }
.page-directory .tc-pagehead-number { font-size: 1.9rem; }
@media (max-width: 900px) {
  .page-directory .page-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
}

/* The wordmark is the name. “Bail Bonds” is the descriptor, not part of the
   mark. Future is short enough to carry a little more weight. */
.brand-name {
  font-size: 1.24rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}
@media (max-width: 900px) {
  .brand-name { font-size: 1.05rem; }
}

@media (max-width: 900px) {
  /* The phone card is a desktop-side instrument. On the intake pages it would
     push the actual search/form below the first screen, while the fixed callbar
     already carries the same call and pay actions. Keep the pagehead, drop the
     duplicate card. */
  .page-find .tc-pagehead-card,
  .page-outofstate .tc-pagehead-card,
  .page-directory .tc-pagehead-card { display: none; }
  .page-find .tc-pagehead-grid,
  .page-outofstate .tc-pagehead-grid,
  .page-directory .tc-pagehead-grid { display: block; }
}

.tc-nationwide-index {
  flex: 0 0 16rem;
  display: grid;
  gap: 0.35rem;
  padding-left: 1.25rem;
  border-left: 1px solid #1E2B47;
}
.tc-nationwide-index-label {
  color: var(--tc-muted);
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tc-nationwide-index-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.14rem 0;
  border-bottom: 1px solid #1E2B47;
}
.tc-nationwide-index-row strong {
  color: var(--tc-ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.tc-nationwide-index-row span { color: var(--tc-muted); font-size: 0.75rem; text-align: right; }
.tc-nationwide-index .tc-nationwide-directory { margin-top: 0.35rem; justify-content: flex-start; }
@media (max-width: 900px) {
  .tc-nationwide-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.8rem;
    margin-top: 1.1rem;
    padding: 0.9rem 0 0;
    border-left: 0;
    border-top: 1px solid #1E2B47;
  }
  .tc-nationwide-index-label { grid-column: 1 / -1; }
  .tc-nationwide-index-row { display: block; border-bottom: 0; padding: 0; }
  .tc-nationwide-index-row strong { display: block; font-size: 1.35rem; }
  .tc-nationwide-index-row span { display: block; text-align: left; margin-top: 0.1rem; }
  .tc-nationwide-index .tc-nationwide-directory { grid-column: 1 / -1; margin-top: 0.2rem; }
}

/* ── simple admin dashboard ──────────────────────────────────────────────── */
.console-more { position: relative; }
.console-more summary {
  display: flex;
  align-items: center;
  min-height: 24px;
  padding: 0.4rem 0.55rem;
  color: var(--slate);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  list-style: none;
}
.console-more summary::-webkit-details-marker { display: none; }
.console-more summary::after {
  content: "▾";
  margin-left: 0.3rem;
  font-size: 0.65rem;
}
.console-more:not([open]) .console-more-menu { display: none; }
.console-more.is-current summary,
.console-more[open] summary { color: var(--ink); }
.console-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 70;
  display: grid;
  min-width: 12rem;
  padding: 0.4rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--ground-raise);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45);
}
.console-more-menu a {
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  color: var(--slate);
  font-size: 0.88rem;
  text-decoration: none;
}
.console-more-menu a:hover,
.console-more-menu a[aria-current="page"] { background: var(--line-soft); color: var(--ink); }

.console .dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.6rem;
}
.console .dash-head h1 {
  margin-top: 0.3rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.console .dash-head p { margin-top: 0.45rem; color: var(--slate); font-size: 0.95rem; }
.console .dash-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.console .dash-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 9.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--ground-raise), var(--ground));
  color: var(--ink);
  text-decoration: none;
  transition: border-color 140ms ease, transform 140ms ease;
}
.console .dash-card:hover { border-color: var(--accent-deep); transform: translateY(-2px); }
.console .dash-card.is-hot { border-color: var(--accent-deep); }
.console .dash-card-label { color: var(--slate); font-size: 0.88rem; }
.console .dash-card-value {
  margin-top: 0.4rem;
  font-family: var(--font-data);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.console .dash-card-money { font-size: 1.55rem; }
.console .dash-card-hint { margin-top: auto; color: var(--fine); font-size: 0.78rem; }
.console .dash-card-go {
  position: absolute;
  top: 1rem;
  right: 1.05rem;
  color: var(--accent);
  font-size: 1rem;
}
.console .dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.console .dash-list { display: grid; }
.console .dash-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  text-decoration: none;
}
.console .dash-row:hover { background: var(--ground-raise); }
.console .dash-avatar {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 600;
}
.console .dash-row-main { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; flex: 1; }
.console .dash-row-main strong { font-size: 0.94rem; font-weight: 500; }
.console .dash-row-main span { overflow: hidden; color: var(--slate); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.console .dash-row-amount {
  margin-left: auto;
  color: var(--ink);
  font-family: var(--font-data);
  font-size: 0.9rem;
  white-space: nowrap;
}
.console .dash-row-arrow { color: var(--slate); }
.console .dash-empty { padding: 2rem 1.15rem; color: var(--slate); text-align: center; }
.console .dash-empty strong { display: block; color: var(--ink); font-size: 0.95rem; }
.console .dash-empty p { margin-top: 0.3rem; font-size: 0.85rem; }
.console .dash-quick { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.4rem; font-size: 0.85rem; }
.console .dash-quick a { color: var(--slate); text-decoration: none; }
.console .dash-quick a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .console .dash-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console .dash-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .console .dash-row { flex-wrap: wrap; gap: 0.45rem 0.65rem; }
  .console .dash-row-main { flex-basis: calc(100% - 3rem); }
  .console .dash-row-amount { margin-left: 2.85rem; }
  .console .dash-row .chip { margin-left: auto; }
  .console .dash-row-arrow { display: none; }
}
@media (max-width: 560px) {
  .console .dash-head { align-items: flex-start; flex-direction: column; }
  .console .dash-cards { grid-template-columns: minmax(0, 1fr); }
  .console-more-menu { position: static; min-width: 0; margin-top: 0.3rem; box-shadow: none; border: 0; padding: 0 0 0 0.8rem; }
}
