/* ==========================================================================
   Minbarly — minbarly.com
   Design language: editorial magazine (wired designmd system) applied to
   Minbarly's own brand: off-white canvas, ink black, saturated ink-blue,
   hot vermilion accent. Square geometry, hairline rules, no drop shadows.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul[class], ol[class] { list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

a { color: inherit; }

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surface */
  --canvas:     #f7f5f1;   /* off-white page */
  --paper:      #ffffff;   /* mockup / card white */
  --paper-2:    #efece5;   /* soft tint band */
  --paper-3:    #e5e1d8;   /* deeper tint, chart tracks */

  /* Ink */
  --ink:        #0b0b0c;
  --ink-2:      #1c1c1e;
  --body:       #4f4c46;   /* 7.4:1 on canvas */
  --muted:      #66625b;   /* 5.6:1 on canvas, 5.1:1 on paper-2, 6.1:1 on white */
  --hairline:   #dcd7cd;
  --hairline-2: #c9c3b6;

  /* Brand */
  --blue:       #14318f;   /* 10.3:1 on canvas */
  --blue-deep:  #0d2166;
  --blue-lite:  #8fb4ff;   /* for dark bands, 9.2:1 on ink */
  --hot:        #ff3b1f;   /* graphic / large display only on light */
  --hot-deep:   #c22409;   /* 5.4:1 on canvas — safe for small text */

  /* On-dark */
  --on-dark:      #f7f5f1; /* 17.7:1 on ink */
  --on-dark-mute: #a8a49b; /* 7.8:1 on ink */
  --on-dark-line: #33322f;

  /* Type */
  --display: "Playfair Display", "Times New Roman", Times, Georgia, serif;
  --serif:   "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ar-serif: "Noto Naskh Arabic", "Amiri", "Geeza Pro", "Times New Roman", serif;
  --ar-sans:  "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", sans-serif;

  /* Rhythm — 4px base, per the system's spacing scale */
  --s-xxs: 2px;  --s-xs: 4px;  --s-sm: 8px;  --s-md: 12px;
  --s-lg: 16px;  --s-xl: 20px; --s-2xl: 24px; --s-3xl: 32px;
  --s-4xl: 48px; --s-5xl: 72px; --s-6xl: 104px;

  --container: 1400px;
  --measure: 68ch;

  /* Square geometry — the system's signature */
  --radius: 0px;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--hot); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

strong, b { font-weight: 600; }

:where(a) { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Focus — visible on every interactive element */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.on-ink :focus-visible,
.band--ink :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--blue-lite);
}

.skip-link {
  position: absolute;
  left: var(--s-lg);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--s-md) var(--s-xl);
  text-decoration: none;
  transition: top 120ms linear;
}
.skip-link:focus { top: var(--s-lg); }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Arabic / RTL type */
:lang(ar), :lang(fa), :lang(ur) {
  font-family: var(--ar-serif);
  line-height: 1.95;
  letter-spacing: 0;
}
:lang(he) { line-height: 1.7; }
.ar-sans, .ar-sans :lang(ar) { font-family: var(--ar-sans); line-height: 1.8; }
[dir="rtl"] { text-align: right; }
bdi { unicode-bidi: isolate; }

.tnum { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.container--narrow { max-width: 1080px; }

.band { padding-block: clamp(56px, 8vw, 104px); }
.band--tight { padding-block: clamp(40px, 5vw, 64px); }
.band--soft { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--on-dark); }
.band--ink h1, .band--ink h2, .band--ink h3 { color: var(--on-dark); }
.band--rule-top { border-top: 1px solid var(--hairline); }
.band--heavy-top { border-top: 3px solid var(--ink); }

.rule { border-top: 1px solid var(--hairline); }
.rule--heavy { border-top: 3px solid var(--ink); }
.rule--hot { border-top: 3px solid var(--hot); }

/* Editorial eyebrow (category label) */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hot-deep);
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  margin-bottom: var(--s-lg);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--hot);
  flex: none;
}
.eyebrow--blue { color: var(--blue); }
.eyebrow--blue::before { background: var(--blue); }
.eyebrow--ondark { color: var(--blue-lite); }
.eyebrow--ondark::before { background: var(--hot); }

/* Section head: display heading + standfirst */
.sec-head { max-width: 46ch; }
.sec-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.025em;
}
.standfirst {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--body);
  margin-top: var(--s-xl);
  max-width: 52ch;
}
.band--ink .standfirst { color: var(--on-dark-mute); }

.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  max-width: none;
  align-items: end;
}
.sec-head--split .standfirst { margin-top: 0; }

.prose p + p { margin-top: var(--s-lg); }
.prose { max-width: var(--measure); color: var(--body); }
.prose--lg { font-size: 19px; line-height: 1.62; }
.prose.prose--lg p { font-size: 19px; line-height: 1.62; }

.lede {
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-2);
  font-family: var(--serif);
}

.drop-cap::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4.2em;
  line-height: 0.78;
  padding: 0.06em 0.1em 0 0;
  color: var(--hot-deep);
}

/* Pull quote — a signature editorial move */
.pullquote {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-block: var(--s-2xl);
  margin-block: var(--s-3xl);
}
.pullquote.pullquote p {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.9vw, 2.15rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.pullquote cite {
  display: block;
  margin-top: var(--s-lg);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--muted);
}

.caption {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: var(--s-md);
}
.band--ink .caption { color: var(--on-dark-mute); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 20px;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color 140ms linear, color 140ms linear, border-color 140ms linear;
}
.btn:hover { background: var(--blue); border-color: var(--blue); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }

.btn--hot { background: var(--hot); border-color: var(--hot); color: var(--ink); }
.btn--hot:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.btn--ondark { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn--ondark:hover { background: var(--hot); border-color: var(--hot); color: var(--ink); }

.btn--ondark-outline { background: transparent; border-color: var(--on-dark); color: var(--on-dark); }
.btn--ondark-outline:hover { background: var(--on-dark); color: var(--ink); }

.btn--sm { font-size: 14px; padding: 10px 18px; }
.btn--wide { width: 100%; }

.btn .arrow { transition: transform 140ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  align-items: center;
}

/* Text link with editorial underline */
.tlink {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid var(--hot);
  padding-bottom: 1px;
}
.tlink:hover { color: var(--hot-deep); border-bottom-color: var(--ink); }
.band--ink .tlink { color: var(--blue-lite); }
.band--ink .tlink:hover { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   6. Masthead + navigation
   -------------------------------------------------------------------------- */

.masthead {
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  padding-block: 9px;
}
.masthead__item { display: flex; align-items: center; gap: var(--s-sm); white-space: nowrap; }
.masthead__dot { width: 6px; height: 6px; background: var(--hot); flex: none; }
.masthead__item--hide { display: none; }

.site-header {
  background: var(--canvas);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  padding-block: var(--s-md);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__word .dot { color: var(--hot); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { border-bottom-color: var(--hot); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: var(--s-md); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--s-sm);
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 14px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero { padding-block: clamp(40px, 6vw, 76px) clamp(32px, 4vw, 56px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.hero h1 {
  font-size: clamp(2.5rem, 7.4vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: -0.032em;
  margin-block: var(--s-sm) var(--s-2xl);
  overflow-wrap: break-word;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
}
.hero h1 .hot { color: var(--hot-deep); }

.hero__lede {
  font-size: clamp(1.1rem, 1.75vw, 1.34rem);
  line-height: 1.5;
  color: var(--body);
  max-width: 46ch;
  margin-bottom: var(--s-2xl);
}

.hero__note {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: var(--s-lg);
  max-width: 44ch;
}

/* Hero stat strip */
.statstrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px solid var(--ink);
  margin-top: clamp(36px, 5vw, 60px);
}
.statstrip__cell {
  padding: var(--s-xl) var(--s-lg) var(--s-xl) 0;
  border-right: 1px solid var(--hairline);
}
.statstrip__cell:last-child { border-right: 0; }
.statstrip__cell:not(:first-child) { padding-left: var(--s-xl); }
.statstrip__n {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.statstrip__n .unit { font-size: 0.5em; letter-spacing: 0; }
.statstrip__l {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  margin-top: var(--s-sm);
}

/* Hero specimen card (Arabic + Latin duet) */
.specimen-card {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: var(--s-xl);
}
.specimen-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  border-bottom: 1px solid var(--on-dark-line);
  padding-bottom: var(--s-md);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.specimen-card__ar {
  font-family: var(--ar-serif);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  line-height: 1.45;
  text-align: right;
  color: var(--on-dark);
}
.specimen-card__ar .hot { color: var(--hot); }
.specimen-card__lat {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.specimen-card__meta {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  color: var(--on-dark-mute);
  border-top: 1px solid var(--on-dark-line);
  padding-top: var(--s-md);
}
.specimen-card__meta b { color: var(--blue-lite); font-weight: 600; }

/* --------------------------------------------------------------------------
   8. Story-row list (the system's bylined row stack)
   -------------------------------------------------------------------------- */

.rowlist { border-top: 3px solid var(--ink); }
.rowlist__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.rowlist__n {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hot-deep);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.rowlist__h {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.rowlist__b { color: var(--body); font-size: 16.5px; line-height: 1.55; }
.rowlist__b p + p { margin-top: var(--s-md); }

/* --------------------------------------------------------------------------
   9. Cards / features
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 1px; background: var(--hairline); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--canvas);
  padding: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.band--soft .card { background: var(--paper-2); }
.card__icon { width: 34px; height: 34px; flex: none; margin-bottom: var(--s-xs); }
.card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.card h3 .card__idx {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.card p { font-size: 16px; line-height: 1.52; color: var(--body); }
.card .card__tag,
.card__tag {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding-top: var(--s-md);
}

/* Feature grid: the flagship 7 */
.features { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--hairline); }

/* Checklist of failures */
.faillist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.faillist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: var(--s-md);
  padding-block: var(--s-md);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--body);
}
.faillist svg { width: 18px; height: 18px; margin-top: 2px; }
.faillist b { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Mockups — editor, email, inbox
   -------------------------------------------------------------------------- */

.mock {
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--sans);
  overflow: hidden;
}
.band--ink .mock { border-color: var(--on-dark-line); }

.mock__chrome {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  background: var(--ink);
  color: var(--on-dark-mute);
  padding: 9px var(--s-md);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.mock__chrome .sq { display: flex; gap: 5px; flex: none; }
.mock__chrome .sq i { width: 8px; height: 8px; background: #4a4844; display: block; }
.mock__chrome .sq i:first-child { background: var(--hot); }
.mock__path { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__pill {
  border: 1px solid var(--on-dark-line);
  color: var(--on-dark-mute);
  padding: 2px 8px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-md);
  padding: var(--s-sm) var(--s-md);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  flex-wrap: wrap;
}
.mock__tools { display: flex; align-items: center; gap: 2px; }
.mock__tool {
  width: 30px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  color: var(--ink);
}
.mock__tool.is-on { border-color: var(--ink); background: var(--paper-2); }
.mock__tool svg { width: 15px; height: 15px; }
.mock__sep { width: 1px; height: 18px; background: var(--hairline); margin-inline: 6px; }

.dirtoggle {
  display: inline-flex;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.dirtoggle span { padding: 4px 10px; color: var(--muted); }
.dirtoggle .is-on { background: var(--hot); color: var(--ink); }

.mock__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px;
}
.mock__doc {
  padding: clamp(18px, 2.6vw, 34px);
  border-right: 1px solid var(--hairline);
  min-width: 0;
}
.mock__side {
  padding: var(--s-lg);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  min-width: 0;
}
.side__group .side__label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-sm);
}
.side__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-sm);
  font-size: 12.5px;
  color: var(--ink);
  padding-block: 5px;
  border-bottom: 1px solid var(--hairline);
}
.side__row:last-child { border-bottom: 0; }
.side__row .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.side__chip {
  display: inline-block;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  text-transform: uppercase;
}
.side__chip--hot { background: var(--hot); color: var(--ink); }

/* Document content inside the editor mock */
.doc__eyebrow {
  font-family: var(--ar-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--hot-deep);
  letter-spacing: 0;
  margin-bottom: var(--s-sm);
}
.doc__title {
  font-family: var(--ar-serif);
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  line-height: 1.6;
  font-weight: 700;
  color: var(--ink);
}
.doc__meta {
  font-family: var(--ar-sans);
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: var(--s-md);
  margin-bottom: var(--s-lg);
  line-height: 1.9;
}
.doc__p {
  font-family: var(--ar-serif);
  font-size: 17px;
  line-height: 2.05;
  color: var(--ink-2);
}
.doc__p + .doc__p { margin-top: var(--s-md); }
.doc__q {
  font-family: var(--ar-serif);
  font-size: 19px;
  line-height: 1.9;
  color: var(--blue);
  border-right: 3px solid var(--hot);
  padding-right: var(--s-lg);
  margin-block: var(--s-lg);
}
[dir="rtl"] .doc__caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--hot);
  vertical-align: -0.14em;
  margin-inline-start: 2px;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* Email preview mock */
.email {
  background: var(--paper);
  border: 1px solid var(--ink);
  overflow: hidden;
  font-family: var(--sans);
}
.email__client {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  background: var(--paper-2);
  border-bottom: 1px solid var(--hairline);
  padding: var(--s-sm) var(--s-md);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.email__client svg { width: 14px; height: 14px; flex: none; }
.email__hdr {
  padding: var(--s-lg) var(--s-lg) var(--s-md);
  border-bottom: 1px solid var(--hairline);
}
.email__from {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.email__avatar {
  width: 26px; height: 26px;
  background: var(--blue);
  color: #fff;
  font-family: var(--ar-sans);
  font-size: 13px;
  display: grid; place-items: center;
  flex: none;
}
.email__subject {
  font-family: var(--ar-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--ink);
}
.email__body { padding: var(--s-lg) clamp(16px, 2.4vw, 28px) var(--s-2xl); }
.email__kicker {
  font-family: var(--ar-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--hot-deep);
  margin-bottom: var(--s-sm);
}
.email__h {
  font-family: var(--ar-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: var(--s-md);
}
.email__p { font-family: var(--ar-serif); font-size: 16px; line-height: 2.05; color: var(--ink-2); }
.email__p + .email__p { margin-top: var(--s-md); }
.email__cta {
  display: inline-block;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--ar-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  margin-top: var(--s-lg);
  text-decoration: none;
}
.email__foot {
  border-top: 1px solid var(--hairline);
  margin-top: var(--s-xl);
  padding-top: var(--s-md);
  font-family: var(--ar-sans);
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

/* Client-support strip beneath the email */
.clientstrip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin-top: var(--s-lg);
}
.clientchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hairline-2);
  padding: 5px 10px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--body);
  background: var(--canvas);
}
.clientchip svg { width: 12px; height: 12px; color: var(--blue); }
.band--soft .clientchip { background: var(--paper-2); }

/* --------------------------------------------------------------------------
   11. Type specimen
   -------------------------------------------------------------------------- */

.specimen {
  border-top: 3px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.specimen__cell {
  padding: clamp(20px, 3vw, 40px);
  border-bottom: 1px solid var(--hairline);
  min-width: 0;
}
.specimen__cell:nth-child(odd) { border-right: 1px solid var(--hairline); }
.specimen__label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-lg);
  display: flex;
  justify-content: space-between;
  gap: var(--s-sm);
}
.specimen__big-ar {
  font-family: var(--ar-serif);
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  line-height: 1.35;
  text-align: right;
}
.specimen__big-lat {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.specimen__line-ar {
  font-family: var(--ar-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 2;
  text-align: right;
}
.specimen__line-lat {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.5;
}
.specimen__nums {
  font-family: var(--ar-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.specimen__nums-lat {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.langlist {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  list-style: none;
  margin: 0; padding: 0;
}
.langlist li {
  border: 1px solid var(--ink);
  padding: 7px 14px;
  font-size: 17px;
  line-height: 1.6;
  background: var(--canvas);
}
.langlist li.is-lat { font-family: var(--serif); }
.langlist li .tag {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  direction: ltr;
  text-align: left;
}

/* --------------------------------------------------------------------------
   12. Rails diagram (reader payment -> platform -> writer payout)
   -------------------------------------------------------------------------- */

.rails {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.band--ink .rails { background: var(--ink-2); border-color: var(--on-dark-line); }

.rails__col { padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.rails__col--mid {
  border-inline: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-md);
  text-align: center;
  background: var(--paper-2);
  padding-inline: var(--s-md);
}
.band--ink .rails__col--mid { background: var(--ink); border-color: var(--on-dark-line); }

.rails__head {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--s-lg);
}
.band--ink .rails__head { color: var(--on-dark-mute); border-color: var(--on-dark-line); }

.rails__list { list-style: none; margin: 0; padding: 0; }
.rails__list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: var(--s-md);
  align-items: start;
  padding-block: 11px;
  border-bottom: 1px dotted var(--hairline-2);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
}
.band--ink .rails__list li { border-bottom-color: var(--on-dark-line); color: var(--on-dark); }
.rails__list li:last-child { border-bottom: 0; }
.rails__list svg { width: 20px; height: 20px; margin-top: 1px; color: var(--blue); }
.band--ink .rails__list svg { color: var(--blue-lite); }
.rails__list .sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}
.band--ink .rails__list .sub { color: var(--on-dark-mute); }
.rails__list b { font-weight: 600; }

.rails__mark { width: 46px; height: 46px; }
.rails__midlabel {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.rails__midnum {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--hot-deep);
}
.band--ink .rails__midnum { color: var(--hot); }
.rails__flow { width: 100%; height: 40px; }

/* Split bar — revenue share */
.splitbar {
  display: flex;
  height: 56px;
  border: 1px solid var(--ink);
  overflow: hidden;
}
.splitbar__seg {
  display: flex;
  align-items: center;
  padding-inline: var(--s-lg);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
}
.splitbar__seg--a { flex: 0 0 93%; background: var(--ink); color: var(--on-dark); }
.splitbar__seg--b { flex: 1 1 auto; background: var(--hot); color: var(--ink); justify-content: center; padding-inline: 4px; }

.splitkey {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg) var(--s-2xl);
  margin-top: var(--s-md);
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
}
.splitkey span { display: inline-flex; align-items: center; gap: 7px; }
.splitkey i { width: 11px; height: 11px; display: block; flex: none; }

/* --------------------------------------------------------------------------
   13. Steps (how it works)
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.step {
  background: var(--canvas);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.band--soft .step { background: var(--paper-2); }
.step .step__n,
.step__n {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--hot-deep);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}
.step p { font-size: 15.5px; line-height: 1.5; color: var(--body); }
.step__art { margin-top: auto; padding-top: var(--s-md); }
.step__art svg { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   14. Pricing
   -------------------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.tier {
  background: var(--canvas);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}
.tier--featured { background: var(--ink); color: var(--on-dark); }
.tier__name {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier--featured .tier__name { color: var(--hot); }
.tier__price {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.tier__price .sub {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--muted);
  margin-top: var(--s-md);
}
.tier--featured .tier__price .sub { color: var(--on-dark-mute); }
.tier__for {
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--body);
  border-top: 1px solid var(--hairline);
  padding-top: var(--s-lg);
}
.tier--featured .tier__for { color: var(--on-dark-mute); border-color: var(--on-dark-line); }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-md); }
.tier li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: var(--s-md);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  align-items: start;
}
.tier li svg { width: 15px; height: 15px; margin-top: 3px; color: var(--blue); }
.tier--featured li svg { color: var(--hot); }
.tier .btn { margin-top: auto; }

.pricenote {
  border: 1px solid var(--ink);
  border-top: 0;
  padding: clamp(20px, 2.4vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  background: var(--paper-2);
}
.band--soft .pricenote { background: var(--canvas); }
.pricenote h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.pricenote p { font-size: 15.5px; line-height: 1.5; color: var(--body); }

/* Comparison table */
.cmp {
  width: 100%;
  border: 1px solid var(--hairline);
  background: var(--canvas);
  font-family: var(--sans);
}
.band--soft .cmp { background: var(--paper-2); }
.cmp caption {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: var(--s-md);
}
.cmp th, .cmp td {
  padding: var(--s-md) var(--s-lg);
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  font-size: 14.5px;
  line-height: 1.45;
  vertical-align: top;
}
.cmp thead th {
  background: var(--ink);
  color: var(--on-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 0;
}
.cmp tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.cmp td { color: var(--body); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--blue); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* --------------------------------------------------------------------------
   15. Commitments / credibility
   -------------------------------------------------------------------------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--on-dark-line);
  border: 1px solid var(--on-dark-line);
}
.metric {
  background: var(--ink);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}
.metric .metric__k,
.metric__k {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hot);
}
.metric .metric__v,
.metric__v {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  color: var(--on-dark);
}
.metric p { font-size: 15px; line-height: 1.5; color: var(--on-dark-mute); }

.pledges { list-style: none; margin: 0; padding: 0; }
.pledges li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-md);
  padding-block: var(--s-lg);
  border-bottom: 1px solid var(--on-dark-line);
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--on-dark-mute);
}
.pledges li:first-child { border-top: 1px solid var(--on-dark-line); }
.pledges b { color: var(--on-dark); font-weight: 600; }
.pledges svg { width: 20px; height: 20px; margin-top: 4px; color: var(--blue-lite); }

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 3px solid var(--ink); }
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-lg);
  padding-block: var(--s-xl);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--hot-deep);
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div {
  padding-bottom: var(--s-xl);
  max-width: 74ch;
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.58;
}
.faq details > div p + p { margin-top: var(--s-md); }

/* --------------------------------------------------------------------------
   17. Closing CTA
   -------------------------------------------------------------------------- */

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.cta h2 {
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.cta h2 em { font-style: italic; color: var(--hot); }
.cta__side {
  border: 1px solid var(--on-dark-line);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}
.cta__side p { font-size: 16px; line-height: 1.55; color: var(--on-dark-mute); }
.cta .cta__ar,
.cta__ar {
  max-width: none;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 2;
  border-top: 1px solid var(--on-dark-line);
  padding-top: var(--s-xl);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(40px, 6vw, 68px) var(--s-3xl);
  border-top: 4px solid var(--hot);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--on-dark-line);
}
.footer__brand .brand { color: var(--on-dark); }
.footer__blurb {
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-dark-mute);
  max-width: 38ch;
  margin-top: var(--s-lg);
}
.footer__ar {
  font-family: var(--ar-serif);
  font-size: 20px;
  line-height: 2;
  color: var(--on-dark);
  margin-top: var(--s-lg);
  text-align: right;
  max-width: 24ch;
}
.footer__col h2 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hot);
  margin-bottom: var(--s-lg);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a, .footer__col span {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--on-dark-mute);
  text-decoration: none;
}
.footer__col a:hover { color: var(--on-dark); text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md) var(--s-2xl);
  justify-content: space-between;
  padding-top: var(--s-xl);
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--on-dark-mute);
}
.footer__bottom p { max-width: 62ch; }

/* --------------------------------------------------------------------------
   19. Forms / contact page
   -------------------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.form-card {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: clamp(20px, 3vw, 36px);
}
.form-card__head {
  border-bottom: 3px solid var(--ink);
  padding-bottom: var(--s-lg);
  margin-bottom: var(--s-2xl);
}
.form-card__head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}
.form-card__head p { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: var(--s-sm); }

.field { margin-bottom: var(--s-xl); }
.field__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-lg);
}
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-sm);
  color: var(--ink);
}
.field .opt {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--ink);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230b0b0c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 40px;
}
.field input::placeholder,
.field textarea::placeholder { color: #8a867e; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.hint,
.field .hint {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 6px;
}
.field .err {
  display: block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hot-deep);
  margin-top: 6px;
  min-height: 0;
}
.field .err:empty { display: none; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-width: 2px; border-color: var(--hot-deep); }

.form-status {
  border: 1px solid var(--hot-deep);
  border-left-width: 4px;
  background: var(--paper-2);
  padding: var(--s-md) var(--s-lg);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: var(--s-xl);
}
.form-status:empty { display: none; }

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: var(--s-md);
  align-items: start;
}
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.consent label {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  color: var(--body);
  margin: 0;
}

.aside-block {
  border-top: 3px solid var(--ink);
  padding-top: var(--s-xl);
  margin-bottom: clamp(28px, 3vw, 40px);
}
.aside-block h2, .aside-block h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-md);
}
.aside-block p { font-size: 16px; line-height: 1.55; color: var(--body); }
.aside-block p + p { margin-top: var(--s-md); }
.aside-block p.caption,
.aside-block p.hint {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.timeline { list-style: none; margin: var(--s-lg) 0 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: var(--s-md);
  padding-bottom: var(--s-lg);
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  bottom: 0;
  width: 1px;
  background: var(--hairline-2);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline__dot {
  width: 29px; height: 29px;
  border: 1px solid var(--ink);
  background: var(--canvas);
  display: grid; place-items: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}
.timeline strong { display: block; font-family: var(--sans); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.timeline li > span:last-child { font-size: 15px; line-height: 1.5; color: var(--body); }

.contactlist { list-style: none; margin: var(--s-lg) 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.contactlist li {
  padding-block: var(--s-md);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-md);
  align-items: baseline;
}
.contactlist dt, .contactlist .k {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contactlist .v { font-family: var(--sans); font-size: 15px; font-weight: 600; word-break: break-word; }
.contactlist a { color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--hot); }
.contactlist a:hover { color: var(--hot-deep); }

.note-card {
  border: 1px solid var(--ink);
  border-left: 4px solid var(--hot);
  padding: var(--s-lg);
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
}
.note-card b { color: var(--ink); }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .rowlist__item { grid-template-columns: 48px minmax(0, 1fr); }
  .rowlist__b { grid-column: 2; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock__body { grid-template-columns: minmax(0, 1fr); }
  .mock__doc { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .mock__side { flex-direction: row; flex-wrap: wrap; gap: var(--s-2xl); }
  .mock__side .side__group { flex: 1 1 200px; }
  .rails { grid-template-columns: minmax(0, 1fr); }
  .rails__col--mid {
    border-inline: 0;
    border-block: 1px solid var(--hairline);
    flex-direction: row;
    padding-block: var(--s-lg);
  }
  .band--ink .rails__col--mid { border-color: var(--on-dark-line); }
  .rails__flow { display: none; }
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .sec-head--split .standfirst { margin-top: var(--s-lg); }
}

@media (max-width: 899px) {
  .masthead__item--mid { display: none; }
  .js .site-nav {
    display: none;
    flex-basis: 100%;
    order: 3;
    border-top: 1px solid var(--hairline);
    padding-top: var(--s-md);
    margin-top: var(--s-xs);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--hairline); }
  .js .site-nav li:last-child { border-bottom: 0; }
  .js .site-nav a { display: block; padding: 12px 2px; border-bottom: 0; font-size: 16px; }
  .js .site-nav a[aria-current="page"] { color: var(--hot-deep); }
  .js .nav-toggle { display: inline-flex; }
  .header__actions .btn--header { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .pricenote { grid-template-columns: minmax(0, 1fr); }
  .specimen { grid-template-columns: minmax(0, 1fr); }
  .specimen__cell:nth-child(odd) { border-right: 0; }
  .statstrip { grid-template-columns: minmax(0, 1fr); }
  .statstrip__cell {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    padding: var(--s-lg) 0;
  }
  .statstrip__cell:not(:first-child) { padding-left: 0; }
  .statstrip__cell:last-child { border-bottom: 0; }
  .field__row { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .rowlist__item { grid-template-columns: minmax(0, 1fr); gap: var(--s-sm); }
  .rowlist__b { grid-column: 1; }
  .rowlist__n { padding-top: 0; }
  .drop-cap::first-letter { font-size: 3.4em; }
  .splitbar { height: 48px; }
  .splitbar__seg { font-size: 11.5px; padding-inline: var(--s-sm); }
  .splitbar__seg--b { padding-inline: 2px; }
  .contactlist li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 560px) {
  /* the masthead strip cannot hold three nowrap items at 375px — drop the last */
  .masthead__inner { justify-content: flex-start; }
  .masthead__item:last-child { display: none; }
}

@media (max-width: 480px) {
  .masthead__inner { font-size: 10.5px; }
  .mock__side { flex-direction: column; gap: var(--s-lg); }
  .email__hdr, .email__body { padding-inline: var(--s-md); }
  .btn { width: 100%; }
  .btn--sm, .nav-toggle, .btn--header { width: auto; }
  .btn-row { gap: var(--s-sm); }
}

/* --------------------------------------------------------------------------
   21. Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .doc__caret { animation: none; visibility: visible; }
}

/* --------------------------------------------------------------------------
   22. Print
   -------------------------------------------------------------------------- */

@media print {
  .masthead, .site-header, .site-footer, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
