
:root {
  --accent:      #1d6b3e;
  --accent-dark: #14522f;
  --accent-bg:   #eef6f1;
  --ink:         #111111;
  --body:        #3a3a3a;
  --muted:       #737373;
  --rule:        #e5e5e5;
  --surface:     #ffffff;
  --surface-alt: #f7f7f7;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --max: 1080px;
  --nav-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--surface); color: var(--body); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
}
.nav-logo { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav-logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { display: block; padding: 6px 11px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.15s, background 0.15s; cursor: pointer; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--surface-alt); }
.nav-links a.active { color: var(--ink); }
.nav-pill { background: var(--accent) !important; color: #fff !important; font-weight: 600 !important; padding: 7px 15px !important; }
.nav-pill:hover { background: var(--accent-dark) !important; }

/* ─── PAGES ─── */
.page { display: none; padding-top: var(--nav-h); }
.page.active { display: block; }

/* ─── LAYOUT ─── */
.section { padding: 80px 28px; max-width: var(--max); margin: 0 auto; }
.label { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1.display { font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); margin-bottom: 20px; }
h2.display { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); margin-bottom: 16px; }
h3.display { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 560px; margin-bottom: 32px; font-weight: 400; }
hr { border: none; border-top: 1px solid var(--rule); }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all 0.15s; font-family: var(--font); white-space: nowrap; }
.btn-green { background: var(--accent); color: #fff; }
.btn-green:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--rule); }
.btn-outline:hover { border-color: #aaa; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── HERO ─── */
.hero { min-height: calc(92vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; padding: 80px 28px 60px; max-width: var(--max); margin: 0 auto; animation: fadeUp 0.5s ease both; }
.hero h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.0; color: var(--ink); margin-bottom: 22px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 520px; line-height: 1.6; margin-bottom: 36px; font-weight: 400; }

/* ─── STATE STRIP ─── */
.state-strip { border-top: 1px solid var(--rule); padding: 16px 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; }
.state-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.state-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.state-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); padding: 3px 9px; border: 1px solid var(--rule); border-radius: 4px; }
.state-tag.active { color: var(--accent); border-color: #b2d8c2; background: var(--accent-bg); }

/* ─── STAT ROW ─── */
.stat-row { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat-cell { flex: 1; min-width: 140px; padding: 28px 24px; border-right: 1px solid var(--rule); text-align: left; }
.stat-cell:last-child { border-right: none; }
.stat-val { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ─── CARD GRID ─── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.card { background: var(--surface); padding: 28px; transition: background 0.15s; }
.card:hover { background: var(--surface-alt); }
.card-marker { width: 28px; height: 3px; border-radius: 2px; margin-bottom: 18px; }
.m-green { background: var(--accent); }
.m-silver { background: #9ca3af; }
.m-gold { background: #c9911a; }
.m-wind { background: #2563eb; }
.m-la { background: #e8a020; }
.m-ms { background: #1a6b9e; }
.m-ok { background: #8b1a2e; }
.m-al { background: #1d5c3f; }
.m-fhlb { background: #4b3d8f; }
.card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.card ul li { font-size: 13px; color: var(--body); padding-left: 14px; position: relative; }
.card ul li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-size: 16px; line-height: 1.2; }

/* ─── TWO COL ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ─── PROCESS LIST ─── */
.process-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.process-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.process-item:last-child { border-bottom: none; }
.process-num { font-size: 13px; font-weight: 700; color: var(--accent); min-width: 28px; margin-top: 1px; letter-spacing: 0.02em; }
.process-body h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.process-body p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── TIMELINE ─── */
.timeline-list { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.tl-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.tl-item:last-child { border-bottom: none; }
.tl-step { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); min-width: 70px; padding-top: 2px; }
.tl-body h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 5px; letter-spacing: -0.01em; }
.tl-body p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── GANTT ─── */
.gantt-wrap { overflow-x: auto; margin-top: 32px; }
.gantt { min-width: 600px; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.gantt-head { display: grid; grid-template-columns: 200px repeat(8,1fr); background: var(--surface-alt); border-bottom: 1px solid var(--rule); }
.gantt-head div { padding: 10px 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); text-align: center; border-right: 1px solid var(--rule); }
.gantt-head div:first-child { text-align: left; padding-left: 16px; }
.gantt-row { display: grid; grid-template-columns: 200px repeat(8,1fr); border-bottom: 1px solid var(--rule); }
.gantt-row:last-child { border-bottom: none; }
.gantt-row:hover { background: #fafafa; }
.gantt-lbl { padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--ink); border-right: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: center; }
.gantt-lbl span { font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.gantt-cell { border-right: 1px solid var(--rule); padding: 8px 4px; display: flex; align-items: center; }
.gantt-cell:last-child { border-right: none; }
.g-bar { height: 14px; border-radius: 3px; width: 100%; }
.g-green { background: var(--accent); opacity: 0.75; }
.g-gold { background: #c9911a; opacity: 0.7; }
.g-gray { background: #9ca3af; opacity: 0.55; }
.g-light { background: var(--accent); opacity: 0.28; }
.gantt-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.gantt-legend span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.gantt-legend span b { display: inline-block; width: 12px; height: 8px; border-radius: 2px; }

/* ─── TABLE ─── */
.table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--rule); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { background: var(--surface-alt); padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
tbody tr { border-bottom: 1px solid var(--rule); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #fafafa; }
tbody td { padding: 12px 16px; color: var(--body); }
.check { color: var(--accent); font-weight: 700; }
.dash { color: #d1d5db; }

/* ─── NOTICE ─── */
.notice { background: var(--accent-bg); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 20px; }
.notice p { font-size: 14px; color: var(--body); line-height: 1.6; }
.notice strong { color: var(--ink); }

/* ─── SF FORM ─── */
.sf-wrap { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.sf-head { padding: 18px 24px; background: var(--surface-alt); border-bottom: 1px solid var(--rule); }
.sf-head h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 2px; letter-spacing: -0.01em; }
.sf-head p { font-size: 13px; color: var(--muted); }
.sf-body { padding: 24px; }
.sf-placeholder { padding: 40px 24px; text-align: center; border: 1px dashed var(--rule); border-radius: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.sf-placeholder strong { display: block; font-size: 14px; color: var(--body); margin-bottom: 6px; }

/* ─── RESOURCE CARDS ─── */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.rc { background: var(--surface); padding: 24px; transition: background 0.15s; }
.rc:hover { background: var(--surface-alt); }
.rc-icon { font-size: 22px; margin-bottom: 12px; display: block; }
.rc h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.rc p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.rc a { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: 10px; display: inline-block; }
.rc a:hover { text-decoration: underline; }

/* ─── PHOTO CHECKLIST ─── */
.photo-checklist { display: flex; flex-direction: column; gap: 0; margin-top: 28px; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.photo-item { display: flex; align-items: flex-start; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--rule); transition: background 0.12s; }
.photo-item:last-child { border-bottom: none; }
.photo-item:hover { background: var(--surface-alt); }
.photo-n { font-size: 20px; font-weight: 800; color: var(--accent); min-width: 36px; line-height: 1.2; letter-spacing: -0.02em; }
.photo-txt { font-size: 14px; color: var(--body); line-height: 1.55; padding-top: 1px; }

/* ─── CTA BLOCK ─── */
.cta-block { background: var(--ink); padding: 72px 28px; text-align: center; }
.cta-block h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: #fff; letter-spacing: -0.025em; margin-bottom: 12px; }
.cta-block p { font-size: 17px; color: rgba(255,255,255,0.55); margin-bottom: 28px; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ─── LDI PHASES ─── */
.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.phase-cell { background: var(--surface); padding: 24px; }
.phase-cell:hover { background: var(--surface-alt); }
.phase-num { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.phase-cell h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.01em; }
.phase-cell p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── ACCOLADES ─── */
.accolade-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; margin-top: 32px; }
.accolade { padding: 20px 24px; border-bottom: 1px solid var(--rule); display: flex; gap: 14px; align-items: flex-start; transition: background 0.12s; }
.accolade:last-child { border-bottom: none; }
.accolade:hover { background: var(--surface-alt); }
.accolade-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 5px; }
.accolade-text strong { font-size: 14px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 2px; }
.accolade-text span { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── CALC ─── */
.calc-card { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; max-width: 680px; margin: 32px auto 0; }
.calc-head { background: var(--surface-alt); padding: 18px 24px; border-bottom: 1px solid var(--rule); }
.calc-head h3 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.calc-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.calc-body { padding: 24px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 500px) { .calc-row { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form-field input, .form-field select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: 8px; font-size: 14px; font-family: var(--font); color: var(--ink); background: var(--surface); outline: none; transition: border-color 0.15s; -webkit-appearance: none; }
.form-field input:focus, .form-field select:focus { border-color: var(--accent); }
.calc-result { display: none; margin-top: 20px; }
.calc-result.show { display: block; }
.zone-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.zone-cell { background: var(--surface); padding: 16px; text-align: center; }
.zone-cell:last-child { background: #fff8f6; }
.zone-lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.zone-val { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.zone-val.warn { color: #c0392b; }
.calc-note { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ─── GRANT PROGRAM TABS ─── */
.grant-tabs { display: flex; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; margin-top: 40px; flex-wrap: wrap; }
.grant-tab { flex: 1; min-width: 120px; padding: 14px 16px; background: var(--surface-alt); font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; border-right: 1px solid var(--rule); text-align: center; transition: background 0.15s, color 0.15s; user-select: none; }
.grant-tab:last-child { border-right: none; }
.grant-tab:hover { background: #efefef; color: var(--ink); }
.grant-tab.active { background: var(--surface); color: var(--ink); border-bottom: 2px solid var(--accent); }
.grant-panel { display: none; margin-top: 32px; }
.grant-panel.active { display: block; }

/* ─── GRANT DETAIL ─── */
.grant-hero { padding: 32px; background: var(--surface-alt); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 28px; }
.grant-hero-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.grant-badge { width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.grant-badge.la { background: #fff3e0; } .grant-badge.ms { background: #e3f2fd; } .grant-badge.ok { background: #fce4ec; } .grant-badge.al { background: #e8f5e9; } .grant-badge.fhlb { background: #ede7f6; }
.grant-hero h3 { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 4px; }
.grant-hero .grant-state { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.grant-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.grant-meta-item { font-size: 13px; color: var(--muted); }
.grant-meta-item strong { color: var(--ink); font-weight: 700; display: block; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 1px; }
.grant-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .grant-body { grid-template-columns: 1fr; } }
.grant-section { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.grant-section-head { padding: 12px 18px; background: var(--surface-alt); border-bottom: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.grant-section-body { padding: 18px; }
.grant-section-body p { font-size: 14px; color: var(--body); line-height: 1.65; margin-bottom: 10px; }
.grant-section-body p:last-child { margin-bottom: 0; }
.grant-ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.grant-ul li { font-size: 14px; color: var(--body); padding-left: 16px; position: relative; line-height: 1.5; }
.grant-ul li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-size: 18px; line-height: 1.1; }
.grant-steps { display: flex; flex-direction: column; gap: 0; }
.grant-step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.grant-step:last-child { border-bottom: none; }
.grant-step-n { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); min-width: 26px; padding-top: 1px; }
.grant-step p { font-size: 14px; color: var(--body); line-height: 1.55; }
.grant-step strong { color: var(--ink); }
.grant-full { grid-column: 1 / -1; }
.grant-notice { background: var(--accent-bg); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-top: 20px; font-size: 13px; color: var(--body); line-height: 1.6; }
.grant-notice strong { color: var(--accent-dark); }

/* ─── CODE OF SERVICE SECTION ─── */
.cos-block {
  background: var(--ink);
  padding: 72px 28px;
}
.cos-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .cos-inner { grid-template-columns: 1fr; gap: 40px; } }
.cos-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.cos-title {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.9); margin-bottom: 8px; line-height: 1.1;
}
.cos-tagline {
  font-size: 13px; color: rgba(255,255,255,0.38);
  line-height: 1.6; margin-top: 16px;
  font-style: italic;
}
.cos-col-head {
  font-size: 17px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cos-item {
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 14px; color: rgba(255,255,255,0.58); line-height: 1.65;
}
.cos-item:last-child { border-bottom: none; }
.cos-item strong { color: rgba(255,255,255,0.88); font-weight: 600; }

/* ─── STEPS OF SERVICE ─── */
.sos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; margin-top: 32px;
}
.sos-cell {
  background: var(--surface); padding: 24px;
  transition: background 0.15s;
}
.sos-cell:hover { background: var(--surface-alt); }
.sos-letter {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.sos-cell h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 5px; letter-spacing: -0.01em; }
.sos-cell p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── FOOTER ─── */
footer { background: var(--surface-alt); border-top: 1px solid var(--rule); padding: 48px 28px 28px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 420px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.65; max-width: 240px; }
.footer-states { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.footer-state { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.footer-state::after { content: ' ·'; color: var(--rule); }
.footer-state:last-child::after { display: none; }
footer h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul a { font-size: 13px; color: var(--muted); text-decoration: none; cursor: pointer; transition: color 0.15s; }
footer ul a:hover { color: var(--ink); }
.footer-bottom { max-width: var(--max); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.footer-bottom span { font-size: 12px; color: var(--muted); }

/* ─── PILL ─── */
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent-bg); color: var(--accent); padding: 3px 10px; border-radius: 100px; margin-bottom: 16px; }

/* ─── MOBILE ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); padding: 12px 16px; gap: 2px; border-bottom: 1px solid var(--rule); z-index: 99; }
  .hero { padding: 48px 20px 40px; }
  .section { padding: 56px 20px; }
  .state-strip { padding: 14px 20px; }
  nav { padding: 0 20px; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ─── SCHEDULER ─── */
.bk-more { border: 1px solid var(--rule); border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }
.bk-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); }
.bk-more summary span { font-weight: 400; color: var(--muted); font-size: 13px; }
.bk-wrap { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.bk-step { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: opacity .2s; }
.bk-locked { opacity: .42; pointer-events: none; }
.bk-head { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; background: var(--surface-alt); border-bottom: 1px solid var(--rule); }
.bk-n { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .04em; padding-top: 3px; min-width: 22px; }
.bk-head h3 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.bk-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.bk-body { padding: 22px; }
.bk-region:empty { display: none; }
.bk-region { margin-top: 16px; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.bk-region.ok { background: var(--accent-bg); border-color: #b2d8c2; }
.bk-region.warn { background: #fff8ec; border-color: #f0d9a8; }
.bk-region.no { background: #fbf3f2; border-color: #efcfcb; }
.bk-region strong { color: var(--ink); font-size: 15px; }
.bk-region .meta { font-size: 13px; color: var(--muted); }
.bk-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; background: var(--surface); border: 1px solid var(--rule); color: var(--body); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.st-Active { background: var(--accent); }
.st-Build-out { background: #c9911a; }
.st-Planned { background: #9ca3af; }
.bk-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.bk-opt { text-align: left; border: 1.5px solid var(--rule); border-radius: 8px; padding: 14px 16px; background: var(--surface); cursor: pointer; font-family: var(--font); transition: border-color .15s, background .15s; }
.bk-opt:hover { border-color: #aaa; }
.bk-opt[aria-checked="true"] { border-color: var(--accent); background: var(--accent-bg); }
.bk-opt b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.bk-opt span { display: block; font-size: 12px; color: var(--muted); }
.bk-opt .vis { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.bk-plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
@media (max-width: 560px) { .bk-plan { grid-template-columns: 1fr; } }
.bk-plan div { background: var(--surface); padding: 14px 16px; }
.bk-plan .k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.bk-plan .v { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.bk-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bk-list li { font-size: 14px; color: var(--body); padding-left: 16px; position: relative; line-height: 1.55; }
.bk-list li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-size: 18px; line-height: 1.1; }
.bk-fine { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.bk-err { font-size: 13px; color: #b42318; margin-top: 10px; }
.form-field input[aria-invalid="true"] { border-color: #d9534f; }
.bk-done { padding: 8px 0; }
.bk-done h4 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.bk-done p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.bk-legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 24px; }
.bk-legend span { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.bk-states { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.bk-state { background: var(--surface); padding: 20px 22px; }
.bk-state h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.bk-state ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.bk-state li { display: flex; gap: 9px; align-items: baseline; font-size: 14px; color: var(--body); line-height: 1.35; }
.bk-state li .dot { position: relative; top: -1px; }
.bk-state li small { display: block; font-size: 12px; color: var(--muted); }

/* ─── MULTI-PAGE ADDITIONS ─── */
a.card-link { display: block; text-decoration: none; color: inherit; }
.legal { max-width: 760px; }
.legal h2 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin: 32px 0 10px; }
.legal p { font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.legal a { color: var(--accent); }
.bk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.bk-check input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--accent); }
.bk-check a { color: var(--accent); }

/* ─── CONTRACTOR REGISTRATION FORM ─── */
.partner-form .pf-h { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin: 28px 0 12px; }
.partner-form .pf-h:first-of-type { margin-top: 0; }
.partner-form .pf-note { font-size: 13px; color: var(--muted); margin: 24px 0 0; }
.partner-form .form-field textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: 8px; font-size: 14px; font-family: var(--font); color: var(--ink); background: var(--surface); outline: none; resize: vertical; }
.partner-form .form-field textarea:focus { border-color: var(--accent); }
.legal a.btn-green, .btn-row a.btn-green { color: #fff; }
.nav-pill-outline { border: 1.5px solid var(--accent) !important; color: var(--accent) !important; font-weight: 600 !important; padding: 6px 14px !important; margin-right: 6px; background: var(--surface) !important; }
.nav-pill-outline:hover { background: var(--accent-bg) !important; }
@media (max-width: 900px) { .nav-pill-outline { margin: 4px 0 0; } }
#partner-form { scroll-margin-top: 70px; }
.nav-logo { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); padding: 12px 16px; gap: 2px; border-bottom: 1px solid var(--rule); z-index: 99; }
  .nav-pill-outline { margin: 4px 0 0; }
}
.nav-pill-outline, .nav-pill { height: 38px; }
