/* Inkbound V3 design system (inkbound.design)
   White ground, near-black ink. Hierarchy comes from weight, size and value,
   never from hue: the only color on a page is the author's book inside the
   screenshots. Instrument Sans for everything, IBM Plex Mono for numbers,
   measurements and small labels. Serifs appear only inside book imagery. */

/* Fonts (self-hosted; Instrument Sans is one variable file for 400 to 700) */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/InstrumentSans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/InstrumentSans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexMono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexMono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexMono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexMono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens */
:root {
  color-scheme: light;

  --sans: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Surfaces and ink (light) */
  --paper: #ffffff;
  --paper-2: #f5f5f6;
  --paper-3: #ececee;
  --ink: #0c0c0d;
  --ink-2: #2a2a2d;
  --muted: #5b5b61;   /* 6.6:1 on white: body copy */
  --faint: #6b6b71;   /* 5.3:1 on white: captions and small labels */
  --soft: #8b8b91;    /* 3.5:1: large display text only */
  --line: #e8e8eb;
  --line-strong: #d7d7dc;
  --btn-bg: #0c0c0d;
  --btn-fg: #ffffff;
  --btn-hover: #2c2c30;
  --focus: #0c0c0d;
  --dot: rgba(12, 12, 13, 0.11);

  --shadow-window:
    0 0 0 1px rgba(12, 12, 13, 0.07),
    0 1px 2px rgba(12, 12, 13, 0.05),
    0 10px 24px -8px rgba(12, 12, 13, 0.1),
    0 34px 70px -22px rgba(12, 12, 13, 0.2),
    0 70px 130px -50px rgba(12, 12, 13, 0.18);
  --shadow-detail:
    0 0 0 1px rgba(12, 12, 13, 0.07),
    0 2px 4px rgba(12, 12, 13, 0.04),
    0 18px 40px -16px rgba(12, 12, 13, 0.18);

  /* Type scale */
  --fs-display: clamp(2.5rem, 7.4vw, 6rem);
  --fs-h2: clamp(2.125rem, 1.35rem + 3.2vw, 3.75rem);
  --fs-h3: 1.125rem;
  --fs-lead: clamp(1.125rem, 1.02rem + 0.42vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.8125rem;

  /* Layout */
  --wrap: 1200px;
  --wrap-wide: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(88px, 11vw, 168px);
  --r-window: 14px;
  --r-btn: 12px;
  --r-band: clamp(20px, 2.8vw, 36px);
  --band-inset: clamp(8px, 1.4vw, 20px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark bands re-map the same tokens, so every component follows */
.band--dark {
  color-scheme: dark;
  --paper: #0b0b0c;
  --paper-2: #151517;
  --paper-3: #1d1d20;
  --ink: #f4f4f5;
  --ink-2: #dedee2;
  --muted: #a4a4ab;
  --faint: #8f8f96;
  --soft: #74747b;
  --line: #242427;
  --line-strong: #323236;
  --btn-bg: #f4f4f5;
  --btn-fg: #0b0b0c;
  --btn-hover: #d9d9dd;
  --focus: #f4f4f5;
  --dot: rgba(255, 255, 255, 0.07);
  --shadow-window:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 1px 0 0 rgba(255, 255, 255, 0.05),
    0 30px 80px -24px rgba(0, 0, 0, 0.9),
    0 60px 140px -40px rgba(0, 0, 0, 0.7);
  --shadow-detail:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 24px 60px -20px rgba(0, 0, 0, 0.85);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-color: #c6c6cc transparent;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--ink);
}
/* The hero glow and the edge-bleeding screenshots never cause sideways scroll. */
main { overflow-x: clip; }
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line-strong);
  transition: color 0.2s var(--ease-soft), text-decoration-color 0.2s var(--ease-soft);
}
a:hover { text-decoration-color: currentColor; }

::selection { background: #0c0c0d; color: #ffffff; }
.band--dark ::selection { background: #f4f4f5; color: #0b0b0c; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.55em;
  padding: 0 0.35em;
  margin: 0 0.08em;
  font-family: var(--sans);
  font-size: 0.82em;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  vertical-align: 0.08em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout primitives */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide { max-width: calc(var(--wrap-wide) + var(--gutter) * 2); }

.sec { padding-block: var(--sec-y); position: relative; }
/* Two plain sections in a row share one gap; bands and stages keep their own. */
.sec:not(.band--dark, .stage) + .sec:not(.band--dark, .stage) { padding-top: 0; }

.band--dark {
  margin-inline: var(--band-inset);
  border-radius: var(--r-band);
  background-color: #0b0b0c;
  background-image: radial-gradient(1100px 520px at 50% -8%, rgba(255, 255, 255, 0.075), transparent 70%);
  color: var(--ink);
  isolation: isolate;
  overflow: clip;
}

.stage {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-2) 14%, var(--paper-2) 86%, #ffffff 100%);
}

/* Type */
.display {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.display .line { display: block; }

.h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.032em;
  text-wrap: balance;
  max-width: 17ch;
}
.soft { color: var(--soft); }

.h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: -0.006em;
  max-width: 36ch;
  text-wrap: pretty;
}
.lead strong { color: var(--ink); font-weight: 600; }

.mono {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 18px;
  font-size: var(--fs-small);
  color: var(--faint);
}
.cap b { color: var(--ink); font-weight: 600; }
.cap .mono { color: var(--faint); }

/* Buttons */
.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 20px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.9688rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-soft),
    border-color 0.2s var(--ease-soft),
    color 0.2s var(--ease-soft),
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.btn--lg { --h: 52px; padding: 0 24px; font-size: 1.0313rem; }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 0.875rem; border-radius: 10px; }

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 1px 2px rgba(12, 12, 13, 0.18);
}
.btn--primary:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 10px 24px -10px rgba(12, 12, 13, 0.45);
}
.btn--primary:hover .i-down { transform: translateY(2px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost:hover .i-right { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.v3-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-soft), background-color 0.3s var(--ease-soft);
}
.v3-header.is-scrolled { border-bottom-color: var(--line); }
.v3-header__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand__mark { width: 30px; height: 30px; filter: drop-shadow(0 1px 1.5px rgba(12, 12, 13, 0.16)); }
.brand__word { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.028em; }

.ib-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.ib-nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.9063rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-soft), background-color 0.2s var(--ease-soft);
}
.ib-nav a:hover { color: var(--ink); background: var(--paper-2); }
.ib-nav a.active { color: var(--ink); }

.v3-header__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.ib-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.ib-burger .bars { position: relative; display: block; width: 16px; height: 10px; }
.ib-burger .bars span {
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.ib-burger .bars span:nth-child(1) { top: 1px; }
.ib-burger .bars span:nth-child(2) { top: 7.5px; }
.ib-burger[aria-expanded="true"] .bars span:nth-child(1) { top: 4.25px; transform: rotate(45deg); }
.ib-burger[aria-expanded="true"] .bars span:nth-child(2) { top: 4.25px; transform: rotate(-45deg); }

.ib-menu {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) 40px;
  background: var(--paper);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.ib-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s;
}
.ib-menu a:not(.btn) {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  text-decoration: none;
}
.ib-menu .btn { margin-top: 28px; }
.ib-menu .ml-back {
  margin-top: auto;
  padding-top: 32px;
  border: 0;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--faint);
}

/* Hero */
.hero {
  position: relative;
  padding-top: clamp(56px, 8.5vw, 128px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -64px 0 auto 0;
  height: min(1100px, 150vw);
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px);
  background-size: 24px 24px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 18%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 82%);
  mask-image: radial-gradient(75% 60% at 50% 18%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 82%);
}

.hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 32px 48px;
  align-items: end;
}
.hero__aside { display: grid; gap: 28px; padding-bottom: 0.35em; }
.hero__lead { color: var(--ink-2); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__meta { color: var(--faint); }

.hero__stage {
  position: relative;
  margin-top: clamp(48px, 7vw, 104px);
  padding-inline: var(--gutter);
}
.hero__stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(1500px, 120vw);
  height: 90%;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(12, 12, 13, 0.075), transparent 72%);
  pointer-events: none;
}
.hero__shot { max-width: 1280px; margin-inline: auto; }
.hero__tilt { transform-origin: 50% 100%; }
.hero .cap { justify-content: space-between; }

/* Window frame: presents a real screenshot as the Mac window it came from */
.window {
  position: relative;
  border-radius: var(--r-window);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-window);
  transform: translateZ(0);
}
.window > img,
.window picture > img,
.window .panel > img { width: 100%; height: auto; }

/* Inactive macOS traffic lights, placed where the app leaves room for them
   (a 1440 x 789 pt window: 12 pt lights, 8 pt apart, centered on the 56 pt bar). */
.window__lights { position: absolute; inset: 0; pointer-events: none; }
.window__lights i {
  position: absolute;
  top: 2.8%;
  width: 0.834%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dcdcdf;
  box-shadow: inset 0 0 0 0.5px rgba(12, 12, 13, 0.1);
}
.window__lights--dark i {
  background: #3b3b3f;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
}
.window__lights i:nth-child(1) { left: 1.39%; }
.window__lights i:nth-child(2) { left: 2.78%; }
.window__lights i:nth-child(3) { left: 4.17%; }
.window--dark { background: #111113; }
.window--light { background: #f5f5f6; }

.detail {
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-detail);
}

/* Section heads */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 64px;
  align-items: end;
}
.sec-head .lead { padding-bottom: 0.3em; }
.sec-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

.fig { margin-top: clamp(40px, 5.5vw, 72px); }

/* Segmented control: the app's own view switcher */
.fig__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 18px;
}
.seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(12, 12, 13, 0.04);
}
.seg[hidden] { display: none; }
.seg button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.seg button:focus-visible { outline-offset: 1px; }

.stack { display: grid; }
.stack > .panel { grid-area: 1 / 1; position: relative; }
.stack > .panel[hidden] { display: none; }
.js-tabs .stack > .panel {
  transition: opacity 0.55s var(--ease-soft), visibility 0s linear 0.55s;
}
.js-tabs .stack > .panel:not(.is-active) { opacity: 0; visibility: hidden; }
.js-tabs .stack > .panel.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.stack > .panel:focus-visible { outline-offset: -4px; border-radius: var(--r-window); }

/* Light and dark wipe (Write section) */
.wipe { --pos: 50%; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.wipe img { -webkit-user-drag: none; pointer-events: none; }
.wipe__base { width: 100%; height: auto; }
.wipe__top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}
.wipe__top img { width: 100%; height: auto; }
.wipe__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 0;
  pointer-events: none;
}
.wipe__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -0.75px;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 0.5px rgba(12, 12, 13, 0.25), 0 0 18px rgba(12, 12, 13, 0.25);
}
.wipe__knob {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #0c0c0d;
  box-shadow: 0 0 0 1px rgba(12, 12, 13, 0.12), 0 8px 24px -6px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wipe__knob svg { width: 20px; height: 20px; }
.wipe.is-ready { cursor: ew-resize; }
.wipe.is-dragging .wipe__knob { transform: translate(-50%, -50%) scale(1.08); }
.wipe__range {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.wipe__range:focus-visible ~ .wipe__handle .wipe__knob {
  box-shadow: 0 0 0 2px #0c0c0d, 0 0 0 4px #ffffff, 0 8px 24px -6px rgba(0, 0, 0, 0.45);
}
.wipe-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--faint);
}
.js-only[hidden] { display: none; }

/* Feature points: rows on hairlines, never cards */
.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: clamp(48px, 6vw, 80px);
  list-style: none;
  padding: 0;
}
.points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.points--1 { grid-template-columns: minmax(0, 1fr); gap: 0; }
.point {
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
}
.point .h3 { margin-bottom: 6px; }
.point p { font-size: var(--fs-small); line-height: 1.6; color: var(--muted); max-width: 36ch; }
.points--1 .point { padding: 18px 0 20px; }

.note {
  margin-top: 28px;
  font-size: var(--fs-small);
  color: var(--faint);
  max-width: 52ch;
}
.note a { color: var(--ink); font-weight: 600; }

/* Split layouts that break out to the viewport edge */
.split {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [text-start] minmax(0, 30rem)
    [text-end] clamp(40px, 6vw, 88px)
    [media-start] minmax(0, calc(var(--wrap) - 30rem - clamp(40px, 6vw, 88px)))
    [media-end] minmax(var(--gutter), 1fr)
    [full-end];
  align-items: start;
}
.split__text { grid-column: text; grid-row: 1; }
.split__media { grid-column: media-start / full-end; grid-row: 1; }
.split__media .window { border-radius: var(--r-window) 0 0 var(--r-window); }

.split--flip {
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [media-start] minmax(0, calc(var(--wrap) - 28rem - clamp(40px, 6vw, 88px)))
    [media-end] clamp(40px, 6vw, 88px)
    [text-start] minmax(0, 28rem)
    [text-end] minmax(var(--gutter), 1fr)
    [full-end];
}
.split--flip .split__media { grid-column: full-start / media-end; }
.split--flip .split__media .window { border-radius: 0 var(--r-window) var(--r-window) 0; }
.split--flip .split__media .cap { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.split__text .h2 { max-width: 13ch; }
.split__text .lead { margin-top: 24px; }
.split--sticky .split__media { position: sticky; top: 96px; }
.split--sticky .split__media .window {
  width: calc(100% + var(--r-window));
  max-width: max(440px, calc((100vh - 168px) * 1.1892));
  border-radius: var(--r-window);
}
@supports (height: 100svh) {
  .split--sticky .split__media .window { max-width: max(440px, calc((100svh - 168px) * 1.1892)); }
}

/* Staff roster */
.staff {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.staff li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.staff__mono {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink);
}
.staff__name { font-weight: 600; line-height: 1.3; }
.staff__role { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }

/* Cover lab extras */
.cover-more {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(56px, 7vw, 96px);
}
.cover-more .points { margin-top: 0; }
.cover-more figcaption { margin-top: 14px; }

.math {
  margin-top: 8px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-strong);
  display: grid;
  gap: 10px;
}
.math__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-family: var(--mono);
  font-size: 0.9375rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.math__row .op { color: var(--faint); }
.math__row .res { font-weight: 500; }
.math p { font-size: var(--fs-small); color: var(--muted); max-width: 60ch; }

/* Files list (Publish) */
.files {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.files > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
}
.files dt { font-weight: 600; }
.files dd { color: var(--muted); }

.reader {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(72px, 9vw, 128px);
}
.reader .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.024em; line-height: 1.15; }
.reader .lead { margin-top: 16px; font-size: var(--fs-body); }

/* Library */
.book-page {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  margin-top: clamp(72px, 9vw, 120px);
}
.book-page .points { margin-top: 0; }

/* Pricing */
.price {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--ink);
}
.price__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 32px 36px;
  border-right: 1px solid var(--line);
}
.price__col:first-child { padding-left: 0; }
.price__col:last-child { border-right: 0; padding-right: 0; }
.price__col--main {
  background: linear-gradient(180deg, var(--paper-2), rgba(245, 245, 246, 0));
  padding-left: 32px;
}
.price__name { font-weight: 600; font-size: 1.0625rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.price__tag { font-family: var(--mono); font-size: 0.75rem; color: var(--faint); font-weight: 400; }
.price__amount {
  font-family: var(--mono);
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price__was { font-family: var(--mono); font-size: var(--fs-mono); color: var(--faint); }
.price__pre {
  margin-right: 10px;
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--faint);
}
.price__was s { text-decoration-thickness: 1px; }
.price__col p { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }
.price__col p strong { color: var(--ink); font-weight: 600; }
.price__col .btn { align-self: flex-start; margin-top: 6px; }
.price__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.price__foot p { font-size: var(--fs-small); color: var(--muted); max-width: 70ch; }

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__list > details:first-child { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--faint); transition: transform 0.35s var(--ease-out), color 0.2s; }
.faq summary:hover svg { color: var(--ink); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--ink); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq__a { padding: 0 48px 24px 0; color: var(--muted); max-width: 64ch; }
.faq__a a { color: var(--ink); }

/* Closing call to action */
.closer {
  position: relative;
  text-align: center;
  isolation: isolate;
  padding-block: clamp(104px, 13vw, 200px);
}
.closer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px);
  background-size: 24px 24px;
  background-position: center;
  -webkit-mask-image: radial-gradient(55% 60% at 50% 50%, #000 0%, transparent 78%);
  mask-image: radial-gradient(55% 60% at 50% 50%, #000 0%, transparent 78%);
}
.closer__mark { width: 72px; height: 72px; margin: 0 auto 36px; filter: drop-shadow(0 12px 20px rgba(12, 12, 13, 0.16)); }
.closer .h2 { margin-inline: auto; max-width: 15ch; }
.closer .btn { margin-top: 40px; }
.closer .mono { margin-top: 18px; color: var(--faint); }

/* Footer */
.v3-footer {
  border-top: 1px solid var(--line);
  padding-block: 64px 40px;
  font-size: var(--fs-small);
}
.v3-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 1fr));
  gap: 40px 24px;
}
.v3-footer__brand { display: grid; gap: 20px; align-content: start; }
.v3-footer__brand p { color: var(--faint); max-width: 26ch; }
.v3-footer .f-col { display: grid; gap: 10px; align-content: start; }
.v3-footer .f-col .h { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.v3-footer .f-col a { color: var(--muted); text-decoration: none; width: fit-content; }
.v3-footer .f-col a:hover { color: var(--ink); }

.fl-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  width: fit-content;
}
.fl-badge .by { font-size: 0.8125rem; font-weight: 600; line-height: 1.2; }

.v3-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}

/* Motion: one orchestrated entrance, one scroll settle. Everything is
   visible without it. */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line,
  .hero__aside > * {
    animation: v3-rise 1s var(--ease-out) both;
  }
  .hero__title .line:nth-child(2) { animation-delay: 70ms; }
  .hero__aside > :nth-child(1) { animation-delay: 160ms; }
  .hero__aside > :nth-child(2) { animation-delay: 230ms; }
  .hero__aside > :nth-child(3) { animation-delay: 290ms; }
  .hero__shot { animation: v3-shot 1.4s var(--ease-out) 240ms both; }

  @supports (animation-timeline: scroll()) {
    .hero__tilt {
      animation: v3-settle linear both;
      animation-timeline: scroll(root);
      animation-range: 0 62vh;
    }
  }
}

@keyframes v3-rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes v3-shot {
  from { opacity: 0; transform: translateY(56px); }
  to { opacity: 1; transform: none; }
}
@keyframes v3-settle {
  from { transform: perspective(2400px) rotateX(13deg) scale(0.955); }
  to { transform: perspective(2400px) rotateX(0deg) scale(1); }
}

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

/* Responsive */
@media (max-width: 1080px) {
  .points--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v3-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .hero__copy { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__aside { padding-bottom: 0; }
  .hero__lead { max-width: 34ch; }
}

@media (max-width: 920px) {
  .ib-nav { display: none; }
  .ib-burger { display: grid; }
  .v3-header__in { gap: 16px; }

  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head .lead { padding-bottom: 0; }

  .split,
  .split--flip {
    grid-template-columns: [full-start] var(--gutter) [text-start media-start] minmax(0, 1fr) [text-end media-end] var(--gutter) [full-end];
    row-gap: 40px;
  }
  .split__text { grid-column: text; grid-row: 1; }
  .split__media,
  .split--flip .split__media { grid-column: media; grid-row: 2; }
  .split__media .window,
  .split--flip .split__media .window { border-radius: var(--r-window); }
  .split--sticky .split__media { position: static; }
  .split--sticky .split__media .window { width: auto; max-width: none; }
  .split--flip .split__media .cap { padding-left: 0; }
  .split__text .h2 { max-width: 16ch; }

  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points--1 { grid-template-columns: minmax(0, 1fr); }
  .cover-more,
  .reader,
  .book-page { grid-template-columns: minmax(0, 1fr); }
  .cover-more .detail { max-width: 360px; }

  .price { grid-template-columns: minmax(0, 1fr); border-top-color: var(--line-strong); }
  .price__col,
  .price__col:first-child,
  .price__col:last-child {
    padding: 28px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .price__col--main { padding-inline: 16px; margin-inline: -16px; border-radius: 14px; }
  .price__foot { grid-template-columns: minmax(0, 1fr); }

  .faq { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --r-window: 10px; }
  .hero .cap { justify-content: flex-start; }
  .hero__tilt { animation: none; }
  .window--mcrop .window__lights { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .points,
  .points--2,
  .points--4 { grid-template-columns: minmax(0, 1fr); }
  .files > div { grid-template-columns: 96px minmax(0, 1fr); }
  .fig__bar { align-items: flex-start; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg button { padding: 0 12px; }
  .wipe__knob { width: 38px; height: 38px; }
  .v3-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__a { padding-right: 0; }
}

@media (max-width: 380px) {
  .btn--lg { padding: 0 18px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

@media print {
  .v3-header, .ib-menu, .seg, .wipe__handle { display: none !important; }
  .band--dark { background: #fff; color: #000; }
}

/* ── Referral + guarantee ─────────────────────────────────────────────
   The guarantee has nine conditions and every one of them is a real
   hurdle, so they are set at body size in a bordered block directly
   under the headline. Never shrink this into fine print. */
.terms-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
}
.tbox {
  border: 1px solid var(--line);
  border-top: 1px solid var(--ink);
  padding: 28px 30px 30px;
  background: var(--paper);
}
.tbox__k {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  color: var(--faint);
  margin-bottom: 10px;
}
.tbox h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.tbox > p { font-size: var(--fs-small); color: var(--muted); line-height: 1.65; }
.tbox > p + p { margin-top: 10px; }
.tbox strong { color: var(--ink); font-weight: 600; }
.tbox a { color: var(--ink); font-weight: 600; }

.gtee__intro { color: var(--ink); font-size: 1rem; line-height: 1.6; margin-bottom: 16px; }
.gtee__list {
  list-style: none;
  counter-reset: g;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.gtee__list li {
  counter-increment: g;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}
.gtee__list li::before {
  content: counter(g, decimal-leading-zero);
  font-family: var(--mono);
  font-size: var(--fs-mono);
  color: var(--faint);
}
.gtee__foot { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); line-height: 1.65; }

@media (max-width: 860px) {
  .terms-row { grid-template-columns: 1fr; }
  .tbox { padding: 24px 22px 26px; }
}

/* ── Release countdown (until V3 launches, Thu Oct 22 2026, 10:00 AM ET) ──
   Downloads are closed until launch, so every download call to action on
   the site points here instead. The date ships in the markup and the clock
   is filled in by /js/inkbound.js, so it reads correctly without script. */
.release {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  max-width: 460px;
}
.release__k {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-family: var(--mono);
  font-size: var(--fs-mono);
  color: var(--faint);
}
.release__k b { color: var(--ink); font-weight: 500; }
.rl-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rl-clock[hidden] { display: none; }
.rl-u {
  padding: 12px 0 10px;
  border-right: 1px solid var(--line);
  text-align: left;
  padding-left: 14px;
}
.rl-u:first-child { padding-left: 0; }
.rl-u:last-child { border-right: 0; }
.rl-u b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rl-u i {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.75rem;
  color: var(--faint);
}
.release__date {
  margin: 14px 0 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.release__note { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }
.release__note + .release__note { margin-top: 4px; }
.release__note strong { color: var(--ink); font-weight: 600; }

/* Centered variant for the closer and the account pages. */
.release--center { margin-left: auto; margin-right: auto; text-align: center; }
.release--center .release__k { justify-content: center; }
.release--center .rl-u { text-align: center; padding-left: 0; }

/* Header pill that replaces the Download button until launch. */
.btn--date { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; }

@media (max-width: 420px) {
  .rl-u { padding-left: 8px; }
  .rl-u b { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   INNER PAGES
   Everything below is shared by the pages other than the homepage, so
   a page is composed from these and the components above. No page adds
   its own stylesheet.
   ═══════════════════════════════════════════════════════════════════ */

/* Page opener: the homepage hero at a quieter size. */
.page-hero { padding-block: clamp(72px, 9vw, 136px) clamp(40px, 5vw, 72px); }
.page-hero__in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px 64px;
  align-items: end;
}
.page-hero__k { font-family: var(--mono); font-size: var(--fs-mono); color: var(--faint); margin-bottom: 20px; }
.page-hero__k a { color: inherit; text-decoration: none; }
.page-hero__k a:hover { color: var(--ink); }
.page-hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.036em;
  text-wrap: balance;
  max-width: 16ch;
}
.page-hero .lead { padding-bottom: 0.3em; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero--stack .page-hero__in { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.page-hero--stack .lead { max-width: 52ch; padding-bottom: 0; }
.page-hero__fig { margin-top: clamp(48px, 6vw, 80px); }

/* Long-form reading: blog articles, legal text, comparison notes. */
.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.72; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2.4em;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.026em;
  color: var(--ink);
  text-wrap: balance;
}
.prose h3 {
  margin-top: 1.9em;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--faint); }
.prose blockquote {
  margin-inline: 0;
  padding: 2px 0 2px 22px;
  border-left: 1px solid var(--ink);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink);
}
.prose code { font-family: var(--mono); font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.prose img, .prose figure img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-detail); }
.prose figure { margin-block: 2em; }
.prose figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--faint); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9688rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); }
.prose thead th { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; color: var(--faint); border-bottom-color: var(--ink); }
.prose td:first-child { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .table-scroll { margin-block: 1.6em; }

/* Article (blog post) layout */
.article { padding-bottom: var(--sec-y); }
.article__head { max-width: 820px; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: var(--fs-mono);
  color: var(--faint);
}
.article__cover {
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: var(--r-window);
  overflow: hidden;
  box-shadow: var(--shadow-window);
}
.article__cover img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.article__body { margin-top: clamp(40px, 5vw, 64px); }

/* Blog index: a ruled list, newest first, no card chrome. */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list > li { border-bottom: 1px solid var(--line); }
.post-list > li:first-child { border-top: 1px solid var(--ink); }
.post-list a {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 28px 0;
  text-decoration: none;
  color: inherit;
}
.post-list__img {
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-detail);
}
.post-list__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.post-list a:hover .post-list__img img { transform: scale(1.03); }
.post-list h2 {
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.post-list a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.post-list p { margin-top: 8px; font-size: var(--fs-small); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.post-list .mono { display: block; margin-top: 12px; color: var(--faint); }

/* Comparison table (vs pages) */
.cmp { width: 100%; border-collapse: collapse; margin-top: clamp(40px, 5vw, 64px); font-size: var(--fs-small); line-height: 1.55; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; color: var(--faint); border-bottom: 1px solid var(--ink); }
.cmp thead th.cmp__us { color: var(--ink); }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 28%; }
.cmp td { color: var(--muted); }
.cmp .yes, .cmp .no, .cmp .part { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; margin-right: 6px; }
.cmp .yes { color: var(--ink); }
.cmp .no { color: var(--faint); }
.cmp .part { color: var(--muted); }

/* Single-column account pages (get, welcome, thanks) and the 404. */
.solo {
  min-height: calc(100svh - 64px);
  display: grid;
  align-content: center;
  padding-block: clamp(64px, 9vw, 120px);
  text-align: center;
}
.solo .wrap { max-width: 640px; }
.solo h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.solo .lead { margin: 20px auto 0; max-width: 40ch; }
.solo .release { margin-top: 36px; }
.solo__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.solo__foot { margin-top: 48px; font-size: var(--fs-small); color: var(--faint); }
.solo__foot a { color: var(--muted); }

/* Legal pages */
.legal__meta { font-family: var(--mono); font-size: var(--fs-mono); color: var(--faint); margin-top: 18px; }

/* Related links row at the end of a product page. */
.next-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }

@media (max-width: 920px) {
  .page-hero__in { grid-template-columns: minmax(0, 1fr); }
  .page-hero .lead { padding-bottom: 0; }
  .post-list a { grid-template-columns: 160px minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
  .post-list a { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { font-size: 0.875rem; }
  .cmp th, .cmp td { padding-right: 12px; }
  .cmp tbody th { width: 34%; }
}

/* Gaps found in the rollout audit */
.prose caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 10px;
  font-family: var(--mono);
  font-size: var(--fs-mono);
  color: var(--faint);
}
/* The guarantee conditions are set at body size, not small print. */
.gtee__list li { font-size: var(--fs-body); }
@media (max-width: 640px) {
  .files > div { grid-template-columns: minmax(96px, max-content) minmax(0, 1fr); }
  .files dt { white-space: nowrap; }
}

/* Homepage hero: the countdown runs as one full-width strip under the
   headline, so the headline and its aside keep their original balance. */
.release--strip {
  max-width: none;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 18px 56px;
  align-items: center;
}
.release--strip .release__copy { display: grid; gap: 8px; }
.release--strip .release__note + .release__note { margin-top: 0; }
.release--strip .rl-clock { margin: 0; }
@media (max-width: 920px) {
  .release--strip { grid-template-columns: minmax(0, 1fr); }
}

/* Specificity fix: ".price__col p" (small, muted body copy) was beating the
   single-class price rules, so the amounts rendered at 15px grey. */
.price__col .price__name { font-size: 1.0625rem; color: var(--ink); line-height: 1.3; }
.price__col .price__amount {
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
  line-height: 1;
  color: var(--ink);
}
.price__col .price__was { font-size: var(--fs-mono); color: var(--faint); line-height: 1.5; }
.tbox > .tbox__k { font-family: var(--mono); font-size: var(--fs-mono); color: var(--faint); line-height: 1.5; }
.tbox > .gtee__intro { font-size: 1rem; color: var(--ink); line-height: 1.6; }
.tbox > .gtee__foot { margin-top: 14px; }
.math .math__row { color: var(--ink); font-size: 0.9375rem; }
.terms-row { align-items: start; }

/* Design-hook fixes (2026-10-10)
   1. The highlighted plan column has a tinted ground, so it always keeps an
      inset. ".price__col:first-child { padding-left: 0 }" was winning over it
      and the text sat flush against the tint's edge. */
.price__col.price__col--main { padding-left: 28px; padding-right: 28px; }
@media (max-width: 920px) {
  .price__col.price__col--main { padding-inline: 16px; margin-inline: -16px; }
}
/* 2. Countdown cells keep a little air before their divider. */
.rl-u { padding-right: 10px; }

/* Legal pages: a sticky section index beside the text on wide screens. */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; font-size: var(--fs-small); }
.toc__k { font-family: var(--mono); font-size: var(--fs-mono); color: var(--faint); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { color: var(--muted); text-decoration: none; line-height: 1.35; display: block; }
.toc a:hover { color: var(--ink); }
.legal-prose h2 { scroll-margin-top: 96px; }
.legal-prose [id] { scroll-margin-top: 96px; }
.prose .terms-box { margin-block: 1.4em; }
.prose .terms-box > * + * { margin-top: 0.8em; }
.prose .terms-box ul { padding-left: 1.2em; }
@media (max-width: 920px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; max-height: none; border-top: 1px solid var(--line); padding-top: 16px; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
}
@media (max-width: 520px) { .toc ol { grid-template-columns: minmax(0, 1fr); } }

/* Footer with the Guides column: on wide screens the brand spans two rows
   and the six link columns sit three to a row beside it. */
@media (min-width: 1081px) {
  .v3-footer__grid { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
  .v3-footer__brand { grid-row: span 2; }
}
