/* ==========================================================================
   SBA  design tokens (modern SaaS / fintech direction)
   Concept: funding as product clean data surfaces, a confident indigo
   brand color, tabular numerics, flat bordered cards instead of shadow
   soup, one gradient panel reserved for the hero only.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-tint: #f1f3fd;
  --surface: #f8f9fc;
  --ink: #12172b;
  --ink-soft: #5b6178;
  --line: #e3e6f0;

  --primary: #3452ff;
  --primary-deep: #2036c7;
  --primary-tint: #ebefff;

  --accent: #f2ac1f;
  --accent-deep: #c98a0f;

  --slate: #8890a6;
  --mint: #12946b;
  --mint-tint: #e6f6ef;
  --rose: #d1435b;
  --rose-tint: #fbe9ec;

  --display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 100%;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); }

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

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

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Layout shell ---------- */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-wide {
  max-width: 1280px;
}

.measure { max-width: var(--measure); }

section { padding: 76px 0; }
section.tight { padding: 40px 0; }

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.5rem, 4.6vw, 3.8rem); line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.18; }
h3 { font-size: 1.2rem; line-height: 1.3; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: 1.18rem; color: var(--ink); }

.eyebrow-num {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-icon { display: block; border-radius: 8px; }

.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-suffix {
  font-family: var(--body);
  font-size: 0.75rem;
  color: var(--slate);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

nav.primary-nav a:hover,
nav.primary-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-login {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.header-login:hover { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

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

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

.btn-brass {
  background: var(--accent);
  color: #221a03;
  border-color: var(--accent);
}
.btn-brass:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 76px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--slate);
}

/* Dashboard-style hero panel the one bold gradient element on the page */
.ledger-card {
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 30px 30px 24px;
  box-shadow: 0 20px 50px -20px rgba(32, 54, 199, 0.45);
}

.ledger-card .ledger-title {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ledger-card .ledger-title::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6fe3a3;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(111, 227, 163, 0.25);
}

.ledger-row {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-size: 0.94rem;
}

.ledger-row:last-of-type { border-bottom: none; }

.ledger-row > span:first-child {
  display: block;
  margin-bottom: 8px;
}

.ledger-row .amt {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  float: right;
}

.ledger-row::after { content: ""; display: block; clear: both; }

.ledger-row {
  position: relative;
}

.ledger-row .amt::before { content: none; }

/* subtle relative-value bar under each row, varied by position */
.ledger-row { display: block; }
.ledger-row > span:first-child::after {
  content: "";
  display: block;
  margin-top: 10px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255,255,255,0.16);
}
.ledger-row:nth-of-type(1) > span:first-child::after { width: 78%; background: linear-gradient(90deg, #6fe3a3, rgba(255,255,255,0.2)); }
.ledger-row:nth-of-type(2) > span:first-child::after { width: 46%; background: linear-gradient(90deg, #ffd76f, rgba(255,255,255,0.2)); }
.ledger-row:nth-of-type(3) > span:first-child::after { width: 62%; background: linear-gradient(90deg, #a8b8ff, rgba(255,255,255,0.2)); }
.ledger-row:nth-of-type(4) > span:first-child::after { width: 92%; background: linear-gradient(90deg, #ff9fc0, rgba(255,255,255,0.2)); }

.ledger-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ---------- Numbered entries (only for true sequences steps) ---------- */

.entries { list-style: none; margin: 0; padding: 0; }

.entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
}

.entry-num { display: none; }

/* ---------- Category / program cards ---------- */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.program-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
}

.program-card .tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.program-card h3 { margin-bottom: 8px; }

.program-card .range {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.02rem;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- Two column / stat row ---------- */

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.stat-row {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stat {
  flex: 1;
  min-width: 140px;
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }

.stat .num {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 8px;
}

/* ---------- Steps (a real sequence numbering earns its keep) ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  background: var(--primary-tint);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Callout / warning ---------- */

.callout {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 26px;
  border-radius: var(--r-md);
}
.callout::before { content: none; }

.callout.warn { background: var(--rose-tint); border-color: #f0c3cc; }

.callout h4 { margin-bottom: 8px; color: var(--ink); }
.callout.warn h4 { color: var(--rose); }

/* ---------- Table ---------- */

table.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

table.ledger-table th,
table.ledger-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}

table.ledger-table th {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

table.ledger-table tr:hover td { background: var(--surface); }

/* ---------- Forms ---------- */

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--body);
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
}

.field-check { display: flex; align-items: flex-start; gap: 10px; }
.field-check input { margin-top: 4px; }
.field-check label { font-weight: 400; font-size: 0.88rem; }

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  margin: 0 0 20px;
}
fieldset legend { font-weight: 600; font-size: 0.88rem; padding: 0 8px; }

.radio-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.radio-row label { font-weight: 400; }

/* ---------- FAQ accordion ---------- */

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-q .plus {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q .plus { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 0 22px; }

/* ---------- Eligibility quiz ---------- */

.quiz-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  background: var(--surface);
}

.quiz-progress {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

.quiz-options { display: grid; gap: 10px; margin-top: 18px; }

.quiz-option {
  display: block;
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
}
.quiz-option:hover { border-color: var(--primary); }
.quiz-option.selected { border-color: var(--primary); background: var(--primary-tint); }

.quiz-nav { display: flex; justify-content: space-between; margin-top: 26px; }

.quiz-result { display: none; }
.quiz-result.show { display: block; }
.quiz-body.hide { display: none; }

/* ---------- Resource / blog cards ---------- */

.resource-list { display: grid; gap: 14px; }
.resource-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
}
.resource-card .meta { font-size: 0.8rem; font-weight: 600; color: var(--primary); }
.resource-card h3 { margin-bottom: 8px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b7bcd6;
  padding: 56px 0 28px;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 { color: #fff; font-size: 0.85rem; margin-bottom: 14px; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b7bcd6; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }

.footer-brand .brand-mark { color: #fff; }

.footer-disclaimer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
  color: #8890a6;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.78rem;
  color: #6b7290;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page header (sub-pages) ---------- */

    /* Smaller page header */
    .page-header-sm {
        padding: 20px 0 16px;
    }
    .page-header-sm h1 {
        font-size: clamp(1.3rem, 2vw, 1.8rem);
        font-weight: 600;
        margin: 0 0 2px 0;
        color: var(--ink);
    }
    .page-header-sm .lede-sm {
        font-size: 0.92rem;
        color: var(--ink-soft);
        margin: 0;
        line-height: 1.4;
    }

.page-header { padding: 20px 0 16px; border-bottom: 1px solid var(--line); }

/* ---------- Utility ---------- */

.mt-lg { margin-top: 56px; }
.center { text-align: center; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.tag-pill {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Auth / dashboard / admin ---------- */

.auth-shell { max-width: 420px; margin: 0 auto; }

.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 34px;
  background: var(--surface);
}

.auth-switch { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--ink-soft); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px 5px 10px;
  border-radius: var(--r-pill);
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }

.status-submitted { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); }
.status-submitted::before { background: var(--slate); }

.status-review { background: #fdf1dc; color: var(--accent-deep); }
.status-review::before { background: var(--accent); }

.status-docs { background: #f1ecfb; color: #6b3fa0; }
.status-docs::before { background: #8a5cd6; }

.status-approved { background: var(--mint-tint); color: var(--mint); }
.status-approved::before { background: var(--mint); }

.status-referred { background: var(--primary-tint); color: var(--primary-deep); }
.status-referred::before { background: var(--primary); }

.status-closed { background: var(--rose-tint); color: var(--rose); }
.status-closed::before { background: var(--rose); }

/* ---------- Document upload / list ---------- */

.doc-list { list-style: none; margin: 12px 0 0; padding: 0; }
.doc-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.doc-list li .doc-icon { color: var(--primary); font-weight: 600; }

.upload-box {
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  margin-top: 14px;
  background: var(--surface);
}
.upload-box .upload-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  display: block;
}
.upload-box input[type="file"] {
  font-size: 0.85rem;
  font-family: var(--body);
}

.award-box {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--mint-tint);
  color: var(--mint);
  font-family: var(--display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.payment-box {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.dash-shell { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }

.dash-nav ul { list-style: none; margin: 0; padding: 0; }
.dash-nav li { margin-bottom: 4px; }
.dash-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.dash-nav a.active, .dash-nav a:hover { background: var(--primary-tint); color: var(--primary-deep); }

.app-row {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.app-row h4 { margin-bottom: 6px; }
.app-row .meta { font-size: 0.82rem; color: var(--slate); }

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  padding: 40px;
  text-align: center;
  color: var(--slate);
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.admin-table-wrap table.ledger-table { margin: 0; }
.admin-table-wrap table.ledger-table th, .admin-table-wrap table.ledger-table td { padding: 12px 16px; }

.icon-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink);
  margin-right: 6px;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.danger:hover { border-color: var(--rose); color: var(--rose); }

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 23, 43, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 30px;
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
}

.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--slate); line-height: 1; }

.select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.demo-banner {
  background: var(--ink);
  color: #cdd2ea;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 20px;
}

@media (max-width: 780px) {
  .dash-shell { grid-template-columns: 1fr; }
  .select-row { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  nav.primary-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .program-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .resource-card { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* Mobile nav panel */
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 10px 0; }
.mobile-nav a { display: block; padding: 14px 28px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
