/* PermitScope v0 design system, shared by every subpage.
   Part 1 (tokens, base, header, footer, buttons) is copied from the approved
   homepage build (design-v0-build/app/globals.css). Part 2 adds page and
   report components in the same values: same borders, radii, shadows,
   type scale, and spacing rhythm. The homepage itself does not load this
   file; it keeps its own compiled _next assets, untouched. */

:root {
  --navy: #08121e;
  --surface: #14283a;
  --teal: #29c9ba;
  --paper: #f4f7f9;
  --ink: #101c27;
  --muted-ink: #71818d;
  --line: #dce4e9;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9fb3c2;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span:first-child {
  color: #169d91;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29c9ba;
  box-shadow: 0 0 0 5px rgba(41, 201, 186, 0.1);
}

/* ---------- Chrome: header (copied from v0 globals) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(181, 207, 219, 0.12);
  background: rgba(9, 20, 32, 0.92);
  color: #eef4f6;
  backdrop-filter: blur(14px);
}

.nav-shell,
.section-shell {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.nav-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  height: 38px;
  width: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #b7c8d0;
  font-size: 12px;
  font-weight: 560;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--teal);
  color: #07271f;
  font-size: 12.5px;
  font-weight: 650;
  padding: 11px 17px;
  box-shadow: 0 10px 25px rgba(41, 201, 186, 0.18);
}

.nav-cta svg {
  width: 15px;
  height: 15px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(181, 207, 219, 0.18);
  border-radius: 8px;
  background: transparent;
  color: #eef4f6;
  cursor: pointer;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-panel {
  display: none;
}

/* ---------- Chrome: footer (copied from v0 globals) ---------- */

.site-footer {
  padding: 42px 0 30px;
  background: #07111a;
  color: #93a9b4;
  border-top: 1px solid rgba(181, 207, 219, 0.09);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.brand-inverse {
  color: #eef4f6;
}

.footer-inner > p {
  max-width: 245px;
  margin: 14px 0 0;
  color: #718794;
  font-size: 10px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 11px 55px;
  font-size: 11px;
}

.footer-links a:hover {
  color: #eef4f6;
}

.copyright {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(181, 207, 219, 0.08);
  font-size: 9px;
  color: #647986;
}

/* Secondary link row inside the subpage footer: carries the report and
   digest links the old subpage footers had, in the footer's own type. */
.footer-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 22px;
  font-size: 11px;
}

.footer-more a:hover {
  color: #eef4f6;
}

/* ---------- Buttons on light surfaces (v0 tier-link / nav-cta values) ---------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--teal);
  color: #07271f;
  font-size: 12.5px;
  font-weight: 650;
  padding: 13px 20px;
  box-shadow: 0 10px 25px rgba(41, 201, 186, 0.18);
}

.btn-primary svg {
  width: 15px;
  height: 15px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 13px;
  border: 1px solid #b9c8ce;
  border-radius: 8px;
  color: #29404f;
  font-size: 11.5px;
  font-weight: 580;
}

.btn-ghost svg {
  width: 14px;
  height: 14px;
}

.btn-ghost:hover {
  border-color: #29404f;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(181, 207, 219, 0.2);
  border-radius: 8px;
  color: #dce8ec;
  font-size: 11.5px;
  font-weight: 580;
  white-space: nowrap;
}

.btn-ghost-dark:hover {
  border-color: rgba(181, 207, 219, 0.45);
  color: #fff;
}

/* ---------- Page structure ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background:
    radial-gradient(circle at 85% 0%, rgba(41, 201, 186, 0.1), transparent 28rem),
    linear-gradient(120deg, #08121e 35%, #102437);
  color: #eef4f6;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(164, 199, 214, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 199, 214, 0.1) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.page-hero .section-shell {
  position: relative;
}

.page-hero h1 {
  max-width: 760px;
  margin: 22px 0 0;
  color: #f4f8f9;
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.page-hero .sub {
  max-width: 700px;
  margin: 22px 0 0;
  color: #93a9b4;
  font-size: 14.5px;
  line-height: 1.75;
}

.page-hero .sub b,
.page-hero .sub strong {
  color: #e8f1f4;
}

.block {
  padding: 84px 0;
}

.block.white {
  background: #fff;
  border-block: 1px solid #e8eef1;
}

.block.tight {
  padding-top: 0;
}

.kicker-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

h2.title {
  max-width: 650px;
  margin: 16px 0 0;
  color: #13232e;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.sub {
  max-width: 660px;
  margin: 18px 0 0;
  color: #687984;
  font-size: 13.5px;
  line-height: 1.8;
}

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

.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 26px;
  border: 1px solid #d9e2e7;
  border-radius: 14px;
  background: #fff;
}

.card h3 {
  margin: 0 0 8px;
  color: #172832;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: #5d6f79;
  font-size: 12.5px;
  line-height: 1.75;
}

.card p + p {
  margin-top: 10px;
}

.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 10px 13px;
  border: 1px solid #b9c8ce;
  border-radius: 8px;
  color: #29404f;
  font-size: 11.5px;
  font-weight: 580;
}

.card a.card-link:hover {
  border-color: #29404f;
}

.card a.card-link svg {
  width: 14px;
  height: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #cfd9de;
  border-radius: 999px;
  background: #f4f7f9;
  color: #43545f;
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.03em;
}

.chip-a {
  border-color: rgba(41, 201, 186, 0.5);
  background: rgba(41, 201, 186, 0.1);
  color: #0e6b62;
}

.chip-c {
  color: #71818d;
  background: transparent;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tchip {
  padding: 8px 13px;
  border: 1px solid #d9e2e7;
  border-radius: 999px;
  background: #fff;
  color: #43545f;
  font-size: 11.5px;
  font-weight: 550;
}

/* Quiet small print: disclosures that used to sit in page footers. */
.disclosure {
  max-width: 780px;
  margin-top: 36px;
  color: #82919a;
  font-size: 11.5px;
  line-height: 1.75;
}

.disclosure a {
  color: #147d74;
  font-weight: 600;
}

/* ---------- Austin market: dark stats board (v0 board language) ---------- */

.board-panel {
  margin-top: 44px;
  padding: 30px;
  border: 1px solid rgba(181, 207, 219, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 45, 66, 0.97), rgba(13, 28, 42, 0.98));
  box-shadow: 0 30px 60px rgba(8, 18, 30, 0.18);
  color: #eef4f6;
}

.board-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.board-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.board-panel-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #8198a5;
  font-size: 11.5px;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}

.bstat {
  padding: 20px 18px 4px 0;
  border-top: 1px solid rgba(181, 207, 219, 0.1);
}

.bstat .n {
  color: #eff6f8;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.bstat .l {
  margin-top: 6px;
  color: #8ba1ad;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.board-panel-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(181, 207, 219, 0.1);
  color: #718794;
  font-size: 10.5px;
  line-height: 1.75;
}

/* ---------- Dark CTA band (v0 final-cta language) ---------- */

.cta-band {
  padding: 88px 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(41, 201, 186, 0.12), transparent 25rem),
    #0b1b29;
  color: #f3f7f9;
}

.cta-band h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.cta-band p {
  max-width: 580px;
  margin: 20px 0 0;
  color: #9cb0bc;
  font-size: 13px;
  line-height: 1.8;
}

.cta-band .btn-primary {
  margin-top: 30px;
}

.cta-band .note-line {
  margin-top: 16px;
  color: #8fa6bb;
  font-size: 11px;
}

/* ---------- Signup ---------- */

.status-note {
  max-width: 700px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(41, 201, 186, 0.32);
  border-radius: 12px;
  background: rgba(20, 40, 58, 0.72);
  color: #b6c5cc;
  font-size: 12.5px;
  line-height: 1.75;
}

.status-note strong {
  color: #eef4f6;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.pref-list {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.pref-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.pref-num {
  padding-top: 3px;
  color: #198e84;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.pref-row h3 {
  margin: 0 0 5px;
  color: #1d2e39;
  font-size: 13.5px;
  font-weight: 580;
}

.pref-row p {
  margin: 0;
  color: #71808a;
  font-size: 12.5px;
  line-height: 1.7;
}

.form-shell {
  padding: 18px;
  border: 1px solid #d9e2e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(15, 54, 59, 0.055);
}

.form-frame {
  display: block;
  width: 100%;
  height: 1160px;
  border: 0;
}

.fineprint {
  margin-top: 16px;
  color: #82919a;
  font-size: 11.5px;
  line-height: 1.75;
}

.fineprint a {
  color: #147d74;
  font-weight: 600;
}

/* ---------- Report documents (sample report, samples, digest) ---------- */

.doc-main {
  padding: 64px 0 96px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  color: #82939d;
  font-size: 11px;
  font-weight: 560;
}

.crumb a {
  color: #43545f;
}

.crumb a:hover {
  color: #147d74;
}

.crumb .crumb-sep {
  color: #c3cfd6;
}

.doc-title {
  max-width: 780px;
  margin: 18px 0 0;
  color: #13232e;
  font-size: clamp(34px, 4.6vw, 50px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.doc-sub {
  max-width: 740px;
  margin: 18px 0 0;
  color: #687984;
  font-size: 13.5px;
  line-height: 1.8;
}

.doc-sub b,
.doc-sub strong {
  color: #2a3b46;
}

.doc-note {
  max-width: 740px;
  margin-top: 20px;
  padding: 15px 17px;
  border: 1px solid #e2eaee;
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  background: #fff;
  color: #5d6f79;
  font-size: 12.5px;
  line-height: 1.75;
}

.project {
  margin-top: 18px;
  padding: 28px 30px;
  border: 1px solid #d9e2e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(15, 54, 59, 0.05);
}

.project:first-of-type {
  margin-top: 30px;
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.project-address {
  margin: 0;
  color: #13232e;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.score-badge {
  flex: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: #d8f5f1;
  color: #147d74;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.project-meta {
  margin-top: 13px;
  color: #71818d;
  font-size: 11.5px;
  line-height: 1.7;
}

.scope-quote {
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid #e2eaee;
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  background: #f4f7f9;
}

.scope-label {
  margin-bottom: 7px;
  color: #82939d;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scope-text {
  color: #2a3b46;
  font-size: 13.5px;
  line-height: 1.7;
}

.fact-panel {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.fact-head {
  color: #147d74;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 30px;
  margin-top: 13px;
}

.fact-grid dt {
  color: #82939d;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fact-grid dd {
  margin: 4px 0 0;
  color: #1c2b35;
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.55;
}

.fact-note {
  display: block;
  margin-top: 3px;
  color: #82919a;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

.inference {
  margin-top: 18px;
  padding: 2px 0 2px 16px;
  border-left: 2px solid #d8e2e8;
  color: #5d6f79;
  font-size: 12.5px;
  line-height: 1.75;
}

.inference b {
  color: #43545f;
}

.project-why {
  margin-top: 16px;
  color: #43545f;
  font-size: 13px;
  line-height: 1.75;
}

.project-why b {
  color: #1c2b35;
}

.project-basis {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #e8eef1;
  color: #82919a;
  font-size: 11px;
  line-height: 1.75;
}

.project-basis b {
  color: #5d6f79;
}

.project-basis a {
  color: #147d74;
  font-weight: 600;
}

.doc-closing {
  max-width: 780px;
  margin-top: 30px;
  color: #687984;
  font-size: 12.5px;
  line-height: 1.8;
}

.doc-closing a {
  color: #147d74;
  font-weight: 600;
}

/* ---------- Weekly digest table ---------- */

.digest-card {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid #d9e2e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(15, 54, 59, 0.05);
}

table.digest {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

table.digest thead th {
  padding: 13px 14px;
  background: var(--surface);
  color: #c6d4da;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

table.digest tbody td {
  padding: 11px 14px;
  border-top: 1px solid #e8eef1;
  color: #43545f;
  line-height: 1.55;
  vertical-align: top;
}

table.digest tbody tr:first-child td {
  border-top: 0;
}

td.d-addr {
  color: #13232e;
  font-weight: 600;
  letter-spacing: -0.01em;
}

td.d-val,
td.d-conf {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

td.d-issued {
  white-space: nowrap;
}

.class-chip {
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid #cfd9de;
  border-radius: 999px;
  background: #f4f7f9;
  color: #43545f;
  font-size: 10px;
  font-weight: 700;
}

.class-chip.a {
  border-color: rgba(41, 201, 186, 0.5);
  background: rgba(41, 201, 186, 0.1);
  color: #0e6b62;
}

.class-chip.c {
  color: #71818d;
  background: transparent;
}

/* ---------- 404 ---------- */

.notfound {
  padding: 110px 0 120px;
  text-align: left;
}

.notfound h1 {
  margin: 20px 0 0;
  color: #13232e;
  font-size: clamp(38px, 5.4vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.notfound p {
  max-width: 520px;
  margin: 20px 0 0;
  color: #687984;
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- Responsive (v0 approach: stack, do not shrink) ---------- */

/* Mobile header: under 820px the desktop nav and CTA give way to a
   menu button and a full-width panel with the same four
   destinations, matching the homepage header. */
@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .brand-logo {
    height: 36px;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 20px 16px;
    background: rgba(9, 20, 32, 0.98);
    border-bottom: 1px solid rgba(181, 207, 219, 0.12);
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel a {
    display: flex;
    align-items: center;
    padding: 14px 4px;
    border-top: 1px solid rgba(181, 207, 219, 0.08);
    color: #d7e3e8;
    font-size: 14px;
    font-weight: 560;
  }

  .mobile-panel a:first-child {
    border-top: 0;
  }

  .mobile-panel .mobile-panel-cta {
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 13px 16px;
    border-top: 0;
    border-radius: 8px;
    background: var(--teal);
    color: #07271f;
    font-weight: 650;
  }

  .mobile-panel .mobile-panel-cta svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 900px) {

  .cols,
  .cols-2,
  .cols-4 {
    grid-template-columns: 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  /* Digest rows stack into cards; labels come from the column headers. */
  .digest-card {
    overflow: visible;
  }

  table.digest thead {
    display: none;
  }

  table.digest,
  table.digest tbody,
  table.digest tr,
  table.digest td {
    display: block;
    width: 100%;
  }

  table.digest tbody tr {
    padding: 16px 18px;
    border-top: 1px solid #e8eef1;
  }

  table.digest tbody tr:first-child {
    border-top: 0;
  }

  table.digest tbody td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 3px 0;
    border-top: 0;
    font-size: 13px;
    text-align: right;
  }

  table.digest tbody td::before {
    content: attr(data-label);
    flex: none;
    padding-top: 2px;
    color: #82939d;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
  }

  td.d-addr {
    order: -1;
    margin-bottom: 6px;
    font-size: 15px;
    text-align: left;
  }

  td.d-addr::before {
    display: none;
  }

  td.d-val,
  td.d-conf,
  td.d-issued {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .nav-shell,
  .section-shell {
    width: min(100% - 36px, 1160px);
  }

  .page-hero {
    padding: 62px 0 58px;
  }

  .block {
    padding: 62px 0;
  }

  .board-panel {
    padding: 22px;
  }

  .board-panel-head {
    flex-direction: column;
    gap: 16px;
  }

  .project {
    padding: 22px;
  }

  .project-top {
    flex-direction: column;
    gap: 10px;
  }

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

  .form-frame {
    height: 1280px;
  }

  .doc-main {
    padding: 48px 0 72px;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    height: 34px;
  }

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

.cta-band .btn-primary{min-height:48px;display:inline-flex;align-items:center}
