/* Agent Master Key — static marketing site.
   Self-contained: no external fonts, scripts, or trackers. */

:root {
  --bg: #0e1011;
  --bg-2: #131618;
  --panel: #15191c;
  --panel-2: #1a1f22;
  --paper: #f1efe8;
  --paper-soft: #c9cac4;
  --muted: #a7aaa4;
  --muted-2: #7e8580;
  --line: rgba(241, 239, 232, .12);
  --line-strong: rgba(241, 239, 232, .22);
  --red: #c52233;
  --red-strong: #e04452;
  --pewter: #929b96;
  --light: #ffffff;
  --light-soft: #f7f8fa;
  --light-ink: #16181d;
  --light-muted: #5b6470;
  --light-line: #e5e7eb;
  --ink: var(--paper);
  --ink-soft: var(--paper-soft);
  --bg-soft: var(--panel);
  --accent: var(--red);
  --accent-dark: #9e1b28;
  --shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 18px 44px rgba(0, 0, 0, .24);
  --radius: 8px;
  --radius-lg: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
/* The `hidden` attribute must win over component display rules (e.g. .btn sets
   display:inline-flex, which otherwise overrides the UA [hidden] default and
   leaves gated/disabled buttons visibly rendered). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--paper);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
p { margin: 0; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: inherit; line-height: 1.05; letter-spacing: 0; }
code { font-family: var(--mono); font-size: .9em; }

.wrap { width: min(var(--maxw), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.centered { text-align: center; }
.centered-row { justify-content: center; }
.section-dark { background: var(--bg); color: var(--paper); }
.section-light { background: var(--light); color: var(--light-ink); }
.section-kicker {
  margin-bottom: 14px;
  color: var(--pewter);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 46px); }
.section-head.centered { margin-left: auto; margin-right: auto; }
.section-head h2,
.split h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
}
.section-head p:not(.section-kicker),
.split p,
.final-cta p {
  margin-top: 14px;
  color: var(--light-muted);
  font-size: 1.08rem;
}
.section-dark .section-head p:not(.section-kicker),
.section-dark .split p,
.section-dark .final-cta p {
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 16, 17, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
}
.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--paper);
  font-weight: 750;
}
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) {
  color: var(--paper-soft);
  font-size: .95rem;
  font-weight: 600;
}
.nav-links a:not(.btn):hover { color: var(--paper); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .98rem;
  font-weight: 750;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-small { min-height: 38px; padding: 10px 16px; font-size: .92rem; }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-strong); color: white; }
.btn-ghost-dark { color: var(--paper); border-color: var(--line-strong); background: transparent; }
.btn-ghost-dark:hover { border-color: rgba(241, 239, 232, .42); color: white; }
.btn-ghost { color: var(--paper); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: rgba(241, 239, 232, .42); color: white; }
.btn-block { width: 100%; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.muted { color: var(--muted); }
.center { text-align: center; }
.back { display: inline-flex; margin-bottom: 22px; color: var(--paper-soft); font-weight: 750; }
.back:hover { color: var(--paper); }

/* Hero */
.hero {
  padding: clamp(72px, 8vw, 112px) 0 clamp(54px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(34px, 6vw, 70px);
}
.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 5.35rem);
  font-weight: 850;
  letter-spacing: 0;
}
.hero h1 span { color: var(--red-strong); }
.hero .lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #b6b8b2;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.hero .cta-row { margin-top: 34px; }
.fineprint {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: .9rem;
}
.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
}
.hero-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.mini-label,
.status-dot {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-dot {
  color: var(--pewter);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pewter);
  box-shadow: 0 0 0 4px rgba(146, 155, 150, .14);
}
.hero-price {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-price strong {
  font-size: clamp(4rem, 8vw, 5rem);
  line-height: .85;
  letter-spacing: 0;
}
.hero-price span {
  max-width: 150px;
  color: var(--paper-soft);
  font-weight: 700;
  line-height: 1.2;
}
.hero-panel p { margin-top: 18px; color: var(--muted); }

/* Shared layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}
.split-reverse { grid-template-columns: minmax(330px, .95fr) minmax(0, 1fr); }
.problem-section,
.proof-section,
.action-section,
.trust-section,
.setup-section,
.connectors-section,
.pricing-section,
.faq-section,
.final-cta {
  padding: clamp(64px, 8vw, 104px) 0;
}

/* Problem */
.compare-stack { display: grid; gap: 14px; }
.compare-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-line);
  background: var(--light-soft);
}
.compare-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--light-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compare-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0;
}
.compare-card p { margin-top: 10px; color: var(--light-muted); font-size: .96rem; }
.danger-card { border-color: rgba(197, 34, 51, .28); background: #fff7f7; }
.danger-card strong { color: #9f1826; }
.safe-card { border-color: rgba(91, 100, 112, .28); background: #f8faf9; }
.safe-card strong { color: #256653; }

/* Proof terminal */
.terminal-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #0b0d0e;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}
.terminal-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 750;
}
.terminal-body {
  display: grid;
  gap: 12px;
  padding: 20px;
  font-family: var(--mono);
  font-size: .92rem;
}
.terminal-body p {
  margin: 0;
  color: var(--paper-soft);
}
.terminal-body span {
  display: inline-flex;
  min-width: 78px;
  margin-right: 10px;
  font-weight: 800;
}
.ok { color: var(--pewter); }
.warn { color: #f2b56b; }
.deny { color: var(--red-strong); }
.muted-code { color: var(--muted-2); }

/* Action cards */
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.action-card {
  border-top: 2px solid var(--red);
  padding-top: 18px;
}
.action-card span,
.step span {
  display: block;
  color: var(--red);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 850;
}
.action-card h3,
.step h3 { margin-top: 12px; font-size: 1.12rem; }
.action-card p,
.step p { margin-top: 8px; color: var(--light-muted); }

/* Trust */
.trust-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
}
.trust-zone {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}
.broker-zone { border-color: rgba(197, 34, 51, .5); }
.trust-zone span {
  color: var(--pewter);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trust-zone h3 { font-size: 1.14rem; }
.trust-zone p { color: var(--muted); font-size: .95rem; }
.trust-zone code {
  margin-top: auto;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--paper-soft);
}
.flow-arrow {
  display: grid;
  place-items: center;
  min-width: 74px;
  color: var(--muted-2);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.guard-rail {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px dashed rgba(146, 155, 150, .48);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}
.guard-rail strong { color: var(--paper); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.step {
  padding: 24px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  background: var(--light-soft);
}

/* Connectors */
.connector-group + .connector-group { margin-top: 30px; }
.connector-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.doc a.back { font-weight: 600; }
.legal-doc h1 { margin-top: 10px; }
.legal-meta {
  color: var(--muted);
  font-size: .92rem;
  margin: 10px 0 28px;
}
.legal-doc code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .92em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.legal-doc pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.legal-doc pre code {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.legal-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}
/* The wrap is a keyboard-focusable scroll region (tabindex="0" + role="region"
   in the markup) so keyboard users can scroll the wide table. */
.legal-table-wrap:focus-visible {
  outline: 2px solid var(--red-strong);
  outline-offset: 2px;
}
.legal-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  table-layout: fixed;
}
/* The six-column comparison table needs real width; narrower legal tables
   keep fitting their container without scrolling. */
.legal-table-wrap table.compare-table { min-width: 960px; }
.legal-table-wrap th,
.legal-table-wrap td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.legal-table-wrap th {
  background: var(--bg-soft);
  color: var(--ink);
}
.legal-table-wrap tr:last-child td { border-bottom: 0; }
.connector-group-head p { color: var(--light-muted); font-weight: 650; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.badge.live { color: #0f6e56; background: #e7f5ee; }
.badge.live::before { background: #1d9e75; }
.badge.held { color: #72470c; background: #fdf2e1; }
.badge.held::before { background: #ba7517; }
.connector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: 10px;
}
.live-grid {
  max-width: 660px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.connector-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-content: center;
  padding: 14px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  background: white;
}
.connector-card span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--light-line);
  font-size: .78rem;
  font-weight: 850;
}
.connector-card strong { align-self: end; color: var(--light-ink); font-size: .98rem; }
.connector-card small { color: var(--light-muted); font-weight: 650; }
.is-live span { color: #0f6e56; background: #e7f5ee; border-color: #bee7d5; }
.is-held { border-style: dashed; }
.is-held span { color: #72470c; background: #fdf2e1; border-color: #f3d6a6; }
.connector-proof-note {
  margin-top: 12px;
  color: var(--light-muted);
  font-size: .94rem;
  font-weight: 700;
}
.byok-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
  padding: 22px;
  border: 1px dashed rgba(197, 34, 51, .38);
  border-radius: var(--radius-lg);
  background: #fff8f8;
}
.byok-panel strong { font-size: 1.1rem; }
.byok-panel p { margin-top: 5px; color: var(--light-muted); }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}
.featured-price { border-color: rgba(197, 34, 51, .5); }
.price-flag {
  width: max-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.muted-flag { background: var(--bg-2); color: var(--paper-soft); border: 1px solid var(--line); }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.price-row strong { font-size: clamp(3.4rem, 7vw, 4.6rem); line-height: .9; }
.price-row span { color: var(--paper-soft); font-weight: 750; }
.price-card p { margin-top: 16px; color: var(--muted); }
.check-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 24px;
  color: inherit;
}
.section-dark .check-list li { color: var(--paper-soft); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pewter);
}
.compact-list { gap: 9px; margin-top: 18px; color: var(--paper-soft); }
.launch-gate {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px dashed rgba(146, 155, 150, .5);
  border-radius: var(--radius-lg);
  background: #111416;
}
.launch-gate h3 { font-size: 1.35rem; }
.launch-gate p { margin-top: 12px; color: var(--muted); }
.gate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.gate-grid p {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.gate-grid strong,
.gate-grid span { display: block; }
.gate-grid strong { color: var(--paper); margin-bottom: 6px; }
.gate-grid span { overflow-wrap: anywhere; color: var(--muted); }
.launch-gate .cta-row { margin-top: 22px; }

/* FAQ */
details {
  border-bottom: 1px solid var(--light-line);
  padding: 18px 4px;
}
details summary {
  cursor: pointer;
  color: var(--light-ink);
  font-size: 1.06rem;
  font-weight: 750;
}
details p { margin: 12px 0 0; color: var(--light-muted); }

/* Footer and doc pages */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.foot nav,
.foot > div:first-child:not(.copy) {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
}
.foot nav a,
.foot > div:first-child:not(.copy) a,
.copy { color: var(--muted); font-size: .92rem; }
.foot nav a:hover,
.foot > div:first-child:not(.copy) a:hover { color: var(--paper); }
/* Stacked canonical footer: links row, social row, copyright row */
.foot.foot-cols { flex-direction: column; align-items: flex-start; gap: 14px; }
.foot .social { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.foot .social a { color: var(--muted); font-size: .92rem; }
.foot .social a:hover { color: var(--paper); }

.doc {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 64px;
  color: var(--paper);
}
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { margin-top: 2rem; font-size: 1.35rem; }
.doc p,
.doc li { color: var(--paper-soft); }
.doc a { color: white; text-decoration: underline; text-underline-offset: 3px; }
.doc pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.doc pre code {
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.doc .draft,
.note {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px dashed rgba(197, 34, 51, .45);
  border-radius: var(--radius);
  background: #2a1215;
  color: #ffd8dc;
}
.note { text-align: center; }
.account-panel {
  --ink: var(--light-ink);
  --ink-soft: var(--light-muted);
  --muted: var(--light-muted);
  --line: var(--light-line);
  --bg-soft: var(--light-soft);
  color: var(--light-ink);
}

@media (max-width: 880px) {
  .nav-links a:not(.btn) { display: none; }
  .hero-grid,
  .split,
  .split-reverse,
  .price-grid,
  .gate-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .trust-flow { grid-template-columns: 1fr; }
  .flow-arrow { display: none; }
  .action-grid,
  .steps { grid-template-columns: 1fr; }
  .live-grid { grid-template-columns: 1fr; max-width: none; }
  .byok-panel { align-items: flex-start; flex-direction: column; }
}

/* Below 720px the comparison table stacks: each row becomes a block with its
   row header on top and every cell labeled by its column (data-label). This
   keeps all content inside the viewport instead of relying on horizontal
   scroll at phone widths. Scoped to .compare-table so the narrower legal
   tables keep their normal tabular rendering. */
@media (max-width: 720px) {
  .legal-table-wrap table.compare-table { min-width: 0; }
  /* Column headers are re-announced per cell via data-label, so the header
     row can be removed outright (clip-based hiding still leaves wide cell
     rects that overflow the viewport). */
  .compare-table thead { display: none; }
  table.compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th[scope="row"],
  .compare-table td { display: block; width: 100%; }
  .compare-table tr { border-bottom: 1px solid var(--line-strong); }
  .compare-table tr:last-child { border-bottom: 0; }
  .compare-table td { border-bottom: 1px solid var(--line); }
  .compare-table tr td:last-child { border-bottom: 0; }
  .compare-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--paper-soft);
    margin-bottom: 2px;
  }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, var(--maxw)); }
  .nav { min-height: 60px; gap: 12px; }
  .nav-links { gap: 10px; }
  .nav-links .btn { padding: 10px 14px; }
  .brand span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { padding-top: 48px; padding-bottom: 42px; }
  .hero h1 { font-size: clamp(2.45rem, 15vw, 3.3rem); }
  .hero .lead { font-size: 1rem; }
  .hero .cta-row { margin-top: 26px; }
  .hero-panel { display: none; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .cta-row { width: 100%; }
  .terminal-top { flex-direction: column; gap: 4px; }
  .terminal-body span { min-width: 68px; }
  .legal-table-wrap table { font-size: .84rem; }
  .legal-table-wrap th,
  .legal-table-wrap td { padding: 9px 8px; }
  .foot { align-items: flex-start; flex-direction: column; }
}

/* Phone widths with longer header nav labels (blog.html links "Community"):
   tighten the nav further so brand + two ghost buttons fit a 390px viewport
   without horizontal overflow. Same pattern as the 560px nav shrink above;
   buttons stay well above the 24px WCAG 2.2 target-size minimum. */
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .nav-links { gap: 8px; }
  .nav-links .btn { padding: 9px 10px; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

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

.amk-price-slash-wrap{position:relative;display:inline-flex;align-items:baseline;gap:.85rem;flex-wrap:wrap;justify-content:center}
.amk-price-ref{position:relative;display:inline-block;color:rgba(241,239,232,.55);font-weight:800;letter-spacing:-.02em;line-height:1}
.amk-price-ref.is-dark{color:var(--muted,#6b7280)}
.amk-price-ref .amk-slash{position:absolute;left:-6%;top:48%;width:112%;height:3px;background:linear-gradient(90deg,transparent,var(--amk-red,#c52233),transparent);transform:rotate(-18deg);transform-origin:center;border-radius:999px;pointer-events:none;animation:amk-slash-draw 700ms ease-out both}
.amk-price-ref:hover .amk-slash,.amk-price-ref:focus-visible .amk-slash{animation:amk-slash-redraw 420ms ease-in-out both;background:linear-gradient(90deg,transparent,#e04452,transparent)}
@keyframes amk-slash-draw{from{transform:rotate(-18deg) scaleX(0);opacity:0}to{transform:rotate(-18deg) scaleX(1);opacity:1}}
@keyframes amk-slash-redraw{0%{transform:rotate(-18deg) scaleX(.15)}100%{transform:rotate(-18deg) scaleX(1)}}
.amk-free-now{display:inline-flex;flex-direction:column;align-items:flex-start;gap:.15rem}
.amk-free-now strong{font-size:clamp(2.4rem,6vw,3.6rem);font-weight:850;letter-spacing:-.03em;line-height:.95;color:#f1efe8}
.amk-free-now.is-dark strong{color:var(--ink,#16181d)}
.amk-free-now span{font-size:.92rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:var(--amk-red-strong,#e04452)}
.amk-price-note{margin:.75rem 0 0;font-size:.92rem;color:rgba(241,239,232,.72);line-height:1.5}
.amk-price-note.is-dark{color:var(--muted,#6b7280)}
