/* Tokens */
:root {
  --bg: #f4f7fb;
  --bg-elevated: #ffffff;
  --bg-soft: #e8eef5;
  --bg-dark: #0d1520;
  --bg-dark-soft: #172334;
  --text: #0f1724;
  --text-muted: #4b596d;
  --text-inverse: #f8fbff;
  --line: #d5dde8;
  --line-strong: #aebdcd;
  --line-dark: #27364a;
  --accent: #b46f3a;
  --accent-dark: #845025;
  --accent-soft: #e9d4c1;
  --accent-glow: rgba(180, 111, 58, 0.22);
  --steel: #31516f;
  --green: #4f8f69;
  --success-bg: #edf6ee;
  --success-line: #90b58e;
  --radius: 8px;
  --shadow-sm: 0 12px 28px rgba(13, 21, 32, 0.08);
  --shadow: 0 28px 70px rgba(13, 21, 32, 0.16);
  --max: 1160px;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #6b3f1d;
}

body.menu-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--bg-dark);
  color: var(--text-inverse);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
}

/* Shell */
.top-bar {
  background: var(--bg-dark);
  color: var(--text-inverse);
  font-size: 0.85rem;
}

.top-bar .container {
  min-height: 2.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--text-inverse);
  text-decoration: underline;
  text-decoration-color: rgba(245, 240, 232, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(213, 221, 232, 0.9);
  backdrop-filter: blur(10px);
}

.site-header .container {
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.logo {
  height: 72px;
  width: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a {
  padding: 0.66rem 0.9rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
}

.menu-toggle {
  display: none;
  min-width: 2.8rem;
  min-height: 2.8rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 700;
}

/* Typography */
h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Sora", "Avenir Next", sans-serif;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  font-size: 4.1rem;
}

h2 {
  font-size: 2.65rem;
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.lead {
  max-width: 64ch;
  font-size: 1.08rem;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.44rem 0.85rem;
  border: 1px solid rgba(160, 111, 59, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.82rem 1.22rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8a5d2f, #6b3f1d);
  box-shadow: 0 16px 32px rgba(135, 94, 49, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #764b22, #542f12);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.btn-soft {
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(160, 111, 59, 0.18);
}

.btn-soft:hover {
  background: #e2d1b7;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

/* Page layout */
.section {
  padding: 4.8rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.page-hero {
  padding: 5.8rem 0 4.5rem;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5.4rem;
  background:
    linear-gradient(115deg, rgba(13, 21, 32, 0.96) 0%, rgba(17, 35, 52, 0.94) 52%, rgba(244, 247, 251, 0) 52%),
    linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.home-hero .hero-copy h1,
.home-hero .hero-copy p {
  color: var(--text-inverse);
}

.home-hero .lead {
  max-width: 61ch;
  color: #d9e3ee;
}

.hero-proof-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof-list li {
  position: relative;
  padding-left: 1.45rem;
  color: #eaf1f8;
  font-weight: 800;
}

.hero-proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.conversion-panel {
  padding: 1.2rem;
  border: 1px solid rgba(213, 221, 232, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.panel-header,
.dashboard-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.panel-header span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-header strong {
  color: var(--steel);
  font-size: 0.9rem;
}

.score-ring {
  display: grid;
  place-items: center;
  min-height: 12.5rem;
  margin: 1rem 0;
  border: 1px solid rgba(49, 81, 111, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 30deg, var(--green), var(--accent), var(--steel), var(--green)) border-box;
  text-align: center;
}

.score-ring strong {
  display: block;
  color: var(--text);
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: 5rem;
  line-height: 0.92;
}

.score-ring span {
  display: block;
  max-width: 13rem;
  color: var(--text-muted);
  font-weight: 800;
}

.audit-bars {
  display: grid;
  gap: 0.85rem;
}

.audit-bars div {
  display: grid;
  gap: 0.35rem;
}

.audit-bars span {
  color: #223148;
  font-size: 0.88rem;
  font-weight: 800;
}

.audit-bars b {
  display: block;
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--steel), var(--green));
}

.panel-note {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: #eef4f8;
}

.panel-note span {
  color: var(--text-muted);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2rem;
  align-items: center;
}

.page-title-block,
.hero-copy {
  max-width: 44rem;
}

.hero-rail,
.hero-card {
  border-radius: calc(var(--radius) + 4px);
  padding: 1.7rem;
  background: linear-gradient(160deg, #171d27, #11151c 62%);
  color: var(--text-inverse);
  box-shadow: var(--shadow);
}

.hero-card h3,
.hero-card p,
.hero-card li {
  color: var(--text-inverse);
}

.hero-card ul,
.result-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.hero-card li,
.result-item {
  position: relative;
  padding-left: 1.15rem;
}

.hero-card li::before,
.result-item::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #cfaa73;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.eyebrow-chip {
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(160, 111, 59, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #394456;
  font-size: 0.86rem;
  font-weight: 800;
}

.proof-band {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.proof-grid div {
  display: grid;
  gap: 0.3rem;
  min-height: 7.3rem;
  padding: 1rem;
  background: #fff;
}

.proof-grid strong {
  color: var(--text);
  font-family: "Sora", "Avenir Next", sans-serif;
  line-height: 1.16;
}

.proof-grid span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.section-intro p:not(.kicker) {
  font-size: 1.02rem;
}

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

.offer-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.offer-card span,
.process-list span,
.case-steps span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card ul,
.fit-grid ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1rem;
  color: var(--text-muted);
}

.outcome-section,
.fit-section {
  padding: 5rem 0;
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.outcome-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.outcome-copy h2,
.outcome-copy p,
.fit-grid h2,
.fit-grid p,
.fit-grid li {
  color: var(--text-inverse);
}

.outcome-copy .kicker,
.fit-grid .kicker {
  color: #d8a26f;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.outcome-list div {
  padding: 1.2rem;
  background: var(--bg-dark-soft);
}

.outcome-list strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #fff;
  font-family: "Sora", "Avenir Next", sans-serif;
}

.outcome-list p {
  color: #d8e1ec;
}

.case-study-shell,
.process-layout,
.final-cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.case-study-shell {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.case-copy {
  padding: 1rem;
}

.case-steps,
.process-list {
  display: grid;
  gap: 0.85rem;
}

.case-steps div,
.process-list div,
.faq-grid article,
.testimonial-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.case-steps strong {
  display: block;
  margin-top: 0.25rem;
  font-family: "Sora", "Avenir Next", sans-serif;
  line-height: 1.2;
}

.testimonial-grid,
.faq-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card p {
  color: var(--text);
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: 1.04rem;
  line-height: 1.45;
}

.testimonial-card span {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.process-layout {
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.process-list div {
  display: grid;
  gap: 0.3rem;
}

.process-list h3,
.process-list p {
  margin-bottom: 0;
}

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

.fit-grid > div {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

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

.faq-grid h3 {
  margin-bottom: 0.55rem;
}

.final-cta {
  padding: 4rem 0;
  background: #fff;
}

.final-cta-grid {
  align-items: center;
  padding: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-dark), #1d3146);
  box-shadow: var(--shadow);
}

.final-cta-grid h2,
.final-cta-grid p {
  color: var(--text-inverse);
}

.final-cta-grid .btn-row {
  justify-content: flex-end;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.stack-lg {
  display: grid;
  gap: 1.15rem;
}

/* Cards */
.card,
.number-item,
.contact-option {
  background: var(--bg-elevated);
  border: 1px solid rgba(216, 207, 191, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 1.4rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.number-item:hover,
.contact-option:hover,
.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(160, 111, 59, 0.24);
}

.card ul {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
  color: var(--text-muted);
}

.insight-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.insight-card {
  min-height: 100%;
}

.number-list {
  display: grid;
  gap: 0.95rem;
}

.number-item {
  padding: 1.1rem 1.2rem;
}

.number-item span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.note,
.landscaper-note {
  padding: 1rem 1.05rem;
  border-left: 4px solid var(--accent);
  border-radius: 0.8rem;
  background: var(--bg-soft);
}

.process-panel {
  background:
    linear-gradient(135deg, rgba(17, 21, 28, 0.98), rgba(31, 40, 55, 0.98)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
  border-color: rgba(88, 100, 120, 0.22);
}

.process-panel h2,
.process-panel p,
.process-panel .kicker {
  color: var(--text-inverse);
}

.link-card {
  display: block;
}

.page-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.build-standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Service slabs */
.service-slab {
  display: grid;
  gap: 1.25rem;
}

.service-slab h2 {
  font-size: 2.15rem;
}

.service-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.service-checklist {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.55rem;
}

.service-link-row {
  display: flex;
  justify-content: flex-start;
}

/* Footer / CTA */
.cta-band {
  padding: 3rem 0;
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(145deg, #11151c, #1b2330);
  color: var(--text-inverse);
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel p {
  color: var(--text-inverse);
}

.cta-panel p {
  max-width: 62ch;
}

.cta-panel .btn-secondary {
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  background: #0f141c;
  color: var(--text-inverse);
  padding: 3rem 0 5.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.4rem;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-logo {
  width: 150px;
  filter: brightness(0) invert(1);
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 0.48rem;
  align-content: start;
}

.footer-nav a,
.footer-contact a,
.footer-contact span,
.site-footer p {
  color: #d5dce7;
}

.footer-bottom {
  padding-top: 1.15rem;
  color: #95a0b6;
  font-size: 0.88rem;
}

/* Forms / Audit */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.3rem;
}

.contact-form {
  padding: 1.45rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(216, 207, 191, 0.82);
  border-radius: var(--radius);
}

.lead-note {
  margin-bottom: 1.2rem;
  font-size: 0.96rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  color: #273142;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 0.78rem 0.86rem;
  border-radius: 12px;
  border: 1px solid rgba(160, 111, 59, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

input:focus,
textarea:focus {
  border-color: rgba(160, 111, 59, 0.7);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.turnstile-wrap {
  min-height: 65px;
  margin: 0.2rem 0 1rem;
}

.form-note,
.form-status {
  margin-top: 0.95rem;
}

.form-privacy {
  margin: 0.95rem 0 0;
  font-size: 0.86rem;
}

.form-privacy a,
.legal-copy a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.field-optional {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2:not(:first-child) {
  margin-top: 2rem;
}

.legal-copy ul {
  display: grid;
  gap: 0.45rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.success-panel {
  display: none;
  margin-bottom: 1rem;
  padding: 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--success-line);
  background: var(--success-bg);
}

.success-panel.is-visible {
  display: block;
}

.success-eyebrow {
  margin-bottom: 0.45rem;
  color: #3d6b42;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-options {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.contact-option {
  padding: 1rem;
}

.audit-hero {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, #eef4f8 0%, #f8fbff 55%, var(--bg) 100%);
}

.audit-hero::before,
.audit-stage::before {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.audit-hero::before {
  display: none;
  top: 4rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: transparent;
}

.audit-stage {
  position: relative;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

.audit-stage::before {
  left: 50%;
  top: 0;
  width: min(92vw, 1120px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(42, 61, 88, 0.22), transparent);
}

.audit-teaser-card {
  border: 1px solid rgba(173, 122, 67, 0.16);
  background:
    linear-gradient(145deg, rgba(17, 21, 28, 0.99), rgba(22, 30, 43, 0.98)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent);
}

.audit-form-card,
.audit-side-panel {
  position: relative;
  overflow: hidden;
}

.audit-form-card {
  border: 1px solid rgba(62, 86, 118, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 252, 0.96)),
    linear-gradient(135deg, rgba(52, 93, 133, 0.08), transparent 40%);
  box-shadow: 0 28px 70px rgba(12, 17, 27, 0.12);
}

.audit-side-panel {
  border: 1px solid rgba(62, 86, 118, 0.16);
  background:
    linear-gradient(145deg, rgba(17, 21, 28, 0.99), rgba(25, 33, 48, 0.99)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
  box-shadow: var(--shadow);
}

.audit-side-panel h2,
.audit-side-panel h3,
.audit-side-panel p,
.audit-side-panel a,
.audit-side-panel .kicker {
  color: var(--text-inverse);
}

.audit-side-panel .kicker {
  color: #d4ae7b;
}

.audit-side-panel .contact-option {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(108, 127, 154, 0.2);
}

.audit-side-panel .note {
  background: rgba(234, 220, 198, 0.08);
}

.audit-results-shell {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
}

.audit-results-shell[hidden] {
  display: none;
}

.audit-score-card {
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(93, 118, 151, 0.28);
  background:
    linear-gradient(145deg, rgba(17, 21, 28, 0.99), rgba(27, 38, 58, 0.98)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
  color: #edf3fb;
  box-shadow: var(--shadow);
}

.audit-score-card h3,
.audit-score-card p,
.audit-score-card span,
.audit-score-card .kicker {
  color: inherit;
}

.dashboard-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.audit-priority-chip,
.priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.audit-priority-chip,
.priority-medium {
  background: rgba(219, 184, 114, 0.16);
  color: #f0c97f;
  border: 1px solid rgba(219, 184, 114, 0.28);
}

.priority-high {
  background: rgba(214, 110, 110, 0.16);
  color: #f4abab;
  border: 1px solid rgba(214, 110, 110, 0.28);
}

.priority-low {
  background: rgba(129, 190, 142, 0.16);
  color: #b9e6c0;
  border: 1px solid rgba(129, 190, 142, 0.28);
}

.audit-score-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.3rem 0 0.85rem;
}

.audit-score-row strong {
  font-size: 4.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.audit-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.audit-result-card {
  min-height: 100%;
}

.result-item {
  padding-left: 0;
}

.result-item::before {
  display: none;
}

.result-item strong {
  color: var(--text);
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

/* Motion */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.mobile-cta-bar {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .site-header .container {
    min-height: 5.25rem;
  }

  .main-nav {
    position: fixed;
    top: 5rem;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(253, 252, 249, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta {
    padding: 0.72rem 0.95rem;
    white-space: nowrap;
  }

  .page-hero-grid,
  .home-hero-grid,
  .grid-3,
  .grid-4,
  .split,
  .contact-layout,
  .footer-top,
  .field-grid,
  .page-link-grid,
  .build-standard-grid,
  .insight-strip,
  .proof-grid,
  .offer-grid,
  .outcome-grid,
  .outcome-list,
  .case-study-shell,
  .process-layout,
  .testimonial-grid,
  .fit-grid,
  .faq-grid,
  .final-cta-grid,
  .service-columns,
  .audit-results-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 4.7rem 0 3.6rem;
  }

  .home-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #172334 68%, var(--bg) 68%, var(--bg) 100%);
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .final-cta-grid .btn-row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .top-bar .container {
    min-height: 2.95rem;
    padding: 0.2rem 0;
  }

  .logo {
    height: 52px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-badge {
    max-width: 100%;
    padding: 0.65rem 0.9rem;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .page-hero {
    padding: 3.6rem 0 3.1rem;
  }

  h1,
  .hero-copy h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .lead {
    max-width: 34ch;
    font-size: 1rem;
    line-height: 1.55;
  }

  .menu-toggle {
    min-width: 2.5rem;
    min-height: 2.5rem;
    font-size: 0.92rem;
  }

  .header-cta {
    display: none;
  }

  .btn,
  .success-actions .btn {
    width: 100%;
  }

  .hero-copy .btn-row .btn {
    width: 100%;
    flex: 1 1 0;
  }

  .btn-row,
  .success-actions {
    width: 100%;
  }

  .dashboard-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 140;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0.55rem;
    padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(15, 20, 28, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
  }

  .mobile-cta-bar .btn {
    min-height: 2.95rem;
    padding: 0.74rem 0.6rem;
    font-size: 0.82rem;
  }

  .cta-panel,
  .final-cta-grid,
  .conversion-panel,
  .case-study-shell,
  .offer-card,
  .outcome-list div,
  .fit-grid > div,
  .card,
  .number-item,
  .contact-form,
  .audit-score-card,
  .audit-form-card,
  .audit-side-panel,
  .contact-option {
    padding: 1.2rem;
  }

  .home-hero {
    padding: 4rem 0 3rem;
  }

  .score-ring {
    min-height: 10rem;
  }

  .score-ring strong {
    font-size: 4rem;
  }

  .proof-grid div {
    min-height: auto;
  }

  .site-footer {
    padding-bottom: 6.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .card,
  .number-item,
  .contact-option {
    transition: none;
    transform: none;
  }
}
