/* ==========================================================================
   Alura: tokens
   Blue is the expert's ink (marks, stamps, signatures). Lime is the
   highlighter (anything verified). Everything else is ink on bright white.
   ========================================================================== */
:root {
  --bg: #F4F5F7;
  --white: #FFFFFF;
  --soft: #EAEDF2;

  --ink: #0C0F14;
  --ink-2: #161B23;
  --text: #0C0F14;
  --muted: #586070;
  --faint: #9399A4;
  --rule: rgba(12, 15, 20, .1);
  --rule-strong: rgba(12, 15, 20, .22);

  --on-dark: #F2F4F7;
  --on-dark-muted: #A2A9B5;
  --rule-dark: rgba(242, 244, 247, .14);

  --blue: #2F5BEA;
  --blue-deep: #2449D4;
  --blue-bright: #84A0FF;
  --blue-soft: rgba(47, 91, 234, .1);
  --lime: #D2F34C;
  --lime-deep: #C3E637;

  --display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", "IBM Plex Sans Arabic", "IBM Plex Sans Devanagari", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --arabic: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
  --deva: "IBM Plex Sans Devanagari", "IBM Plex Sans", sans-serif;
  --urdu: "Noto Nastaliq Urdu", "IBM Plex Sans Arabic", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --nav-h: 68px;
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(104px, 13vw, 196px);
}

/* Per-theme foreground tokens, used by sections and the nav alike */
[data-theme="light"] { --fg: var(--text); --fg-muted: var(--muted); --line: var(--rule); }
[data-theme="dark"]  { --fg: var(--on-dark); --fg-muted: var(--on-dark-muted); --line: var(--rule-dark); }
[data-theme="blue"]  { --fg: #FFFFFF; --fg-muted: rgba(255, 255, 255, .74); --line: rgba(255, 255, 255, .2); }
[data-theme="lime"]  { --fg: var(--ink); --fg-muted: rgba(12, 15, 20, .64); --line: rgba(12, 15, 20, .16); }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

[lang="ar"] { font-family: var(--arabic); }
[lang="hi"] { font-family: var(--deva); }
[lang="ur"] { font-family: var(--urdu); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

/* ---------- Type primitives ---------- */
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg-muted, var(--muted)); display: flex; align-items: center; gap: 12px; white-space: nowrap;
}
.label span {
  color: var(--fg, var(--text)); display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 22px; padding: 0 7px; border: 1px solid var(--line, var(--rule-strong)); border-radius: 999px;
}

.h2 {
  font-family: var(--display); font-weight: 450; font-optical-sizing: auto;
  font-size: clamp(2.1rem, 4.4vw, 4.1rem); line-height: 1; letter-spacing: -.035em;
  text-wrap: balance; color: var(--fg, var(--text));
}

.section-head { row-gap: 22px; align-items: start; }
.section-head .label { grid-column: 1 / 4; padding-top: .7em; }
.section-head .h2 { grid-column: 4 / 12; max-width: 19ch; }
.section-head__aside { grid-column: 4 / 9; color: var(--fg-muted, var(--muted)); font-size: 17px; max-width: 46ch; }

.hl {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 88% / 100% 46%;
  padding: 0 .06em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); }
.btn--ink { background: var(--ink); color: var(--lime); }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { height: 38px; padding: 0 16px; border: 1px solid var(--line, var(--rule-strong)); }
.btn--ghost:hover { border-color: currentColor; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 15.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500;
  padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow svg { transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateY(2px); }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  color: var(--fg); transition: color .45s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: opacity .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.nav[data-theme="light"]::before { background: rgba(244, 245, 247, .82); }
.nav[data-theme="dark"]::before { background: rgba(12, 15, 20, .76); }
.nav[data-theme="blue"]::before { background: rgba(36, 73, 212, .82); }
.nav[data-theme="lime"]::before { background: rgba(210, 243, 76, .86); }
.nav.is-scrolled::before { opacity: 1; }
.nav__in {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 36px;
}
.wordmark {
  font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.045em; line-height: 1;
  display: inline-flex; align-items: baseline; gap: 3px;
}
.wordmark__dot { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); flex: none; }
.nav[data-theme="blue"] .wordmark__dot, .nav[data-theme="dark"] .wordmark__dot { background: var(--lime); }
.nav[data-theme="lime"] .wordmark__dot { background: var(--ink); }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
.nav__links a { opacity: .72; transition: opacity .3s; position: relative; }
.nav__links a:hover, .nav__links a.is-current { opacity: 1; }
.nav__links a.is-current::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
.nav__menu {
  display: none; margin-left: auto; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  align-items: center; gap: 10px;
}
.nav__menu i { width: 18px; height: 7px; border-block: 1.5px solid currentColor; transition: transform .4s var(--ease); }
.nav__menu[aria-expanded="true"] i { transform: scaleY(.15); }
.nav__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.nav[data-theme="blue"] .nav__progress, .nav[data-theme="dark"] .nav__progress { background: var(--lime); }
.nav[data-theme="lime"] .nav__progress { background: var(--ink); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--on-dark);
  padding: calc(var(--nav-h) + 32px) var(--gutter) 40px; display: flex; flex-direction: column;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; border-top: 1px solid var(--rule-dark); }
.menu a {
  font-family: var(--display); font-weight: 450; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.04em; line-height: 1.1;
  padding: 14px 0; border-bottom: 1px solid var(--rule-dark); display: flex; align-items: baseline; gap: 16px;
}
.menu small { font-family: var(--mono); font-size: 11px; color: var(--lime); letter-spacing: .06em; width: 22px; }

/* ==========================================================================
   Hero: how it works
   Verified professionals → Alura quality control → what your models get.
   Wires and moving work items are drawn by assets/js/hero.js.
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero { position: relative; background: var(--bg); color: var(--text); padding-bottom: clamp(56px, 8vh, 96px); overflow: hidden; }
.hero__inner { padding-top: calc(var(--nav-h) + clamp(28px, 5.5vh, 64px)); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 12px;
}
.eyebrow__tick { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); box-shadow: 12px 0 0 var(--lime); margin-right: 12px; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 24px 56px; align-items: end; margin-top: 20px; }
.hero__title {
  font-family: var(--display); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(3rem, 5.4vw, 5.25rem); line-height: .93; letter-spacing: -.055em;
}
.hero__title .hl { background-position: 0 86%; background-size: 100% 40%; }
.js .hero__title .hl { background-size: 0% 40%; }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__in { display: block; will-change: transform; }
.hero__lede { color: var(--muted); font-size: 16.5px; line-height: 1.55; max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 22px; }

/* The diagram */
.flowdia {
  position: relative; margin-top: clamp(36px, 5.5vh, 60px);
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1.08fr) minmax(56px, .3fr) minmax(0, 1.16fr) minmax(56px, .3fr) minmax(0, 1.08fr);
}
.flowdia__col--experts { grid-column: 1; }
.flowdia__col--qc { grid-column: 3; }
.flowdia__col--out { grid-column: 5; }
.flowdia__wires { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.wire { fill: none; stroke: #C9CED7; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke .35s var(--ease); }
.wire--out { stroke: #BCC4D0; }
.wire.is-hot { stroke: var(--blue); }
.wire--out.is-hot { stroke: #97BC14; }
.flowdia__fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }

.colhead { display: flex; align-items: center; gap: 10px; height: 26px; margin-bottom: 14px; }
.colhead b { font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--ink); background: var(--white); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 2px 8px; }
.colhead span { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

.xp { display: grid; gap: 10px; }
.xcard {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  min-height: 74px; padding: 10px 16px 10px 12px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20, 28, 48, .04);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.xcard__badge { height: 34px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.xcard__t { font-size: 14.5px; font-weight: 500; letter-spacing: -.005em; line-height: 1.3; }
.xcard__s { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.xcard__s em { font-style: normal; border: 1px solid var(--rule-strong); border-radius: 4px; padding: 0 5px; color: var(--text); }
.xcard.is-live { border-color: rgba(47, 91, 234, .5); box-shadow: 0 0 0 4px rgba(47, 91, 234, .12); }
.xcard.is-review { border-color: rgba(12, 15, 20, .35); box-shadow: 0 0 0 4px rgba(210, 243, 76, .55); }
.vcheck { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); display: inline-grid; place-items: center; flex: none; }
.vcheck svg { width: 10px; height: 10px; }

.qc {
  position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: 20px; padding: 18px 20px 14px;
  box-shadow: 0 34px 64px -38px rgba(24, 40, 90, .38);
}
.qc__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.wordmark--sm { font-size: 20px; }
.qc__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.qc__item { margin: 14px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--bg); min-height: 84px; transition: box-shadow .4s var(--ease); }
.qc__item.is-verified { box-shadow: inset 0 0 0 2px var(--lime); }
.qc__meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.qc__meta b { font-weight: 500; color: var(--text); }
.qc__q { margin-top: 4px; font-size: 14px; line-height: 1.4; }
.qc__q[dir="rtl"] { text-align: right; font-size: 15.5px; }
.qc__q[lang="ur"] { font-size: 14.5px; line-height: 2; }
.qc__steps { position: relative; margin-top: 6px; }
.qc__steps::before { content: ""; position: absolute; left: 11px; top: 22px; bottom: 22px; width: 1.5px; background: var(--rule-strong); }
.qstep { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; }
.qstep__dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--rule-strong); background: var(--white); display: grid; place-items: center; transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.qstep__t { font-size: 14.5px; font-weight: 500; }
.qstep__s { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.qstep__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; transition: color .3s var(--ease); }
.qstep.is-done .qstep__dot { background: var(--lime); border-color: var(--ink); }
.qstep.is-done .qstep__tag { color: var(--text); }
.qstep.is-now .qstep__dot { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(47, 91, 234, .12); }
.qstep.is-now .qstep__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: qpulse 1.1s var(--ease) infinite alternate; }
.qstep.is-now .qstep__tag { color: var(--blue); }
@keyframes qpulse { from { transform: scale(.7); } to { transform: scale(1.1); } }

.outs { display: grid; gap: 12px; }
.ocard {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start;
  min-height: 117px; padding: 16px 18px; background: var(--white); border: 1px solid var(--rule); border-radius: 16px;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.ocard.is-hit { border-color: rgba(12, 15, 20, .3); box-shadow: 0 0 0 4px rgba(210, 243, 76, .6); }
.ocard__ic { width: 44px; height: 44px; border-radius: 11px; background: var(--ink); display: grid; place-items: center; }
.ocard__t { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -.025em; line-height: 1.15; }
.ocard__s { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.ocard__tags { display: flex; gap: 6px; margin-top: 9px; }
.ocard__tags span { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 2px 8px; }
.ocard__tags span:first-child { background: var(--lime); border-color: rgba(12, 15, 20, .25); }
.ocard__plus {
  position: absolute; right: 14px; top: 14px; opacity: 0; white-space: nowrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink);
  background: var(--lime); border: 1px solid rgba(12, 15, 20, .2); border-radius: 999px; padding: 2px 8px;
}

/* Moving work items */
.packet {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; will-change: transform;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 4px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
}
.packet--raw { background: var(--white); border: 1px solid var(--rule-strong); color: var(--muted); box-shadow: 0 8px 16px -10px rgba(20, 28, 48, .35); }
.packet--raw i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.packet--ok { background: var(--lime); border: 1px solid rgba(12, 15, 20, .25); color: var(--ink); box-shadow: 0 8px 16px -10px rgba(90, 120, 0, .5); }
.packet--dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(210, 243, 76, .9); }
.fdot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--blue); opacity: 0; will-change: transform, opacity; }
.fdot--ok { background: var(--lime); box-shadow: 0 0 0 1.5px var(--ink); }

/* ==========================================================================
   Thesis
   ========================================================================== */
.thesis { background: var(--white); padding-block: var(--section); }
.thesis .label { grid-column: 1 / 4; padding-top: 1em; align-self: start; }
.thesis__big {
  grid-column: 4 / 13;
  font-family: var(--display); font-weight: 400; font-optical-sizing: auto;
  font-size: clamp(1.9rem, 3.7vw, 3.5rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: pretty;
}
.thesis__mark {
  white-space: nowrap; padding: 0 .08em; margin: 0 -.08em; border-radius: .12em;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 100% 100%;
}
.js .thesis__mark { background-size: 0% 100%; }
.thesis__sub { grid-column: 8 / 13; margin-top: 56px; }
.thesis__sub p { color: var(--muted); font-size: 17px; max-width: 44ch; }

/* ==========================================================================
   Review
   ========================================================================== */
.review { background: var(--soft); padding-block: var(--section); }
.review__stage {
  position: relative; margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(48px, 7vw, 120px); align-items: start;
}
.review__ink { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 2; }
.ink-mark, .ink-leader { fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.ink-mark { stroke-width: 2.1; }
.ink-leader { stroke-width: 1; opacity: .75; }
.js .ink-mark, .js .ink-leader { stroke-dashoffset: 1; }
.mk-badge {
  position: absolute; z-index: 3; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: #fff; font: 500 10px/18px var(--mono); text-align: center; pointer-events: none;
}
.js .mk-badge { opacity: 0; }

.sheet {
  position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: 18px;
  padding: clamp(20px, 2.6vw, 34px);
  box-shadow: 0 50px 90px -50px rgba(24, 40, 90, .35), 0 2px 6px rgba(24, 40, 90, .05);
}
.sheet__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.sheet__meta > span:first-child { color: var(--text); }
.sheet__reviewer {
  margin-left: auto; color: var(--blue); display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-soft); padding: 4px 10px 3px; border-radius: 999px;
}
.sheet__block { padding-top: 18px; }
.sheet__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
.sheet__conf { color: var(--muted); border: 1px solid var(--rule-strong); padding: 1px 8px; border-radius: 999px; letter-spacing: .02em; text-transform: none; }
.sheet__prompt { font-size: 15px; color: var(--muted); max-width: 62ch; }
.sheet__answer { font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.62; color: var(--text); }
.mk { position: relative; }

.score {
  margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--rule-strong);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.score__rubric li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; font-size: 13.5px; border-bottom: 1px solid var(--rule); }
.score__rubric li:last-child { border-bottom: 0; }
.score__rubric b { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; padding: 2px 8px 1px; border-radius: 999px; }
.fail { background: var(--ink); color: #fff; }
.pass { background: var(--lime); color: var(--ink); }
.score__dots { display: flex; align-items: center; gap: 5px; font-size: 13.5px; padding: 5px 0; }
.score__dots span { width: 96px; }
.score__dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--rule-strong); }
.score__dots i.on { background: var(--ink); border-color: var(--ink); }
.score__dots--red i.on { background: var(--blue); border-color: var(--blue); }
.score__dots em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 8px; }
.score__sev { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; font-size: 13.5px; line-height: 1.45; }
.stamp {
  flex: none; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); border: 1.5px solid var(--blue); padding: 3px 8px 2px; border-radius: 6px; transform: rotate(-4deg); margin-top: 1px;
}
.count { font-variant-numeric: tabular-nums; font-weight: 600; }
.score__out { margin-top: 12px; }
.score__out li { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--muted); padding: 3px 0; }
.score__out li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); margin-right: 9px; vertical-align: 0; }
.js .score { opacity: 0; }

.notes { position: relative; display: flex; flex-direction: column; gap: 22px; }
.notes.is-placed { display: block; }
.notes.is-placed .note { position: absolute; left: 0; right: 0; }
.note { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.note__n { width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue); color: #fff; font: 500 10.5px/20px var(--mono); text-align: center; }
.note strong { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--blue); margin-bottom: 3px; }
.js .note { opacity: 0; }

/* ==========================================================================
   Build
   ========================================================================== */
.build { background: var(--white); padding-block: var(--section); }
.build__grid {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 7vw, 120px);
}
.build__panel { position: relative; }
.panel {
  position: sticky; top: max(calc(var(--nav-h) + 24px), calc(50vh - 250px));
  background: var(--ink); color: var(--on-dark); border-radius: 20px; overflow: hidden;
  box-shadow: 0 60px 100px -60px rgba(24, 40, 90, .55);
}
.panel__bar {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-bottom: 1px solid var(--rule-dark);
  font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--on-dark-muted);
}
.panel__dot { width: 7px; height: 7px; border-radius: 2px; background: var(--lime); }
.panel__idx { margin-left: auto; }
.panel__stage {
  position: relative; aspect-ratio: 480 / 420;
  background-image: radial-gradient(circle, rgba(242, 244, 247, .08) 1px, transparent 1.3px);
  background-size: 24px 24px; background-position: 12px 12px;
}
.viz-layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.viz-layer.is-active { opacity: 1; visibility: visible; }

.offer {
  min-height: 64vh; padding-block: 9vh; border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: center;
  transition: opacity .5s var(--ease);
}
.offer:last-child { border-bottom: 1px solid var(--rule); }
.offer__n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.offer__title { font-family: var(--display); font-weight: 450; font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.02; letter-spacing: -.035em; margin: 12px 0 18px; }
.offer.is-active .offer__title .hl, .offer__title .hl { background-size: 100% 40%; }
.offer p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--rule-strong); padding: 6px 11px 5px; border-radius: 999px; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.offer.is-active .tags li:first-child { background: var(--lime); border-color: var(--ink); }
.offer__slot { display: none; }
@media (min-width: 1000px) {
  .js .offer:not(.is-active) { opacity: .3; }
}

/* ---------- Viz (inside dark panels): lines on ink, blue = flagged, lime = verified ---------- */
.vz { width: 100%; height: 100%; overflow: visible; }
.vz text { font-family: var(--mono); font-size: 11px; fill: var(--on-dark-muted); letter-spacing: .02em; }
.vz .vz-v { fill: var(--on-dark); font-size: 12.5px; }
.vz .vz-big { font-family: var(--display); font-weight: 500; font-size: 36px; fill: var(--on-dark); letter-spacing: -.03em; }
.vz .vz-red { fill: var(--blue-bright); }
.vz .vz-line { fill: none; stroke: var(--on-dark); stroke-opacity: .5; stroke-width: 1.2; stroke-dasharray: 1; }
.vz .vz-rline { fill: none; stroke: var(--blue-bright); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; }
.vz .vz-rule { stroke: var(--on-dark); stroke-opacity: .14; }
.vz .vz-box { fill: rgba(242, 244, 247, .03); stroke: var(--on-dark); stroke-opacity: .16; }
.vz .t-node { fill: var(--ink); stroke: var(--on-dark); stroke-width: 1.3; }
.vz .t-step:last-of-type .t-node { fill: var(--lime); stroke: var(--lime); }
.vz .t-node--red { fill: var(--blue-bright); stroke: var(--blue-bright); }
.vz .m-cell { fill: var(--on-dark); }
.vz .m-fail { fill: var(--blue-bright); }
.vz .m-ring { fill: none; stroke: var(--blue-bright); stroke-width: 1.3; }
.vz .m-scan { fill: var(--lime); }
.vz .e-hi { fill: none; stroke: var(--blue-bright); stroke-width: 1.2; }
.vz .e-cursor rect { fill: var(--blue-bright); }
.vz .e-cursor text { fill: var(--blue-bright); font-size: 10px; }
.vz .e-bar { fill: rgba(242, 244, 247, .1); }
.vz .e-check { fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-dasharray: 1; }

.vz-lang { position: absolute; inset: 0; padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.vl-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--on-dark-muted); padding-bottom: 12px; border-bottom: 1px solid var(--rule-dark); margin-bottom: 6px; letter-spacing: .04em; }
.vl-row {
  display: grid; grid-template-columns: 34px 1fr 54px; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--rule-dark); color: var(--on-dark-muted); transition: color .4s var(--ease);
}
.vl-row.is-on { color: var(--on-dark); }
.vl-code, .vl-dir { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; }
.vl-dir { text-align: right; }
.vl-word { position: relative; justify-self: start; font-family: var(--display); font-weight: 450; letter-spacing: -.02em; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; padding-bottom: 4px; }
.vl-row[data-dir="rtl"] .vl-word { justify-self: end; }
.vl-word > span { display: inline-block; }
.vl-word [lang="ar"] { font-family: var(--arabic); font-size: .9em; letter-spacing: 0; }
.vl-word [lang="hi"] { font-family: var(--deva); font-size: .86em; letter-spacing: 0; }
.vl-word [lang="ur"] { font-family: var(--urdu); font-size: .78em; line-height: 1.9; letter-spacing: 0; }
.vl-word i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.vl-row[data-dir="rtl"] .vl-word i { transform-origin: 100% 50%; }

/* ==========================================================================
   Languages (blue)
   ========================================================================== */
.lang { background: var(--blue-deep); color: var(--fg); padding-block: var(--section); position: relative; overflow: hidden; }
.lang > .container { position: relative; }
.tabs {
  margin-top: clamp(56px, 7vw, 88px); display: inline-flex; gap: 6px; padding: 6px; max-width: 100%;
  background: rgba(255, 255, 255, .1); border: 1px solid var(--line); border-radius: 999px;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; appearance: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px;
  color: var(--fg-muted); transition: color .3s var(--ease), background-color .3s var(--ease);
}
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.tab__script { font-size: 18px; line-height: 1.3; }
.tab__script[lang="ur"] { font-size: 16px; line-height: 1.5; }
.tab small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }

.tabpanel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px);
  padding-top: 48px; min-height: 290px;
}
.tabpanel[hidden] { display: none; }
.tp-label { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 16px; }
.tp-native { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.5; color: var(--fg); }
.tp-native[lang="tr"] { font-family: var(--display); font-weight: 450; letter-spacing: -.025em; line-height: 1.2; }
.tp-native--ur { font-size: clamp(22px, 2.2vw, 30px); line-height: 2.1; }
.tp-native[lang="hi"] { line-height: 1.6; }
.tp-gloss { margin-top: 14px; font-style: italic; color: var(--fg-muted); font-size: 16px; }
.tp-mono {
  font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--fg);
  background: rgba(12, 15, 20, .18); padding: 18px 20px; border-radius: 14px;
}
.tp-mono u { text-decoration: underline wavy var(--lime); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.tp-mono [lang] { unicode-bidi: isolate; white-space: nowrap; }
.tp-mono [lang="ar"] { font-size: 14px; }
.tp-mono [lang="ur"] { font-size: 13px; line-height: 2; }
.tp-note { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.4; letter-spacing: -.01em; border-left: 3px solid var(--lime); padding-left: 20px; }
.tp-note em { font-style: normal; background: var(--lime); color: var(--ink); padding: 0 .2em; border-radius: 3px; }
.tp-note [lang="ar"] { font-size: .9em; }
.tp-note [lang="ur"] { font-size: .85em; line-height: 1.8; }

.regions { margin-top: clamp(96px, 11vw, 160px); }
.regions__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px 40px; padding-bottom: 26px; }
.regions__head h3 { font-family: var(--display); font-weight: 450; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.03em; }
.regions__head p { color: var(--fg-muted); font-size: 14px; max-width: 52ch; }
.regions__span { color: var(--lime); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.regions__axis, .region { display: grid; grid-template-columns: 210px 70px minmax(0, 1fr); column-gap: 24px; align-items: center; }
.regions__axis {
  font-family: var(--mono); font-size: 10.5px; color: var(--fg-muted); letter-spacing: .05em;
  border-top: 1px solid var(--line); padding-top: 12px; padding-bottom: 6px;
}
.regions__ticks { position: relative; height: 14px; }
.regions__ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.regions__ticks span:first-child { transform: none; }
.regions__ticks span:last-child { transform: translateX(-100%); }
.region { padding: 14px 0; border-bottom: 1px solid var(--line); }
.region__id { display: flex; flex-direction: column; gap: 2px; }
.region__name { font-size: 15px; font-weight: 500; }
.region__meta { font-family: var(--mono); font-size: 11px; color: var(--fg-muted); letter-spacing: .03em; }
.region__time { font-family: var(--mono); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.region__time::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--fg-muted); }
.region.is-open .region__time::before { background: var(--lime); border-color: var(--lime); }
.region__track {
  position: relative; height: 26px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px calc(100% / 24));
}
.region__bar { position: absolute; top: 6px; height: 14px; background: #fff; opacity: .92; border-radius: 999px; transform-origin: 0 50%; }
.region.is-open .region__bar { background: var(--lime); opacity: 1; }
.region__now { position: absolute; top: -15px; bottom: -15px; width: 2px; margin-left: -1px; background: var(--lime); }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--bg); padding-block: var(--section); }
.steps { position: relative; margin-top: clamp(64px, 8vw, 110px); }
.steps__svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.steps__track { fill: none; stroke: var(--rule-strong); stroke-width: 1.2; stroke-dasharray: 2 6; stroke-linecap: round; }
.steps__prog { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
html:not(.js) .steps__prog { stroke-dashoffset: 0; }
.step { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; min-height: 230px; }
.step__body { grid-column: 1 / 5; text-align: right; }
.step:nth-child(even) .step__body { grid-column: 9 / 13; text-align: left; }
.step__marker {
  position: absolute; top: 10px; left: 40%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--ink); z-index: 1; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.step:nth-child(even) .step__marker { left: 60%; }
.step.is-on .step__marker { background: var(--lime); }
.step.is-current .step__marker { box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--blue); }
.step__n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step h3 { font-family: var(--display); font-weight: 450; font-size: clamp(2rem, 3.1vw, 2.9rem); letter-spacing: -.035em; line-height: 1.02; margin: 6px 0 12px; }
.step p { color: var(--muted); font-size: 16.5px; max-width: 34ch; }
.step__body p { margin-left: auto; }
.step:nth-child(even) .step__body p { margin-left: 0; }
.js .step__body { transition: opacity .6s var(--ease); }
.js .step:not(.is-on) .step__body { opacity: .35; }

.token {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 8px 13px 7px;
  background: var(--ink); color: var(--on-dark); border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(12, 15, 20, .6);
  will-change: transform; opacity: 0;
}
.token i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.token__status { color: var(--lime); }
.token__status::before { content: "/ "; color: var(--on-dark-muted); }

/* ==========================================================================
   Compare
   ========================================================================== */
.compare { background: var(--white); padding-block: var(--section); }
.ctable { margin-top: clamp(56px, 7vw, 88px); border-top: 1.5px solid var(--ink); }
.crow {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--rule);
}
.crow--head { padding: 16px 0; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.crow__brand {
  justify-self: start; font-family: var(--display); font-weight: 600; font-size: 20px; text-transform: none; letter-spacing: -.04em; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 3px; background: var(--lime); padding: 4px 12px; border-radius: 999px;
}
.crow__brand .wordmark__dot { width: 5px; height: 5px; background: var(--ink); }
.crow__k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crow__them { color: var(--faint); font-size: 16px; }
.crow__us { font-family: var(--display); font-weight: 450; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -.025em; }

/* ==========================================================================
   Domains
   ========================================================================== */
.domains { background: var(--bg); padding-block: var(--section); }
.doms { margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--rule); }
.dom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--rule); padding: .12em 0 .2em; overflow: hidden;
}
.dom__word {
  display: block; font-family: var(--display); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(2.5rem, 8.4vw, 8.6rem); line-height: 1; letter-spacing: -.06em;
  transition: color .6s var(--ease);
}
.dom--now .dom__word .hl { background-size: 100% 38%; background-position: 0 84%; }
.dom--next .dom__word { color: rgba(12, 15, 20, .15); }
.dom--next:hover .dom__word { color: var(--blue); }
.dom__tag { flex: none; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dom--now .dom__tag { color: var(--text); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--blue); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.serve { margin-top: clamp(80px, 10vw, 140px); row-gap: 24px; }
.serve__title { grid-column: 1 / 4; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: 22px; }
.serve__list { grid-column: 4 / 13; border-top: 1.5px solid var(--ink); }
.serve__list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; transition: padding .5s var(--ease); }
.serve__list li:hover { padding-left: 12px; }
.serve__list span { font-family: var(--display); font-weight: 450; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.serve__list p { color: var(--muted); font-size: 16px; }

/* ==========================================================================
   CTA (lime) + footer
   ========================================================================== */
.cta { background: var(--lime); color: var(--ink); padding-top: var(--section); padding-bottom: clamp(80px, 10vw, 140px); }
.cta__title {
  margin-top: 36px; max-width: 17ch;
  font-family: var(--display); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6.6vw, 6.8rem); line-height: .96; letter-spacing: -.055em; text-wrap: balance;
}
.cta__title em { font-style: normal; background: var(--ink); color: var(--lime); padding: 0 .12em; border-radius: .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cta__sig { position: relative; margin: clamp(40px, 6vw, 72px) 0; }
.cta__signal { width: 100%; height: clamp(90px, 12vw, 160px); overflow: visible; }
.cta__wave { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cta__seam { stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cta__dot { position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--blue); }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta__row p { color: var(--fg-muted); font-size: 17px; max-width: 46ch; }

.footer { background: var(--ink); color: var(--on-dark-muted); overflow: hidden; }
.footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 18px 40px;
  padding: 32px 0; font-size: 14px;
}
.footer__tag { max-width: 36ch; }
.footer__row nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__row nav a { color: var(--on-dark); opacity: .78; transition: opacity .3s; }
.footer__row nav a:hover { opacity: 1; }
.footer__legal { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; white-space: nowrap; }
.footer__word {
  font-family: var(--display); font-weight: 600; color: var(--on-dark);
  font-size: 30vw; line-height: .78; letter-spacing: -.075em; white-space: nowrap;
  padding-left: calc(var(--gutter) - .03em); padding-top: .12em; padding-bottom: .03em;
  display: flex; align-items: baseline; gap: .02em;
}
.footer__word .wordmark__dot { width: .06em; height: .06em; border-radius: .012em; background: var(--lime); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .xcard__t { font-size: 13.5px; }
  .ocard { grid-template-columns: 1fr; }
  .ocard__ic { display: none; }
}
@media (max-width: 999px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }

  .section-head .label, .section-head .h2, .section-head__aside,
  .thesis .label, .thesis__big, .thesis__sub { grid-column: 1 / -1; }
  .section-head .label, .thesis .label { padding-top: 0; }
  .thesis__big { margin-top: 28px; }
  .thesis__sub { margin-top: 40px; }

  .hero__top { grid-template-columns: minmax(0, 1fr); }
  .flowdia { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .flowdia__col--experts, .flowdia__col--qc, .flowdia__col--out { grid-column: 1; }
  .flowdia__wires, .flowdia__fx { display: none; }
  .flowdia__col--qc, .flowdia__col--out { position: relative; }
  .flowdia__col--qc::before, .flowdia__col--out::before {
    content: ""; position: absolute; left: 50%; top: -32px; width: 1.5px; height: 24px; background: var(--rule-strong);
  }
  .xp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ocard { grid-template-columns: 1fr; }
  .ocard__ic { display: grid; }

  .review__stage { grid-template-columns: minmax(0, 1fr); }
  .notes { margin-top: 32px; }
  .review__ink .ink-leader { display: none; }

  .build__grid { grid-template-columns: minmax(0, 1fr); }
  .build__panel { display: none; }
  .offer { min-height: 0; padding-block: 48px; }
  .offer__slot { display: block; margin-bottom: 28px; }
  .offer__slot .panel { position: relative; top: 0; }
  .js .offer:not(.is-active) { opacity: 1; }

  .tabpanel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .regions__axis, .region { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  .regions__axis { display: none; }
  .region__track { grid-column: 1 / -1; }

  .step { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 0 0 64px 46px; }
  .step__body, .step:nth-child(even) .step__body { grid-column: 1; text-align: left; }
  .step__body p { margin-left: 0; }
  .step__marker, .step:nth-child(even) .step__marker { left: 12px; top: 12px; }
  .token .token__id { display: none; }

  .crow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 8px; }
  .crow__k { grid-column: 1 / -1; }
  .crow--head span:first-child { display: none; }

  .serve__title, .serve__list { grid-column: 1 / -1; }
  .serve__title { padding-top: 0; }
}
@media (max-width: 640px) {
  .hero__inner { padding-top: calc(var(--nav-h) + 28px); }
  .hero__title { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .xp, .outs { grid-template-columns: minmax(0, 1fr); }
  .xp .xcard:nth-child(n+4) { display: none; }
  .ocard { min-height: 0; grid-template-columns: 44px minmax(0, 1fr); }
  .sheet__reviewer { margin-left: 0; }
  .score { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .crow { grid-template-columns: minmax(0, 1fr); }
  .crow--head { display: none; }
  .crow__them::before { content: "Marketplace: "; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
  .serve__list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .dom { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 14px; }
  .dom__tag { order: -1; padding-top: 14px; }
  .tabs { border-radius: 18px; }
  .tab { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .ink-mark, .js .ink-leader, .steps__prog { stroke-dashoffset: 0; }
  .js .mk-badge, .js .note, .js .score { opacity: 1; }
  .js .hero__title .hl { background-size: 100% 40%; }
  .js .thesis__mark { background-size: 100% 100%; }
}
