.site-header{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;border-bottom:1px solid rgba(0,0,0,.12);background:Canvas}
.site-header--sticky{position:sticky;top:0;z-index:20}
.site-id{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;text-decoration:none;color:inherit}
.site-id img{height:1.75rem;width:auto}
.site-menu{display:flex;flex-wrap:wrap;gap:.75rem;margin:0;padding:0;list-style:none}
.site-menu a{color:inherit}
.site-menu a[aria-current="page"]{font-weight:600}
.site-footer{padding:1rem;border-top:1px solid rgba(0,0,0,.12);background:Canvas}
.site-footer--sticky{position:sticky;bottom:0;z-index:20}
.site-footer__text{margin:.5rem 0 0}
.skw-search{max-width:46rem}
.skw-search__lede{margin:.5rem 0 1.5rem}
.skw-search__form{margin:0 0 1.5rem}
.skw-search__label{display:block;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;margin:0 0 .4rem}
.skw-search__row{display:flex;gap:.5rem;flex-wrap:wrap}
.skw-search__input{flex:1 1 14rem;min-width:0;padding:.6rem .7rem;font:inherit;border:1px solid rgba(0,0,0,.35);border-radius:.2rem;background:Canvas;color:CanvasText}
.skw-search__submit{padding:.6rem 1.1rem;font:inherit;border:1px solid currentColor;border-radius:.2rem;background:transparent;color:inherit;cursor:pointer}
.skw-search__hits{list-style:none;margin:0;padding:0}
.skw-search__hit{padding:.9rem 0;border-top:1px solid rgba(0,0,0,.14)}
.skw-search__link{font-weight:600}
.skw-search__where{margin-left:.5rem;font-size:.78rem;opacity:.7}
.skw-search__snippet{margin:.35rem 0 0}
/*
 * Arnavia — BASE. Structure, layout, spacing and every class the site emits.
 *
 * A theme is a SKIN over this file: it sets the variables and adds its own material. It never
 * carries layout. That is deliberate — the earlier per-theme sheets were authored against the home
 * page only, so the 17 classes that exist solely on /pricing and /contact (plans, plan__*, compare,
 * contact-grid, form-card, skw-form, field, what, note, small) fell back to browser defaults and the
 * site looked like a different site page to page. A skin cannot repeat that mistake because it is
 * not where the layout lives.
 *
 * Chrome is styled to the markup that is actually emitted, which is NOT the same as the class names
 * a theme would like:
 *   header class="site-header">a class="site-id">span>…/span>/a>nav>ul class="site-menu">…/ul>/nav>/header>
 *   footer class="site-footer">nav>ul class="site-menu site-menu--footer">…/ul>/nav>p class="site-footer__text">…/p>/footer>
 * There is no `.page-wrap` inside either, so the header/footer ARE the flex containers, and the
 * content is pulled onto the page grid with a symmetric inline padding (max(gutter, (100% - maxw)/2))
 * rather than a wrapper. Without this the menu sits immediately after the wordmark — the alignment
 * bug.
 */

:root {
  /* skin overrides every one of these */
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #f2f1ec;
  --ink: #0b0d0f;
  --ink-2: #22262a;
  --muted: #4e5459;
  --rule: #e3e0d8;
  --rule-strong: #c8c4b9;
  --accent: #ff4b12;
  --accent-ink: #ff4b12;
  --on-accent: #ffffff;
  --header-bg: rgba(247, 246, 242, 0.88);
  --header-border: var(--rule);
  --band-ink-bg: #0b0d0f;
  --band-ink-ink: #f7f6f2;
  --band-ink-muted: #a7adb4;
  --radius-card: 2px;
  --radius-btn: 2px;
  --radius-panel: 2px;
  --shadow-card: none;
  --shadow-lift: none;
  --glass: none;
  --blur: none;
  --font-sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --display-weight: 780;
  --display-tracking: -0.035em;
  --display-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.6rem);
  --h2-size: clamp(1.55rem, 1.05rem + 1.5vw, 2.15rem);
  --h2-transform: none;
  --eyebrow-transform: uppercase;
  --eyebrow-tracking: 0.17em;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1240px;
  --measure: 64ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }

/* ------------------------------------------------------------------ chrome */

.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem max(var(--gutter), calc((100% - var(--maxw)) / 2));
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: var(--header-blur, none);
  -webkit-backdrop-filter: var(--header-blur, none);
}
.site-header--sticky { position: sticky; }

.site-id {
  display: inline-flex; align-items: center; gap: 0.62rem;
  text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap;
}
.site-id::before {
  content: ''; width: 1.5rem; height: 1.5rem; flex: none; border-radius: 0.3rem;
  background: url("/_theme/arnavia/assets/mark-tile.svg?v=6dda6722") center / contain no-repeat;
}
.site-id span::after {
  content: ' · the binary way';
  font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--muted);
}

.site-menu {
  display: flex; align-items: center; gap: 0.15rem;
  list-style: none; margin: 0; padding: 0;
}
.site-menu li { display: block; }
.site-menu a {
  display: block; text-decoration: none; color: var(--ink-2);
  font-size: 0.84rem; font-weight: 600; padding: 0.42rem 0.62rem;
  border-radius: var(--radius-btn);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-menu a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
body[data-page-path] .site-menu a[aria-current='page'] { color: var(--ink); }

/* the enquiry CTA is the last child, always visually attached to the right edge */
.site-header .site-menu li:last-child a {
  margin-left: 0.5rem;
  background: var(--accent); color: var(--on-accent);
  border: 1px solid var(--accent);
  padding: 0.46rem 0.95rem; font-weight: 700;
}
.site-header .site-menu li:last-child a:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.35rem max(var(--gutter), calc((100% - var(--maxw)) / 2));
  border-top: 1px solid var(--rule);
  background: var(--surface-2);
}
.site-menu--footer { gap: 0.9rem; flex-wrap: wrap; }
.site-menu--footer a { font-size: 0.8rem; color: var(--muted); }
.site-menu--footer a:hover { color: var(--ink); background: none; }
.site-footer__text { margin: 0; font-size: 0.8rem; color: var(--muted); max-width: 52ch; }

/* ----------------------------------------------------------------- layout */

main { display: block; }
.page-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.band { padding: clamp(3rem, 7vw, 6.5rem) 0; border-top: 1px solid var(--rule); }
.band:first-child, .band.hero { border-top: 0; }
.band--tight { padding: clamp(2rem, 4vw, 3.25rem) 0; }

.band--ink { background: var(--band-ink-bg); color: var(--band-ink-ink); border-top: 0; }
.band--ink .display, .band--ink h2, .band--ink h3, .band--ink .plan__name { color: var(--band-ink-ink); }
.band--ink p, .band--ink .lede, .band--ink .section-head__note, .band--ink .note,
.band--ink .small, .band--ink .cta__note { color: var(--band-ink-muted); }
.band--ink .eyebrow { color: var(--accent); }
.band--ink .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.band--ink .btn--ghost { background: transparent; color: var(--band-ink-ink); border-color: color-mix(in srgb, var(--band-ink-ink) 35%, transparent); }
.band--ink .binary li { border-color: color-mix(in srgb, var(--band-ink-ink) 30%, transparent); }
.band--ink .binary li.on { background: var(--accent); border-color: var(--accent); }
.band--ink .spec li { border-color: color-mix(in srgb, var(--band-ink-ink) 15%, transparent); color: var(--band-ink-muted); }
.band--ink .spec li span { color: var(--band-ink-ink); }

.hero { padding: clamp(2.8rem, 6vw, 5.5rem) 0 clamp(2.4rem, 5vw, 4rem); }

/* ------------------------------------------------------------------- type */

.display {
  font-family: var(--font-display);
  font-size: var(--display-size);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.02;
  margin: 0 0 1.1rem;
  max-width: 22ch;
  color: var(--ink);
}
.display--sm {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.1rem + 2.4vw, 2.9rem);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.08; margin: 0 0 0.9rem; max-width: 26ch; color: var(--ink);
}
.display__accent { color: var(--accent); }

h1, h2, h3 { color: var(--ink); }
h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  line-height: 1.14; font-weight: 720; letter-spacing: -0.022em;
  text-transform: var(--h2-transform);
  margin: 0 0 0.85rem; max-width: 30ch;
}
h3 { font-size: 1.04rem; line-height: 1.35; font-weight: 700; margin: 0 0 0.45rem; }
.h-sm { font-size: 0.95rem; }

p { max-width: var(--measure); margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.05rem, 0.99rem + 0.45vw, 1.24rem); line-height: 1.58; color: var(--ink-2); max-width: 56ch; }
.note { font-size: 0.86rem; color: var(--muted); max-width: 62ch; }
.small { font-size: 0.84rem; color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: 0.8rem; }

.eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: var(--eyebrow-tracking); text-transform: var(--eyebrow-transform);
  color: var(--muted); font-weight: 600; margin: 0 0 1.1rem;
}
.eyebrow::before { content: ''; width: 1.5rem; height: 2px; background: var(--accent); flex: none; }

.section-head { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head__note { color: var(--muted); max-width: 60ch; margin: 0.6rem 0 0; }

.binary { display: flex; gap: 0.38rem; align-items: center; margin: 0; padding: 0; list-style: none; height: 0.5rem; }
.binary li { width: 0.42rem; height: 0.42rem; border: 1px solid var(--rule-strong); flex: none; }
.binary li.on { background: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------- controls */

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

.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-sans);
  font-weight: 700; font-size: 0.88rem; padding: 0.8rem 1.35rem;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  border-radius: var(--radius-btn);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

/* ------------------------------------------------------------------ blocks */

.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.prose p { color: var(--ink-2); }

.spec {
  list-style: none; margin: 0;
  /* a skin that gives .spec a panel surface sets --spec-inset; without it the labels sit
     flush against the rounded edge and the first/last rows are clipped by the corner */
  padding: var(--spec-inset, 0);
  border-top: 1px solid var(--rule);
}
.spec li { display: flex; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 0.92rem; color: var(--muted); }
.spec li:last-child { border-bottom: 0; }
.spec li span {
  flex: none; width: 8.5rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink); font-weight: 600; padding-top: 0.14rem;
}

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.6rem); }
.promise { padding-top: 1.1rem; border-top: 1px solid var(--rule-strong); }
.promise__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--accent); font-weight: 700; display: block; }
.promise h3 { margin-top: 0.65rem; }
.promise p { font-size: 0.92rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.card {
  padding: 1.6rem 1.5rem 1.7rem; background: var(--surface);
  border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:nth-child(3n) { border-right: 0; }
.card__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent); display: block; margin-bottom: 0.9rem; font-weight: 700; }
.card p { font-size: 0.9rem; color: var(--muted); max-width: 34ch; }
.card__meta { margin-top: 1rem; }
.card__meta a { font-size: 0.82rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.card__meta a:hover { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); counter-reset: s; }
.step { position: relative; padding-top: 1.8rem; border-top: 1px solid var(--rule-strong); }
.step::before {
  counter-increment: s; content: '0' counter(s);
  position: absolute; top: 0.55rem; left: 0; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; color: var(--accent); font-weight: 700;
}
.step h3 { font-size: 0.96rem; }
.step p { font-size: 0.88rem; color: var(--muted); }

.refuse { border: 1px solid var(--rule-strong); background: var(--surface); padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-panel); box-shadow: var(--shadow-card); }
.refuse dl { margin: 1.2rem 0 0; }
.refuse dt { font-weight: 700; font-size: 0.94rem; margin-top: 1rem; color: var(--ink); }
.refuse dd { margin: 0.22rem 0 0; font-size: 0.9rem; color: var(--muted); max-width: 62ch; }

.cta { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.cta__note { font-size: 0.85rem; color: var(--muted); margin-top: 1.1rem; }

/* ---------------------------------------------------------------- pricing */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: var(--radius-panel); overflow: hidden; }
.plan {
  padding: 1.7rem 1.5rem 1.6rem; background: var(--surface);
  border-right: 1px solid var(--rule);
  box-shadow: var(--shadow-card);
}
.plan:last-child { border-right: 0; }
.plan__kicker { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0; }
.plan__name { font-size: 1.05rem; font-weight: 700; margin: 0.5rem 0 0.15rem; color: var(--ink); }
.plan__price {
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.045em;
  margin: 0.7rem 0 0.2rem; color: var(--ink); font-variant-numeric: tabular-nums;
}
.plan__price span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 0.2rem; }
.plan__meta { font-size: 0.82rem; color: var(--muted); margin: 0 0 1.1rem; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { position: relative; padding-left: 1.1rem; font-size: 0.9rem; color: var(--ink-2); margin-bottom: 0.42rem; }
.plan li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.plan__note { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); }

/* ----------------------------------------------------------------- tables */

table { width: 100%; border-collapse: collapse; margin: 0.4rem 0 0; font-size: 0.95rem; }
thead th {
  text-align: left; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
  padding: 0.55rem 0.9rem 0.6rem 0; border-bottom: 1px solid var(--rule-strong);
}
tbody td { padding: 0.95rem 0.9rem 0.95rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
tbody td:first-child { font-weight: 700; color: var(--ink); width: 15rem; }
tbody td.what { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
tbody td:last-child {
  text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap;
  font-variant-numeric: tabular-nums; padding-right: 0;
}
tbody tr:hover td { background: color-mix(in srgb, var(--ink) 3%, transparent); }

/* ---------------------------------------------------------------- compare */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius-panel); overflow: hidden; }
.compare > div { padding: 1.5rem 1.4rem; }
.compare > div:first-child { border-right: 1px solid var(--rule); background: var(--surface-2); }
.compare > div:last-child { background: var(--surface); }
.compare h3 { font-size: 0.94rem; }
.compare ul { list-style: none; margin: 0.9rem 0 0; padding: 0; }
.compare li { position: relative; padding-left: 1.2rem; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.55rem; }
.compare > div:first-child li::before { content: '×'; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.compare > div:last-child li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.6rem, 4vw, 3.5rem); }
.form-card { border: 1px solid var(--rule); background: var(--surface); padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius-panel); box-shadow: var(--shadow-card); }
.form-card h2 { font-size: 1.25rem; }

.skw-form, .skw-form__wrap { display: grid; gap: 0.9rem; }
/* A form is a grid, not a surface — but a skin may give it one (a card holding the fields). When it
 * does, the fields, the labels AND the submit button all need inset from that surface, or the button
 * sits on the rounded corner with the inputs running into the edge. Same shape as --spec-inset: the
 * base owns the hook, the skin that draws the surface owns the value. */
.skw-form { padding: var(--form-inset, 0); }
.skw-form.fields, .fields { display: grid; gap: 0.9rem; }
.field { display: block; }
.skw-form label, .field label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.32rem;
}
.skw-form input, .skw-form textarea, .skw-form select,
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 0.94rem; padding: 0.62rem 0.7rem;
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-btn);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.skw-form input:focus, .skw-form textarea:focus, .skw-form select:focus,
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.skw-form textarea, .field textarea { min-height: 8rem; resize: vertical; }
.skw-form button, .skw-form input[type='submit'] {
  justify-self: start; font: inherit; font-weight: 700; font-size: 0.88rem;
  padding: 0.75rem 1.3rem; border-radius: var(--radius-btn); cursor: pointer;
  background: var(--accent); border: 1px solid var(--accent); color: var(--on-accent);
}
.skw-form button:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

/* -------------------------------------------------------------- utilities */

.stack > * + * { margin-top: 1rem; }
.flow > * + * { margin-top: clamp(1.2rem, 2.4vw, 2rem); }
.hr { height: 1px; background: var(--rule); border: 0; margin: 0; }
.right { text-align: right; }

/* ----------------------------------------------------------------- narrow */

@media (max-width: 980px) {
  .split, .contact-grid, .compare { grid-template-columns: 1fr; }
  .compare > div:first-child { border-right: 0; border-bottom: 1px solid var(--rule); }
  .promises { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .card:nth-child(2n) { border-right: 0; }
  .plan:nth-child(3) { border-top: 1px solid var(--rule); }
}

@media (max-width: 720px) {
  /* logo on its own row, then ONE scrollable row of links — never a wrapped Contact pill */
  .site-header { flex-wrap: wrap !important; gap: 0.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .site-header nav { width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-menu { flex-wrap: nowrap !important; width: max-content; gap: 0.1rem; }
  .site-menu a { padding: 0.4rem 0.5rem; font-size: 0.8rem; }
  .site-header .site-menu li:last-child a { margin-left: 0.3rem; padding: 0.44rem 0.8rem; }
  .site-id span::after { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .cards, .plans, .steps { grid-template-columns: 1fr; }
  .card, .card:nth-child(3n), .card:nth-child(2n) { border-right: 0; }
  .plan { border-right: 0; border-bottom: 1px solid var(--rule); }
  .plan:last-child { border-bottom: 0; }
  .spec li { flex-direction: column; gap: 0.15rem; }
  .spec li span { width: auto; }
  tbody td:first-child { width: auto; }
  thead { display: none; }
  tbody td { display: block; border-bottom: 0; padding: 0.2rem 0; }
  tbody tr { display: block; border-bottom: 1px solid var(--rule); padding: 0.85rem 0; }
  tbody td:last-child { text-align: left; }
}

@media (max-width: 430px) {
  /* five links + the CTA have to fit 390-430px without clipping the pill */
  .site-menu a { padding: 0.36rem 0.34rem; font-size: 0.73rem; }
  .site-header .site-menu li:last-child a { margin-left: 0.2rem; padding: 0.4rem 0.58rem; }
  .site-id { font-size: 0.8rem; letter-spacing: 0.14em; }
  .site-id::before { width: 1.35rem; height: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}



/* SKIN — GLASSMORPHISM (nocturne glass). Ink scene, colourless glass, one accent, serif display.
 *
 * The scene is the skin's; every colour in it belongs to the palette. The previous version painted
 * the ground with a hardcoded gradient on body::before — position:fixed, inset:0, z-index:-2 — which
 * sat on top of the var(--bg) the base paints, so a palette changed --bg and nothing visible moved.
 * Every literal that a palette owns now reads its token, and the tints the palette does not name are
 * derived from --bg and --accent with color-mix. */
:root{
  --bg:#0b1322; --surface:rgba(255,255,255,.07); --surface-2:rgba(255,255,255,.04);
  --ink:#ffffff; --ink-2:rgba(255,255,255,.72); --muted:rgba(255,255,255,.52);
  --rule:rgba(255,255,255,.12); --rule-strong:rgba(255,255,255,.20);
  --accent:#ff4b12; --accent-ink:#ff6a3f; --on-accent:#ffffff;
  --header-bg:rgba(11,19,34,.55); --header-blur:blur(60px) saturate(180%); --header-border:rgba(255,255,255,.10);
  --band-ink-bg:#06090f; --band-ink-ink:#ffffff; --band-ink-muted:rgba(255,255,255,.60);
  --radius-card:20px; --radius-btn:10px; --radius-panel:24px;
  --shadow-card:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -1px 0 rgba(0,0,0,.30),0 30px 60px -34px rgba(0,0,0,.9);
  --shadow-lift:0 34px 70px -30px rgba(0,0,0,.95);
  /* the accent, read through the glass: a pale tint for eyebrows and figures */
  --accent-lit:color-mix(in oklab, var(--accent) 32%, #ffffff);
  --font-display:ui-serif,Georgia,'Times New Roman',serif;
  --display-weight:400; --display-tracking:-0.03em;
  --display-size:clamp(2.9rem,1.2rem + 5.4vw,5.4rem);
  --h2-size:clamp(1.6rem,1rem + 1.7vw,2.4rem);
  --gutter:clamp(1.25rem,5vw,4.5rem); --maxw:1180px;
  --ease:cubic-bezier(.16,1,.3,1); --dur:420ms;
}
body{background:var(--bg);position:relative;color:var(--ink-2)}
/* the nocturne: the palette's ground, lightened toward the horizon, with its accent blooming behind it */
body::before{content:'';position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
    radial-gradient(52% 42% at 82% 4%,color-mix(in oklab,var(--accent) 16%,transparent),transparent 70%),
    radial-gradient(46% 40% at 6% 90%,color-mix(in oklab,var(--bg) 74%,#ffffff),transparent 72%),
    radial-gradient(34% 30% at 60% 52%,color-mix(in oklab,var(--accent) 8%,transparent),transparent 70%),
    linear-gradient(180deg,color-mix(in oklab,var(--bg) 70%,#000000) 0%,var(--bg) 55%,color-mix(in oklab,var(--bg) 82%,#000000) 100%);}
body::after{content:'';position:fixed;inset:0;z-index:60;pointer-events:none;opacity:.025;
  background:url("/_theme/arnavia/assets/grain.svg?v=7f8b2d58") repeat}
h1,h2,h3,.display,.display--sm,.plan__name{color:var(--ink)}
.display,.display--sm{text-shadow:0 0 60px color-mix(in oklab,var(--accent) 22%,transparent)}
.eyebrow{color:var(--accent-lit);letter-spacing:.2em}
.card,.plan,.refuse,.form-card,.promise,.step{
  backdrop-filter:blur(60px) saturate(180%);-webkit-backdrop-filter:blur(60px) saturate(180%);
  border:1px solid var(--rule-strong);}
.card{background:var(--surface)}
.card::after{content:'';position:absolute;inset:0 0 auto 0;height:1px;
  background:linear-gradient(90deg,transparent,var(--rule-strong),transparent);opacity:.65}
.card:hover{background:color-mix(in oklab,var(--surface) 62%,#ffffff);border-color:var(--rule-strong);box-shadow:var(--shadow-lift)}
.promise,.step{background:var(--surface-2);border-radius:18px;padding:1.35rem 1.25rem;border-top:1px solid var(--rule-strong)}
.step::before{position:static;display:block;margin-bottom:.55rem}
.plan{background:color-mix(in oklab,var(--surface) 88%,#ffffff)}
.refuse{background:var(--surface-2)}
.form-card{background:color-mix(in oklab,var(--surface) 30%,#ffffff)}
.spec{--spec-inset:.7rem 1.15rem;border-top:1px solid var(--rule)!important;
  background:var(--surface-2);border:1px solid var(--rule-strong);border-radius:20px;
  backdrop-filter:blur(60px) saturate(180%);-webkit-backdrop-filter:blur(60px) saturate(180%);
  box-shadow:var(--shadow-card)}
.spec li{border-bottom-color:var(--rule);color:var(--muted)}
.spec li span{color:var(--accent-lit);font-family:var(--font-mono)}
.plans,.compare,.cards{border:0;background:none}
.cards{border-top:1px solid var(--rule);gap:1rem}
.card{border-radius:20px!important;border-right:1px solid var(--rule-strong)!important;border-bottom:1px solid var(--rule-strong)!important}
.plan,.compare>div,.compare{border:1px solid var(--rule-strong);border-radius:20px}
.compare>div:first-child{background:var(--surface-2)}
.compare>div:last-child{background:var(--surface)}
.plans{gap:1rem;border:0;overflow:visible}
.plan{border-radius:20px}
thead th{color:var(--muted);border-bottom-color:var(--rule-strong)}
tbody td{border-bottom-color:var(--rule);color:var(--ink-2)}
tbody td:first-child{color:var(--ink)}
tbody tr:hover td{background:var(--surface-2)}
.site-footer{background:transparent;border-top:1px solid var(--rule-strong)}
.site-header .site-menu li:last-child a{box-shadow:0 12px 30px -12px color-mix(in oklab,var(--accent) 80%,transparent)}
.btn{background:var(--surface);border-color:var(--rule-strong);color:var(--ink);
  backdrop-filter:blur(40px) saturate(180%);-webkit-backdrop-filter:blur(40px) saturate(180%);
  box-shadow:inset 0 1px 0 var(--rule-strong),0 18px 40px -18px rgba(0,0,0,.8)}
.btn:hover{background:color-mix(in oklab,var(--surface) 55%,#ffffff);border-color:var(--rule-strong);color:var(--ink);transform:translateY(-1px)}
.btn--ghost{background:transparent;border-color:var(--rule-strong);color:var(--ink-2)}
.band--ink{background:var(--band-ink-bg)}
.band--ink .btn{background:color-mix(in oklab,var(--accent) 18%,transparent);
  border-color:color-mix(in oklab,var(--accent) 45%,transparent);color:var(--accent-lit)}
.skw-form input,.skw-form textarea,.field input,.field textarea{background:var(--surface);border-color:var(--rule-strong);color:var(--ink)}

html:root{--bg:#061a10;--surface:rgba(255,255,255,.06);--surface-2:rgba(255,255,255,.035);--ink:#f0fff6;--ink-2:rgba(240,255,246,.72);--muted:rgba(240,255,246,.52);--rule:rgba(180,255,214,.14);--rule-strong:rgba(180,255,214,.24);--accent:#34d399;--accent-ink:#6ee7b7;--header-bg:rgba(6,26,16,.55);--band-ink-bg:#03120a}