/* ==========================================================================
   Macht AI — machtai.com
   Dark console design system, derived from the AI Audit landing page.
   Static CSS for Hostinger (LiteSpeed). No build step, no framework.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --bg:        #07111F;
  --surface:   #0A1626;
  --panel:     #0B1A2E;
  --card:      #0D1F35;
  --deep:      #050D18;
  --inset:     #102C47;

  --line:      #13263F;
  --line-2:    #1B3354;
  --line-3:    #23406A;

  --text:      #E6F1FF;
  --muted:     #B8C9DC;
  --muted-2:   #9FB3C8;
  --muted-3:   #8FA6BF;

  --cyan:      #22D3EE;
  --mint:      #5EEAD4;
  --mint-2:    #2DD4BF;
  --mint-3:    #99F6E4;
  --teal-bg:   #062A2A;
  --teal-line: #134E4A;

  --violet:    #A78BFA;
  --green:     #34D399;
  --amber:     #F59E0B;

  --wrap: 1200px;
  --gut: clamp(1.25rem, 4vw, 1.5rem);

  --r-sm: 10px;
  --r:    12px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 18px;
  --r-2xl: 22px;
  --pill: 999px;

  --ease: cubic-bezier(.22, .68, .36, 1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* --- Type --------------------------------------------------------------- */
h1, h2, h3, h4, .display {
  font-family: Figtree, Inter, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { text-wrap: pretty; }
a { color: var(--mint); }
a:hover { color: var(--mint-3); }
strong { font-weight: 600; color: var(--text); }

.eyebrow {
  font-size: 13px;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}
.lede { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* --- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
/* Narrow text columns stay inside the 1200px container and align left with
   page headings, rather than centring and drifting out of alignment. */
.wrap--narrow > * { max-width: 820px; }

.section { padding-block: clamp(48px, 7vw, 72px); }
.section--tight { padding-block: clamp(32px, 5vw, 48px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { margin-top: 8px; }
.section-head .lede { margin-top: 14px; }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.split { display: grid; gap: clamp(28px, 4vw, 40px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } }
@media (min-width: 900px) { .split--even { grid-template-columns: 1fr 1fr; } }

.stack > * + * { margin-top: 14px; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mb-1 { margin-bottom: 12px; }
.center { text-align: center; }
.hr { height: 1px; background: var(--line); border: 0; margin-block: 32px; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; min-height: 48px;
  border: 1px solid transparent; border-radius: var(--r);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cyan); color: var(--bg); }
.btn--primary:hover { background: var(--mint-3); color: var(--bg); }
.btn--ghost { background: none; color: var(--text); border-color: var(--line-3); }
.btn--ghost:hover { background: var(--card); border-color: var(--cyan); color: var(--text); }
.btn--sm { padding: 10px 18px; min-height: 0; font-size: 15px; border-radius: var(--r-sm); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--mint); font-weight: 600; font-size: 15px; text-decoration: none;
}
.arrow-link::after { content: "→"; transition: transform .18s var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }

/* --- Focus / a11y ------------------------------------------------------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cyan); color: var(--bg); padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 0; color: var(--bg); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- Pill badge --------------------------------------------------------- */
.badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  font-size: 13px; color: var(--mint);
  border: 1px solid var(--teal-line); background: var(--teal-bg);
  padding: 6px 12px; border-radius: var(--pill);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-2); display: inline-block; flex: none; }

/* --- Animations --------------------------------------------------------- */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes slidein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pulse { animation: pulse 1.4s ease-in-out infinite; }
.logline { animation: slidein .4s ease-out; }
.bar { transition: width .8s ease; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 17, 31, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut);
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__name {
  font-family: Figtree, Inter, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.01em;
}
.nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--cyan); }
/* Scoped to the solid variant: a ghost CTA needs light text, not dark. */
.nav .btn--primary { color: var(--bg); }
.nav .btn--primary:hover { color: var(--bg); }
.nav .btn--ghost { color: var(--text); }
.nav .btn--ghost:hover { color: var(--text); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-3);
  border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer; color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto; display: none; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px var(--gut) 20px;
    background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; border-bottom: 0; justify-content: center; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: 40px var(--gut) 72px;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start;
}
.hero__main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__main h1 { margin: 0; }
.hero__sub { margin: 0; font-size: 18px; color: var(--muted); max-width: 560px; }

/* --- Quiz card ---------------------------------------------------------- */
.quiz {
  background: var(--panel); border: 1px solid var(--line-3); border-radius: var(--r-xl);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
  /* The quiz is the page's primary action, so it outranks the agents panel:
     accent hairline on the leading edge plus a lifted shadow. */
  box-shadow: inset 3px 0 0 var(--cyan), 0 18px 40px rgba(0, 0, 0, .35);
}
.quiz__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted-2);
}
.track { height: 6px; background: var(--line); border-radius: var(--pill); overflow: hidden; }
.track > i { display: block; height: 100%; background: var(--cyan); border-radius: var(--pill); width: 0; }
.quiz h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.quiz__opts { display: grid; gap: 10px; }
.opt {
  position: relative; text-align: left; font: inherit; color: var(--text);
  background: var(--card); border: 1px solid var(--line-3); border-radius: var(--r);
  padding: 14px 44px 14px 16px; cursor: pointer; min-height: 48px;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
/* A chevron so the options read as choices, not labels. */
.opt::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 7px; height: 7px; margin-top: -4px;
  border-right: 1.5px solid var(--muted-3); border-bottom: 1.5px solid var(--muted-3);
  transform: rotate(-45deg);
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.opt:hover { border-color: var(--cyan); background: #0F2238; }
.opt:hover::after { border-color: var(--cyan); transform: rotate(-45deg) translate(2px, 2px); }
.quiz__back {
  align-self: flex-start; font: inherit; font-size: 14px; color: var(--muted-2);
  background: none; border: none; padding: 8px 0; cursor: pointer;
}
.quiz__back:hover { color: var(--text); }
.quiz__step[hidden], .quiz__result[hidden] { display: none; }

/* Result */
.score-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.score-ring {
  width: 112px; height: 112px; border-radius: 50%; border: 6px solid var(--cyan);
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
}
.score-ring b {
  font-family: Figtree, Inter, sans-serif; font-size: 34px; font-weight: 700; line-height: 1;
}
.score-ring span { font-size: 12px; color: var(--muted-2); }
.score-copy { flex: 1 1 220px; min-width: 0; }
.score-copy h2 { margin: 4px 0 6px; font-size: 28px; }
.score-copy p { margin: 0; color: var(--muted); }

.dims { display: flex; flex-direction: column; gap: 10px; }
.dimrow { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.dimrow__name { width: 110px; color: var(--muted); flex: none; }
.dimrow__track { flex: 1; height: 8px; background: var(--line); border-radius: var(--pill); overflow: hidden; }
.dimrow__fill { height: 100%; width: 6%; border-radius: var(--pill); background: var(--cyan); }
.dimrow__score { width: 36px; text-align: right; color: var(--muted-2); flex: none; }

.gap-note {
  background: var(--teal-bg); border: 1px solid var(--teal-line); border-radius: var(--r);
  padding: 14px 16px; font-size: 15px;
}
.gap-note strong { color: var(--mint); }

/* --- Agents panel ------------------------------------------------------- */
.agents {
  flex: 1 1 420px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  /* Supporting illustration, not the primary action — held back deliberately. */
  opacity: .92;
}
.agents__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.agents__title { font-family: Figtree, Inter, sans-serif; font-weight: 600; font-size: 17px; }
.agents__tag { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mint); }
.agent {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}
.agent__top { display: flex; align-items: center; gap: 12px; }
.agent__avatar {
  width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--inset);
  display: flex; align-items: center; justify-content: center; flex: none;
  font-family: Figtree, Inter, sans-serif; font-weight: 700;
}
.agent__body { flex: 1; min-width: 0; }
.agent__name { font-weight: 600; font-size: 15px; }
.agent__task { font-size: 13px; color: var(--muted-2); }
.agent__status {
  font-size: 12px; border: 1px solid var(--line-3); border-radius: var(--pill);
  padding: 3px 9px; flex: none;
}
.agent__track { height: 5px; background: var(--line); border-radius: var(--pill); overflow: hidden; }
.agent__fill { height: 100%; border-radius: var(--pill); }

.console {
  background: var(--deep); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px;
  color: var(--muted-3); display: flex; flex-direction: column; gap: 4px;
}
.console time { color: var(--mint); font-style: normal; }

/* --- Cards -------------------------------------------------------------- */
.card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: var(--text);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
a.card:hover { border-color: var(--cyan); transform: translateY(-2px); color: var(--text); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card svg { flex: none; }
.card .arrow-link { margin-top: auto; padding-top: 8px; }
.card__list { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.card__list li { position: relative; padding-left: 16px; font-size: 14px; color: var(--muted-2); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-line);
}


/* --- Pricing tiers ------------------------------------------------------
   Cards rather than a table: the "what's included" column is a paragraph,
   and a four-column table collapses badly on a phone. */
.tier {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.tier--lead { border-color: var(--teal-line); background: var(--panel); }
.tier__head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: baseline; }
.tier__name {
  font-family: Figtree, Inter, sans-serif; font-weight: 600; font-size: 20px;
  color: var(--text); margin: 0;
}
.tier__who {
  font-size: 12px; color: var(--mint); border: 1px solid var(--teal-line);
  background: var(--teal-bg); border-radius: var(--pill); padding: 3px 10px;
  white-space: nowrap;
}
.tier__price {
  font-family: Figtree, Inter, sans-serif; font-weight: 700;
  font-size: clamp(30px, 3.4vw, 40px); line-height: 1; color: var(--cyan);
  letter-spacing: -.02em;
}
.tier__price small {
  display: block; font-size: 13px; font-weight: 500; letter-spacing: 0;
  color: var(--muted-2); margin-top: 6px;
}
.tier__price em { font-style: normal; font-size: .5em; color: var(--muted-2); margin-right: 4px; }
.tier p { margin: 0; color: var(--muted); font-size: 15px; }
.tier__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; padding-top: 6px;
  font-size: 13px; color: var(--muted-3);
}
.tier__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Lane heading above a group of tiers */
.lane {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.lane h3 { margin: 0; font-size: 17px; }
.lane i { flex: 1; height: 1px; background: var(--line-2); }

/* --- Steps -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.step { border-top: 2px solid var(--cyan); padding-top: 16px; }
.step__n { font-family: Figtree, Inter, sans-serif; color: var(--cyan); font-weight: 700; }
.step h3 { margin: 6px 0; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Note / callout ----------------------------------------------------- */
.note {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 18px 20px; font-size: 15px; color: var(--muted);
}
.note strong { color: var(--text); }
.note--teal { background: var(--teal-bg); border-color: var(--teal-line); }
.note--teal strong { color: var(--mint); }

.callout {
  border-left: 3px solid var(--cyan); padding: 4px 0 4px 20px;
  font-family: Figtree, Inter, sans-serif; font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3; color: var(--text); font-weight: 500;
}
/* For a statement that spans the full container rather than sitting in a
   column: larger, with the measure capped so the line length stays readable. */
.callout--wide { font-size: clamp(22px, 2.9vw, 34px); max-width: 26ch; }
@media (min-width: 760px) { .callout--wide { max-width: 34ch; } }

.bullets { display: flex; flex-direction: column; gap: 8px; }
.bullets li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 1px; background: var(--cyan);
}

.checklist li { display: flex; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.checklist--yes svg { color: var(--cyan); }
.checklist--no svg { color: var(--muted-3); }

/* --- Spec rows ---------------------------------------------------------- */
.spec { border-top: 1px solid var(--line); }
.spec__row {
  display: grid; gap: 4px 24px; grid-template-columns: 1fr;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .spec__row { grid-template-columns: 220px 1fr; } }
.spec__label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mint); padding-top: 3px; }
.spec__val { color: var(--muted); font-size: 15px; }
.spec__val p + p { margin-top: 8px; }

/* --- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding-block: 18px; cursor: pointer; list-style: none;
  font-family: Figtree, Inter, sans-serif; font-weight: 600; font-size: 17px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; flex: none;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--mint); }
.faq__a { padding: 0 0 20px; max-width: 70ch; color: var(--muted); font-size: 15px; }
.faq__a p + p { margin-top: 10px; }

/* --- News --------------------------------------------------------------- */
.news { display: flex; flex-direction: column; gap: 18px; }
.post {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.post__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; color: var(--muted-2); }
.post__tag {
  color: var(--mint); border: 1px solid var(--teal-line); background: var(--teal-bg);
  border-radius: var(--pill); padding: 3px 10px; font-size: 12px;
}
.post h2, .post h3 { margin: 0; font-size: 22px; }
.post p { margin: 0; color: var(--muted); font-size: 15px; }
.post__body { display: flex; flex-direction: column; gap: 12px; }
.post__body ul { display: flex; flex-direction: column; gap: 8px; }
.post__body li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; }
.post__body li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 1px; background: var(--cyan);
}

/* --- Forms -------------------------------------------------------------- */
.form-card {
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px);
}
.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--mint); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; min-height: 48px;
  background: var(--card); border: 1px solid var(--line-3); border-radius: var(--r);
  color: var(--text); font-size: 15px;
  transition: border-color .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-3); }
.field textarea { min-height: 130px; resize: vertical; }
.field select option { background: var(--card); color: var(--text); }
.field__hint { font-size: 13px; color: var(--muted-2); margin-top: 8px; }
.field-row { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-2xl);
  padding: 44px 32px; display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.cta-band__copy { flex: 1 1 420px; min-width: 0; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); }
.cta-band p { margin: 0; color: var(--muted); }

/* --- Page head (interior) ---------------------------------------------- */
.page-head {
  border-bottom: 1px solid var(--line); background: var(--surface);
  padding-block: clamp(36px, 5vw, 56px);
}
.page-head h1 { margin-top: 12px; max-width: 20ch; }
.page-head .lede { margin-top: 16px; max-width: 60ch; }
.page-head .btn-row { margin-top: 26px; }
.crumbs { font-size: 13px; color: var(--muted-3); margin-bottom: 18px; }
.crumbs a { color: var(--muted-3); text-decoration: none; }
.crumbs a:hover { color: var(--mint); }
.crumbs span { margin-inline: 8px; opacity: .5; }

/* --- Prose (legal) ------------------------------------------------------ */
.prose { max-width: 72ch; }
.prose h2 { font-size: 22px; margin-top: 36px; margin-bottom: 10px; }
.prose p { margin-bottom: 14px; color: var(--muted); }
.prose ul { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.prose ul li { position: relative; padding-left: 20px; color: var(--muted); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 1px; background: var(--cyan);
}

/* --- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer__grid {
  max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gut) 32px;
  display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer__brand { max-width: 320px; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--muted-2); }
.footer__col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--mint); margin-bottom: 14px; font-weight: 500;
}
.footer__col li { padding-block: 5px; font-size: 15px; }
.footer__col a { color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gut) 28px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 14px; color: var(--muted-3);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* --- Touch targets ------------------------------------------------------
   Apple asks for 44px, Android for 48. Text links in the footer and inline
   arrow links fall well short, so they get padding on touch-sized screens. */
@media (max-width: 920px) {
  .footer__col li { padding-block: 0; }
  .footer__col li a {
    display: inline-flex; align-items: center; min-height: 44px; padding-block: 2px;
  }
  .footer__bottom ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .arrow-link { min-height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .brand { min-height: 44px; }
  .nav-toggle { min-height: 44px; min-width: 44px; justify-content: center; }
}

/* --- Motion preference -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
