/* Axonis web styles.
   Layout: left-aligned editorial column on porcelain. The hero pairs the claim
   with an AI answer. One ink band per page at most. Citrine marks only the
   business that gets chosen (and the current page in the nav). */

:root {
  --bg: #F4F6F9;          /* Porcelain */
  --surface: #FFFFFF;     /* panels */
  --text: #121A2B;        /* Midnight ink */
  --muted: #566078;       /* Slate */
  --line: #DCE1E9;        /* Mist */
  --line-strong: #C3CAD6;
  --control: #7F889C;     /* form and button borders, 3:1 */
  --mark: #F1D04B;        /* Citrine: the chosen one */
  --on-mark: #121A2B;
  --band: #121A2B;
  --on-band: #F4F6F9;
  --band-muted: #AEB7C8;
  --btn: #121A2B;
  --on-btn: #F4F6F9;
  --btn-hover: #26314A;
  --focus: #121A2B;
  --good: #1F7A52;
  --bad: #B5403A;
  --shadow: 0 32px 64px -40px rgba(18, 26, 43, .55), 0 2px 6px -2px rgba(18, 26, 43, .08);
  --tab-shadow: 0 1px 3px rgba(18, 26, 43, .14);
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wide: 118%;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1320;
    --surface: #151D2E;
    --text: #EEF1F6;
    --muted: #A6B0C3;
    --line: #263049;
    --line-strong: #34405A;
    --control: #6B7793;
    --mark: #EDCB45;
    --on-mark: #0D1320;
    --band: #151D2E;
    --on-band: #EEF1F6;
    --band-muted: #A6B0C3;
    --btn: #EEF1F6;
    --on-btn: #0D1320;
    --btn-hover: #D5DBE5;
    --focus: #EDCB45;
    --good: #5CC08D;
    --bad: #E07A72;
    --shadow: 0 32px 64px -36px rgba(0, 0, 0, .75), 0 2px 6px -2px rgba(0, 0, 0, .35);
    --tab-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0D1320;
  --surface: #151D2E;
  --text: #EEF1F6;
  --muted: #A6B0C3;
  --line: #263049;
  --line-strong: #34405A;
  --control: #6B7793;
  --mark: #EDCB45;
  --on-mark: #0D1320;
  --band: #151D2E;
  --on-band: #EEF1F6;
  --band-muted: #A6B0C3;
  --btn: #EEF1F6;
  --on-btn: #0D1320;
  --btn-hover: #D5DBE5;
  --focus: #EDCB45;
  --good: #5CC08D;
  --bad: #E07A72;
  --shadow: 0 32px 64px -36px rgba(0, 0, 0, .75), 0 2px 6px -2px rgba(0, 0, 0, .35);
  --tab-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--surface); padding: 10px 14px; border-radius: 8px; }

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 640px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* ---------- type ---------- */
h1, h2, h3 {
  margin: 0;
  font-stretch: var(--wide);
  font-weight: 780;
  letter-spacing: -.025em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.55rem, 1.6rem + 4.3vw, 4.6rem); font-weight: 800; letter-spacing: -.032em; }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 720; letter-spacing: -.012em; line-height: 1.2; }
.lede { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 50ch; }
.fine { font-size: .9375rem; color: var(--muted); }
.muted { color: var(--muted); }
.measure { max-width: 62ch; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; padding-block: 6px; }
.brand svg { height: 25px; width: auto; display: block; }
.logo-mark { fill: var(--mark); }
.logo-ink { fill: currentColor; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 560; }
.nav a:hover { color: var(--text); }
.nav a:not(.btn)[aria-current="page"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--mark); border-radius: 0; }
.nav .btn { margin-left: 10px; color: var(--on-btn); }
.nav .btn:hover { color: var(--on-btn); }
.menu-btn {
  display: none;
  font: inherit; font-weight: 650; color: var(--text);
  background: transparent; border: 1.5px solid var(--control); border-radius: 10px;
  padding: 8px 14px; min-height: 44px; cursor: pointer;
}
@media (max-width: 940px) {
  .js .menu-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .nav { width: 100%; margin-left: 0; flex-direction: column; align-items: stretch; gap: 2px; padding-bottom: 18px; }
  .js .nav { display: none; }
  .js .site-header[data-open="true"] .nav { display: flex; }
  .nav a { padding: 12px 4px; font-size: 1.1rem; }
  .nav a:not(.btn)[aria-current="page"] { box-shadow: none; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 3px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 680; font-stretch: 108%; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--btn); color: var(--on-btn); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--control); }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.link-strong { font-weight: 650; text-decoration-color: var(--line-strong); }
.link-strong:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(44px, 7vw, 100px) clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }

/* ---------- the AI answer card ---------- */
.answer {
  margin: 0; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.4vw, 28px);
  display: grid; gap: 18px;
}
.answer-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg); justify-self: start; }
.answer-tabs button {
  font: inherit; font-size: .9rem; font-weight: 620; color: var(--muted);
  background: transparent; border: 0; border-radius: 9px; padding: 7px 14px; cursor: pointer;
}
.answer-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--tab-shadow); }
.answer-panel { display: grid; gap: 16px; }
.ask {
  justify-self: end; max-width: 90%;
  background: var(--bg); border-radius: 16px 16px 4px 16px;
  padding: 12px 16px; font-weight: 600; line-height: 1.4;
}
.reply { display: grid; gap: 10px; }
.reply-head { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.ai-dot {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center;
  font-size: .68rem; font-weight: 760; font-stretch: 112%; color: var(--text);
}
.picks { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: pick; }
.picks li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 10px;
  padding-block: 12px; border-top: 1px solid var(--line); counter-increment: pick;
}
.picks li::before { content: counter(pick); grid-row: 1 / span 2; font-weight: 760; font-stretch: 112%; color: var(--muted); font-variant-numeric: tabular-nums; }
.pick-name { grid-column: 2; font-weight: 700; font-stretch: 108%; }
.pick-why { grid-column: 2; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.answer figcaption { font-size: .82rem; color: var(--muted); }

mark.chosen {
  color: var(--on-mark);
  background-color: transparent;
  background-image: linear-gradient(var(--mark), var(--mark));
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 100% 80%;
  padding: 0 .2em; margin: 0 -.2em;
  border-radius: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.js mark.chosen.sweep { animation: sweep .9s .35s cubic-bezier(.22, .75, .2, 1) both; }
@keyframes sweep { from { background-size: 0% 80%; } to { background-size: 100% 80%; } }
@media (prefers-reduced-motion: reduce) { .js mark.chosen.sweep { animation: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7.5vw, 104px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: grid; gap: 16px; max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid var(--text); }
.step-n { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); }

.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 15rem); gap: 12px 40px; align-items: baseline; padding-block: 28px; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .rows li { grid-template-columns: minmax(0, 1fr); } }
.rows p { color: var(--muted); max-width: 56ch; }
.rows a { font-weight: 650; justify-self: end; text-align: right; }
@media (max-width: 820px) { .rows a { justify-self: start; text-align: left; } }

.band { background: var(--band); color: var(--on-band); }
.band .wrap { padding-block: clamp(64px, 9vw, 112px); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; }
@media (max-width: 820px) { .band-grid { grid-template-columns: minmax(0, 1fr); } }
.band h2 { font-size: clamp(2.2rem, 1.5rem + 3.2vw, 3.9rem); }
.band p { color: var(--band-muted); font-size: 1.15rem; max-width: 46ch; }

.factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; }
@media (max-width: 760px) { .factors { grid-template-columns: minmax(0, 1fr); } }
.factor { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.factor dt { font-weight: 700; font-stretch: 108%; font-size: 1.1rem; }
.factor dd { margin: 0; color: var(--muted); }

.promise { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 64px; }
@media (max-width: 820px) { .promise { grid-template-columns: minmax(0, 1fr); } }
.promise-body { display: grid; gap: 18px; }
.big { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.05rem); line-height: 1.3; font-weight: 560; letter-spacing: -.012em; max-width: 30ch; }

.faq { border-bottom: 1px solid var(--line); max-width: 840px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-block: 22px; font-weight: 650; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 62ch; }

.cta-end { display: grid; gap: 22px; justify-items: start; padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.cta-end h2 { max-width: 22ch; }
.cta-end p { color: var(--muted); max-width: 54ch; font-size: 1.125rem; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); display: grid; gap: 24px; justify-items: start; }
.page-hero + .section-tight, .page-hero + .section { padding-top: clamp(8px, 1.5vw, 16px); }
.page-hero .lede { max-width: 56ch; }

.asks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.asks li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; padding: 12px 16px; font-weight: 600; line-height: 1.4; }
.asks-note { margin-top: 24px; color: var(--muted); font-size: 1.125rem; max-width: 56ch; }

.panel { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 16px; }
.panel p { color: var(--muted); max-width: 62ch; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks li::before {
  content: ""; width: 15px; height: 8px; margin-top: .5em;
  border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; display: grid; gap: 18px;
  grid-template-rows: auto auto auto 1fr auto;
}
.plan-name { font-size: 1.1rem; font-weight: 700; font-stretch: 108%; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; line-height: 1; }
.price strong { font-size: clamp(2.4rem, 2rem + 1.5vw, 3.1rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 1rem; }
.plan-line { font-weight: 600; }
.plan .ticks { font-size: .98rem; color: var(--muted); align-self: start; }
.plan .btn { justify-self: start; }
.notes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }

/* ---------- free check ---------- */
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
@media (max-width: 920px) { .check-grid { grid-template-columns: minmax(0, 1fr); } }
.check-info { display: grid; gap: 32px; min-width: 0; }
.check-info h2 { font-size: 1.5rem; }

.sample { margin: 0; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; background: var(--surface); }
.sample-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.sample-head strong { font-stretch: 108%; }
.sample-head span { font-size: .85rem; color: var(--muted); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr) 2.2em; gap: 12px; align-items: center; font-size: .95rem; }
.bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--muted); border-radius: 5px; }
.bars li.you { font-weight: 700; }
.bars li.you .bar span { background: var(--text); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.sample-foot { font-size: .95rem; color: var(--muted); }

.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); min-width: 0; }
.form-panel h2 { font-size: 1.5rem; margin-bottom: 20px; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 650; font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--control); border-radius: 10px;
  padding: 11px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--text); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .two { grid-template-columns: minmax(0, 1fr); } }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .95rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { font-size: .95rem; font-weight: 600; margin: 0; }
.form-status:empty { display: none; }
.form-error { color: var(--bad); }
.btn[disabled] { opacity: .65; cursor: progress; }
.preview-note { font-size: .95rem; font-weight: 600; color: var(--text); background: var(--bg); border-radius: 10px; padding: 12px 14px; }

/* ---------- about / contact / legal ---------- */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 32px; margin: 0; }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 2px; } .facts dd { margin-bottom: 12px; } }

.email-line { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); font-weight: 700; font-stretch: 108%; letter-spacing: -.01em; user-select: all; }

.prose { max-width: 70ch; padding-bottom: clamp(64px, 8vw, 112px); }
.prose h2 { font-size: 1.45rem; margin: 2.2em 0 .6em; }
.prose p, .prose ul { margin: 0 0 1em; color: var(--muted); }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--text); }

.stack { display: grid; gap: 20px; justify-items: start; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 52px 40px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .6fr)); gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand svg { height: 22px; width: auto; color: var(--text); }
.footer-grid h2 { font-size: 1rem; font-stretch: 100%; letter-spacing: 0; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; display: grid; gap: 6px; }
