/* Construct Insights marketing site: one stylesheet for index.html and thanks.html. */

:root {
  --navy: #12304D;
  --ink: #1B1E21;
  --concrete: #F3F1EC;
  --paper: #FFFFFF;
  --muted: #50565C;
  --line: #D9D5CC;
  --line-dash: #C9C4B9;
  --accent: #F07C1B;
  --accent-text: #8A3D06;
  --on-navy: #C9D5E0;
  --chip-permit-bg: #FCE3CC;
  --chip-permit-ink: #7A3505;
  --chip-plan-bg: #DCE6F0;
  --chip-plan-ink: #12304D;
  --row-alt: #FAF9F6;
  --chip-gray: #E4E1DA;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--concrete); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .wrap { padding-left: 20px; padding-right: 20px; } }
.section { padding-top: 104px; padding-bottom: 104px; }
@media (max-width: 640px) { .section { padding-top: 72px; padding-bottom: 72px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
h1, h2, h3, .h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.02; letter-spacing: 0.005em; }
h1 { font-size: 72px; }
h2, .h2 { margin: 0; font-size: 48px; }
@media (max-width: 640px) { h1 { font-size: 44px; } h2, .h2 { font-size: 34px; } }
.lede { margin: 20px 0 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.mono { font-family: var(--mono); }

/* Surfaces */
.paper { background: var(--paper); }
.blueprint {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #FFFFFF;
}
.blueprint a:focus-visible { outline-color: #FFFFFF; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 3px; font-family: var(--body); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #D96A0E; color: var(--ink); }
.btn-secondary { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.6); }
.btn-secondary:hover { color: #FFFFFF; border-color: #FFFFFF; background: rgba(255,255,255,0.08); }
.btn-ink { background: var(--ink); color: #FFFFFF; min-height: 52px; }
.btn-ink:hover { background: #000000; color: #FFFFFF; }

/* Chips */
.chip { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 2px; white-space: nowrap; }
.chip-permit { background: var(--chip-permit-bg); color: var(--chip-permit-ink); }
.chip-plan { background: var(--chip-plan-bg); color: var(--chip-plan-ink); }

/* Wordmark */
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.wordmark { font-family: var(--display); font-size: 24px; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.wordmark .w1 { font-weight: 700; color: var(--ink); }
.wordmark .w2 { font-weight: 500; color: var(--muted); }

/* Nav */
.nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--accent-text); }
.nav-links .btn { padding: 0 18px; }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 8px 20px; } }

/* Hero */
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-copy::before { content: ""; display: block; width: 64px; height: 6px; background: var(--accent); margin-bottom: 28px; }
.hero h1 { margin: 0; color: #FFFFFF; max-width: 15ch; }
.hero p { margin: 28px 0 0; font-size: 20px; line-height: 1.55; color: var(--on-navy); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-art { flex: 0 1 440px; width: 100%; max-width: 440px; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 900px) { .hero-inner { flex-direction: column; align-items: flex-start; } .hero-copy, .hero-art { flex: none; } }
@media (max-width: 640px) { .hero-inner { padding-top: 56px; padding-bottom: 64px; } .hero p { font-size: 18px; } }

/* Timeline */
.rail-section > p { margin: 20px 0 48px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 64ch; }
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: stage; }
@media (max-width: 900px) { .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rail { grid-template-columns: 1fr; } }
.rail li { counter-increment: stage; display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--accent); padding: 20px 20px 24px; }
.rail li.permit { border-top-color: var(--ink); }
.rail li::before { content: counter(stage, decimal-leading-zero); font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--accent-text); }
.rail .label { font-family: var(--display); font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.02; }
.rail .note { font-size: 15px; line-height: 1.45; color: var(--muted); }
.rail .bracket { align-self: flex-start; margin-top: 10px; font-family: var(--body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.3; padding: 5px 9px; border-radius: 2px; }
.rail .bracket-us { background: var(--ink); color: #FFFFFF; }
.rail .bracket-them { background: var(--chip-gray); color: var(--ink); }

/* Project card */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.project-copy { flex: 1 1 320px; max-width: 400px; }
.project-copy .lede + .lede { margin-top: 16px; }
.card { flex: 999 1 560px; min-width: 0; background: var(--paper); border: 1.5px solid var(--ink); }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; background: var(--ink); padding: 12px 28px; }
.card-tags .chip-permit-issued { background: var(--accent); color: var(--ink); }
.card-tags .chip-outline { background: transparent; color: #FFFFFF; border: 1px solid #FFFFFF; padding: 3px 8px; }
.card-body { padding: 28px; }
@media (max-width: 640px) { .card-tags { padding: 12px 20px; } .card-body { padding: 20px; } }
.card h3 { margin: 0 0 6px; font-size: 32px; }
.card .place { margin: 0; font-size: 16px; color: var(--muted); }
.facts { margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 16px 20px; }
.facts > div:first-child { padding-left: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt, .parties p.k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0; }
.facts dd { margin: 6px 0 0; font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.facts dd.mono { font-family: var(--mono); font-size: 18px; font-weight: 500; padding-top: 4px; }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 14px 0; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
.parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.parties p.v { margin: 6px 0 0; font-size: 17px; font-weight: 600; }
@media (max-width: 640px) { .parties { grid-template-columns: 1fr; } }
.card h4 { margin: 32px 0 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.records { list-style: none; margin: 0; padding: 0; }
.records li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 14px 0; border-top: 1px dashed var(--line-dash); }
.records .date { font-family: var(--mono); font-size: 13px; color: var(--muted); width: 110px; flex-shrink: 0; }
.records .text { font-size: 16px; flex: 1 1 240px; }
.records .id { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Table */
.table-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.table-head .h2 { max-width: 18ch; }
.table-head p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 44ch; }
.table-box { background: var(--paper); border: 1.5px solid var(--ink); overflow-x: auto; }
table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 16px 20px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
caption::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 10px; vertical-align: 0; }
thead tr { background: var(--ink); }
th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: #FFFFFF; padding: 12px 16px; }
td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--row-alt); }
th:first-child, td:first-child { padding-left: 20px; }
th:last-child, td:last-child { padding-right: 20px; }
.num { text-align: right; }
td.num { font-family: var(--mono); font-size: 14px; }
td.num.value { font-weight: 500; }
td.nof { color: var(--muted); font-weight: 400; }
td .name { display: block; font-weight: 600; }
td .sub { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* Built for */
.aud-head { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.aud-head .h2 { flex: 1 1 320px; max-width: 14ch; }
.plan-panel { flex: 0 1 360px; width: 100%; max-width: 360px; padding: 20px; }
.plan-panel img { width: 100%; height: auto; }
.aud-list { margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .aud-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .aud-list { grid-template-columns: 1fr; } }
.aud-list > div { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--ink); padding: 20px 20px 24px; }
.aud-list dt { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.aud-list dd { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Sources */
.sources .h2 { color: #FFFFFF; max-width: 20ch; }
.sources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-top: 56px; }
.sources-grid > div { border-top: 1px solid rgba(255,255,255,0.3); padding-top: 24px; }
.sources-grid svg { width: 36px; height: 36px; margin-bottom: 16px; }
.sources-grid h3 { margin: 0; font-size: 24px; color: #FFFFFF; }
.sources-grid p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--on-navy); }

/* Pricing */
.pricing { align-items: center; }
.pricing .copy { flex: 1 1 320px; }
.pricing .copy .lede { max-width: 46ch; }
.price-card { flex: 1 1 360px; max-width: 480px; background: var(--paper); border: 1.5px solid var(--ink); padding: 0 0 28px; }
.price-card .what { margin: 0; background: var(--ink); color: #FFFFFF; padding: 14px 28px; font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.price-card .amount { margin: 24px 28px 0; font-family: var(--display); font-size: 72px; font-weight: 700; line-height: 1; }
.price-card .amount span { font-family: var(--mono); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.price-card ul { list-style: none; margin: 24px 28px 0; padding: 0; font-size: 16px; line-height: 1.5; }
.price-card li { position: relative; padding: 6px 0 6px 32px; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5 L8 14.5 L16 5.5' fill='none' stroke='%231B1E21' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat center / 20px 20px; }
.price-card .btn { display: flex; margin: 28px 28px 0; min-height: 52px; }
@media (max-width: 640px) {
  .price-card .what { padding: 14px 20px; }
  .price-card .amount, .price-card ul, .price-card .btn { margin-left: 20px; margin-right: 20px; }
}

/* Closing call to action */
.cta { position: relative; background: var(--accent); color: var(--ink); }
.cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, transparent 14px 28px); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; padding-top: 104px; padding-bottom: 96px; }
.cta h2 { color: var(--ink); max-width: 17ch; }
.cta a:focus-visible { outline-color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: #C9C4B9; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 40px; padding-bottom: 56px; font-size: 15px; }
.footer .wordmark-row { display: inline-flex; align-items: center; gap: 10px; }
.footer svg { width: 34px; height: 34px; flex-shrink: 0; }
.footer .wordmark .w1 { color: #FFFFFF; }
.footer .wordmark .w2 { color: #C9C4B9; }

/* Thanks page */
.thanks { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 60vh; padding: 120px 24px; }
.thanks .inner { max-width: 640px; }
.thanks h1 { margin: 0; font-size: 56px; }
@media (max-width: 640px) { .thanks h1 { font-size: 40px; } .thanks { padding: 72px 20px; } }
.thanks p { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.thanks a.back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 28px; font-weight: 600; }
