/* Corridor — placeholder site. House style: claude_design.md, "The ledger" (consumer), 11 November 2026.
   Layout: an account book. A banker's-green band carries the header and the hero; the work sits below
   on ledger paper, in ruled sheets. The red double rule of a ledger is the mark. Light paper under a dark band. */
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --green: #10261f;
  --green-2: #1b3a30;
  --band-line: #2c463c;
  --chalk: #eef3ea;
  --band-soft: #c5d3c8;
  --band-muted: #a9bcae;
  --paper: #e7efe3;
  --sheet: #f4f8f1;
  --ink: #10261f;
  --muted: #3f5449;
  --faint: #55695d;
  --line: #b9cdbd;
  --wash: #d5e3d6;
  --red: #b8402e;
  --red-bright: #d9553f;
  --red-ink: #a3331f;
  --red-soft: #f6e4df;
  --selection: #c9dccb;
  --display: "Schibsted Grotesk", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--selection); color: var(--ink); }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--display); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--green); }
img, svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--muted); }
button, input { font: inherit; color: inherit; }
button, a, input, .opt span { transition: background-color .2s, color .2s, border-color .2s; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset, legend { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }

.wrap { max-width: 72rem; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.serif { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* The band: header, hero and footer */
.band { background: var(--green); color: var(--chalk); }
.band :focus-visible { outline-color: var(--chalk); }
.band .kicker { color: var(--band-muted); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--green); color: var(--chalk); border-bottom: 1px solid var(--band-line); }
.site-header :focus-visible { outline-color: var(--chalk); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-block: 10px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--chalk); text-decoration: none; }
.wordmark:hover { color: var(--chalk); }
.wordmark b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.bars { display: inline-flex; gap: 4px; }
.bars i { display: block; width: 3px; height: 24px; background: var(--red-bright); }
.nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 2px; color: var(--band-soft); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav a:hover { background: var(--green-2); color: var(--chalk); }
.nav a[aria-current="page"] { background: var(--green-2); color: var(--chalk); }
.nav .end { margin-left: auto; color: var(--chalk); font-weight: 600; }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--band-line); border-radius: 2px; background: var(--green-2); color: var(--chalk); font-size: 14px; font-weight: 500; cursor: pointer; }
.menu-btn:hover { border-color: var(--chalk); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--green); border-radius: 2px; background: var(--green); color: var(--chalk); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); color: var(--chalk); }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Sections */
.section { padding-block: 48px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.section.first { border-top: 0; }
.section.split { flex-direction: row; flex-wrap: wrap; gap: 32px 64px; }
.section.split > .head { flex: 1 1 320px; }
.section.split > .body { flex: 1 1 420px; min-width: 0; }
.head { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.head h2, .sec-ttl { font-weight: 600; font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.head p { max-width: 42rem; color: var(--muted); }
.notice { background: var(--wash); border: 1px solid var(--line); border-radius: 2px; padding: 14px 18px; font-size: 15px; }

/* Hero */
.hero { padding-block: 48px 56px; display: flex; flex-direction: column; gap: 36px; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero h1 { max-width: 16ch; font-weight: 600; font-size: 44px; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.lede { max-width: 42rem; font-size: 18px; color: var(--muted); }
.band .lede { color: var(--band-soft); }
.reassure { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--band-line); max-width: 34rem; }
.reassure b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.reassure span { color: var(--band-soft); }
.slogan { font-weight: 500; font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; padding-top: 16px; border-top: 1px solid var(--band-line); max-width: 30rem; }

/* The list (form) */
.sheet { background: var(--sheet); color: var(--ink); border: 1px solid var(--line); border-radius: 2px; }
.band .sheet { border-color: var(--sheet); }
.band .sheet :focus-visible { outline-color: var(--green); }
.band .sheet .kicker { color: var(--muted); }
.list { padding: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.field-set { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.list-inner { display: flex; flex-direction: column; gap: 8px; }
.list h2 { font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -0.03em; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font-size: 16px; }
.input:focus { outline: none; border-color: var(--green); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--sheet); font-size: 14px; font-weight: 500; }
.opt:hover span { border-color: var(--green); }
.opt input:checked + span { background: var(--wash); border-color: var(--green); }
.opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.list .btn { align-self: flex-start; }
.hint { font-size: 14px; color: var(--faint); }
.err { font-size: 14px; color: var(--red-ink); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done p { color: var(--muted); overflow-wrap: anywhere; }

/* Specimen: a ledger sheet. The red double rule divides the figures from their sources. */
.spec-head { padding: 14px 24px; border-bottom: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; align-items: baseline; }
.spec-head .serif { font-size: 20px; }
.ledger-row { display: grid; grid-template-columns: minmax(0, 10fr) 14px minmax(11rem, 3fr); border-bottom: 1px solid var(--line); }
.ledger-row:last-of-type { border-bottom: 0; }
.ledger-cell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 16px; padding: 13px 24px; align-items: baseline; }
.ledger-cell .entry { font-weight: 500; }
.ledger-cell .src, .ledger-row.cols span { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.ledger-row.cols .ledger-cell { padding-block: 8px; }
.ledger-row.cols span { font-size: 12px; }
.rule { display: flex; gap: 3px; justify-content: center; }
.rule i { display: block; width: 1.5px; background: var(--red); }
.fig { padding: 10px 24px; font-family: var(--mono); font-size: 22px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; align-self: center; }
.ledger-row.cols .fig { font-size: 12px; font-weight: 400; color: var(--muted); padding-block: 8px; }
.spec-foot { padding: 12px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Cards and grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 2px; background: var(--sheet); min-width: 0; }
.card .q { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.card .t { font-size: 15px; color: var(--muted); }
.card.why { gap: 8px; }
.card.why .n { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.card.why .help { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.card.why .help b { font-weight: 600; }

/* Timeline */
.timeline { border-left: 1px solid var(--line); margin-left: 5px; display: flex; flex-direction: column; gap: 24px; padding-block: 4px; }
.timeline li { position: relative; padding-left: 24px; display: flex; flex-direction: column; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--faint); }
.timeline li.now::before { background: var(--green); border-color: var(--green); }
.timeline li.soon::before { border: 3px solid var(--green); }
.timeline .serif { font-size: 22px; line-height: 1.2; }

/* Places */
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; }
.places > div { padding: 18px 20px; background: var(--sheet); display: flex; flex-direction: column; gap: 4px; }
.places .serif { font-size: 21px; }
.places .t { font-size: 15px; color: var(--muted); }

/* Ruled rows (limits, questions) */
.rows > div { padding-block: 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.rows > div:first-child { padding-top: 0; }
.rows dt, .rows .serif { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.rows dd, .rows .t { color: var(--muted); max-width: 42rem; }

/* Close and footer */
.close { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; padding-block: 48px 64px; }
.close .head { flex: 1 1 480px; }
.site-footer { background: var(--green); color: var(--band-muted); }
.site-footer :focus-visible { outline-color: var(--chalk); }
.site-footer .wrap { padding-block: 32px 48px; display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; font-size: 14px; }
.site-footer .wordmark { min-height: 0; gap: 10px; }
.site-footer .wordmark b { font-size: 18px; }
.site-footer .bars i { height: 18px; }
.site-footer .say { flex: 1 1 360px; max-width: 42rem; }
.site-footer nav { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { color: var(--band-soft); }
.site-footer nav a:hover { color: var(--chalk); }

/* Plain pages (privacy, not found) */
.plain { padding-block: 48px 64px; display: flex; flex-direction: column; gap: 16px; }
.plain h1 { font-weight: 600; font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.plain .rows { margin-top: 16px; max-width: 46rem; }
.plain .rows > div:first-child { padding-top: 16px; border-top: 1px solid var(--line); }

@media (min-width: 640px) {
  .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
}
@media (min-width: 900px) {
  .hero { padding-block: 64px 64px; }
  .hero-top { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); }
  .hero h1 { font-size: 60px; }
  .head h2, .sec-ttl, .plain h1 { font-size: 44px; }
}
@media (min-width: 1200px) {
  .hero h1 { font-size: 66px; }
}
@media (max-width: 720px) {
  .site-header { position: static; }
  .js .menu-btn { display: inline-flex; align-items: center; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; flex-direction: column; align-items: stretch; flex-basis: 100%; }
  .nav .end { margin-left: 0; }
  .list { padding: 20px 16px; }
  .spec-head, .spec-foot { padding-left: 16px; padding-right: 16px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr) 14px 9.75rem; }
  .ledger-cell { grid-template-columns: minmax(0, 1fr); padding: 12px 16px; }
  .fig { padding: 10px 16px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
