/* landfeed.pl: one stylesheet, no build, no external fonts.
   Craft studied from the reference (research/STYLE.md); brand, colour and motif are ours. */

:root {
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Display", "Segoe UI Variable Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ink: #0b0d0c;
  --text: #45403f;
  --muted: #625d5b;
  --faint: #8d8886;
  --canvas: #ffffff;
  --paper: #f5f4f1;
  --paper-2: #eeede8;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);
  --dark: #0e100f;
  --dark-2: #1a1d1b;
  --dark-line: rgba(255, 255, 255, 0.12);
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(255, 255, 255, 0.66);

  --accent: #2e6b3f;
  --accent-ink: #1f4d2c;
  --accent-soft: #e6efe6;

  --pass: #1d6b3c;
  --warn: #8a5300;
  --fail: #a8261d;
  --unknown: #5d5a58;
  --covered: #1d6b3c;
  --nodata: #1d5a80;
  --notcov: #8a5300;
  --notcomp: #5d5a58;

  --frame: 1152px;
  --gut: 24px;
  --radius-card: 16px;
  --radius-panel: 12px;
  --radius-code: 12px;
  --radius-chip: 6px;
  --shadow-float: 0 16px 48px -8px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  font: 400 16px/1.5 var(--sans);
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); font-weight: 600; margin: 0; }
p { margin: 0 0 16px; }
code, kbd, pre { font-family: var(--mono); }
:not(pre) > code { font-size: 0.875em; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-chip); padding: 1px 6px; color: var(--ink); white-space: nowrap; }

/* ---------- frame: rails and hairlines ---------- */
.frame { max-width: calc(var(--frame) + 2px); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.section { border-top: 1px solid var(--line); }
.section > .frame { padding-top: 112px; padding-bottom: 112px; }
.section.tight > .frame { padding-top: 72px; padding-bottom: 72px; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--dark); color: var(--on-dark-muted); border-top-color: var(--dark); }
.section.dark > .frame { border-color: var(--dark-line); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: #fff; }
.section.dark .btn.on-dark, .section.dark .btn.on-dark:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .frame { border: 0; display: flex; align-items: center; gap: 24px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 650 20px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand-mark { width: 22px; height: 22px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 9999px; transition: color 0.15s var(--ease), background-color 0.15s var(--ease); }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .pill { background: var(--ink); color: #fff; margin-left: 8px; padding: 0 18px; }
.nav .pill:hover { background: var(--accent-ink); color: #fff; }
.menu { display: none; margin-left: auto; }
.menu > summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; color: var(--ink); padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9999px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--paper); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: var(--shadow-float); }
.menu-panel a { display: flex; align-items: center; min-height: 48px; font-size: 18px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel a[aria-current="page"] { color: var(--accent); }
.menu-panel .btn { margin-top: 16px; width: 100%; justify-content: center; }

.notice { background: var(--dark); color: var(--on-dark); font: 500 13px/1.4 var(--mono); }
.notice .frame { border: 0; display: flex; gap: 16px; align-items: center; justify-content: center; min-height: 40px; padding: 8px var(--gut); text-align: center; }
.notice a { color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.notice a:hover { background: #fff; color: var(--ink); }

/* ---------- type scale ---------- */
.eyebrow { font: 500 11px/16px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow.boxed { border: 1px solid var(--line-strong); padding: 5px 10px; }
.display { font-size: clamp(44px, 7.8vw, 112px); line-height: 0.92; letter-spacing: -0.05em; font-weight: 600; }
.display .accent, .h2 .accent { color: var(--accent); }
.h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 0.98; letter-spacing: -0.045em; }
.h2 { font-size: clamp(34px, 4.45vw, 64px); line-height: 0.98; letter-spacing: -0.045em; }
.h2 .soft { color: var(--faint); }
.h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.h4 { font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.lead { font-size: 18px; line-height: 28px; color: var(--text); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 21px; color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.head-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.head-split > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 26px; }
.stack-lg > * + * { margin-top: 24px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; font: 500 16px/1 var(--sans); text-decoration: none; background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer; position: relative; transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 30%, #7fb08a 70%, transparent); }
.btn:hover { background: var(--accent-ink); color: #fff; border-color: var(--accent-ink); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
.btn.on-dark { background: #fff; color: var(--ink); border-color: #fff; }
.btn.on-dark:hover { background: var(--accent-soft); }
.link-chev { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: none; }
.link-chev::after { content: "\203A"; font-size: 20px; line-height: 1; transition: transform 0.15s var(--ease); }
.link-chev:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* ---------- chips, tags, status ---------- */
.tag { display: inline-flex; align-items: center; font: 500 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 6px; color: var(--muted); white-space: nowrap; vertical-align: middle; }
.tag.soon { color: var(--warn); }
.tag.live { color: var(--pass); }
.tag.planned { color: var(--muted); }
.tag.partial { color: var(--nodata); }
.tag.never { color: var(--fail); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 9999px; font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; }
.state { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.state.covered { color: var(--covered); }
.state.covered_no_data { color: var(--nodata); }
.state.not_covered { color: var(--notcov); }
.state.not_computed { color: var(--notcomp); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("parcels.svg") center top / 1440px auto repeat-x; opacity: 0.55; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, transparent 30%, #000 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, transparent 30%, #000 75%); pointer-events: none; }
.hero > .frame { position: relative; padding-top: 96px; padding-bottom: 96px; }
.hero .lead { margin-top: 28px; }
.hero .actions { margin-top: 36px; }
.hero.center .actions { justify-content: center; }
.works { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--muted); font-size: 15px; }
.hero.center .works { justify-content: center; }

/* ---------- quick start (client tabs + command) ---------- */
.quick { max-width: 760px; margin: 48px auto 0; text-align: left; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-card); box-shadow: var(--shadow-float); }
.quick-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.quick-head .h4 { font-size: 16px; }
.tabs [role="tablist"] { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); padding: 0 12px; scrollbar-width: thin; }
.tabs [role="tab"] { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0 12px; min-height: 48px; font: 500 15px/1 var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tabpanel"] { padding: 20px; }
.tabs [role="tabpanel"][hidden] { display: none; }
.tabs ol { margin: 0; padding-left: 20px; }
.tabs li + li { margin-top: 6px; }
.no-js .tabs [role="tabpanel"][hidden] { display: block; }

.cmd { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-panel); padding: 6px 6px 6px 16px; background: var(--paper); margin: 12px 0; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 14px; line-height: 24px; color: var(--ink); background: none; border: 0; padding: 8px 0; }
.copy { flex: none; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line-strong); background: #fff; border-radius: 8px; font: 500 13px/1 var(--sans); color: var(--ink); cursor: pointer; }
.copy:hover { background: var(--accent-soft); }
.copy[data-copied] { color: var(--pass); }

/* ---------- code blocks ---------- */
.code { position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius-code); background: #fff; overflow: hidden; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 4px 16px; border-bottom: 1px solid var(--line); background: var(--paper); font: 500 12px/1 var(--mono); color: var(--muted); min-height: 44px; }
.code pre { margin: 0; padding: 16px 20px; overflow-x: auto; font-size: 13px; line-height: 21px; color: #1f2328; }
.code pre .k { color: #1d5a80; }
.code pre .s { color: #2e6b3f; }
.code pre .n { color: #8a5300; }
.code pre .c { color: #6f6a68; }
.code-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font: 500 12px/1.4 var(--mono); color: var(--muted); }

/* ---------- agent flow ---------- */
.flow { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.chat { background: var(--paper); border-radius: var(--radius-card); padding: 24px; }
.chrome { display: flex; gap: 6px; padding-bottom: 16px; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.bubble { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.bubble.user { background: var(--ink); color: #fff; border-color: var(--ink); margin-left: 15%; }
.bubble .who { display: block; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.bubble.user .who { color: rgba(255, 255, 255, 0.7); }
.call { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 500 13px/1.5 var(--mono); color: var(--ink); background: #fff; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.call .cost { margin-left: auto; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.checks li:first-child { border-top: 0; }
.res { font: 600 12px/22px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.res.pass { color: var(--pass); }
.res.fail { color: var(--fail); }
.res.warn { color: var(--warn); }
.res.unknown { color: var(--unknown); }
.illustrative { font: 500 12px/1.5 var(--mono); color: var(--warn); margin-top: 12px; }

/* ---------- cards and grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--paper); border-radius: var(--radius-card); padding: 28px; }
.card.white { background: #fff; border: 1px solid var(--line-strong); }
.card .h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; line-height: 24px; }
.card p:last-child { margin-bottom: 0; }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cells > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; }
.cells .meta { font: 500 11px/16px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 8px 0 12px; }
.cells p { color: var(--muted); font-size: 15px; line-height: 24px; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 28px var(--gut); border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts .num { font: 600 40px/1 var(--display); letter-spacing: -0.04em; color: var(--ink); }
.facts .lbl { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- rows (tools, prices) ---------- */
.rows { border-top: 1px solid var(--line); }
.rows .hdr { display: flex; justify-content: space-between; font: 500 11px/16px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.row .name { font: 600 19px/1.3 var(--display); letter-spacing: -0.02em; color: var(--ink); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row .desc { grid-column: 1 / -1; color: var(--muted); font-size: 15px; line-height: 23px; margin: 0; }
.row .val { font: 600 18px/1.2 var(--display); color: var(--ink); text-align: right; }
.row .val small { display: block; font: 400 13px/1.4 var(--sans); color: var(--muted); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-strong); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font: 500 11px/16px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 16px 16px 12px 0; border-bottom: 1px solid var(--line-strong); vertical-align: bottom; }
td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
td strong { color: var(--ink); font-weight: 600; }
td .sub { display: block; font-size: 13px; line-height: 19px; color: var(--muted); margin-top: 2px; }
.num-cell { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-note { font: 500 11px/18px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 16px 0 0; }
.cat-name { white-space: nowrap; }
tr.grp th { background: var(--paper); color: var(--ink); font: 600 15px/1.3 var(--display); letter-spacing: -0.01em; text-transform: none; padding: 14px 12px; border-bottom: 1px solid var(--line-strong); }
.catalogue td:first-child { min-width: 200px; }
.catalogue td { font-size: 14px; line-height: 21px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font: 500 18px/1.35 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--sans); color: var(--muted); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 20px 0; color: var(--muted); }

/* ---------- workflows ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(step, decimal-leading-zero); font: 500 13px/28px var(--mono); color: var(--accent); }
.steps h3 { font-size: 18px; line-height: 28px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 24px; }

/* ---------- callouts ---------- */
.callout { border: 1px solid var(--line-strong); border-left: 3px solid var(--warn); background: #fffaf0; padding: 16px 20px; border-radius: 0 var(--radius-panel) var(--radius-panel) 0; color: var(--text); font-size: 15px; line-height: 24px; }
.callout.info { border-left-color: var(--nodata); background: #f2f7fb; }
.callout p:last-child { margin-bottom: 0; }
.pl-todo { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.pl-todo .tag { color: var(--warn); }

/* ---------- forms ---------- */
.form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; }
.form input { flex: 1 1 260px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 0; font: 400 16px/1 var(--sans); color: var(--ink); background: #fff; }
.form input:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
.form-msg { margin-top: 12px; font-size: 15px; color: var(--muted); min-height: 24px; }
.section.dark .form input { background: var(--dark-2); color: #fff; border-color: var(--dark-line); }

/* ---------- closing CTA ---------- */
.closing { position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: url("parcels-dark.svg") center / 1440px auto repeat; opacity: 0.6; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 25%, #000 80%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, transparent 25%, #000 80%); pointer-events: none; }
.closing > .frame { position: relative; text-align: center; padding-top: 128px; padding-bottom: 128px; }
.closing .display { color: #fff; }
.closing .lead { color: var(--on-dark-muted); margin: 24px auto 36px; }
.closing .actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: #000; color: var(--on-dark-muted); }
.site-footer .frame { border-color: var(--dark-line); padding-top: 64px; padding-bottom: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .tagline { margin: 10px 0 40px; font-size: 15px; color: var(--on-dark-muted); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols > div { border-left: 1px solid var(--dark-line); padding-left: 16px; }
.foot-cols h2 { font: 500 11px/16px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin: 0 0 8px; }
.foot-cols a { display: flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: #fff; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: rgba(255, 255, 255, 0.62); }

/* ---------- docs-like two column (setup pages) ---------- */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
.toc { position: sticky; top: 88px; align-self: start; }
.toc h2 { font: 500 11px/16px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc a { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); text-decoration: none; border-left: 1px solid var(--line); padding-left: 14px; }
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.doc-body { max-width: 760px; }
.doc-body > section + section { margin-top: 72px; }
.doc-body h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.doc-body h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin: 32px 0 10px; }
.doc-body ol, .doc-body ul { padding-left: 22px; }
.doc-body li + li { margin-top: 8px; }
.prompt-list { list-style: none; padding: 0 !important; margin: 0; }
.prompt-list li { border: 1px solid var(--line-strong); border-radius: var(--radius-panel); padding: 16px 18px; background: #fff; }
.prompt-list li + li { margin-top: 12px; }
.prompt-list .p { font: 500 16px/1.45 var(--sans); color: var(--ink); display: block; }
.prompt-list .gets { display: block; margin-top: 8px; font-size: 14px; line-height: 21px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 0 9px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header .frame { position: relative; }
  .flow, .head-split, .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  :root { --gut: 20px; }
  .frame { border-left: 0; border-right: 0; }
  .section > .frame { padding-top: 64px; padding-bottom: 64px; }
  .section.tight > .frame { padding-top: 48px; padding-bottom: 48px; }
  .hero > .frame { padding-top: 56px; padding-bottom: 56px; }
  .closing > .frame { padding-top: 80px; padding-bottom: 80px; }
  .grid-2, .grid-3, .grid-4, .cells, .foot-cols { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .card, .cells > * { padding: 22px; }
  .head-split { margin-bottom: 36px; gap: 20px; }
  /* phones: no text under 16 px */
  .eyebrow, .tag, .small, .table-note, th, td .sub, .code pre, .code-bar, .code-foot, .call, .res, .cells .meta,
  .rows .hdr, .row .val small, .foot-cols h2, .legal, .notice, .illustrative, .bubble .who, .state, .nav a,
  .chip, .copy, .checks li, .tabs [role="tab"], .facts .lbl, .toc h2, .toc a, .card p, .cells p, .row .desc, .steps p, .callout,
  .cmd code, .prompt-list .gets, .faq .answer, .works, .head-split > p, .site-footer .tagline, .foot-cols a, .lead, :not(pre) > code, table, .form-msg { font-size: 16px; line-height: 1.5; }
  .eyebrow, .tag, th, .table-note, .rows .hdr, .foot-cols h2, .toc h2, .bubble .who, .cells .meta { letter-spacing: 0.06em; }
  .code pre { line-height: 24px; }
  .checks li { grid-template-columns: 1fr; gap: 2px; }
  .bubble.user { margin-left: 0; }
  .row { grid-template-columns: 1fr; }
  .row .val { text-align: left; }
  .faq .answer { padding-right: 0; }
  .btn { width: 100%; justify-content: center; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .link-chev { justify-content: center; }
  .notice .frame { flex-direction: column; gap: 8px; }
  :not(pre) > code { white-space: normal; overflow-wrap: anywhere; }
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table tr { border-bottom: 1px solid var(--line-strong); padding: 12px 0; }
  .stack-table td { border: 0; padding: 4px 0; }
  .stack-table td[data-label] { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .stack-table td[data-label] > .sub { grid-column: 2; margin-top: -8px; }
  .stack-table td[data-label] > .tag, .stack-table td[data-label] > .state { justify-self: start; }
  .stack-table td[data-label]::before { content: attr(data-label); display: block; font: 500 16px/1.5 var(--mono); letter-spacing: 0; text-transform: uppercase; color: var(--muted); }
  .stack-table td:first-child { padding-top: 0; }
  .stack-table tr.grp { display: block; padding: 0; border: 0; }
  .stack-table tr.grp th { display: block; padding: 12px; font-size: 18px; margin-top: 16px; }
  .catalogue td { font-size: 16px; line-height: 1.5; }
  .table-wrap { overflow-x: visible; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
