/* Self-hosted Hanken Grotesk (SIL Open Font License). No third-party request. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/765ecdcdf6.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/d4ca947ee6.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/325f4213af.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/e9265aa2bb.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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/765ecdcdf6.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/d4ca947ee6.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/325f4213af.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/e9265aa2bb.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;
}

/* Passpic: one ground, one ink, one accent.
   Direction: the product performs. The tool is the hero fragment. */

:root {
  --bg: #ebe5e3;
  --surface: #e1dad7;
  --surface-2: #d6cecb;
  --paper: #f7f3f1;
  --ink: #2b2622;
  --muted: #5c534e;
  --accent: #0f7d45;
  --accent-text: #0b6537;
  --accent-ink: #ffffff;
  --line: #cfc6c2;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);
  --step-display: clamp(2.25rem, 1rem + 3.4vw, 4rem);

  --pad: clamp(20px, 4vw, 40px);
  --r: 8px;
  --wrap: 1400px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);

  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

img, canvas { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

.wrap {
  width: min(100% - var(--pad) * 2, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  z-index: 50;
}
.skip:focus { left: 16px; top: 16px; }

/* ------------------------------------------------------------ navigation */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 8px;
}

.wordmark {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.wordmark::before {
  content: "";
  width: 14px;
  height: 18px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 7px, 5px 7px, 5px 0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links { font-size: 0.875rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-text); }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr;
  min-height: clamp(560px, 86svh, 880px);
  padding-inline: var(--pad);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-copy {
  grid-column: 1 / 6;
  grid-row: 1;
  align-self: center;
  padding-block: clamp(28px, 5vh, 64px);
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: var(--step-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin: 0 0 24px;
}

.hero-lede {
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 30ch;
  margin: 0 0 30px;
}

.hero-lede strong { color: var(--ink); font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 13px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.12s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* the stage: flat accent field, chamfered corner, bleeding right */

.stage {
  grid-column: 7 / -1;
  grid-row: 1;
  align-self: stretch;
  display: grid;
  align-content: center;
  margin-right: calc(var(--pad) * -1);
  background: var(--accent);
  clip-path: polygon(96px 0, 100% 0, 100% 100%, 0 100%, 0 96px);
  padding: clamp(32px, 5vh, 56px) 0 clamp(32px, 5vh, 56px) clamp(24px, 4vw, 56px);
  position: relative;
}

html.js .stage {
  animation: shutter 1.1s var(--ease) both;
}

@keyframes shutter {
  from { clip-path: polygon(96px 0, 100% 0, 100% 100%, 0 100%, 0 96px); }
}

/* ------------------------------------------------------------------ tool */

.tool {
  width: min(620px, calc(100% - 56px));
  font-size: 0.8125rem;
  background: var(--paper);
  border: 1px solid #d8d0cc;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  font-size: 0.8125rem;
  letter-spacing: 0;
}

.tool.is-over { outline: 2px dashed var(--accent); outline-offset: -6px; }

.tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #efe9e6;
}

.pick { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pick label { color: var(--muted); font-size: 0.8125rem; }

.pick select {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 26px 6px 9px;
  font-size: 0.8125rem;
  max-width: 250px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236a615d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  cursor: pointer;
}

.out-size {
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tool-body {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.frame {
  position: relative;
  aspect-ratio: var(--frame-ar, 1 / 1);
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  outline-offset: 2px;
}

.frame.is-dragging { cursor: grabbing; }
.frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  padding: 16px;
  color: var(--muted);
  background: var(--surface-2);
}

.empty p { margin: 0; font-size: 0.8125rem; line-height: 1.4; }
.empty .link-pick { color: var(--accent-text); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }

.tool.has-photo .empty { display: none; }

.tool-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; justify-content: space-between; }

.head-gauge { display: flex; align-items: flex-start; gap: 12px; }
.gauge-bar {
  position: relative;
  width: 8px;
  height: 92px;
  background: var(--surface-2);
  flex: none;
}
.gauge-bar i {
  position: absolute;
  left: 0;
  width: 100%;
  background: var(--accent);
}
.gauge-text { display: grid; gap: 2px; align-content: start; }
.gauge-text span { font-size: 0.8125rem; color: var(--muted); }
.gauge-text strong { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

.meta { margin: 0; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 5px 10px; font-size: 0.8125rem; }
.meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }

.zoom-row { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; color: var(--muted); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 20px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: var(--surface-2); }
input[type="range"]::-moz-range-track { height: 3px; background: var(--surface-2); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6.5px;
  background: var(--ink);
  border: 0;
  border-radius: 0;
}
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--ink); border: 0; border-radius: 0; }

.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }

.toolbtn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--paper);
  padding: 9px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.18s, color 0.18s;
}
.toolbtn:hover { background: var(--accent-text); border-color: var(--accent-text); }

.toolbtn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.toolbtn.ghost:hover { border-color: var(--ink); background: #efe9e6; }

.tool-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #efe9e6;
  color: var(--muted);
  font-size: 0.8125rem;
}
.tool-note::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}
.tool-note.is-live { color: var(--ink); background: #e6e2db; }

.guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.guide-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.guide-btn[aria-pressed="true"] { color: var(--ink); }
.guide-btn[aria-pressed="true"]::before { background: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------- section shell */

.section { padding-block: clamp(64px, 8vw, 112px); }

.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: 56px; }
.section-head h2 {
  grid-column: 1 / 8;
  font-size: var(--step-head);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
}
.section-head p { grid-column: 8 / 13; margin: 0; color: var(--ink); align-self: end; }

/* ---------------------------------------------------------- how it works */

.stages {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  margin-top: 8px;
}

.stage-copy {
  background: var(--surface);
  padding: clamp(48px, 6vw, 88px) var(--pad) clamp(48px, 6vw, 88px);
  min-height: 74svh;
  display: flex;
  align-items: flex-start;
}

.stage-copy h3 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 1rem + 2.4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
}

.stage-copy h3 span { color: var(--muted); display: block; }

.stage-demo {
  min-height: 74svh;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  justify-items: start;
  align-content: center;
  padding: clamp(32px, 4vw, 56px) var(--pad);
  padding-left: clamp(24px, 3vw, 48px);
  position: relative;
  overflow: hidden;
}

.demo { width: min(440px, 100%); }
.demo-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r);
  padding: 14px;
  font-size: 0.8125rem;
}

.demo-card h4 { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }

.spec-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.spec-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: #efe9e6;
  border-radius: 3px;
  font-size: 0.8125rem;
}
.spec-rows li.is-on { background: var(--accent); color: var(--accent-ink); }
.spec-rows em { font-style: normal; font-size: 0.8125rem; opacity: 0.7; font-variant-numeric: tabular-nums; }

.demo-frame {
  position: relative;
  width: 190px;
  margin: 0 auto;
  aspect-ratio: 35 / 45;
  background: var(--surface-2);
  overflow: hidden;
}
.demo-frame.is-square { aspect-ratio: 1 / 1; width: 200px; }
.demo-frame .eye {
  position: absolute;
  left: 0; right: 0; top: 60%;
  border-top: 1px dashed rgba(43,38,34,0.55); /* taste-skill-ignore */
  z-index: 2;
}
.demo-frame .oval {
  position: absolute;
  left: 50%;
  top: 21%;
  width: 44%;
  height: 52%;
  transform: translateX(-50%);
  border: 1px solid rgba(43,38,34,0.55);
  border-radius: 50%;
  z-index: 2;
}
.demo-frame .corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--accent);
  z-index: 3;
}
.demo-frame .c1 { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.demo-frame .c2 { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.demo-frame .c3 { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.demo-frame .c4 { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }

.demo-caption { margin: 14px 0 0; font-size: 0.8125rem; color: var(--muted); text-align: center; }

.ruler-wrap { display: grid; grid-template-columns: 46px 1fr; gap: 0; align-items: stretch; }
.ruler {
  position: relative;
  font-size: 0.8125rem;
  border-right: 1px solid rgba(247,243,241,0.4); /* taste-skill-ignore */
  color: rgba(247,243,241,0.8);
}
.ruler span { position: absolute; right: 6px; transform: translateY(-50%); font-variant-numeric: tabular-nums; }
.ruler span::after { content: ""; position: absolute; right: -6px; top: 50%; width: 4px; border-top: 1px solid rgba(247,243,241,0.6); } /* taste-skill-ignore */

.head-bracket { position: relative; height: 300px; }
.head-bracket .bar {
  position: absolute;
  right: 8%;
  width: 2px;
  background: var(--accent);
}
.head-bracket .bar::before, .head-bracket .bar::after {
  content: ""; position: absolute; left: -6px; width: 14px; border-top: 2px solid var(--accent);
}
.head-bracket .bar::before { top: 0; }
.head-bracket .bar::after { bottom: 0; }
.head-bracket .bar b {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-size: 0.8125rem; font-weight: 500; white-space: nowrap;
}

.sheet-demo {
  background: #fff;
  color: var(--ink);
  aspect-ratio: 6 / 4;
  border-radius: 2px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
}
.sheet-demo div { background: var(--surface-2); outline: 1px solid #c9c2bf; }
.sheet-demo.is-four { grid-template-columns: repeat(2, 1fr); }

.stage-control {
  grid-column: 1 / -1;
  background: var(--bg);
  padding: 28px var(--pad) 8px;
  z-index: 3;
}
.stage-control input[type="range"] { width: min(100% - var(--pad) * 2, var(--wrap)); display: block; margin: 0 auto; }
.stage-control input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: linear-gradient(to right, var(--ink) 0 var(--progress, 0%), rgba(43,38,34,0.22) var(--progress, 0%) 100%); /* taste-skill-ignore */
}
.stage-control input[type="range"]::-moz-range-track { height: 8px; background: rgba(43,38,34,0.22); }
.stage-control input[type="range"]::-moz-range-progress { height: 8px; background: var(--ink); }
.stage-control input[type="range"]::-webkit-slider-thumb {
  width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border: 0; border-radius: 0;
}
.stage-control input[type="range"]::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 0; }

.stage-names {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px auto 0;
  padding: 0;
  width: min(100%, var(--wrap));
}
.stage-names button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 0.9375rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.25;
}
.stage-names button:hover { color: var(--ink); }
.stage-names button.is-on { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------- spec list */

.specs-body { display: grid; grid-template-columns: 150px 1fr; gap: 40px; align-items: start; }

.region-tabs { display: grid; gap: 6px; }

.region-tabs button {
  height: 64px;
  padding: 0 14px;
  text-align: left;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  cursor: pointer;
  border-radius: var(--r);
  transition: background 0.18s, color 0.18s;
}
.region-tabs button:hover { background: var(--surface-2); }
.region-tabs button.is-on { background: var(--ink); color: var(--bg); }

.bands { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

.band a {
  display: grid;
  grid-template-columns: 120px 1fr 90px;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: var(--r);
  background: var(--surface);
  transition: background 0.18s, padding 0.18s;
}
.band:nth-child(even) a { background: #e7e0dd; }
.band a:hover { background: var(--ink); color: var(--bg); }
.band a:hover .band-when em, .band a:hover .band-what em, .band a:hover .band-go { color: rgba(235,229,227,0.7); }

.band-when {
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.band-when em { font-style: normal; font-size: 0.8125rem; color: var(--muted); margin-left: 3px; }

.band-what { display: grid; gap: 2px; font-size: 1.0625rem; }
.band-what em { font-style: normal; font-size: 0.8125rem; color: var(--muted); }

.band-go {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.band a:hover .band-go svg { transform: translateX(3px); }
.band-go svg { transition: transform 0.2s; }

/* -------------------------------------------------------------------- faq */

.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.faq-title { grid-column: 1 / 5; position: sticky; top: 96px; }
.faq-title h2 {
  font-size: var(--step-head);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 10ch;
}
.faq-title p { margin: 0; color: var(--ink); max-width: 30ch; }

.faq-list { grid-column: 5 / 13; display: grid; gap: 8px; }

.faq-list details {
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  transition: background 0.25s, color 0.25s;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 24px;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }

.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}
.plus::before { left: 0; top: 6.5px; width: 16px; height: 3px; }
.plus::after { left: 6.5px; top: 0; width: 3px; height: 16px; }

.faq-list details[open] { background: var(--accent); color: var(--accent-ink); }
.faq-list details[open] .plus::after { transform: rotate(90deg); }

.faq-list .answer { padding: 0 24px 24px; max-width: 58ch; font-size: 1.0625rem; line-height: 1.5; }
.faq-list .answer p { margin: 0; }
.faq-list .answer a { color: inherit; }

/* -------------------------------------------------------------------- cta */

.cta {
  background: var(--accent);
  color: var(--accent-ink);
  min-height: 74svh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 24px;
  padding: clamp(64px, 8vw, 96px) var(--pad);
}

.cta-copy { grid-column: 1 / 7; align-self: end; padding-bottom: 32px; }
.cta-copy h2 {
  font-size: clamp(2.6rem, 1rem + 4.4vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0 0 20px;
  max-width: 11ch;
}
.cta-copy p { margin: 0; max-width: 34ch; font-size: 1.0625rem; color: rgba(255,255,255,0.85); }

.cta-dialog { grid-column: 7 / 12; }
.dialog {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.45); /* taste-skill-ignore */
}
.dialog h3 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.dialog p { margin: 0 0 18px; font-size: 0.875rem; color: var(--muted); }

.dialog .dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 28px 16px;
  background: #efe9e6;
  border-radius: 4px;
  border: 1px dashed #bfb5b1;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, border-color 0.2s;
}
.dialog .dropzone:hover { background: #e6e0dc; border-color: var(--accent); color: var(--ink); }

.dialog .row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.dialog .row button {
  padding: 10px;
  font-size: 0.875rem;
  background: #efe9e6;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}
.dialog .row button.is-on { background: var(--surface-2); border-color: var(--ink); font-weight: 500; }

.dialog .go {
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.dialog .go:hover { background: #0b6537; }

/* ----------------------------------------------------------------- footer */

.footer { padding: clamp(56px, 7vw, 96px) 0 40px; }
.footer-mark {
  font-size: clamp(3.5rem, 12vw, 11rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.85;
  margin: 0 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 32px;
}
.footer-grid > p { grid-column: 1 / 6; margin: 0; color: var(--muted); font-size: 0.875rem; max-width: 42ch; }
.footer-nav { grid-column: 8 / 13; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 0.875rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

.footer-legal { margin-top: 40px; max-width: 84ch; font-size: 0.8125rem; color: var(--muted); }

/* -------------------------------------------------------------- interior */

.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.page-head > div { grid-column: 1 / 8; }
.page-head h1 {
  font-size: clamp(2rem, 1rem + 3.6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.0;
  margin: 0 0 18px;
  max-width: 16ch;
}
.page-head p { margin: 0; color: var(--muted); max-width: 46ch; }
.page-head aside { grid-column: 9 / 13; align-self: end; }

.tool-embed { padding-bottom: clamp(48px, 7vw, 96px); }
.tool-embed .tool { width: min(760px, 100%); background: var(--paper); }
.tool-embed .tool-body { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; margin: 48px 0 16px; font-weight: 500; }
.prose h3 { font-size: 1.125rem; margin: 28px 0 8px; font-weight: 500; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }

.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9375rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; font-weight: 500; color: var(--muted); }

.src {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.src:hover { color: var(--ink); }

.other-specs {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.other-specs a { font-size: 0.9375rem; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); display: block; padding: 8px 0; }
.other-specs a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.callout {
  background: var(--surface);
  border-radius: var(--r);
  padding: 20px 22px;
  margin: 28px 0;
  font-size: 0.9375rem;
}
.callout p:last-child { margin-bottom: 0; }

.notice { font-size: 0.8125rem; color: var(--muted); margin-top: 16px; }

/* ---------------------------------------------------------------- motion */

html.js [data-rise] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.7s var(--ease) var(--d, 0ms);
}
html.js [data-rise].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-rise] { opacity: 1; transform: none; transition: none; }
  html.js .stage { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ----------------------------------------------------------------- phone */

@media (max-width: 1080px) {
  .hero-copy { grid-column: 1 / 8; }
  .stage { grid-column: 4 / -1; padding-left: 40px; }
  .section-head h2 { grid-column: 1 / 9; }
  .section-head p { grid-column: 9 / 13; }
  .cta-copy { grid-column: 1 / 7; }
  .cta-dialog { grid-column: 7 / 13; }
}

@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding-bottom: 0; overflow: visible; }
  .hero-copy { padding-top: 40px; padding-bottom: 32px; }
  .hero h1 { max-width: 14ch; }
  .stage {
    margin-inline: calc(var(--pad) * -1);
    margin-top: 0;
    padding: 40px 16px 40px 16px;
    clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px);
    min-height: 0;
  }
  .tool { width: 100%; }

  .stages { grid-template-columns: 1fr; min-height: 0; }
  .stage-demo { order: -1; min-height: 46svh; }
  .stage-copy { padding: 32px var(--pad) 40px; min-height: 0; }
  .stage-copy h3 { font-size: clamp(1.75rem, 8.6vw, 2.75rem); }
  .stage-demo { min-height: 46svh; }
  .stage-control { padding: 20px var(--pad) 0; }

  .section-head { display: block; margin-bottom: 32px; }
  .section-head h2 { margin-bottom: 16px; }
  .section-head p { max-width: 44ch; }

  .specs-body { grid-template-columns: 1fr; gap: 16px; }
  .region-tabs { grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; gap: 4px; position: sticky; top: 0; z-index: 4; background: var(--bg); padding: 8px 0; }
  .region-tabs button { height: 52px; padding: 0 8px; text-align: center; font-size: 0.875rem; }
  .band a { grid-template-columns: 84px 1fr; grid-template-areas: "when what" "when go"; row-gap: 4px; padding: 14px 16px; }
  .band-when { grid-area: when; align-self: center; font-size: 1.0625rem; }
  .band-what { grid-area: what; }
  .band-go { grid-area: go; justify-self: start; }

  .faq { display: block; }
  .faq-title { position: static; margin-bottom: 24px; }
  .faq-list details summary { min-height: 64px; padding: 14px 18px; font-size: 1rem; }
  .faq-list .answer { padding: 0 18px 20px; font-size: 1rem; }

  .cta { display: block; min-height: 0; padding: 56px var(--pad); }
  .cta-copy { padding-bottom: 40px; }
  .cta-copy h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .cta-dialog { max-width: 460px; }

  .page-head { display: block; }
  .page-head aside { margin-top: 24px; }
  .tool-embed .tool-body { grid-template-columns: 1fr; }
  .footer-grid { display: block; }
  .footer-nav { margin-top: 24px; }
}

@media (max-width: 560px) {
  .nav-links { gap: 12px; font-size: 0.75rem; }
  .nav-links li { white-space: nowrap; }
  .nav-links li:nth-child(2), .nav-links li:nth-child(4) { display: none; }
  .tool-body { grid-template-columns: 1fr; }
  .tool-head { flex-wrap: wrap; gap: 6px 12px; }
  .pick { flex: 1 1 100%; min-width: 0; }
  .pick select { max-width: 100%; min-width: 190px; }
  .out-size { flex: 1 1 100%; }
  .frame { width: 100%; }
  .tool-side { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .meta { grid-column: auto; }
  .tool-actions { flex-wrap: nowrap; }
  .tool-actions .toolbtn { flex: 1; }
  .toolbtn { flex: 1; text-align: center; }
  .zoom-row { grid-column: 1 / -1; }
  .stage-names { grid-template-columns: 1fr 1fr; gap: 10px 8px; }
  .band a { grid-template-columns: 76px 1fr; }
}


/* ------------------------------------------------ locale, a11y, utilities */

[hidden] { display: none !important; }

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

.lang {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.hero-notice { margin-top: 18px; }

.empty-hint { font-size: 0.8125rem; opacity: 0.85; }

.faq-inline { grid-column: auto; }

.page-prose { padding-bottom: clamp(64px, 8vw, 110px); }

.btn-inline {
  display: inline-flex;
  padding: 10px 16px;
  font-size: 0.9375rem;
  margin-left: 8px;
  vertical-align: middle;
}

.notfound { min-height: 64svh; padding-top: 12vh; padding-bottom: 12vh; }
.notfound h1 {
  font-size: clamp(2.5rem, 1rem + 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0 0 24px;
  max-width: 14ch;
}
.notfound p { color: var(--ink); max-width: 40ch; margin: 0 0 32px; }

.callout-warn { background: #e6ddd6; }

/* CJK: the Latin face has no Chinese glyphs, so the system stack takes over. */
html[lang^="zh"] body {
  letter-spacing: 0;
  font-feature-settings: normal;
}
html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang^="zh"] .footer-mark,
html[lang^="zh"] .cta-copy h2 {
  letter-spacing: -0.01em;
  line-height: 1.12;
}
html[lang^="zh"] .hero h1 { line-height: 1.08; }

/* ------------------------------------------------------------ photo check */

.check-wrap {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 8px;
}

.check-panel {
  background: var(--paper);
  border: 1px solid #d8d0cc;
  border-radius: var(--r);
  padding: 16px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.check-panel .pick { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; }
.check-panel .pick label { color: var(--muted); }
.check-panel .pick select {
  flex: 1;
  min-width: 0;
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 26px 7px 9px;
  font-size: 0.8125rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235c534e' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  cursor: pointer;
}

.dropzone {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 22px 16px;
  background: #efe9e6;
  border-radius: 4px;
  border: 1px dashed #bfb5b1;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.dropzone:hover, .dropzone.is-over { background: #e6e0dc; border-color: var(--accent); color: var(--ink); }
.dropzone strong { color: var(--accent-text); font-weight: 500; }
.dropzone small { font-size: 0.8125rem; }

.check-preview {
  background: var(--surface);
  border-radius: 4px;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
}
.check-preview canvas { max-height: 400px; width: auto; max-width: 100%; }

.check-file {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-height: 1.2em;
}

.check-actions { display: flex; gap: 8px; }
.check-actions .toolbtn { flex: 1; }

.check-results { display: grid; gap: 8px; align-content: start; }

.check-empty {
  margin: 0;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--r);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.5;
  max-width: 64ch;
}

.check-summary {
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--ink);
  color: var(--bg);
}
.check-summary.is-warn { background: #4a423d; }
.check-summary.is-bad { background: #8f2b22; color: #fff; }
.check-summary strong { display: block; font-size: 0.8125rem; font-weight: 500; opacity: 0.75; margin-bottom: 4px; }
.check-summary p { margin: 0; font-size: 1.0625rem; }

.check-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: var(--r);
}
.check-row strong { display: block; font-weight: 500; margin-bottom: 2px; }
.check-row p { margin: 0; font-size: 1.0625rem; color: var(--ink); line-height: 1.45; }
.check-mark { font-size: 1rem; line-height: 1.3; color: var(--muted); }
.check-row.is-ok .check-mark { color: var(--accent); }
.check-row.is-warn .check-mark { color: #8a5a00; }
.check-row.is-bad .check-mark { color: #8f2b22; }

.check-next { margin: 32px 0 0; font-size: 1.0625rem; }

@media (max-width: 860px) {
  .check-wrap { grid-template-columns: 1fr; }
  .check-preview { min-height: 280px; }
}


/* ---------------------------------------------------------- cross link */

.crosslink { background: var(--surface); margin-block: 0; }
.crosslink-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 24px;
  padding-block: clamp(40px, 5vw, 64px);
}
.crosslink h2 {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  max-width: 12ch;
}
.crosslink p { margin: 0; color: var(--ink); max-width: 38ch; }
.crosslink .btn { justify-self: start; }
@media (max-width: 860px) {
  .crosslink-inner { grid-template-columns: 1fr auto; gap: 12px 20px; align-items: end; }
  .crosslink-inner h2 { grid-column: 1 / -1; }
  .crosslink .btn { justify-self: end; }
}


/* ------------------------------------------------------- check page extras */

.check-aside {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 1rem;
  color: var(--ink);
}
.check-aside li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.check-aside li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
  transform: translateY(-2px);
}

.check-empty { max-width: 64ch; }

.check-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(24px, 4vw, 40px) 0 clamp(72px, 9vw, 120px);
}
.check-next h2 {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  max-width: 20ch;
}

.check-row.is-idle { background: #e7e0dd; }
.check-row.is-idle .check-mark { color: var(--muted); }
.check-row.is-idle strong { color: var(--muted); font-weight: 400; }

.check-prose { padding-top: clamp(40px, 6vw, 72px); }
.check-prose h2 { margin-top: 0; }

@media (min-width: 1200px) {
  .bands { grid-template-columns: 1fr 1fr; column-gap: 10px; }
  .band a { grid-template-columns: 92px 1fr 44px; gap: 14px; padding-inline: 16px; }
  .band-when { font-size: 1.125rem; }
  .band-what { font-size: 1rem; }
  .band-go { font-size: 0; }
}


/* the current spec, set big on the stage */
.stage .tool { width: min(672px, calc(100% - 48px)); }
.stage .tool-body { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }

.stage-spec {
  position: absolute;
  right: clamp(20px, 3vw, 40px);
  top: clamp(14px, 2.6vh, 34px);
  text-align: right;
  margin: 0;
  font-size: clamp(54px, 6.4vw, 100px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: rgba(235, 229, 227, 0.24);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  user-select: none;
}
.stage-spec small {
  font-size: 0.26em;
  letter-spacing: 0;
  margin-left: 0.18em;
  vertical-align: 0.42em;
}
@media (max-width: 860px) {
  .stage-spec { display: none; }
  .stage .tool { width: 100%; }
  .stage .tool-body { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
  .hero { min-height: 0; }
}


/* =====================================================  tool-first hero  */

.hero {
  display: block;
  min-height: 0;
  padding-block: clamp(24px, 3.6vh, 48px) clamp(36px, 5vh, 64px);
  overflow: visible;
}

.hero-head {
  max-width: 780px;
  margin: 0 auto clamp(24px, 3.4vh, 36px);
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.875rem, 1.1rem + 2.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  max-width: none;
}

.hero-lede {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.45;
  margin: 0 auto;
  max-width: 56ch;
}

.hero-panel {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.hero-panel .tool {
  width: 100%;
  border-radius: 0;
  border: 1px solid #d8d0cc;
  background: var(--paper);
}

html.js .hero-panel {
  animation: shutter-panel 0.9s var(--ease) both;
}
@keyframes shutter-panel {
  from { clip-path: inset(0 100% 0 0); opacity: 0.6; }
}

.hero-panel .tool-body {
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 28px;
  padding: 20px;
}
.hero-panel .tool-head { padding: 12px 20px; }
.hero-panel .tool-side { justify-content: flex-start; gap: 18px; }
.hero-panel .zoom-row { margin-top: auto; }

.hero-panel .frame {
  height: 340px;
  width: auto;
  justify-self: center;
}

.hero-panel .tool-actions { padding: 0 20px 18px; }
.hero-panel .toolbtn { padding: 12px 18px; font-size: 0.9375rem; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}
.chips a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 3px;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s, color 0.18s;
  font-variant-numeric: tabular-nums;
}
.chips a:hover { background: var(--ink); color: var(--bg); }
.chips small { font-size: 0.75rem; color: var(--muted); }
.chips a:hover small { color: rgba(235, 229, 227, 0.7); }

@media (max-width: 860px) {
  .hero { padding-block: 20px 32px; }
  .hero-head { text-align: left; }

  .hero-panel .tool-body { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .hero-panel .frame { height: auto; width: 100%; max-height: 46svh; }
  .chips { justify-content: flex-start; }
}

.tool-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink);
  max-width: 46ch;
}
.tool-notes li { position: relative; padding-left: 13px; }
.tool-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}


/* --------------------------------------------------- home about / crumbs */

.home-about { padding-block: clamp(56px, 7vw, 96px); }
.home-about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.home-about-grid h2 {
  grid-column: 1 / 5;
  font-size: var(--step-head);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  max-width: 12ch;
}
.home-about-grid .prose { grid-column: 6 / 13; }
.home-about-grid .prose p { font-size: 1.0625rem; line-height: 1.55; }

.home-links {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.home-links a {
  font-size: 0.9375rem;
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-links a:hover { color: var(--ink); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); text-decoration: underline; }

.page-count { margin: 0; font-size: 0.875rem; color: var(--muted); }

.faq-page { display: block; }
.faq-page .faq-list { max-width: 900px; }

@media (max-width: 860px) {
  .home-about-grid { display: block; }
  .home-about-grid h2 { margin-bottom: 16px; }
}


/* ------------------------------------------------- faq + how page layout */

.faq-page { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); }
.faq-page .faq { align-items: start; }
.faq-title h1 {
  font-size: clamp(2rem, 1.2rem + 2.2vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 12ch;
}
.faq-page .faq-list { max-width: none; }
.faq-page .callout { margin-top: 16px; }

.prose-split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding-bottom: clamp(32px, 4vw, 56px);
}
.prose-split h2 {
  grid-column: 1 / 5;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  max-width: 14ch;
}
.prose-split .prose { grid-column: 6 / 13; max-width: none; }
.prose-split .prose p { font-size: 1.0625rem; line-height: 1.55; }

@media (max-width: 860px) {
  .faq-title h1 { max-width: none; }
  .prose-split { display: block; }
  .prose-split h2 { margin-bottom: 12px; }
}
