:root {
  --bg: #f7faff;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #222222;
  --heading: #222222;
  --muted: #5b6b7c;
  --line: #d9e4f5;
  --brand-blue: #002d74;
  --accent: #80bc00;
  --accent-dark: #5f8d00;
  --accent-soft: #f0f8df;
  --shadow: 0 24px 80px rgba(0, 45, 116, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(238, 244, 255, 0.92) 0, rgba(247, 250, 255, 0) 420px),
    var(--bg);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: var(--scroll-progress, 0%);
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent));
  box-shadow: 0 8px 24px rgba(0, 45, 116, 0.22);
}

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

button,
input {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 233, 237, 0.82);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 54px rgba(13, 27, 42, 0.07);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.trust-row,
.dashboard-top,
.metric > div:first-child,
.report-header,
.final-cta,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), #1c56a8);
  box-shadow: 0 10px 26px rgba(0, 45, 116, 0.26);
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a,
.footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--accent-dark);
}

.nav-cta,
.audit-form button,
.big-cta {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-blue);
  box-shadow: 0 16px 36px rgba(13, 27, 42, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 11px 18px;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-cta:hover,
.audit-form button:hover,
.big-cta:hover {
  transform: translateY(-2px);
  background: #001f52;
  box-shadow: 0 20px 46px rgba(13, 27, 42, 0.2);
}

.hero {
  display: grid;
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 52px;
  padding-top: 82px;
  padding-bottom: 84px;
}

.hero-grid {
  position: absolute;
  inset: 28px -120px auto -120px;
  height: 520px;
  border-radius: 44px;
  background-image:
    linear-gradient(rgba(0, 45, 116, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 45, 116, 0.1) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.small-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(128, 188, 0, 0.16);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero h1,
.section-heading h2,
.final-copy h2 {
  color: var(--heading);
  margin: 18px 0 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.4vw, 5.55rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.audit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 28px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.field-group {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.field-group label {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field-wide {
  grid-column: 1 / -1;
}

.audit-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  color: var(--heading);
  background: transparent;
}

.audit-form button {
  grid-column: 1 / -1;
  padding: 15px 23px;
  font-weight: 800;
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-note.success {
  color: var(--accent-dark);
  font-weight: 700;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 252, 250, 0.96)),
    var(--surface);
  box-shadow: 0 30px 100px rgba(0, 45, 116, 0.13);
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), #a8d742, #d7ef9c);
}

.dashboard-top {
  justify-content: space-between;
  gap: 18px;
}

.dashboard-top h2 {
  color: var(--heading);
  margin: 6px 0 0;
  font-size: 1.2rem;
}

.status-pill {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.score-ring {
  position: relative;
  display: grid;
  width: min(230px, 70vw);
  height: min(230px, 70vw);
  place-items: center;
  margin: 24px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(var(--accent) calc(var(--score) * 1%), #d9ecef 0);
  box-shadow: inset 0 0 0 1px rgba(220, 233, 237, 0.75);
}

.score-ring span {
  line-height: 1;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.score-ring small {
  position: absolute;
  top: calc(50% + 32px);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: var(--muted);
  font-weight: 800;
}

.metric-list {
  display: grid;
  gap: 14px;
}

.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.metric > div:first-child {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.metric strong {
  color: var(--heading);
}

.bar {
  overflow: hidden;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: #e5f0f2;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent));
}

.opportunity-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  color: var(--heading);
  background: var(--accent-soft);
}

.opportunity-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.courtesy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 45, 116, 0.06);
}

.courtesy span {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 800;
}

.courtesy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.signal-marquee {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  margin: 46px 0 8px;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 26s linear infinite;
}

.marquee-track-alt {
  animation-direction: reverse;
  animation-duration: 32s;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #343a40;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(0, 45, 116, 0.06);
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

.marquee-track span:nth-child(3n) {
  color: var(--brand-blue);
  background: #eef4ff;
}

.marquee-track span:nth-child(4n) {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin: 0;
}

.section-heading h2,
.final-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}

.section-heading p,
.final-copy p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(13, 27, 42, 0.045);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(128, 188, 0, 0.45);
  box-shadow: 0 26px 70px rgba(13, 27, 42, 0.09);
}

.feature-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 800;
}

.feature-card h3,
.steps h3,
.report-column h3 {
  margin: 24px 0 10px;
  font-size: 1.18rem;
}

.feature-card p,
.steps p,
.report-column li,
.report-column p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.tab-dashboard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 4%, rgba(128, 188, 0, 0.16), transparent 30%),
    linear-gradient(145deg, #ffffff, #f7faff);
  box-shadow: var(--shadow);
}

.tab-list {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.tab-button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tab-button:hover {
  transform: translateY(-1px);
  color: var(--brand-blue);
}

.tab-button.is-active {
  color: #fff;
  background: var(--brand-blue);
  box-shadow: 0 14px 28px rgba(0, 45, 116, 0.18);
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 32px;
}

.tab-panel.is-changing {
  animation: panelFlash 360ms ease;
}

.tab-panel span {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tab-panel h3 {
  margin: 14px 0 0;
  color: var(--heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.tab-panel p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.tab-score {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 45, 116, 0.08);
}

.tab-score strong {
  display: block;
  color: var(--brand-blue);
  font-size: 4rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.tab-score small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.method-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  padding: 36px;
  border-radius: 30px;
  background: var(--brand-blue);
  color: #fff;
}

.method-panel .section-kicker {
  color: #ffffff;
}

.method-panel .section-heading h2,
.method-panel .steps h3 {
  color: #ffffff;
}

.method-panel p,
.method-panel .steps p {
  color: rgba(255, 255, 255, 0.82);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-blue);
  background: #dff3ae;
  font-weight: 800;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 68px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 45, 116, 0.055);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(128, 188, 0, 0.14);
}

.stat-card strong {
  display: block;
  color: var(--brand-blue);
  font-size: 4rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-card span {
  display: block;
  max-width: 140px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.report-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.report-header {
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #fbfeff;
  font-weight: 700;
}

.report-header strong {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 0.82rem;
  white-space: nowrap;
}

.report-header button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--heading);
  background: #fff;
  cursor: pointer;
}

.report-body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  padding: 24px;
}

.report-column {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.report-column h3 {
  margin-top: 0;
}

.report-column ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.accent-box {
  color: var(--heading);
  background: var(--accent-soft);
}

.accent-box span {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.accent-box strong {
  display: block;
  margin-top: 18px;
  font-size: 4rem;
  letter-spacing: -0.06em;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.faq summary {
  padding: 20px 22px;
  font-weight: 800;
  cursor: pointer;
}

.faq p {
  margin: 0;
  padding: 0 22px 22px;
}

.final-cta {
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(128, 188, 0, 0.15), rgba(255, 255, 255, 0.92)),
    var(--surface);
  border: 1px solid var(--line);
}

.big-cta {
  flex: 0 0 auto;
  padding: 17px 24px;
  font-weight: 800;
}

.footer-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 52px;
  padding: 80px 20px 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(128, 188, 0, 0.18), transparent 28%),
    linear-gradient(180deg, #07101f 0%, #02050a 100%);
}

.footer-panel {
  overflow: hidden;
  width: min(1350px, 100%);
  margin: 0 auto;
  padding: 34px clamp(20px, 6vw, 112px) 0;
  border: 1px solid rgba(217, 228, 245, 0.92);
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  color: #222;
  background: #fff;
  box-shadow: 0 -22px 90px rgba(0, 45, 116, 0.22);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 8vw, 96px);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 22px;
}

.footer-logo {
  width: fit-content;
}

.footer-brand p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #4b5563;
  background: #fff;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 45, 116, 0.22);
  color: var(--brand-blue);
  background: #eef4ff;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 70px);
}

.footer-links h3 {
  margin: 0 0 16px;
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #4b5563;
  font-size: 0.92rem;
  transition: color 180ms ease, padding-left 180ms ease;
}

.footer-links a:hover {
  color: var(--brand-blue);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid #d4d4d4;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-wordmark {
  position: relative;
  margin-top: 22px;
}

.footer-wordmark div {
  position: absolute;
  inset: auto 0 0;
  width: min(760px, 84%);
  height: 120px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(0, 45, 116, 0.08);
  filter: blur(54px);
  pointer-events: none;
}

.footer-wordmark h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px #d4d4d4;
  font-size: clamp(2.8rem, 11vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.78;
  text-align: center;
  text-transform: lowercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(128, 188, 0, 0.14);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(128, 188, 0, 0.05);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes panelFlash {
  0% {
    opacity: 0.62;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 28px, 760px);
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .method-panel,
  .report-body,
  .final-cta,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .feature-grid,
  .steps,
  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .final-cta {
    align-items: flex-start;
  }

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

  .footer-links {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 22px, 520px);
  }

  .section {
    padding: 68px 0;
  }

  .nav {
    top: 8px;
    border-radius: 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 10px 13px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .audit-form {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .field-wide,
  .audit-form button {
    grid-column: auto;
  }

  .audit-form input {
    min-height: 28px;
  }

  .feature-grid,
  .steps,
  .stats-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .method-panel,
  .final-cta,
  .courtesy,
  .report-body,
  .tab-panel {
    padding: 22px;
  }

  .tab-list {
    overflow-x: auto;
  }

  .tab-button {
    flex: 0 0 auto;
  }

  .report-header,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-shell {
    padding: 56px 12px 0;
  }

  .footer-panel {
    border-radius: 24px 24px 0 0;
  }

  .accent-box strong {
    font-size: 3rem;
  }
}
