/* ===================================================================
   CodiVibes — marketing site
   -------------------------------------------------------------------
   Direction: industrial / utilitarian. A workshop spec sheet, not a
   startup landing page. Hairline rules, numbered sections, monospaced
   metadata, square corners, one hot accent on a warm near-black ground.
   The point is to look like equipment for running a business, because
   that is what is being sold — not "an AI product".

   Every face here carries Cyrillic (Unbounded / Manrope / JetBrains
   Mono). That is a hard constraint: the Bulgarian pages and the
   invoices share this type. Do not substitute a Latin-only display
   font.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;800&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:        #0c0a09;
  --bg-2:      #141010;
  --bg-3:      #1a1513;
  --line:      #2c2320;
  --line-soft: #1e1917;
  --ink:       #f7f2ec;
  --muted:     #a9a09a;
  --muted-2:   #8a817b;   /* was #776f6a — 3.68:1 on cards, under AA */

  /* Sampled from the printed logo, not picked by eye. The previous #b45309
     was both a different orange from the mark and only 3.93:1 here, which
     fails AA for the small mono labels it was being used on. */
  --brand:      #cc6126;   /* the logo's ink            — 4.99:1 on --bg */
  --brand-hot:  #ee7f3e;   /* emphasis text and hovers  — 7.28:1 on --bg */
  --brand-wash: rgba(204, 97, 38, 0.13);
  --sand:       #d9c3a0;   /* the logo's second ink     — 11.5:1 on --bg */
  /* Orange this bright cannot carry white text (3.96:1), so anything sitting
     ON the brand colour uses the page ink instead (4.99:1). */
  --on-brand:   #0c0a09;

  --display: 'Unbounded', 'Trebuchet MS', sans-serif;
  --body:    'Manrope', 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', 'Consolas', monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* The masthead is sticky and 68px tall, so an anchor jump left the target's
   marker and the top of its heading underneath it — 87px of every "Apply" and
   "Get in touch" section was hidden on arrival. scroll-padding-top on the
   scrolling element fixes it once for smooth anchors, browser find, and
   focus-driven scrolling alike, rather than needing scroll-margin on each id. */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Faint blueprint grid + a warm bloom behind the masthead. Atmosphere
     without an illustration to go stale. */
  background-image:
    radial-gradient(60rem 30rem at 78% -8%, rgba(204, 97, 38, 0.16), transparent 62%),
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 100% 100%, 88px 88px, 88px 88px;
  background-attachment: fixed, scroll, scroll;
}

img, svg { display: block; max-width: 100%; }
svg { stroke-width: 1.6; }

::selection { background: var(--brand); color: var(--on-brand); }

/* Keyboard focus. The browser default here is a 1px rgb(16,16,16) ring, which
   on this near-black ground is 1.06:1 — a keyboard user could not see where
   they were on any page. --brand-hot is 7.28:1 on --bg, and the 3px offset
   keeps the ring on the page background even around the solid orange button,
   where the two oranges would otherwise sit on top of each other.
   :focus-visible, not :focus, so a mouse click never draws it. */
:focus-visible {
  outline: 2px solid var(--brand-hot);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Layout ──────────────────────────────────────────────────────── */

/* padding-inline, not the shorthand: nearly every <section> is also a .shell, and
   a class beats an element selector — so `padding: 0 …` here silently zeroed the
   vertical rhythm the `section` rule below asks for, butting each section's text
   against the next one's marker. Declaring only the inline axis leaves the block
   axis to `section` (and to `.hero`, which sets its own). */
.shell { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

section { padding: clamp(56px, 8vw, 108px) 0; border-top: 1px solid var(--line-soft); }
section:first-of-type { border-top: 0; }

/* Numbered section marker — "03 / PRICING". The serial numbering is the
   spec-sheet cue that ties the whole site together. */
.marker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.marker::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.marker b { color: var(--brand-hot); font-weight: 500; }

/* ── Typography ──────────────────────────────────────────────────── */

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6.2vw, 68px); }
h2 { font-size: clamp(26px, 3.9vw, 42px); }
h3 { font-size: clamp(17px, 2vw, 21px); font-weight: 600; line-height: 1.25; }

.lede { font-size: clamp(17px, 2.1vw, 21px); color: var(--muted); max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); }
.tiny { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); }
.hot { color: var(--brand-hot); }
strong { font-weight: 700; color: var(--ink); }

a { color: inherit; }

/* ── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  padding: 14px 24px;
  background: var(--brand); color: var(--on-brand);
  border: 1px solid var(--brand); border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover { background: var(--brand-hot); border-color: var(--brand-hot); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(204, 97, 38, .28); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--brand-hot); color: var(--brand-hot); background: transparent; transform: translateY(-1px); }
.btn.sm { padding: 10px 16px; font-size: 14px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Masthead ────────────────────────────────────────────────────── */

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 10, 9, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.masthead .shell { display: flex; align-items: center; gap: 20px; height: 68px; }

/* The logo ships as one cached file rather than inline markup: at 7KB a copy,
   inlining it in the masthead and the footer of all 15 pages would add more
   bytes to every page than it saves in requests. width/height on the <img>
   carry the aspect ratio, so height alone sizes it without layout shift. */
.wordmark { display: block; text-decoration: none; flex: none; }
.wordmark img { display: block; height: 28px; width: auto; }
.foot .wordmark img { height: 26px; }

.mainnav { display: flex; gap: 26px; margin-left: auto; }
.mainnav a {
  font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .14s, border-color .14s;
}
.mainnav a:hover, .mainnav a[aria-current] { color: var(--ink); border-color: var(--brand); }

.mast-actions { display: flex; align-items: center; gap: 14px; }

/* Language pill — EN | BG. Present on every page that has both. */
.langsw { display: flex; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.langsw a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  padding: 6px 10px; text-decoration: none; color: var(--muted-2);
  transition: background .14s, color .14s;
}
.langsw a:hover { color: var(--ink); }
.langsw a[aria-current] { background: var(--brand-wash); color: var(--brand-hot); }
/* On a touch screen the pill is only 31px tall — under the 44px a fingertip
   needs. Grow the target, not the text, and only where there is no cursor.
   The detail-page breadcrumb has the same problem; padding on an inline <a>
   enlarges the hit area without touching the line box, so nothing moves. */
@media (pointer: coarse) {
  .langsw a { padding-block: 13px; }
  .crumb a  { padding-block: 12px; }
}

.navtoggle { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; padding: 8px; color: var(--ink); cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────────────── */

/* padding-block, not the shorthand: .hero and .shell have equal specificity, so
   a shorthand here would win the left/right slots too and zero out .shell's
   gutter — putting the h1 and lede flush against the screen edge on anything
   narrower than the 1180px max-width. */
.hero { padding-block: clamp(56px, 9vw, 110px) clamp(48px, 7vw, 88px); border-top: 0; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 24px; }
.hero .btn-row { margin-top: 36px; }

/* The one number the page is built around, set as a spec-sheet stat. */
.statline {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 52px; border: 1px solid var(--line);
}
.statline > div { flex: 1 1 180px; padding: 20px 22px; border-right: 1px solid var(--line); }
.statline > div:last-child { border-right: 0; }
.statline .n { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--brand-hot); letter-spacing: -0.02em; }
.statline .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }

/* ── Grids & panels ──────────────────────────────────────────────── */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }

/* Cells sit on the grid's 1px background, so the rules between them are
   shared — a drawn table, not a row of floating cards. Border OR shadow,
   never both. */
.cell { background: var(--bg); padding: 28px 26px; }
.cell h3 { margin-bottom: 10px; }
.cell p { color: var(--muted); font-size: 15px; }
.cell .idx { font-family: var(--mono); font-size: 12px; color: var(--brand); display: block; margin-bottom: 14px; }

.panel { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(24px, 4vw, 40px); }
.panel.accent { border-left: 3px solid var(--brand); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: start; }

/* ── Pricing ─────────────────────────────────────────────────────── */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plan { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column; }
.plan.featured { background: var(--bg-2); position: relative; }
.plan.featured::before {
  content: attr(data-tag);
  position: absolute; top: 0; left: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--brand); color: var(--on-brand); padding: 5px 12px;
}
.plan .pname { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.plan.featured .pname { margin-top: 16px; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: -0.03em; margin: 14px 0 2px; }
.plan .price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.plan .allowance { font-family: var(--mono); font-size: 13px; color: var(--brand-hot); margin-bottom: 20px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan li { font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 3px; color: var(--brand); }
.plan .btn { margin-top: auto; justify-content: center; }

/* ── Template gallery ────────────────────────────────────────────── */

.tpl { background: var(--bg); padding: 0; display: flex; flex-direction: column; text-decoration: none; transition: background .16s ease; }
.tpl:hover { background: var(--bg-2); }
.tpl:hover .tpl-name { color: var(--brand-hot); }
.tpl-head { padding: 24px 26px 0; }
.tpl-vertical { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.tpl-name { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.25; margin: 12px 0 10px; transition: color .16s; }
.tpl-body { padding: 0 26px 24px; }
.tpl-body p { color: var(--muted); font-size: 14.5px; }
.tpl-outcome {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 14px; color: var(--ink);
}
.tpl-outcome span { color: var(--brand-hot); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 5px; }

/* Sector filter + search. The bar is [hidden] in the markup and revealed by
   script, so with JavaScript off there is no dead control — all twenty cards
   are simply on the page. */
.tplbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  justify-content: space-between; margin-bottom: 34px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: transparent; border: 1px solid var(--line);
  border-radius: 2px; padding: 8px 13px; cursor: pointer; transition: color .14s, border-color .14s;
}
.chip:hover { color: var(--ink); border-color: var(--muted-2); }
.chip.on { color: var(--brand-hot); border-color: var(--brand); background: var(--brand-wash); }
/* With seven chips the row wraps on most screens; margin-left:auto keeps the
   search at the right edge so the wrap reads as deliberate rather than as an
   orphaned control. */
.tplsearch { position: relative; display: flex; align-items: center; flex: 0 1 260px; margin-left: auto; }
.tplsearch svg { position: absolute; left: 12px; color: var(--muted-2); pointer-events: none; }
.tplsearch input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink); font-family: var(--body); font-size: 14.5px; padding: 10px 12px 10px 34px;
}
.tplsearch input::placeholder { color: var(--muted-2); }
.tplsearch input:focus { outline: none; border-color: var(--brand); }
/* Must follow the rule above, not precede it: both selectors are (0,2,1), so at
   equal specificity the later declaration wins and the global ring would be
   cancelled back to none for anyone arriving by keyboard. */
.tplsearch input:focus-visible { outline: 2px solid var(--brand-hot); outline-offset: 2px; }
.tplsearch input::-webkit-search-cancel-button { filter: invert(.6); }

/* Sector sections stack with breathing room between them. */
[data-section] + [data-section] { margin-top: 46px; }
.tplempty { margin-top: 28px; font-size: 15px; color: var(--muted); }
.reach {
  margin-top: 18px; font-size: 15px; color: var(--muted-2);
  padding-left: 14px; border-left: 1px solid var(--line);
}

@media (max-width: 560px) {
  .tplbar { flex-direction: column; align-items: stretch; }
  /* margin-left:auto right-aligns the box when the chips wrap on desktop; in a
     stacked column it would instead stop it from filling the width. */
  .tplsearch { flex: 1 1 auto; margin-left: 0; }
}

/* Screen frame for template detail pages — a browser chrome that is a
   drawing, not a fake screenshot of software that does not exist. */
.frame { border: 1px solid var(--line); background: var(--bg-2); }
.frame .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.frame .body { padding: 26px; }

/* ── Steps ───────────────────────────────────────────────────────── */

.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.step:last-child { border-bottom: 0; }
.step .num {
  font-family: var(--display); font-weight: 800; font-size: 30px;
  color: transparent; -webkit-text-stroke: 1px var(--brand); line-height: 1;
}
.step h3 { margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── Forms ───────────────────────────────────────────────────────── */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 2px;
  padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
/* Same ordering constraint as .tplsearch above. */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--brand-hot); outline-offset: 2px;
}
.field.row2 { grid-column: span 2; }
.form-note { font-size: 13px; color: var(--muted-2); }
.form-msg { font-size: 14.5px; min-height: 20px; }
.form-msg.err { color: #f87171; }
.form-msg.ok { color: var(--brand-hot); }
@media (min-width: 720px) { .form.two { grid-template-columns: 1fr 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────── */

details { border-bottom: 1px solid var(--line-soft); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; gap: 14px; align-items: baseline; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: '+'; font-family: var(--mono); color: var(--brand); flex: none; }
details[open] summary::before { content: '−'; }
details p { color: var(--muted); font-size: 15px; margin-top: 12px; padding-left: 28px; }

/* ── Table ───────────────────────────────────────────────────────── */

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
th { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; }
td { color: var(--muted); }
td:first-child { color: var(--ink); font-weight: 600; }

/* ── CTA band ────────────────────────────────────────────────────── */

.cta { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta .shell { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 18ch; }

/* ── Footer ──────────────────────────────────────────────────────── */

footer { border-top: 1px solid var(--line-soft); padding: 48px 0 60px; }
.foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.foot h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; margin-bottom: 14px; }
.foot a { display: block; font-size: 14.5px; color: var(--muted); text-decoration: none; padding: 5px 0; }
.foot a:hover { color: var(--brand-hot); }
.foot-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px; color: var(--muted-2); }

/* ── Language banner ─────────────────────────────────────────────── */
/*
   A dismissible offer, never an auto-redirect: silently rewriting the URL
   breaks shared links and the back button, and mis-serves the many
   Bulgarian users whose browsers report an English locale.
*/
.langbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--brand); color: var(--on-brand);
  display: flex; align-items: center; gap: 16px;
  padding: 13px var(--gutter);
  transform: translateY(100%);
  animation: slideup .34s cubic-bezier(.2, .8, .3, 1) .7s forwards;
}
.langbar p { font-size: 15px; font-weight: 600; }
.langbar a { color: var(--on-brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.langbar button {
  margin-left: auto; background: none; border: 1px solid rgba(12,10,9,.45); border-radius: 2px;
  color: var(--on-brand); padding: 6px 12px; font-family: var(--body); font-size: 13px; font-weight: 600; cursor: pointer;
}
.langbar button:hover { background: rgba(12,10,9,.14); }
@keyframes slideup { to { transform: translateY(0); } }

/* ── Entrance motion ─────────────────────────────────────────────── */
/*
   One orchestrated page load beats scattered micro-interactions. Staggered
   only in the hero; everything below reveals on scroll via site.js.
*/
.rise { opacity: 0; transform: translateY(14px); animation: rise .62s cubic-bezier(.2,.8,.3,1) forwards; }
.rise:nth-child(2) { animation-delay: .07s; }
.rise:nth-child(3) { animation-delay: .14s; }
.rise:nth-child(4) { animation-delay: .21s; }
.rise:nth-child(5) { animation-delay: .28s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/*
   Scroll reveal is opt-in on scripting: site.js adds .seen. Guarded so that a
   browser with JavaScript off — or one too old to know the query — never hides
   the content it will not be able to reveal.
*/
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
  .reveal.seen { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Long-form text (privacy, terms) ─────────────────────────────── */
/*
   Legal text is the one thing on this site people read top to bottom rather
   than scan, so it gets a reading measure and generous leading — everything
   else here is built for scanning.
*/
.legal { max-width: 68ch; }
.legal h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 46px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.72; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--brand-hot); text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-2); }
/* The one table on these pages: who else touches the data, and why. */
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 11px 14px 11px 0; vertical-align: top;
  border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.legal th { color: var(--ink); font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .navtoggle { display: block; order: 3; margin-left: auto; }
  .mainnav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px;
  }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .mast-actions .btn { display: none; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .cta .shell { display: block; }
  .cta .btn-row { margin-top: 24px; }
}

@media (max-width: 640px) {
  /*
     Three columns inside 350px leaves about one word per line. Stacked, each
     processor reads as a short paragraph — who they are, what they do, what
     they see — which is the same information in the order you would say it.
  */
  .legal table, .legal tbody, .legal tr, .legal td { display: block; width: 100%; }
  .legal thead { display: none; }
  .legal tr { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .legal tr:last-child { border-bottom: 0; }
  .legal td { border: 0; padding: 0 0 4px; }
  .legal td:first-child { color: var(--ink); font-weight: 600; padding-bottom: 6px; }
}
