/* QuillGrid: ink, paper and highlighter. The 7-column content calendar ("the grid") is the recurring motif;
   yellow is only ever a fill or a highlight behind ink, never text on paper. */
:root {
  --paper: #FAFAF7;
  --paper-2: #F1F0EA;
  --sheet: #FFFFFF;
  --ink: #0B0B0A;
  --ink-2: #4A4944;
  --ink-3: #6B6A63;
  --rule: #E6E4DC;
  --rule-strong: #CDCBC1;
  --quill: #FCCD09;
  --quill-deep: #EBBC00;
  --quill-wash: #FFF5CC;
  --on-quill: #0B0B0A;
  --on-quill-2: #3A3305;
  --tag-bg: #FFF2B8;
  --tag-fg: #3D3400;
  --pass: #12703A;
  --pass-wash: #E3F3E7;
  --on-pass: #FFFFFF;
  --block: #B42318;
  --block-wash: #FDECEA;
  --on-block: #FFFFFF;
  --ink-hover: #2A2A27;
  --hover: rgba(11, 11, 10, 0.05);
  --grid-line: rgba(11, 11, 10, 0.07);
  --cell-empty: #ECEAE2;
  --focus: #0B0B0A;
  --focus-ring: rgba(252, 205, 9, 0.55);
  --band: #0B0B0A;
  --band-fg: #F4F3EC;
  --band-muted: #A9A79D;
  --band-rule: #2A2A26;
  --serp-bg: #FFFFFF;
  --serp-fg: #1F1F1E;
  --serp-muted: #5F5E58;
  --serp-link: #1F45B5;
  --code-bg: #0B0B0A;
  --code-fg: #E9E7DD;
  --code-muted: #A9A79D;
  --foot-bg: #0B0B0A;
  --foot-fg: #F4F3EC;
  --foot-muted: #A3A198;
  --foot-rule: #2A2A26;
  --show-sun: none;
  --show-moon: block;
  --shadow-card: 0 1px 0 rgba(11, 11, 10, 0.04), 0 18px 40px -26px rgba(11, 11, 10, 0.28);
  --shadow-desk: 0 2px 0 rgba(11, 11, 10, 0.04), 0 44px 90px -40px rgba(11, 11, 10, 0.42);

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D0D0C;
    --paper-2: #141412;
    --sheet: #181816;
    --ink: #F4F3EC;
    --ink-2: #BCBAB0;
    --ink-3: #8F8D84;
    --rule: #2A2A27;
    --rule-strong: #3D3C37;
    --quill-deep: #FFD93D;
    --quill-wash: #262106;
    --tag-bg: #2E2807;
    --tag-fg: #FCD94A;
    --pass: #5BD98A;
    --pass-wash: #0F2618;
    --on-pass: #06210F;
    --block: #FF8A7A;
    --block-wash: #2C1311;
    --on-block: #2C0A06;
    --ink-hover: #FFFFFF;
    --hover: rgba(255, 255, 255, 0.06);
    --grid-line: rgba(255, 255, 255, 0.06);
    --cell-empty: #22221F;
    --focus: #FCCD09;
    --focus-ring: rgba(252, 205, 9, 0.4);
    --band: #141412;
    --band-fg: #F4F3EC;
    --band-muted: #A9A79D;
    --band-rule: #2C2C28;
    --serp-bg: #1E1E1C;
    --serp-fg: #E8E7E1;
    --serp-muted: #A9A79D;
    --serp-link: #9DBBFF;
    --code-bg: #080807;
    --foot-bg: #080807;
    --foot-rule: #24241F;
    --show-sun: block;
    --show-moon: none;
    --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.4), 0 18px 40px -24px rgba(0, 0, 0, 0.8);
    --shadow-desk: 0 2px 0 rgba(0, 0, 0, 0.4), 0 44px 90px -36px rgba(0, 0, 0, 0.9);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0D0D0C;
  --paper-2: #141412;
  --sheet: #181816;
  --ink: #F4F3EC;
  --ink-2: #BCBAB0;
  --ink-3: #8F8D84;
  --rule: #2A2A27;
  --rule-strong: #3D3C37;
  --quill-deep: #FFD93D;
  --quill-wash: #262106;
  --tag-bg: #2E2807;
  --tag-fg: #FCD94A;
  --pass: #5BD98A;
  --pass-wash: #0F2618;
  --on-pass: #06210F;
  --block: #FF8A7A;
  --block-wash: #2C1311;
  --on-block: #2C0A06;
  --ink-hover: #FFFFFF;
  --hover: rgba(255, 255, 255, 0.06);
  --grid-line: rgba(255, 255, 255, 0.06);
  --cell-empty: #22221F;
  --focus: #FCCD09;
  --focus-ring: rgba(252, 205, 9, 0.4);
  --band: #141412;
  --band-fg: #F4F3EC;
  --band-muted: #A9A79D;
  --band-rule: #2C2C28;
  --serp-bg: #1E1E1C;
  --serp-fg: #E8E7E1;
  --serp-muted: #A9A79D;
  --serp-link: #9DBBFF;
  --code-bg: #080807;
  --foot-bg: #080807;
  --foot-rule: #24241F;
  --show-sun: block;
  --show-moon: none;
  --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.4), 0 18px 40px -24px rgba(0, 0, 0, 0.8);
  --shadow-desk: 0 2px 0 rgba(0, 0, 0, 0.4), 0 44px 90px -36px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--quill); color: var(--on-quill); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600; transition: top 0.2s;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.nw { white-space: nowrap; }
svg.i { width: 1.1em; height: 1.1em; flex: none; }
svg.bi { width: 1.05em; height: 1.05em; flex: none; fill: currentColor; }

/* ---------- type ---------- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.9rem, 1.05rem + 7.2vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.display-l {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: clamp(2.1rem, 1.25rem + 3.1vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.07rem, 1rem + 0.35vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36em;
  text-wrap: pretty;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cell { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--quill); flex: none; }
.example-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-3);
  vertical-align: middle;
}
.lede a, .faq-list a, .form-status a {
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(var(--quill), var(--quill)) 0 100% / 100% 0.32em no-repeat;
  transition: background-size 0.2s var(--ease);
}
.lede a:hover, .faq-list a:hover, .form-status a:hover { background-size: 100% 100%; color: var(--on-quill); }

/* The highlighter: a marker stroke drawn behind ink, per line fragment. */
.hl {
  color: var(--on-quill);
  background-image: linear-gradient(100deg, transparent 0.1em, var(--quill) 0.15em, var(--quill) calc(100% - 0.09em), transparent calc(100% - 0.03em));
  background-repeat: no-repeat;
  background-size: 100% 76%;
  background-position: 0 70%;
  padding-inline: 0.07em;
  margin-inline: -0.07em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: hl-in 1.05s 0.3s var(--ease) both;
}
@keyframes hl-in {
  from { background-size: 0% 76%; color: var(--ink); }
  to { background-size: 100% 76%; color: var(--on-quill); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.4em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn .i { transition: transform 0.2s var(--ease); }
.btn:hover .i { transform: translateX(2px); }
.btn-quill { background: var(--quill); color: var(--on-quill); }
.btn-quill:hover { background: var(--quill-deep); }
.btn-quill:focus-visible { outline-color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-hover); }
.btn-sm { padding: 0.72em 1.1em; font-size: 0.94rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s;
}
.icon-btn:hover { background: var(--hover); }
.icon-btn .i { width: 18px; height: 18px; }
.i-sun { display: var(--show-sun); }
.i-moon { display: var(--show-moon); }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-head.is-scrolled { border-bottom-color: var(--rule); }
.head-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; color: var(--ink); border-radius: 6px; }
.brand .wordmark { height: 27px; width: auto; aspect-ratio: 1971 / 414; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
}
.nav a:hover { background: var(--hover); color: var(--ink); }
.nav .nav-cta-mobile { display: none; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-login { font-weight: 600; font-size: 0.94rem; text-decoration: none; padding: 8px 10px; }
.menu-btn { display: none; }
.i-close { display: none; }
.site-head[data-open] .i-close { display: block; }
.site-head[data-open] .i-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(36px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas: "head head" "copy visual";
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}
.hero-head { grid-area: head; }
.hero-copy { grid-area: copy; display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.hero-visual { grid-area: visual; position: relative; }
.hero .display-xl { margin-top: 24px; max-width: 11.5em; }

.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  color: var(--ink-2);
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  transition: border-color 0.15s;
}
.beta-pill:hover { border-color: var(--rule-strong); color: var(--ink); }
.beta-pill .i { width: 15px; height: 15px; }
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.beta-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--quill);
  box-shadow: 0 0 0 0 rgba(252, 205, 9, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(252, 205, 9, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(252, 205, 9, 0); }
}

.capacity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.capacity strong { color: var(--ink); font-weight: 600; }
.capacity .cell { width: 12px; height: 12px; border-radius: 3px; }

.url-capture {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 520px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.url-capture:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--focus-ring); }
.url-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 14px; color: var(--ink-3); }
.url-field input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  padding: 12px 0;
  color: var(--ink);
}
.url-field input::placeholder { color: var(--ink-3); }
.micro { font-size: 0.82rem; color: var(--ink-3); margin-top: -10px; padding-left: 20px; }

.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; }
.platforms-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.platforms ul { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.platforms li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; color: var(--ink-2); }

/* the decorative calendar behind the desk */
.desk-grid {
  position: absolute;
  top: -34px;
  right: -26px;
  width: 64%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  transform: rotate(5deg);
  -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 85%);
  mask-image: linear-gradient(200deg, #000 30%, transparent 85%);
  pointer-events: none;
}
.desk-grid i { aspect-ratio: 1; border-radius: 7px; border: 1.5px solid var(--rule-strong); }
.desk-grid i:nth-child(3n+1) { background: var(--cell-empty); border-color: transparent; }
.desk-grid i:nth-child(5), .desk-grid i:nth-child(9), .desk-grid i:nth-child(12), .desk-grid i:nth-child(17),
.desk-grid i:nth-child(20), .desk-grid i:nth-child(26) { background: var(--quill); border-color: var(--quill); }
.desk-grid i:nth-child(6), .desk-grid i:nth-child(14) { background: var(--ink); border-color: var(--ink); }

/* ---------- desk card ---------- */
.desk {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: var(--shadow-desk);
  overflow: hidden;
}
.desk-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.desk-app { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.88rem; }
.desk-mark { width: 24px; height: 24px; }
.site-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-2);
}
.status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 650;
  white-space: nowrap;
}
.status[data-state="live"] { background: var(--pass-wash); color: var(--pass); }
.status[data-state="work"] { background: var(--tag-bg); color: var(--tag-fg); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status[data-state="work"] .status-dot { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.desk-body { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 18px; padding: 16px; }
.desk-cover {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cell-empty);
}
.desk-cover img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.desk.is-writing .desk-cover img { opacity: 0; transform: scale(1.06); }
.desk.cover-in .desk-cover img { opacity: 1; transform: none; }
.desk-copy { display: flex; flex-direction: column; min-width: 0; }
.desk-lane {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  min-height: 1.2em;
}
.desk-title {
  margin: 8px 0 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.32rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  min-height: 3.66em;
}
.desk.is-typing .desk-title::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: var(--quill);
  animation: blink 0.8s steps(2, start) infinite;
}
.desk-excerpt {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.4s;
}
.desk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.desk-tags li {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--tag-bg);
  color: var(--tag-fg);
  animation: tag-in 0.35s var(--ease) both;
}
@keyframes tag-in { from { opacity: 0; transform: translateY(4px); } }

.rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  margin: 0 16px 16px;
  padding: 0;
  list-style: none;
  --p: 1;
}
.rail::before, .rail::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 6.25%;
  height: 2px;
  border-radius: 2px;
}
.rail::before { right: 6.25%; background: var(--rule); }
.rail::after { width: calc(87.5% * var(--p)); background: var(--quill); transition: width 0.45s var(--ease); }
.rail li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--ink-3);
  text-align: center;
}
.tick {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px dashed var(--rule-strong);
  background: var(--sheet);
  transition: background-color 0.25s, border-color 0.25s;
}
.tick .i { width: 13px; height: 13px; color: var(--on-quill); opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.25s var(--ease); }
.rail li.done { color: var(--ink); }
.rail li.done .tick { background: var(--quill); border: 1.5px solid var(--quill); }
.rail li.done .tick .i { opacity: 1; transform: none; }
.rail li.active .tick { border-style: solid; border-color: var(--quill); box-shadow: 0 0 0 4px var(--focus-ring); }

.desk-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 16px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  font-size: 0.78rem;
}
.desk-url {
  flex: 1 1 220px;
  min-width: 0;
  font-family: var(--font-mono);
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desk-stats { font-family: var(--font-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.desk-stats b { color: var(--ink); font-weight: 600; }
.desk-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 650;
  text-decoration: none;
  background: linear-gradient(var(--quill), var(--quill)) 0 100% / 100% 0.3em no-repeat;
}
.desk-link .i { width: 14px; height: 14px; }
.desk-link[hidden] { display: none; }
.desk-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.desk-pager button {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
  color: var(--ink-2);
  cursor: pointer;
}
.desk-pager button:hover { color: var(--ink); border-color: var(--ink-3); }
.desk-pager button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.desk-caption { margin-top: 10px; text-align: center; font-size: 0.78rem; color: var(--ink-3); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-pad); }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .display-l { margin-bottom: 18px; }
.head-wide { max-width: 920px; }
.head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px 64px;
  align-items: end;
}
.head-split .display-l { margin-bottom: 0; }

/* problem */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split-head .display-l { margin-bottom: 18px; }
.time-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; max-width: 470px; }
.time-compare > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--rule);
  background: var(--sheet);
}
.tc-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.tc-value { font-family: var(--font-display); font-weight: 850; font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.15; }
.tc-note { font-size: 0.8rem; color: var(--ink-3); }
.time-compare .tc-quill { background: var(--quill); border-color: var(--quill); color: var(--on-quill); }
.tc-quill .tc-label, .tc-quill .tc-note { color: var(--on-quill-2); }

.chores-card {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: var(--shadow-card);
}
.chores { list-style: none; margin: 0; padding: 0; }
.chores li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px dashed var(--rule);
}
.chores li:last-child { border-bottom: 0; }
.box {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  border: 1.5px solid var(--rule-strong);
  transition: background-color 0.25s, border-color 0.25s;
}
.box .i { width: 14px; height: 14px; color: var(--on-quill); opacity: 0; transition: opacity 0.2s; }
.task { font-size: 1rem; line-height: 1.4; }
.task > span {
  background: linear-gradient(currentColor, currentColor) 0 58% / 0% 2px no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.45s var(--ease), color 0.3s;
}
.mins { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chores li.struck .box { background: var(--quill); border-color: var(--quill); }
.chores li.struck .box .i { opacity: 1; }
.chores li.struck .task > span { background-size: 100% 2px; color: var(--ink-3); }
.chores-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 14px 4px 0;
  font-size: 0.8rem;
  color: var(--ink-3);
}
.chores-stamp {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  transform: rotate(-3deg);
}
.chores-card.is-done .chores-stamp { animation: stamp 0.45s var(--ease) both; }
@keyframes stamp {
  0% { transform: rotate(-3deg) scale(1.35); opacity: 0.2; }
  100% { transform: rotate(-3deg) scale(1); opacity: 1; }
}

/* how it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--rule);
  background: var(--sheet);
}
.step-no {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}
.step h3 { margin-top: 8px; font-size: 1.2rem; font-weight: 750; letter-spacing: -0.015em; line-height: 1.25; }
.step p { color: var(--ink-2); font-size: 0.95rem; }
.mini {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-size: 0.78rem;
}
.step p + .mini { margin-top: auto; }
.mini em { font-style: normal; }
.mc-row, .ml-row { display: flex; align-items: center; gap: 8px; padding: 4px 2px; }
.mc-row em, .ml-row em {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-3);
}
.mc-row em.ok, .ml-row em:not(.sched) { background: var(--pass-wash); color: var(--pass); border-color: transparent; }
.ml-row { justify-content: space-between; }
.mp-row { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 4px 2px; }
.mp-row b { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding-top: 2px; }
.days { display: flex; gap: 4px; }
.days i {
  font-style: normal;
  width: 25px; height: 25px;
  display: grid; place-items: center;
  border-radius: 6px;
  border: 1px solid var(--rule-strong);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-3);
}
.days i.on { background: var(--quill); border-color: var(--quill); color: var(--on-quill); font-weight: 600; }
.mr-row { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-2); padding: 4px 2px 0; }
.switch { position: relative; width: 30px; height: 18px; border-radius: 99px; background: var(--ink); margin-left: auto; }
.switch b { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--quill); }

/* content profile playground */
.playground {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pg-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.pg-tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.pg-tabs button:last-child { border-right: 0; }
.pg-tabs button span { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 400; color: var(--ink-3); }
.pg-tabs button:hover { color: var(--ink); background: var(--hover); }
.pg-tabs button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: inset 0 -3px 0 var(--quill); }
.pg-tabs button:focus-visible { outline-offset: -4px; }
.pg-panel { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); }
.pg-panel:focus-visible { outline-offset: -4px; }
.pg-profile { padding: clamp(18px, 2.4vw, 28px); border-right: 1px solid var(--rule); }
.pg-output { padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 22px; }
.pg-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.profile-list { margin: 0; }
.profile-list > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--rule);
}
.profile-list > div:last-child { border-bottom: 0; }
.profile-list dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.profile-list dd { margin: 0; font-size: 0.93rem; line-height: 1.45; }
[data-p] { transition: opacity 0.16s; }
.pg-panel.is-swapping [data-p] { opacity: 0; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.topics li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.intent {
  grid-row: span 2;
  align-self: start;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--tag-bg);
  color: var(--tag-fg);
}
.topics .t { font-family: var(--font-serif); font-weight: 600; font-size: 1.04rem; line-height: 1.3; }
.topics .slug { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-3); overflow-wrap: anywhere; }
.opening { margin: 0; }
.opening blockquote {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--quill);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
}
.cover-dir { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 0.84rem; color: var(--ink-2); }
.swatches { display: inline-flex; vertical-align: middle; }
.swatches i {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid var(--sheet);
  box-shadow: 0 0 0 1px var(--rule);
  margin-left: -6px;
}
.swatches i:first-child { margin-left: 0; }
.swatches.sm i { width: 14px; height: 14px; border-width: 1.5px; margin-left: -4px; }
.swatches.sm i:first-child { margin-left: 0; }

/* pipeline band */
.band-ink { background: var(--band); color: var(--band-fg); }
.band-ink .kicker, .band-ink .lede { color: var(--band-muted); }
.band-ink :focus-visible { outline-color: var(--quill); }
.pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--band-rule);
  border: 1px solid var(--band-rule);
  border-radius: 22px;
  overflow: hidden;
}
.pipeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 176px;
  padding: 22px;
  background: var(--band);
}
.pipeline li::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 3px;
  background: var(--quill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.pipeline.is-on li::after { transform: scaleX(1); }
.pipeline.is-on li:nth-child(2)::after { transition-delay: 0.12s; }
.pipeline.is-on li:nth-child(3)::after { transition-delay: 0.24s; }
.pipeline.is-on li:nth-child(4)::after { transition-delay: 0.36s; }
.pipeline.is-on li:nth-child(5)::after { transition-delay: 0.48s; }
.pipeline.is-on li:nth-child(6)::after { transition-delay: 0.6s; }
.pipeline.is-on li:nth-child(7)::after { transition-delay: 0.72s; }
.pipeline.is-on li:nth-child(8)::after { transition-delay: 0.84s; }
.p-no { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--quill); }
.pipeline h3 { font-size: 1.15rem; font-weight: 750; letter-spacing: -0.01em; }
.pipeline p { font-size: 0.92rem; color: var(--band-muted); }

.anatomy {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px 32px;
  align-items: start;
}
.anatomy-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.anatomy-head .h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.anatomy-head p { color: var(--band-muted); }
.serp {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--serp-bg);
  color: var(--serp-fg);
}
.serp-site { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; line-height: 1.3; }
.serp-site > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.serp-fav {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #EB5D3A;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8rem;
}
.serp-url { font-size: 0.76rem; color: var(--serp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-title { margin-top: 4px; font-size: 1.3rem; line-height: 1.3; color: var(--serp-link); }
.serp-desc { font-size: 0.9rem; line-height: 1.55; color: var(--serp-muted); }
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--band-rule);
  border: 1px solid var(--band-rule);
  border-radius: 18px;
  overflow: hidden;
}
.facts > div { display: flex; flex-direction: column; gap: 2px; padding: 13px 16px; background: var(--band); }
.facts dt { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-muted); }
.facts dd { margin: 0; font-weight: 700; }

/* publish checks */
.gate-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.gate-copy .display-l { margin-bottom: 18px; }
.gate-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--rule); }
.seg button {
  border: 0;
  background: transparent;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
  cursor: pointer;
}
.seg button[aria-checked="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--rule), 0 1px 2px rgba(0, 0, 0, 0.08); }
.gate-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}
.gate-result .i { margin-top: 2px; }
.gate-result[data-state="pass"] { background: var(--pass-wash); color: var(--pass); }
.gate-result[data-state="block"] { background: var(--block-wash); color: var(--block); }
.gate-result[data-state="run"] { background: var(--paper-2); color: var(--ink-2); }
.gate-panel {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 6px clamp(16px, 2.4vw, 26px) 18px;
  box-shadow: var(--shadow-card);
}
.gate-group h3 {
  margin: 18px 0 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.gate-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
.gate-group li {
  --mark: var(--pass);
  --mark-fg: var(--on-pass);
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 10px;
  padding: 9px 0 9px 28px;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.9rem;
  line-height: 1.4;
}
.gate-group li::before, .gate-group li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.gate-group li::before { background: var(--mark); transition: background-color 0.2s; }
.gate-group li::after {
  background: var(--mark-fg);
  -webkit-mask: var(--glyph) center / 11px no-repeat;
  mask: var(--glyph) center / 11px no-repeat;
}
.gate-group li.pending { --mark: transparent; --mark-fg: transparent; }
.gate-group li.pending::before { box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.gate-group li.fail {
  --mark: var(--block);
  --mark-fg: var(--on-block);
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.gate-group li.fixed {
  --mark: var(--quill);
  --mark-fg: var(--on-quill);
  --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-15.5 6.2L3 16M3 12a9 9 0 0 1 15.5-6.2L21 8M21 3v5h-5M3 21v-5h5'/%3E%3C/svg%3E");
}
.gate-group li.skip { --mark: var(--cell-empty); --mark-fg: var(--ink-3); --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); color: var(--ink-3); }
.gate-group .val { margin-left: auto; font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gate-group .why { flex-basis: 100%; font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.45; }
.gate-group .why:empty { display: none; }
.gate-group li.fail .why { color: var(--block); }
.gate-group li.fixed .why { color: var(--ink-2); }

/* scale */
.scale-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.scale-copy .display-l { margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--rule);
  background: var(--sheet);
}
.stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 850;
  font-size: clamp(1.8rem, 1.25rem + 1.5vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1;
}
.stats small { margin-left: 5px; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.stats dt { font-size: 0.8rem; color: var(--ink-3); line-height: 1.35; }
.thousand {
  margin: 0;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: 24px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  box-shadow: var(--shadow-card);
}
.thousand-grid {
  display: grid;
  grid-template-columns: repeat(40, minmax(0, 1fr));
  gap: 3px;
  aspect-ratio: 40 / 25;
  background: conic-gradient(from 90deg at 3px 3px, var(--sheet) 25%, var(--quill) 0) -3px -3px / calc(100% / 40 + 0.075px) calc(100% / 25 + 0.12px);
}
.thousand-grid.is-built { background: none; aspect-ratio: auto; }
.thousand-grid i { display: block; aspect-ratio: 1; border-radius: 2px; background: var(--cell-empty); }
.thousand-grid i.on { background: var(--quill); }
.thousand figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 18px; color: var(--ink-3); font-size: 0.9rem; }
.count {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.schedule { margin-top: clamp(40px, 5vw, 64px); }
.schedule-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--sheet);
}
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table-scroll th, .table-scroll td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.table-scroll tbody tr:last-child > * { border-bottom: 0; }
.table-scroll thead th {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
}
.schedule tbody th { font-family: var(--font-mono); font-size: 0.84rem; font-weight: 600; }
.schedule td { color: var(--ink-2); }
.schedule .swatches { margin-right: 10px; }
.row-example { background: var(--quill-wash); }
.row-example .example-tag { margin-left: 6px; }

/* covers & posts */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.post-card:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--cell-empty); }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.post-site { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2); }
.post-card h3 { padding: 10px 20px 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.16rem; line-height: 1.3; letter-spacing: -0.005em; text-wrap: pretty; }
.post-facts { padding: 10px 20px 0; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-link {
  margin-top: auto;
  padding: 18px 20px 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  text-decoration: none;
}
.post-link span, .post-link:not(.is-muted) { text-underline-offset: 4px; }
.post-link:not(.is-muted):hover { text-decoration: underline; text-decoration-color: var(--quill); text-decoration-thickness: 3px; }
.post-link .i { width: 15px; height: 15px; }
.post-link.is-muted { font-weight: 400; font-size: 0.82rem; color: var(--ink-3); }

/* integrations */
.int {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border-radius: 24px;
  border: 1px solid var(--rule);
  background: var(--sheet);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.int-tabs { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: var(--paper-2); border-right: 1px solid var(--rule); }
.int-tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.int-tabs button:hover { color: var(--ink); background: var(--hover); }
.int-tabs button[aria-selected="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--rule), 0 1px 2px rgba(0, 0, 0, 0.06); }
.int-tabs .bi, .int-tabs .i { width: 18px; height: 18px; }
.int-panel { padding: clamp(20px, 3vw, 36px); min-height: 330px; }
.int-panel h3 { margin-bottom: 10px; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; }
.int-panel > p { color: var(--ink-2); max-width: 62ch; }
.int-steps { list-style: none; counter-reset: s; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; max-width: 62ch; }
.int-steps li { counter-increment: s; position: relative; min-height: 26px; padding: 2px 0 0 40px; font-size: 0.95rem; }
.int-steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--quill);
  color: var(--on-quill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
}
.code {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--code-bg);
  color: var(--code-fg);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.code .c-s { color: #FCCD09; }
.code .c-k { color: #FFFFFF; font-weight: 600; }
.code .c-t { color: var(--code-muted); }

/* compare */
.compare-scroll table { min-width: 760px; }
.compare th, .compare td { white-space: normal; }
.compare thead th { font-size: 0.66rem; }
.compare thead th.col-qg { background: var(--quill); color: var(--on-quill); font-weight: 600; }
.compare tbody th { font-weight: 650; width: 28%; }
.compare td { color: var(--ink-2); width: 24%; }
.compare td.col-qg { background: var(--quill-wash); color: var(--ink); font-weight: 600; }
.cmp-mark { width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; }
.m { display: inline-flex; align-items: center; gap: 9px; }
.m::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; }
.m-yes::before { background: var(--pass); }
.m-part::before { box-shadow: inset 0 0 0 1.5px var(--ink-3); background: linear-gradient(90deg, var(--ink-3) 50%, transparent 50%); }
.m-no::before { box-shadow: inset 0 0 0 1.5px var(--ink-3); }

/* built for */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.who article { padding: 24px; border-radius: 20px; border: 1px solid var(--rule); background: var(--sheet); }
.who .i {
  width: 22px; height: 22px;
  padding: 9px;
  box-sizing: content-box;
  border-radius: 11px;
  background: var(--quill);
  color: var(--on-quill);
}
.who h3 { margin: 18px 0 6px; font-size: 1.18rem; font-weight: 750; letter-spacing: -0.015em; }
.who p { color: var(--ink-2); font-size: 0.95rem; }
.marquee {
  display: flex;
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  margin: 0;
  padding: 0 10px 0 0;
  list-style: none;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
  color: var(--ink-2);
  font-size: 0.95rem;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* faq */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: 104px; }
.faq-head .display-l { margin-bottom: 18px; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--quill); border-color: var(--quill); }
.faq-list details[open] summary::after {
  background:
    linear-gradient(var(--on-quill), var(--on-quill)) center / 12px 2px no-repeat,
    linear-gradient(var(--on-quill), var(--on-quill)) center / 2px 12px no-repeat,
    var(--quill);
}
.faq-list summary:hover { color: var(--ink); }
.faq-list details p { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 64ch; }

/* beta band */
.band-quill {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-pad);
  background: var(--quill);
  color: var(--on-quill);
}
.band-quill :focus-visible { outline-color: var(--on-quill); }
.beta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.band-quill .lede { color: var(--on-quill-2); }
.kicker-onq { color: var(--on-quill-2); }
.kicker-onq .cell { background: var(--on-quill); }
.band-quill .display-l { margin-bottom: 18px; }
.next-steps { list-style: none; counter-reset: n; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; max-width: 520px; }
.next-steps li { counter-increment: n; position: relative; min-height: 32px; padding: 4px 0 0 48px; color: var(--on-quill-2); }
.next-steps li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--on-quill);
  color: var(--quill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}
.next-steps b { display: block; color: var(--on-quill); }
.beta-layout { position: relative; z-index: 1; }
.beta-mark {
  position: absolute;
  right: max(-150px, -10vw);
  bottom: -220px;
  width: clamp(320px, 44vw, 620px);
  height: auto;
  color: var(--on-quill);
  opacity: 0.08;
  pointer-events: none;
}
.form-card {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(62, 49, 0, 0.5), 0 0 0 1px rgba(11, 11, 10, 0.1);
}
.form-card :focus-visible { outline-color: var(--focus); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 0.86rem; font-weight: 600; }
.field input, .field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23858379' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--focus-ring); }
.field input[aria-invalid="true"] { border-color: var(--block); }
.err { font-size: 0.8rem; color: var(--block); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.beta-form .btn-block { margin-top: 6px; }
.form-note { margin-top: 12px; text-align: center; font-size: 0.78rem; color: var(--ink-3); }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 0.88rem; line-height: 1.5; background: var(--block-wash); color: var(--block); }
.form-status[data-kind="info"] { background: var(--paper-2); color: var(--ink-2); }
.form-done { padding: 28px 8px; text-align: center; }
.form-done:focus { outline: none; }
.done-badge { width: 60px; height: 60px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--quill); }
.done-badge .i { width: 28px; height: 28px; color: var(--on-quill); }
.form-done h3 { margin-bottom: 8px; font-size: 1.7rem; font-weight: 850; letter-spacing: -0.025em; }
.form-done p { color: var(--ink-2); }

/* footer */
.site-foot { padding-block: 64px 28px; background: var(--foot-bg); color: var(--foot-fg); }
.site-foot :focus-visible { outline-color: var(--quill); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-brand .wordmark { height: 30px; width: auto; aspect-ratio: 1971 / 414; color: var(--foot-fg); }
.foot-brand p { margin-top: 16px; max-width: 34ch; color: var(--foot-muted); }
.foot-col h2 {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foot-muted);
}
.foot-col a { display: block; width: fit-content; padding: 4px 0; color: var(--foot-fg); text-decoration: none; }
.foot-col a:hover { color: var(--quill); }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--foot-rule);
  font-size: 0.82rem;
  color: var(--foot-muted);
}
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--foot-muted); text-decoration: none; }
.to-top:hover { color: var(--quill); }
.to-top .i { width: 14px; height: 14px; }

/* mid-page CTA */
.cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: 26px;
  background:
    linear-gradient(var(--band-rule) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--band-rule) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--band);
  color: var(--band-fg);
}
.cta-card :focus-visible { outline-color: var(--quill); }
.cta-copy { max-width: 40rem; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cta-copy p { margin-top: 10px; color: var(--band-muted); }
.cta-card .btn { flex: none; }

/* legal + 404 pages */
.head-actions-sub { margin-left: auto; }
.legal { padding-block: clamp(40px, 6vw, 88px) var(--section-pad); }
.legal-body { max-width: 68ch; }
.legal-body h1 {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.legal-body .updated { margin-top: 14px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3); }
.legal-body h2 { margin-top: 40px; font-size: 1.3rem; font-weight: 750; letter-spacing: -0.015em; }
.legal-body p, .legal-body li { margin-top: 12px; color: var(--ink-2); }
.legal-body ul { margin: 0; padding-left: 1.2em; }
.legal-body li { margin-top: 6px; }
.legal-body code { font-family: var(--font-mono); font-size: 0.85em; padding: 1px 6px; border-radius: 6px; background: var(--paper-2); }
.legal-body a, .form-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--quill); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.legal-back { margin-top: 40px !important; font-weight: 650; }
.foot-base-solo { margin-top: 0; }
.notfound { padding-block: clamp(64px, 10vw, 140px); }
.notfound-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.nf-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--quill);
  color: var(--on-quill);
}
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps, .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline li { min-height: 0; }
}
@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "copy" "visual"; }
  .hero-visual { max-width: 640px; width: 100%; margin-inline: auto; }
  .split, .gate-layout, .scale-layout, .faq-layout, .beta-layout, .anatomy, .head-split { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .posts {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 46%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .post-card { scroll-snap-align: start; }
  .post-card:hover { transform: none; }
}
@media (max-width: 960px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) 18px max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.35);
  }
  .site-head[data-open] .nav { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 10px; font-size: 1.02rem; }
  .nav .nav-cta-mobile { display: inline-flex; margin-top: 8px; color: var(--on-quill); }
  .menu-btn { display: inline-grid; }
  .head-actions { margin-left: auto; }
  .head-login { display: none; }
}
@media (max-width: 760px) {
  .int { grid-template-columns: minmax(0, 1fr); }
  .int-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .int-tabs button { flex: none; }
  .int-panel { min-height: 0; }
  .pg-tabs { display: flex; overflow-x: auto; }
  .pg-tabs button { flex: 1 0 170px; }
  .pg-panel { grid-template-columns: minmax(0, 1fr); }
  .pg-profile { border-right: 0; border-bottom: 1px solid var(--rule); }
  .gate-group ul { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stats > div { padding: 12px; }
  .thousand-grid { gap: 2px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .posts { grid-auto-columns: minmax(260px, 82%); }
}
@media (max-width: 640px) {
  .steps, .who { grid-template-columns: minmax(0, 1fr); }
  .pipeline { grid-template-columns: minmax(0, 1fr); }
  .desk-body { grid-template-columns: minmax(0, 1fr); }
  .desk-cover { aspect-ratio: 16 / 9; }
  .desk-title { min-height: 0; }
  .rail { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 12px; }
  .rail::before, .rail::after { display: none; }
  .desk-grid { display: none; }
  .time-compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq-list details p { padding-right: 0; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chores li { grid-template-columns: 22px minmax(0, 1fr); }
  .mins { grid-column: 2; margin-top: -6px; }
}
@media (max-width: 400px) {
  .beta-pill { font-size: 0.8rem; gap: 8px; }
  .pill-tag { padding: 5px 8px; }
}
@media (max-width: 480px) {
  .url-capture { flex-direction: column; align-items: stretch; border-radius: 20px; }
  .url-field { padding: 2px 12px; }
  .url-capture .btn { width: 100%; }
  .micro { padding-left: 4px; }
  .head-cta { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; }
  .profile-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .marquee-track { animation: none !important; }
  .marquee {
    flex-wrap: wrap;
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track { flex-wrap: wrap; flex-shrink: 1; row-gap: 10px; padding: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
