/* ═══════════════════════════════════════════════════════════════════════
   Lamr — shared marketing stylesheet for the search-landing pages
   (/ai-resume-tailor/, /job-application-tracker/, /typst-resume-builder/).

   PART 1 is MIRRORED FROM public/landing.html. Same class names, same
   values, on purpose: these pages must be the same product, not a
   look-alike. landing.html deliberately keeps its CSS inline so its first
   paint stays a single request — it is the one indexable URL — so it does
   NOT link this file. That makes Part 1 a deliberate second copy. If you
   change a component here, change it there too, and vice versa.

   PART 2 is this file's own: components the homepage has no equivalent
   for. They are still built out of landing's primitives (its section
   rhythm, its 1px-gap grid, its mono captions) rather than a new language.
   ═══════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   PART 1 — MIRRORED FROM landing.html
   ══════════════════════════════════════════════════ */

:root {
  --bg:        #ffffff;
  --bg-sub:    #fafafa;
  --bg-raise:  #ffffff;
  --border:    #e5e5e5;
  --border-2:  #d4d4d4;
  --text-1:    #0a0a0a;
  --text-2:    #525252;
  --text-3:    #a3a3a3;
  --accent:    #0081f7;
  --accent-bg: rgba(0,129,247,.07);
  --accent-bd: rgba(0,129,247,.22);
  /* Brand palette — same 5 vivid hues as the app (see style.css). -ink
     variants are text-safe darkenings for light-mode legibility; dark mode
     flips them to the vivid hex directly. Reserved for content highlights —
     never running typography color (blue stays UI-chrome only). */
  --brand-gold:         #e6c100;
  --brand-gold-ink:     #8f6a00;
  --brand-red:          #f50032;
  --brand-red-ink:      #f50032;
  --brand-blue:         #0081f7;
  --brand-magenta:      #e978ff;
  --brand-magenta-ink:  #b02bc7;
  --brand-green:        #0b854a;
  --brand-green-ink:    #0b854a;
  --shadow-lg: 0 24px 70px rgba(0,0,0,.14);
  --shadow-md: 0 10px 34px rgba(0,0,0,.09);
  --glow:      rgba(10,10,10,.035);
  --mono:      "JetBrains Mono", ui-monospace, monospace;
  --sans:      "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* Dark mode is driven by a `data-theme` attribute set by an inline boot
   script in <head> (see the per-page <script> right before this file's
   <link>), NOT a plain prefers-color-scheme media query — mirroring
   landing.html's own mechanism exactly, byte-for-byte down to the values
   below. This is a deliberate second copy for the same reason Part 1 is:
   landing keeps its own inline <style>, so it cannot link this file.
   The attribute approach (vs. a media query) is what makes the live
   .theme-switching cross-fade below possible, and what lets .inkable
   logos invert correctly instead of rendering solid black on a dark
   background — a real bug this fixed (see CLAUDE.md/commit history). */
:root[data-theme="dark"] {
  --bg:        #1b1b1b;
  --bg-sub:    #202020;
  --bg-raise:  #262626;
  --border:    #363636;
  --border-2:  #4a4a4a;
  --text-1:    #e8e8e8;
  --text-2:    #a0a0a0;
  --text-3:    #5e5e5e;
  --accent:    #4da8ff;
  --accent-bg: rgba(77,168,255,.12);
  --accent-bd: rgba(77,168,255,.3);
  --brand-gold-ink:     #e6c100;
  --brand-red-ink:      #ff5c7a;
  --brand-magenta-ink:  #e978ff;
  --brand-green-ink:    #3ddc84;
  --shadow-lg: 0 30px 80px rgba(0,0,0,.55);
  --shadow-md: 0 12px 38px rgba(0,0,0,.4);
  --glow:      rgba(232,232,232,.05);
  color-scheme: dark;
}
:root[data-theme="dark"] .inkable { filter: invert(1); }

/* Smooth cross-fade when the OS theme flips while the page is open — the
   boot script's live matchMedia listener toggles this class for ~320ms.
   Verbatim from landing.html. */
html.theme-switching, html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after {
  transition: background-color 280ms ease, color 280ms ease, border-color 280ms ease, box-shadow 280ms ease, filter 280ms ease !important;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: hidden;
  background: var(--bg); color: var(--text-1);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
::selection { color: #fff; background: var(--accent); }

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

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  transform: translateY(-160%);
  padding: 8px 12px; border-radius: 7px;
  background: var(--text-1); color: var(--bg); font-size: 13px;
}
.skip-link:focus { transform: none; }

/* ── nav ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 60px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-brand .smile { height: 15px; display: block; }
.nav-brand .word {
  height: 16px; display: block; opacity: 1; transform: translateX(0);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.nav.scrolled .nav-brand .word { opacity: 0; transform: translateX(-6px); pointer-events: none; }

/* ── nav-links ── mirrored from landing.html byte-for-byte */
.nav-links { display: flex; align-items: center; gap: 24px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color 180ms; }
.nav-links a:hover { color: var(--text-1); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ── nav-dd — the "Product" disclosure that unites all four pages ──
   Same open/close recipe as the app's own .tab-dd-menu (style.css): a
   translateY+scale entrance timed on --ease-out, toggled by a .open class
   rather than display, so the transition actually runs. What's new here
   versus that in-app pattern is the frosted-glass backdrop-filter — the
   nav bar itself already reads as glass, so its dropdown reads as an
   extension of the same pane rather than a flat opaque menu. */
.nav-dd { position: relative; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--text-2);
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: color 180ms;
}
.nav-dd-btn:hover, .nav-dd[data-open="true"] .nav-dd-btn { color: var(--text-1); }
.nav-dd-btn svg { width: 11px; height: 11px; transition: transform 220ms var(--ease-out); }
.nav-dd[data-open="true"] .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-6px) scale(.97);
  width: 300px; padding: 8px;
  background: color-mix(in srgb, var(--bg-raise) 90%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 180ms;
}
.nav-dd[data-open="true"] .nav-dd-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-dd-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 9px; text-decoration: none;
  transition: background 160ms;
}
.nav-dd-item:hover { background: var(--bg-sub); }
.nav-dd-item b { font-size: 13.5px; font-weight: 600; color: var(--text-1); letter-spacing: -.01em; }
.nav-dd-item span { font-size: 12px; color: var(--text-3); line-height: 1.4; }
.nav-dd-item[aria-current="page"] { background: var(--bg-sub); }
.nav-dd-item[aria-current="page"] b::after {
  content: "current page"; margin-left: 8px;
  font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-3); vertical-align: middle;
}
@media (max-width: 860px) { .nav-dd { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .nav-dd-panel, .nav-dd-btn svg { transition: none; }
}

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; text-decoration: none;
  color: var(--bg); background: var(--text-1);
  padding: 9px 18px; border-radius: 99px;
  transition: transform 200ms var(--ease-out), opacity 200ms;
}
.nav-cta:hover { opacity: .88; }

/* ── buttons ─────────────────────────────────────── */
.btn-solid, .btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  padding: 13px 26px; border-radius: 99px;
  border: 0; cursor: pointer; font-family: inherit;
  transition: transform 220ms var(--ease-out), opacity 220ms, background 220ms, border-color 220ms;
}
.btn-solid { background: var(--text-1); color: var(--bg); }
.btn-solid:hover { opacity: .95; }
.btn-line { border: 1px solid var(--border-2); color: var(--text-1); }
.btn-line:hover { background: var(--bg-sub); transform: translateY(-2px); }

/* metal shimmer + realistic hover shadow on primary CTAs */
.btn-solid, .nav-cta {
  position: relative; overflow: hidden;
  transition: transform 260ms var(--ease-out), opacity 220ms, box-shadow 320ms ease;
}
.btn-solid::before, .nav-cta::before {
  /* cursor-tracked specular highlight */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110px circle at var(--bx, -200px) var(--by, -200px), rgba(255,255,255,.28), transparent 65%);
  opacity: 0; transition: opacity 250ms ease;
}
.btn-solid:hover::before, .nav-cta:hover::before { opacity: 1; }
.btn-solid:hover, .nav-cta:hover {
  box-shadow:
    0 1px 2px rgba(0,0,0,.14),
    0 6px 14px rgba(0,0,0,.16),
    0 16px 32px rgba(0,0,0,.14);
}
/* magnetic pull + 3D tilt; the class is added by JS so it never applies
   on coarse pointers or under reduced motion */
.mag { transition: transform 260ms var(--ease-out), opacity 220ms, box-shadow 320ms ease; will-change: transform; }

/* ── gradient text ───────────────────────────────── */
/* Two identical extra-wide colour cycles make the loop seamless: it ends on
   the same pixels it starts with. The oklab layer smooths the hue ramp; the
   preceding sRGB declaration is the fallback. */
.text-gradient, .hero .sec-eyebrow, .closing .sec-eyebrow, .hero-h1 em {
  background: linear-gradient(90deg,
    var(--brand-blue) 0%, var(--brand-magenta) 12.5%,
    var(--brand-gold) 25%, var(--brand-red) 37.5%,
    var(--brand-blue) 50%, var(--brand-magenta) 62.5%,
    var(--brand-gold) 75%, var(--brand-red) 87.5%,
    var(--brand-blue) 100%);
  background: linear-gradient(90deg in oklab,
    var(--brand-blue) 0%, var(--brand-magenta) 12.5%,
    var(--brand-gold) 25%, var(--brand-red) 37.5%,
    var(--brand-blue) 50%, var(--brand-magenta) 62.5%,
    var(--brand-gold) 75%, var(--brand-red) 87.5%,
    var(--brand-blue) 100%);
  background-size: 400% 100%;
  background-repeat: repeat-x;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: text-gradient-sweep 16s linear infinite;
  will-change: background-position;
}
@keyframes text-gradient-sweep {
  from { background-position: 0% 50%; }
  to   { background-position: 66.6667% 50%; }
}

/* ── section headings ────────────────────────────── */
/* DELIBERATE DIVERGENCE FROM landing.html: there, every .sec-eyebrow carries
   the animated gradient. It works on the homepage, which has a handful of
   them between full-viewport spectacles. These pages are long documents with
   eight or more, used as structural signposts rather than accents — and at
   11px the gradient lands on pale gold and magenta that measure far below
   the 4.5:1 text bar on white, so the labels read as broken rather than
   branded. CLAUDE.md's own rule covers this case: "smaller inline text uses
   a solid ink colour instead of the gradient (gradient at caption/link size
   reads muddy)". The gradient is kept for the one hero eyebrow and the
   closing eyebrow, where it is a display moment. To restore full parity,
   add .sec-eyebrow back to the gradient selector above. */
.sec-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 16px;
  display: block; width: fit-content;
  color: var(--text-2);
}
.sec-title {
  font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12;
  max-width: 17em; text-wrap: balance;
  margin: 0;
}

/* ── 1px-gap grid ────────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  margin-top: 60px; border-radius: 12px; overflow: hidden;
}
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid { grid-template-columns: 1fr; } }
.cell {
  background: var(--bg); padding: 32px 30px 36px;
  transition: background 300ms;
  position: relative; overflow: hidden;
}
.cell:hover { background: var(--bg-sub); }
.cell::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 60%);
  opacity: 0; transition: opacity 300ms; pointer-events: none;
}
.cell:hover::after { opacity: 1; }
.cell-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: var(--text-3); display: block; margin-bottom: 16px;
}
.cell h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 7px; letter-spacing: -.01em; }
.cell p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin: 0; }
code {
  font-family: var(--mono); font-size: .86em; color: var(--text-1);
  background: var(--bg-sub); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 5px;
}
.band--sub code { background: var(--bg); }

/* ── footer ──────────────────────────────────────────────────────
   One shared footer for all four pages — brand + tagline, then two link
   columns (Product / Company). Same markup and class names everywhere,
   including landing.html's own mirrored copy, so this is a genuine single
   design rather than four independent ones. */
footer {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
  padding: 56px clamp(20px, 4vw, 48px) 32px; border-top: 1px solid var(--border);
}
footer a { text-decoration: none; color: var(--text-2); transition: color 180ms; }
footer a:hover { color: var(--text-1); }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.footer-brand .smile { height: 13px; }
.footer-brand .word { height: 14px; }
.footer-tagline { margin: 0; max-width: 34ch; font-size: 13px; line-height: 1.65; color: var(--text-3); }
.footer-tagline a { color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; }
.footer-tagline a:hover { color: var(--text-1); }
.footer-col-title {
  display: block; margin-bottom: 14px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3);
}
.footer-col { display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; }
.footer-bottom {
  grid-column: 1 / -1; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--text-3);
}
@media (max-width: 760px) {
  footer { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  footer { grid-template-columns: 1fr; }
}

/* Landing clamps every section to a centred 1400px column while letting
   backgrounds stay full-bleed. Same trick here. */
.nav, footer, .band-inner {
  padding-inline: max(clamp(20px, 4vw, 48px), calc((100vw - 1400px) / 2));
}


/* ══════════════════════════════════════════════════
   PART 2 — search-page components
   ══════════════════════════════════════════════════ */

/* ── section bands ───────────────────────────────── */
/* Landing's rhythm: full-bleed band, hairline top border, generous padding,
   and alternating bg so sections read as distinct chapters instead of one
   endless white scroll. */
.band {
  padding-block: clamp(84px, 12vh, 140px);
  border-top: 1px solid var(--border);
}
.band--sub { background: var(--bg-sub); }
.band-inner { max-width: 1400px; margin-inline: auto; }
.band-lede {
  margin: 20px 0 0; max-width: 58ch;
  font-size: clamp(15px, 1.6vw, 17px); line-height: 1.7;
  color: var(--text-2); text-wrap: pretty;
}

/* ── hero ────────────────────────────────────────── */
/* Deliberately NOT 100svh. The homepage earns a full-viewport hero because
   it is the front door; these pages are answers to a search query, so the
   first screen has to reach the product, not just a headline. */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(120px, 16vh, 168px) clamp(20px, 5vw, 64px) clamp(56px, 8vh, 88px);
  text-align: center;
}
/* Typesetter baseline grid — the homepage draws this on canvas; a static
   CSS version reads the same and costs nothing. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to right, var(--border) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, var(--border) 0 1px, transparent 1px 88px);
  opacity: .5;
  -webkit-mask-image: radial-gradient(120% 82% at 50% 32%, #000 32%, transparent 78%);
          mask-image: radial-gradient(120% 82% at 50% 32%, #000 32%, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1000px; margin-inline: auto; }
.breadcrumb {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-3);
  display: flex; gap: 9px; justify-content: center; margin-bottom: 22px;
}
.breadcrumb a { text-decoration: none; color: var(--text-3); transition: color 180ms; }
.breadcrumb a:hover { color: var(--text-1); }
.hero-h1 {
  margin: 0; font-weight: 600; letter-spacing: -.035em;
  font-size: clamp(34px, 6vw, 68px); line-height: 1.04;
  text-wrap: balance;
}
.hero-h1 em { font-style: italic; }
.hero-lede {
  max-width: 46em; margin: 22px auto 0;
  font-size: clamp(15px, 1.8vw, 18px); line-height: 1.65;
  color: var(--text-2); letter-spacing: -.01em; text-wrap: pretty;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px;
}

/* ── proof strip ─────────────────────────────────── */
/* Reuses the .grid 1px-gap treatment rather than inventing a bordered bar. */
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  max-width: 1180px; margin: 56px auto 0; position: relative; z-index: 1;
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-cell { background: var(--bg); padding: 20px 22px; text-align: left; }
.proof-cell b {
  display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  margin-bottom: 4px;
}
.proof-cell span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3); line-height: 1.5;
}

/* ── product shot ────────────────────────────────── */
/* The screenshots are the strongest asset on these pages and were the most
   under-weighted thing on them: small, boxed, and captioned in a split row.
   Now full-column with landing's paper shadow and its centred mono caption. */
.shot { margin: 60px 0 0; }
.shot-frame {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--bg-raise); box-shadow: var(--shadow-lg);
}
.shot-frame img { width: 100%; height: auto; }
.shot figcaption {
  margin-top: 16px; text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3);
  display: flex; flex-direction: column; gap: 4px;
}
.shot figcaption strong { color: var(--text-2); font-weight: 500; }

/* ── ordered walkthrough ─────────────────────────── */
.steps { counter-reset: step; margin-top: 60px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 0 28px;
  padding: 26px 0; border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-n {
  counter-increment: step;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: var(--text-3); padding-top: 4px;
}
.step-n::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.7; max-width: 62ch; }
@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step-n { padding-top: 0; }
}

/* ── before / after evidence ─────────────────────── */
.evidence { margin-top: 60px; display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ev-row { background: var(--bg); padding: 24px 26px; }
.ev-row label {
  display: block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px;
  color: var(--text-3);
}
.ev-row p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-2); }
.ev-row p strong { color: var(--text-1); font-weight: 600; }
.ev-row--good  label { color: var(--brand-green-ink); }
.ev-row--limit label { color: var(--brand-gold-ink); }
.ev-row--limit { background: color-mix(in srgb, var(--brand-gold) 6%, var(--bg)); }

/* ── dated timeline ──────────────────────────────── */
/* Only the tracker page uses this — its concrete example is a sequence of
   events over days, which the flat evidence rows above cannot express. */
.timeline { margin-top: 60px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px;
  width: 1px; background: var(--border);
}
.tl-item {
  position: relative; padding: 0 0 30px 40px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 3px; top: 7px;
  width: 9px; height: 9px; border-radius: 99px;
  background: var(--bg); border: 1.5px solid var(--border-2);
}
.tl-item--mark::before { background: var(--text-1); border-color: var(--text-1); }
.tl-when {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 6px;
}
.tl-item h3 { margin: 0 0 5px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.tl-item p { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.7; max-width: 62ch; }

/* ── limitations ─────────────────────────────────── */
.limits { margin-top: 52px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; }
@media (max-width: 760px) { .limits { grid-template-columns: 1fr; } }
.limit { background: var(--bg); padding: 24px 26px; }
.limit strong { display: block; font-size: 14.5px; margin-bottom: 5px; letter-spacing: -.01em; }
.limit span { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ── related pages ───────────────────────────────── */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin-top: 56px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
.related-link {
  background: var(--bg); padding: 26px 28px 30px; text-decoration: none;
  display: block; transition: background 260ms;
}
.related-link:hover { background: var(--bg-sub); }
.related-link[aria-current="page"] { background: var(--bg-sub); }
.related-link .kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3);
}
.related-link h3 { margin: 12px 0 6px; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
.related-link p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── closing ─────────────────────────────────────── */
.closing {
  text-align: center; padding: clamp(96px, 14vh, 156px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--border); background: var(--bg-sub);
}
.closing-mark { height: 26px; margin: 0 auto 26px; opacity: .9; }
.closing h2 {
  margin: 0 auto; font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(26px, 3.8vw, 42px); line-height: 1.14;
  max-width: 18em; text-wrap: balance;
}
.closing p { margin: 18px auto 0; max-width: 46ch; color: var(--text-2); font-size: 16px; }

/* ── scroll reveal ───────────────────────────────── */
.reveal-ready { opacity: 0; transform: translateY(14px); }
.reveal-ready.in {
  opacity: 1; transform: none;
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

/* ── reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .text-gradient, .hero .sec-eyebrow, .closing .sec-eyebrow, .hero-h1 em {
    animation: none; background-position: 0% 50%; will-change: auto;
  }
  .reveal-ready, .reveal-ready.in { opacity: 1; transform: none; transition: none; }
  .btn-line:hover { transform: none; }
}
