/* Permits at Dawn staging. Blueprint paperwork register, Nov 21, 2026.
   Hex values live only in this token block. The grid tile repeats --grid-line
   because a background SVG cannot read custom properties. */

:root {
  --ground: #EDF2F2;
  --grid-line: #B9D2D8;
  --surface: #FFFFFF;
  --tint: #DCE9EC;
  --ink: #0C1F24;
  --muted: #47606A;
  --accent: #0A6C8A;
  --deep: #05313F;
  --deep-text: #C7DEE6;
  --stamp: #B3372B;
  --line: #C3D3D6;
  --caption: 12px;
  --data: 13px;
  --body: 16px;
  --meta: 14px;
  --lead: 20px;
  --h3: 25px;
  --h2: 31px;
  --hero: 49px;
  --score: 24px;
  --radius-input: 3px;
  --radius-button: 4px;
  --radius-panel: 6px;
  --header-offset: 64px;
  --grid-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0V28' fill='none' stroke='%23B9D2D8' stroke-width='1'/%3E%3C/svg%3E");
  --shadow-sheet: 10px 10px 0 0 var(--deep);
  --shadow-float: 6px 6px 0 0 var(--deep);
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/barlow-400.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-500.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-600.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-500.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/jetbrains-mono-700.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

button {
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
.display {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: var(--hero);
  line-height: 1.02;
}

h1.digest-title {
  font-size: var(--h2);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
  line-height: 1.08;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

[hidden] {
  display: none !important;
}

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

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px;
  z-index: 80;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, calc(100% - 24px));
  margin-inline: auto;
}

.measure {
  max-width: 68ch;
}

.mono,
.mono-label,
.basis-copy,
.caption,
figcaption,
.base-line,
.digest-date,
.value-figure,
.value-basis,
.value-missing,
.stat-figure,
.rank,
.score-chip,
.score-figure {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.mono-label {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}

.caption,
figcaption {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--caption);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.4;
}

.muted {
  color: var(--muted);
}

.lead-copy,
.subhead,
.intro,
.subline {
  font-size: var(--lead);
  line-height: 1.45;
}

.meta-line {
  font-size: var(--meta);
  line-height: 1.35;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-button);
  border: 2px solid transparent;
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--body);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}

.btn-primary:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--surface);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--surface);
}

.btn:disabled,
.btn[disabled] {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
}

.label-short {
  display: none;
}

.header-sample-phone {
  display: none;
}

.text-link {
  font-weight: 600;
}

.site-header,
.demo-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ground);
  border-bottom: 1px solid var(--ink);
}

.header-inner,
.demo-top {
  min-height: var(--header-offset);
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-top {
  width: min(1280px, calc(100% - 24px));
  margin-inline: auto;
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.wordmark-text {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--ink);
  color: var(--surface);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1;
  border-radius: 0;
  flex: none;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-right: auto;
}

.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.primary-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-details {
  display: none;
  position: relative;
}

.nav-details summary {
  width: 44px;
  height: 44px;
  list-style: none;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  background: var(--ground);
}

.nav-details summary::-webkit-details-marker {
  display: none;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 0;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -5px;
}

.burger::after {
  top: 5px;
}

.nav-details nav {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 50;
  display: grid;
  min-width: 220px;
  padding: 8px;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-float);
}

.nav-details nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 8px;
}

.demo-chip {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 4px 6px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--caption);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--surface);
}

.band-grid {
  background-color: var(--ground);
  background-image: var(--grid-image);
  background-size: 28px 28px;
}

.band-plain {
  background: var(--ground);
}

.band-deep {
  background: var(--deep);
  color: var(--surface);
}

.band-deep h2,
.band-deep h3,
.band-deep .steps .num {
  color: var(--surface);
}

.band-deep .intro,
.band-deep .steps p,
.band-deep .honesty-block p {
  color: var(--deep-text);
}

.band-deep a.text-link {
  color: var(--surface);
}

.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  gap: 16px;
}

.hero-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.form-line {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--data);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pain {
  font-weight: 600;
}

.sheet {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-panel);
}

.sheet-shadow {
  box-shadow: var(--shadow-sheet);
  overflow: hidden;
}

.register {
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.digest-band,
.form-band {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 10px;
  background: var(--deep);
  color: var(--surface);
}

.digest-id,
.digest-pull,
.form-band {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.digest-pull {
  justify-content: flex-end;
  text-align: right;
}

.digest-date {
  font-size: var(--caption);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--surface);
}

.legacy-title {
  margin: 0;
  padding: 8px 10px 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--body);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}

.digest-cols {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.5fr) auto minmax(92px, auto);
  gap: 8px;
  align-items: end;
  padding: 6px 8px;
  background: var(--tint);
  color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.digest-cols span:last-child,
.value-cell {
  text-align: right;
}

.digest-list {
  display: grid;
}

ol.digest-list {
  list-style: none;
}

.feed-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.5fr) auto minmax(92px, auto);
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.lead.feed-row {
  position: relative;
  grid-template-columns: auto 64px minmax(0, 1.5fr) auto minmax(92px, auto);
}

.lead.feed-row .lead-detail {
  grid-column: 1 / -1;
}

.digest-cols-lead {
  grid-template-columns: auto 64px minmax(0, 1.5fr) auto minmax(92px, auto);
}

.score-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 2px 4px;
  background: transparent;
}

.rank {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.score-chip,
.score-figure {
  font-weight: 700;
  font-size: var(--score);
  line-height: 1;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
}

.score-block.is-hot {
  background: var(--ink);
}

.score-block.is-hot .score-chip,
.score-block.is-hot .rank {
  color: var(--surface);
}

.addr-work {
  min-width: 0;
}

.addr-work strong {
  display: block;
  font-weight: 600;
  font-size: var(--body);
  line-height: 1.2;
}

.addr-work .meta-line {
  display: block;
}

.trade-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 6px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--surface);
  color: var(--accent);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--data);
  line-height: 1.2;
  white-space: nowrap;
}

.value-cell {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.value-figure {
  font-weight: 500;
  font-size: var(--data);
  letter-spacing: 0;
}

.value-basis,
.value-missing {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.mark-stamp {
  font-size: 0;
  line-height: 0;
  color: transparent;
  width: 0;
  overflow: hidden;
}

.lead.is-won .mark-stamp,
.lead.is-lost .mark-stamp {
  width: auto;
  overflow: visible;
}

.lead.is-won .mark-stamp::after,
.lead.is-lost .mark-stamp::after {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  border: 1px solid;
  border-radius: 0;
  padding: 2px 4px;
  background: var(--surface);
}

.lead.is-won .mark-stamp::after {
  content: "WON";
  color: var(--accent);
  border-color: var(--accent);
}

.lead.is-lost .mark-stamp::after {
  content: "LOST";
  color: var(--muted);
  border-color: var(--muted);
}

.digest-close {
  display: flex;
  justify-content: flex-end;
  border-top: 1px dashed var(--ink);
  padding: 8px 10px;
  background: var(--surface);
}

.stamp {
  display: inline-block;
  max-width: 100%;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  background: var(--surface);
  border-radius: 0;
  padding: 4px 6px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

.digest-deeper {
  padding: 8px 10px 4px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.digest-deeper h3 {
  font-size: var(--lead);
  margin-bottom: 4px;
}

.digest-range {
  padding: 8px 10px;
  background: var(--surface);
  font-size: var(--meta);
  color: var(--muted);
}

.digest-footband {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.basis-copy {
  font-size: var(--caption);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  text-align: right;
  display: grid;
  gap: 4px;
}

.price-anchor {
  margin-top: 12px;
  font-weight: 600;
}

.digest-more {
  margin-top: 8px;
}

.teaser {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.hero-photo img,
.coverage-photo img,
.guarantee-photo img,
.sample-photo img {
  width: 100%;
  border-radius: 0;
}

.ticker {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ground);
}

.ticker-row,
.proof-row {
  display: grid;
  grid-template-columns: 0.8fr repeat(3, 1fr);
}

.proof-row {
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
}

.ticker-cell,
.proof-row article {
  padding: 12px;
  border-left: 1px solid var(--ink);
  display: grid;
  gap: 4px;
  align-content: start;
}

.ticker-cell:first-child,
.proof-row article:first-child {
  border-left: 0;
}

.ticker-cell {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
}

.ticker-cell strong,
.stat-figure {
  font-weight: 700;
  color: var(--ink);
}

.stat-figure {
  font-size: var(--h2);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

.proof-row .caption {
  text-transform: none;
  letter-spacing: 0;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: var(--caption);
  line-height: 1.4;
}

.band {
  padding: 56px 0;
}

.band-deep {
  padding: 56px 0;
}

.band-deep + .band-deep {
  padding-top: 0;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.steps {
  list-style: none;
  display: grid;
}

.steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--deep-text);
  padding: 12px 0;
}

.steps .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: var(--lead);
  line-height: 1.1;
}

.steps h3 {
  font-size: var(--lead);
  margin-bottom: 4px;
}

.section-foot {
  margin-top: 12px;
}

.lead-layout {
  display: grid;
  gap: 16px;
}

.anatomy {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.anatomy .meta-line,
.anatomy .field-label {
  color: var(--muted);
}

.anatomy-score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.field-row {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}

.field-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.annotations {
  display: grid;
}

.annotation {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--deep-text);
  padding: 10px 0;
}

.annotation .num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  color: var(--surface);
}

.honesty-block {
  border-left: 3px solid var(--stamp);
  padding-left: 12px;
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.signal-list {
  display: grid;
}

.signal-row {
  display: grid;
  grid-template-columns: minmax(140px, 240px) auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding: 10px 0;
}

.signal-type {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  font-size: var(--lead);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}

.permit-filed {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.film {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ground);
}

.film img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 0;
}

.film figcaption,
.hero-photo figcaption,
.guarantee-photo figcaption,
.sample-photo figcaption {
  padding: 6px 8px 10px;
}

.coverage-grid,
.guarantee-grid,
.sample-layout {
  display: grid;
  gap: 20px;
}

.record-panel,
.builder-watch,
.coverage-panel,
.calc,
.inset {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
}

.record-panel .form-band h3,
.builder-watch .form-band h2,
.coverage-panel .form-band h2,
.form-band h2 {
  color: var(--surface);
  font-size: var(--lead);
}

.inset {
  margin: 12px;
  padding: 12px;
  background: var(--tint);
  border: 0;
}

.record-table,
.compare,
.fresh-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.record-table th,
.record-table td,
.compare th,
.compare td,
.fresh-table th,
.fresh-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.record-table thead th,
.compare thead th,
.fresh-table thead th {
  background: var(--deep);
  color: var(--surface);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.record-table td,
.compare td,
.fresh-table td {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--data);
  letter-spacing: 0;
  text-transform: none;
}

.record-table th[scope="row"],
.compare th[scope="row"],
.fresh-table th[scope="row"] {
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--body);
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--surface);
}

.metro-block,
.coverage-band,
.builder-watch,
.coverage-panel {
  display: grid;
  gap: 12px;
}

.metro-copy,
.coverage-band,
.builder-watch .watch-body,
.coverage-panel .panel-body {
  display: grid;
  gap: 10px;
}

.table-scroll {
  overflow-x: auto;
}

.takeoff {
  display: grid;
}

.takeoff-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 16px;
  padding: 16px;
  border-bottom: 1px dashed var(--ink);
}

.takeoff-main {
  display: grid;
  gap: 8px;
  align-content: start;
}

.takeoff-main ul {
  list-style: none;
  display: grid;
  gap: 4px;
}

.takeoff-main li {
  padding-left: 14px;
  position: relative;
}

.takeoff-main li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ink);
  position: absolute;
  left: 0;
  top: 0.55em;
  border-radius: 0;
}

.pop-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.takeoff-price {
  text-align: right;
  display: grid;
  gap: 4px;
  align-content: start;
}

.price-figure {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: var(--lead);
  letter-spacing: 0;
}

.yearly {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--caption);
  color: var(--muted);
}

.takeoff-close {
  border-top: 3px double var(--ink);
  border-bottom: 0;
  padding: 14px 16px;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: var(--lead);
}

.compare-wrap,
.calc-wrap {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.compare-group-title {
  font-size: var(--lead);
  margin-top: 8px;
}

.calc {
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 2px solid var(--ink);
}

.choice-row,
.chips,
.filter-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
  display: inline-flex;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 8px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  font-size: var(--meta);
  line-height: 1.2;
}

.choice input:checked + span {
  background: var(--ink);
  color: var(--surface);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field,
.fieldset {
  display: grid;
  gap: 6px;
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.field label,
.fieldset legend,
.filter-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--caption);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--muted);
  border-radius: var(--radius-input);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 10px;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  appearance: none;
}

.hint {
  color: var(--muted);
  font-size: var(--caption);
}

.error {
  color: var(--ink);
  font-weight: 600;
  font-size: var(--meta);
}

.output-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.output-line strong {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: var(--lead);
}

.guarantee-grid {
  align-items: start;
}

.stamp-block {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 28px 16px 16px;
  display: grid;
  gap: 10px;
}

.stamp-corner {
  position: absolute;
  top: -12px;
  right: 12px;
}

.stamp-block h2,
.stamp-block p {
  color: var(--ink);
}

.faq-list {
  display: grid;
  border-bottom: 1px solid var(--ink);
}

.faq-item {
  border-top: 1px solid var(--ink);
}

.faq-item summary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  background: transparent;
  border-radius: 0;
  flex: none;
  margin-top: 6px;
}

.faq-item[open] summary::before {
  background: var(--ink);
}

.answer {
  padding: 0 0 12px 22px;
}

.closing {
  padding: 56px 0;
}

.closing .container {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.closing .subline {
  color: var(--deep-text);
  max-width: 62ch;
}

.site-footer {
  background: var(--deep);
  color: var(--deep-text);
  padding: 48px 0 28px;
  border-top: 1px solid var(--deep-text);
}

.promise {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  font-size: var(--h3);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--surface);
  max-width: 40ch;
  margin-bottom: 20px;
}

.site-footer .wordmark {
  color: var(--surface);
}

.site-footer .mark {
  background: var(--surface);
  color: var(--deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 16px 20px;
}

.footer-col,
.footer-contact {
  display: grid;
  gap: 6px;
  align-content: start;
}

.footer-col h3,
.footer-contact h3 {
  color: var(--surface);
  font-size: var(--lead);
  margin-bottom: 4px;
}

.footer-col a,
.site-footer .mail-line,
.legal-row a {
  color: var(--deep-text);
  text-decoration: none;
  font-weight: 500;
}

.footer-col a:hover,
.site-footer .mail-line:hover,
.legal-row a:hover {
  color: var(--surface);
}

.data-note {
  margin-top: 20px;
  max-width: 78ch;
}

.legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--deep-text);
}

.base-line {
  margin-top: 12px;
  font-size: var(--caption);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-text);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--caption);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.crumb a {
  color: var(--ink);
  text-decoration: none;
}

.sample-hero {
  padding: 32px 0 48px;
}

.sample-layout {
  align-items: start;
}

.sample-copy,
.sample-form-col,
.form-panel .form-body,
.confirm {
  display: grid;
  gap: 12px;
}

.form-panel .form-body {
  padding: 12px;
}

.arrive-list {
  list-style: none;
  display: grid;
}

.arrive-list li {
  border-top: 1px solid var(--ink);
  padding: 8px 0 8px 16px;
  position: relative;
}

.arrive-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ink);
  position: absolute;
  left: 0;
  top: 0.7em;
  border-radius: 0;
}

.sample-feed {
  margin-top: 24px;
}

.page-narrow {
  padding: 20px 0 48px;
}

.digest-header,
.filter-bar,
.list-block,
.export-foot {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-bar {
  position: sticky;
  top: var(--header-offset);
  z-index: 30;
  background: var(--ground);
  padding-top: 8px;
  border-bottom: 1px solid var(--ink);
}

.filter-top,
.filter-actions,
.export-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filters-toggle {
  display: none;
}

html.js .filters-toggle {
  display: inline-flex;
}

.filter-panel {
  display: grid;
  gap: 12px;
}

html.js .filter-panel {
  display: none;
}

html.js .filter-panel.is-open {
  display: grid;
  margin-top: 8px;
  padding: 12px;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-float);
}

.filter-group {
  display: grid;
  gap: 6px;
}

.saved-views {
  position: relative;
}

.saved-panel {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.saved-views[open] .saved-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 35;
  width: min(300px, 80vw);
  padding: 12px;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-float);
}

.saved-list {
  list-style: none;
  display: grid;
  gap: 4px;
}

.linkish {
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.date-value {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 8px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
}

.lead-detail summary {
  list-style: none;
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 4px;
}

.lead-detail summary::-webkit-details-marker {
  display: none;
}

.lead-detail summary::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  margin-right: 6px;
  border-radius: 0;
  background: transparent;
}

.lead-detail[open] summary::before {
  background: var(--ink);
}

.detail-grid {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 12px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 0;
}

.lead-detail[open] .detail-grid {
  position: absolute;
  z-index: 20;
  right: 0;
  width: min(440px, calc(100vw - 32px));
  box-shadow: var(--shadow-float);
}

.why {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 8px;
}

.why h4 {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  grid-column: 1 / -1;
}

.why-parts {
  display: grid;
  gap: 4px;
  margin: 0;
}

.why-parts div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

.why-parts dt {
  color: var(--muted);
}

.why-parts dd {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
}

.mark-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-state {
  border: 2px solid var(--ink);
  background: var(--surface);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.watch-list {
  list-style: none;
}

.watch-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 8px 12px;
}

.watch-list li span:last-child {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--data);
}

.field-lines {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.sample-bar {
  display: none;
}

#calc-note:empty {
  display: none;
}

@media (max-width: 720px) {
  :root {
    --hero: 36px;
  }

  .container,
  .container-wide,
  .demo-top {
    width: calc(100% - 16px);
  }

  .header-actions .label-long {
    display: inline;
  }

  .header-actions .label-short {
    display: none;
  }

  .header-demo {
    display: none;
  }

  .header-sample-phone {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
  }

  .nav-details {
    display: block;
  }

  .header-actions .btn {
    min-height: 44px;
    padding: 0 8px;
    font-size: var(--meta);
    white-space: nowrap;
  }

  .wordmark-text {
    font-size: 16px;
  }

  .hero {
    padding: 8px 0 28px;
  }

  .hero-grid {
    gap: 10px;
  }

  .hero-copy {
    display: contents;
  }

  .form-line {
    order: 1;
  }

  .hero-grid h1 {
    order: 2;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .subhead-full {
    display: none;
  }

  .subhead-short {
    display: block;
    order: 3;
    font-size: var(--body);
    line-height: 1.4;
  }

  .hero-actions {
    order: 4;
  }

  .digest-wrap {
    order: 5;
  }

  .honesty {
    order: 6;
  }

  .pain {
    order: 7;
  }

  .teaser {
    order: 8;
  }

  .hero-photo {
    order: 9;
  }

  .hero-actions .text-link {
    flex-basis: 100%;
  }

  .ticker-row,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .ticker-cell,
  .proof-row article {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .ticker-cell:first-child,
  .proof-row article:first-child {
    border-top: 0;
  }

  .film {
    grid-template-columns: 1fr 1fr;
  }

  .film img {
    height: 140px;
  }

  .signal-row,
  .takeoff-line,
  .lead-layout,
  .coverage-grid,
  .guarantee-grid,
  .sample-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .digest-cols,
  .feed-row,
  .digest-cols-lead {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .lead.feed-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }

  .digest-cols span:nth-child(n + 3),
  .digest-cols-lead span:nth-child(n + 4) {
    display: none;
  }

  .feed-row .score-block {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .feed-row .addr-work {
    grid-column: 2;
    grid-row: 1;
  }

  .feed-row .next-cell,
  .feed-row .value-cell {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .feed-row .next-cell {
    grid-row: 2;
  }

  .feed-row .value-cell {
    grid-row: 3;
  }

  .lead.feed-row .mark-stamp {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .lead.feed-row .addr-work,
  .lead.feed-row .next-cell,
  .lead.feed-row .value-cell {
    grid-column: 2;
  }

  .lead.feed-row .lead-detail {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .digest-footband,
  .digest-band,
  .form-band {
    flex-direction: column;
  }

  .digest-pull,
  .basis-copy {
    text-align: left;
    justify-content: flex-start;
  }

  .band,
  .band-deep,
  .closing {
    padding: 32px 0;
  }

  .band-deep + .band-deep {
    padding-top: 0;
  }

  .lead-detail[open] .detail-grid {
    position: static;
    width: auto;
    margin-top: 8px;
  }

  .saved-views[open] .saved-panel {
    position: static;
    width: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .demo-brand {
    display: contents;
  }

  .demo-top {
    flex-wrap: wrap;
    row-gap: 8px;
    height: auto;
  }

  .demo-top .wordmark {
    order: 1;
  }

  .demo-top .btn {
    order: 2;
    margin-left: auto;
    min-height: 44px;
    padding: 0 8px;
    font-size: var(--meta);
  }

  .demo-chip {
    order: 3;
    flex: 1 1 100%;
  }

  .sample-layout {
    display: flex;
    flex-direction: column;
  }

  .sample-copy,
  .sample-form-col {
    display: contents;
  }

  .sample-copy h1 {
    order: 1;
  }

  .sample-copy .subhead {
    order: 2;
  }

  .sample-copy .mono {
    order: 3;
  }

  #form-area {
    order: 4;
  }

  .page-narrow {
    padding-top: 8px;
  }

  .digest-weekday,
  .digest-scope,
  .digest-showing,
  .filter-demo-note {
    display: none;
  }

  .digest-header {
    gap: 4px;
    margin-bottom: 8px;
  }

  .filter-bar {
    gap: 4px;
    margin-bottom: 8px;
    padding-top: 4px;
  }

  .filter-top {
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    min-height: 40px;
  }

  .filter-top .btn,
  .filter-top .result-count {
    font-size: 13px;
    white-space: nowrap;
  }

  .filter-top .btn {
    min-height: 40px;
    padding: 0 8px;
  }

  .filter-top .result-count {
    margin: 0;
    line-height: 1.2;
  }

  .list-block {
    gap: 4px;
    margin-bottom: 8px;
  }

  .sample-copy .sample-photo {
    order: 5;
  }

  .sample-copy h2 {
    order: 6;
  }

  .arrive-list {
    order: 7;
  }

  .sample-form-col .sample-photo {
    order: 8;
  }
}

@media (min-width: 721px) {
  .subhead-short {
    display: none;
  }

  .coverage-grid,
  .guarantee-grid,
  .sample-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .lead-layout {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.15fr);
    grid-template-areas:
      "copy feed"
      "teaser feed"
      "photo photo";
    gap: 16px 20px;
    align-items: start;
  }

  .hero-copy {
    grid-area: copy;
    display: grid;
  }

  .digest-wrap {
    grid-area: feed;
  }

  .teaser {
    grid-area: teaser;
  }

  .hero-photo {
    grid-area: photo;
  }

  .form-line,
  .hero-grid h1,
  .subhead-short,
  .hero-actions,
  .honesty,
  .pain,
  .digest-wrap,
  .teaser,
  .hero-photo {
    order: initial;
  }
}

@media (max-width: 900px) {
  .sample-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding: 8px 12px;
    background: var(--surface);
    border-top: 2px solid var(--ink);
  }

  .sample-bar .btn {
    width: 100%;
  }

  body.has-sample-bar {
    padding-bottom: 72px;
  }

  html.js .sample-bar {
    display: none;
  }

  html.js .sample-bar.is-visible {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
