/* Pulse Chief — public site. "Ink & signal": warm paper, near-black ink, one lime signal used as a fill
   (never as text on paper). Every text/background pair is checked from rendered pixels in both themes. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

/* ───────── tokens ───────── */
:root {
  color-scheme: light;
  --bg: #f5f4ef;
  --bg-tint: #eeede6;
  --surface: #ffffff;
  --line: #e1dfd5;
  --line-strong: #cfccc1;
  --ink: #17171a;
  --ink-2: #47453f;
  --ink-3: #64625b;
  --signal: #c8f23a;
  --signal-ink: #192300;
  --signal-line: #7fa300;
  --tile: #17171a;
  --btn: #17171a;
  --btn-ink: #f5f4ef;
  --btn-hover: #2c2b28;
  --band: #17171a;
  --band-ink: #f5f4ef;
  --band-ink-2: #bdbbb2;
  --band-line: rgb(245 244 239 / 0.14);
  --band-accent: #c8f23a;
  --danger: #a8231a;
  --danger-soft: #fae5e1;
  --focus: #17171a;
  --frame: #000;
  --frame-edge: rgb(0 0 0 / 0);
  --field: #ffffff;
  --field-line: #cfccc1;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0f0f0e;
    --bg-tint: #141413;
    --surface: #181816;
    --line: #2a2926;
    --line-strong: #3b3a35;
    --ink: #edece6;
    --ink-2: #c3c1b9;
    --ink-3: #9a988f;
    --signal: #d4ff40;
    --signal-ink: #172000;
    --signal-line: #c6f03c;
    --tile: #2a2a26;
    --btn: #d4ff40;
    --btn-ink: #121a00;
    --btn-hover: #e2ff7a;
    --band: #191917;
    --band-ink: #edece6;
    --band-ink-2: #b4b2aa;
    --band-line: rgb(237 236 230 / 0.12);
    --band-accent: #d4ff40;
    --danger: #ff8a7c;
    --danger-soft: #331814;
    --focus: #d4ff40;
    --frame-edge: rgb(255 255 255 / 0.16);
    --field: #121211;
    --field-line: #3f3e39;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background-color: var(--bg);
  /* a whisper of paper grain (inline SVG, no request) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--btn);
  color: var(--btn-ink);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ───────── type ───────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow__dash {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--signal-line);
}
.eyebrow__num {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  padding-right: 10px;
  border-right: 1px solid var(--line-strong);
}

.section__title,
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.section__title em,
.hero__title em { font-style: italic; }

.section__title {
  font-size: clamp(2.25rem, 1.55rem + 2.9vw, 4rem);
  line-height: 1.02;
  margin-top: 14px;
  text-wrap: balance;
}
.section__intro {
  margin-top: 16px;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 1.06rem;
}
.section__intro a,
.faq a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ───────── buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-ink);
  font: 600 16px/1 var(--sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(0.985); }
.btn__arrow { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--ink-2);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.link-quiet:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ───────── header ───────── */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 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.3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark rect { fill: var(--tile); }
.brand__name {
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand__name span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; letter-spacing: 0; }
.top__nav { display: none; gap: 4px; }
.top__nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.top__nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
@media (min-width: 900px) { .top__nav { display: flex; } }
@media (max-width: 379px) { .top .btn--small { padding: 0 13px; font-size: 14px; } .brand__name { font-size: 16px; } }

/* ───────── hero ───────── */
.hero { padding-top: clamp(36px, 6vw, 88px); overflow: clip; }
.hero__copy { display: grid; gap: 22px; }
.hero__title {
  font-size: clamp(3rem, 1.25rem + 6.6vw, 7.1rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  max-width: 12.5ch;
}
.br-lg { display: none; }
@media (min-width: 600px) { .hero__title { max-width: none; } .br-lg { display: inline; } }
.hero__title em {
  /* the signal as a highlighter stroke behind the words, never as the text colour */
  background-image: linear-gradient(transparent 71%, color-mix(in srgb, var(--signal) 80%, transparent) 71%, color-mix(in srgb, var(--signal) 80%, transparent) 87%, transparent 87%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.04em;
}
@media (prefers-color-scheme: dark) {
  .hero__title em {
    background-image: linear-gradient(transparent 82%, var(--signal) 82%, var(--signal) 90%, transparent 90%);
  }
}
.lede {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 30em;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; }

@media (min-width: 960px) {
  .hero__copy { gap: 28px; }
  .hero__side { display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; }
  .hero__side .cta-row { margin-top: 0; flex: none; }
}

/* the pulse trace: one beat, drawn once */
.trace {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: clamp(28px, 5vw, 64px);
  overflow: visible;
}
.trace path {
  stroke: var(--signal-line);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.js .trace path { animation: draw 2.2s var(--ease) 0.45s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ───────── device frames: slim, true black, no shadow, no reflection ───────── */
.device {
  background: var(--frame);
  box-shadow: 0 0 0 1px var(--frame-edge);
}
.device img { width: 100%; height: auto; background: var(--surface); }
.device--desktop {
  padding: clamp(4px, 0.55vw, 8px);
  border-radius: clamp(9px, 1.1vw, 16px);
}
.device--desktop img { border-radius: clamp(5px, 0.6vw, 9px); aspect-ratio: 1440 / 900; }
.device--phone {
  padding: clamp(3px, 0.5vw, 7px);
  border-radius: clamp(18px, 3vw, 42px);
}
.device--phone img { border-radius: clamp(15px, 2.55vw, 36px); aspect-ratio: 390 / 844; }

/* hero composition: laptop-width screen with the phone resting over its lower right */
.stage {
  position: relative;
  margin: 18px 0 0;
  aspect-ratio: 1.22;
}
.stage .device--desktop { position: absolute; left: 0; top: 0; width: 85%; }
.stage .device--phone { position: absolute; right: 0; bottom: 34px; width: 26%; }
.stage__note {
  position: absolute;
  left: 0;
  top: calc(64.8% + 20px);
  max-width: 68%;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-3);
}
@media (min-width: 768px) {
  .stage { aspect-ratio: 1.42; }
  .stage .device--desktop { width: 86%; }
  .stage .device--phone { width: 21%; bottom: 0; }
  .stage__note { top: calc(76.3% + 34px); max-width: 60%; }
}

/* ───────── sections ───────── */
.section { padding-block: clamp(72px, 10vw, 140px); }
.hero + .section { padding-top: clamp(56px, 7vw, 104px); }
.section--tint {
  background: var(--bg-tint);
  border-block: 1px solid var(--line);
}
.section__head { max-width: 760px; }
.section__head--row { max-width: none; display: grid; gap: 8px; }
@media (min-width: 960px) {
  .section__head--row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; column-gap: 56px; }
  .section__head--row .section__intro { margin-bottom: 8px; }
}

/* cards: an editorial grid of hairlines rather than boxes */
.cards {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-strong);
}
.card {
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}
.card__icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__title {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}
.card p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 34px 32px 38px 0; }
  .card:nth-child(2n) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card,
  .card:nth-child(2n) { padding: 38px 36px 44px; border-left: 1px solid var(--line); }
  .card:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .card:nth-child(3n) { padding-right: 0; }
}

/* screens */
.shot { margin: clamp(40px, 6vw, 72px) 0 0; }
.shot figcaption {
  margin-top: 16px;
  max-width: 36em;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.shot figcaption strong { color: var(--ink); font-weight: 600; }
.shots-pair { display: grid; gap: 0 48px; }
.shot--phone .device--phone { width: min(62%, 270px); }
@media (min-width: 900px) {
  .shots-pair { grid-template-columns: minmax(0, 1fr) 270px; align-items: start; }
  .shot--phone .device--phone { width: 100%; }
}

/* ───────── sealed band ───────── */
.band {
  background: var(--band);
  color: var(--band-ink);
  padding-block: clamp(80px, 11vw, 150px);
  border-block: 1px solid var(--band-line);
}
.band .section__title { color: var(--band-ink); }
.band .section__intro { color: var(--band-ink-2); }
.band .eyebrow { color: var(--band-ink-2); }
.band .eyebrow__num { color: var(--band-ink); border-right-color: var(--band-line); }
.band__grid { display: grid; gap: 48px; }

.vault { position: relative; padding: 30px clamp(14px, 2vw, 22px) clamp(14px, 2vw, 22px); }
.vault__wall {
  position: absolute;
  inset: 0;
  border: 1px dashed color-mix(in srgb, var(--band-ink) 34%, transparent);
  border-radius: 22px;
}
.vault__wall span {
  position: absolute;
  top: -10px;
  left: 22px;
  padding: 0 8px;
  background: var(--band);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--band-ink-2);
}
.vault__box {
  position: relative;
  margin: 0;
  padding: 22px 22px 10px;
  border-radius: 16px;
  border: 1px solid var(--band-line);
  background: color-mix(in srgb, var(--band-ink) 5%, var(--band));
}
.vault__addr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--band-line);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--band-ink);
  overflow-wrap: anywhere;
}
.vault__dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--band-accent);
}
.js .vault__dot { animation: beat 2.6s ease-in-out infinite; }
@keyframes beat { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.5); } 86% { transform: scale(0.9); } }
.vault__list { list-style: none; }
.vault__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--band-line);
  font-size: 15.5px;
}
.vault__list li:last-child { border-bottom: 0; }
.vault__list li span:last-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--band-ink-2);
}

.points {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--band-line);
}
.points li { padding: 24px 0; border-bottom: 1px solid var(--band-line); }
.points h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--band-ink);
}
.points h3::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--band-accent);
  flex: none;
}
.points p { margin-top: 8px; color: var(--band-ink-2); }

@media (min-width: 960px) {
  .band__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 72px;
    row-gap: 64px;
    align-items: center;
  }
  .points { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
  .points li { padding: 0 28px 0 0; border-bottom: 0; border-top: 1px solid var(--band-line); padding-top: 24px; }
  .points li + li { padding-left: 28px; border-left: 1px solid var(--band-line); }
}
@media (min-width: 700px) and (max-width: 959px) {
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}

/* ───────── steps ───────── */
.steps {
  list-style: none;
  display: grid;
  gap: 0;
  margin-top: clamp(40px, 6vw, 72px);
  counter-reset: none;
}
.step {
  position: relative;
  padding: 0 0 40px 64px;
}
.step::before {
  /* the connecting line */
  content: "";
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step__num {
  position: absolute;
  left: 0;
  top: -6px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
}
.step:last-child .step__num { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.step h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.step p { margin-top: 8px; color: var(--ink-2); max-width: 26em; }
.addr {
  display: inline;
  padding: 1px 7px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 6px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94em;
  white-space: nowrap;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
  .step { padding: 76px 0 0 0; }
  .step::before { left: 56px; right: -32px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step__num { top: 0; }
}

/* ───────── FAQ ───────── */
.faq { display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  min-height: 44px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 1.6px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: var(--ink-2); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 40em; }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 72px; align-items: start; }
  .faq .section__head { position: sticky; top: 110px; }
}

/* ───────── request form ───────── */
.request__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .request__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: 72px; align-items: start; }
}
.formcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(20px, 3.4vw, 40px);
}
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 20px;
  align-items: start;
}
@media (min-width: 620px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23807e76' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 70%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 30%, transparent); }
.field__error { font-size: 14px; font-weight: 500; color: var(--danger); }
.field__meta { display: flex; justify-content: space-between; gap: 12px; min-height: 20px; }
.count { margin-left: auto; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot { display: grid; gap: 14px; margin-top: 6px; }
.form__status { min-height: 1.6em; font-size: 15px; color: var(--ink-2); }
.form__status.is-error { color: var(--danger); font-weight: 500; }
.note {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
}

.thanks { padding: clamp(8px, 2vw, 24px) 0; outline: none; }
.thanks__mark { width: 64px; height: 40px; stroke: var(--signal-line); }
.thanks__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.thanks p { margin-top: 12px; font-size: 1.12rem; color: var(--ink-2); }

/* ───────── footer ───────── */
.foot { border-top: 1px solid var(--line); padding-block: 36px 44px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.brand--foot { margin-right: 0; }
.foot__line { color: var(--ink-3); font-size: 14.5px; }
.foot__line span { margin-inline: 4px; }
.foot__line a {
  display: inline-block;
  padding: 10px 2px;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
.foot__line a:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ───────── legal pages ───────── */
.legal { padding-block: clamp(40px, 7vw, 96px) clamp(72px, 9vw, 120px); }
.legal__head { max-width: 760px; }
.legal__title { font-family: var(--serif); font-size: clamp(2.8rem, 1.8rem + 4vw, 5rem); line-height: 1; letter-spacing: -0.02em; margin-top: 14px; }
.legal__meta { margin-top: 18px; color: var(--ink-3); font-size: 15px; }
.legal__lede { margin-top: 22px; font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.legal__layout { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 72px); }
.legal__toc { font-size: 15px; }
.legal__toc p { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.legal__toc ol { list-style: none; margin-top: 12px; border-top: 1px solid var(--line); }
.legal__toc li { border-bottom: 1px solid var(--line); }
.legal__toc a { display: block; padding: 10px 0; color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--ink); }
.prose { max-width: 42em; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 56px;
  scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; font-weight: 600; margin-top: 28px; }
.prose p,
.prose ul { margin-top: 14px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-top: 8px; padding-left: 4px; }
.prose li::marker { color: var(--signal-line); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.callout {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
}
@media (min-width: 960px) {
  .legal__layout { grid-template-columns: 240px minmax(0, 1fr); column-gap: 72px; }
  .legal__toc { position: sticky; top: 100px; align-self: start; }
}

/* ───────── motion (only with JS, never with reduced motion) ───────── */
.js .rise { opacity: 0; transform: translateY(14px); animation: rise 0.9s var(--ease) forwards; }
.js .rise[data-d="1"] { animation-delay: 0.08s; }
.js .rise[data-d="2"] { animation-delay: 0.18s; }
.js .rise[data-d="3"] { animation-delay: 0.32s; animation-duration: 1.2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rise,
  .js [data-reveal] { opacity: 1; transform: none; animation: none; transition: none; }
  .js .trace path,
  .js .vault__dot { animation: none; }
  .btn,
  .btn__arrow,
  .faq summary::before { transition: none; }
}
