/* JustFiled public site. The hero is a sidewalk-shed wall (NYC law paints them hunter green);
   the signup form is the posted notice on it. Hi-vis yellow marks the one thing to act on. */

:root {
  color-scheme: light;
  --shed: #1e3a2b;
  --shed-2: #27493a;
  --shed-ink: #eaf1ec;
  --shed-muted: #b3c7ba;
  --hivis: #f2cf3a;
  --hivis-ink: #1b1a0e;
  --paper: #f3f5f2;
  --surface: #ffffff;
  --ink: #16201a;
  --muted: #56645c;
  --line: #d9dfda;
  --line-strong: #b9c3bc;
  --focus: #1e3a2b;
  --error: #a3261b;
  --font: "Archivo", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --shed: #13261c; --shed-2: #1b3326; --shed-ink: #e3ece6; --shed-muted: #93a99b;
    --paper: #0f1612; --surface: #17211c; --ink: #e6ede8; --muted: #9aa9a0;
    --line: #26332c; --line-strong: #3a4a41; --focus: #f2cf3a; --error: #ff8a7a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --shed: #13261c; --shed-2: #1b3326; --shed-ink: #e3ece6; --shed-muted: #93a99b;
  --paper: #0f1612; --surface: #17211c; --ink: #e6ede8; --muted: #9aa9a0;
  --line: #26332c; --line-strong: #3a4a41; --focus: #f2cf3a; --error: #ff8a7a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-stretch: 85%; line-height: 1.1; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---- top bar ------------------------------------------------------------------------------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: var(--shed);
  color: var(--shed-ink);
}
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 85%; font-size: 22px; text-decoration: none; }
.mark {
  display: inline-block; width: 22px; height: 22px; border-radius: 4px; flex: none;
  background: repeating-linear-gradient(135deg, var(--hivis) 0 5px, var(--shed) 5px 9px);
  box-shadow: inset 0 0 0 1.5px var(--hivis);
}
.topbar-link { color: var(--shed-ink); font-weight: 600; }

/* ---- hero: the shed wall ------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(36px, 6vw, 80px) clamp(16px, 4vw, 48px) clamp(44px, 6vw, 88px);
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, color-mix(in srgb, var(--shed-2) 80%, transparent) 119px 121px),
    var(--shed);
  color: var(--shed-ink);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 800;
  font-stretch: 72%;
  letter-spacing: -0.01em;
  line-height: 0.98;
  max-width: 13ch;
}
.lede { margin: 0 0 14px; font-size: clamp(18px, 1.6vw, 21px); max-width: 44ch; color: var(--shed-ink); }
.lede-small { margin: 0; color: var(--shed-muted); max-width: 48ch; }

/* The posted notice: the form. */
.notice {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--shed) 60%, #000), 0 18px 40px rgba(0, 0, 0, 0.28);
}
.notice-head { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.notice-head .mark { width: 34px; height: 34px; }
.notice-head h2 { margin: 0; font-size: 26px; font-weight: 800; }
.notice-head p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

.field { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.field input, .field select {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 6px;
  padding: 9px 10px; min-height: 44px; width: 100%;
}
fieldset.field { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
fieldset.field legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.hint { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 13px; }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 400; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--shed); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 10px 12px; border-left: 4px solid var(--error); background: color-mix(in srgb, var(--error) 8%, var(--surface)); color: var(--error); font-size: 15px; }
.fine { margin: 0; font-size: 13px; color: var(--muted); }

button, .button {
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px;
  padding: 9px 16px; min-height: 44px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
button:hover, .button:hover { border-color: var(--ink); }
.primary { background: var(--hivis); color: var(--hivis-ink); border-color: var(--hivis); font-weight: 800; font-size: 17px; }
.primary:hover { border-color: var(--hivis-ink); }
.quiet { border-color: transparent; background: none; color: var(--muted); }

/* ---- sections ------------------------------------------------------------------------------ */
.board, .samples, .how, .faq { padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.board h2, .samples h2, .how h2, .faq h2 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; }
.board-sub { margin: 0 0 24px; color: var(--muted); max-width: 64ch; }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.board-list li { padding: 14px 16px 6px 0; display: grid; gap: 2px; border-right: 1px solid var(--line); padding-left: 16px; }
.board-list li:first-child { padding-left: 0; }
.board-list li:last-child { border-right: 0; }
.board-num { font-weight: 800; font-stretch: 62%; font-size: clamp(48px, 6vw, 80px); line-height: 1; }
.board-label { color: var(--muted); font-size: 15px; }

.samples { border-top: 1px solid var(--line); }
.samples-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 20px; }
.sample-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.sample-tabs a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 15px; border: 1px solid transparent; }
.sample-tabs a:hover { color: var(--ink); }
.sample-tabs a[aria-current="true"] { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.samples-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

.lead-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.lead-card header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lead-card h3 { margin: 0; font-size: 20px; font-weight: 700; }
.lead-cost { margin: 0; font-weight: 800; font-stretch: 80%; font-size: 22px; white-space: nowrap; }
.lead-where { margin: 4px 0 0; }
.lead-where.big { font-size: 19px; }
.lead-when { margin: 2px 0 10px; color: var(--muted); font-size: 15px; }
.lead-reasons { margin: 0 0 12px; padding-left: 20px; font-size: 15px; }
.lead-people { display: grid; gap: 6px; margin: 0; font-size: 15px; }
.lead-people dt { color: var(--muted); font-size: 13px; }
.lead-people dd { margin: 0; font-weight: 600; }

.how { border-top: 1px solid var(--line); }
.steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; display: grid; gap: 6px; align-content: start; max-width: 38ch; color: var(--muted); }
.steps li::before {
  content: counter(step);
  font-weight: 800; font-stretch: 62%; font-size: 44px; line-height: 1; color: var(--ink);
  border-bottom: 3px solid var(--hivis); width: fit-content; padding-bottom: 4px; margin-bottom: 6px;
}
.steps strong { color: var(--ink); font-size: 18px; }

.faq { border-top: 1px solid var(--line); }
.faq dl { margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.faq dt { font-weight: 700; margin-bottom: 4px; }
.faq dd { margin: 0; color: var(--muted); max-width: 60ch; }

/* ---- single-column pages ------------------------------------------------------------------- */
.message, .lead-page { max-width: 760px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 32px); }
.message h1, .lead-page h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 52px); font-weight: 800; font-stretch: 75%; }
.message > p { max-width: 60ch; }
.section-title { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
.saved { padding: 10px 12px; border-left: 4px solid var(--hivis); background: var(--surface); }
.prefs { display: grid; gap: 16px; margin-top: 20px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.prefs button { justify-self: start; }
.message form .button { margin-left: 8px; }
.prose p { max-width: 68ch; }

.crumb { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.facts-row { display: flex; flex-wrap: wrap; gap: 18px 36px; margin: 22px 0; padding: 16px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.facts-row > div { display: grid; gap: 2px; }
.fact-num { font-weight: 800; font-stretch: 70%; font-size: 40px; line-height: 1; }
.fact-text { font-weight: 700; font-size: 18px; }
.fact-label { color: var(--muted); font-size: 13px; }
.feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; }
.feedback p { margin: 0 8px 0 0; font-weight: 600; }
.feedback button[aria-pressed="true"] { background: var(--hivis); color: var(--hivis-ink); border-color: var(--hivis); font-weight: 800; }
.desc { max-width: 68ch; }
.permits { width: 100%; border-collapse: collapse; font-size: 15px; }
.permits th { text-align: left; color: var(--muted); font-weight: 600; font-size: 13px; padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line-strong); }
.permits td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--line); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.site-footer { padding: 28px clamp(16px, 4vw, 48px) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0 0 6px; max-width: 80ch; }
.sep::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--line-strong); margin: 0 10px; vertical-align: -1px; }

/* ---- small screens ------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .board-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-list li, .board-list li:first-child { padding: 14px 0 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps, .faq dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
