:root {
  --paper: #f7f5f0;
  --paper-strong: #eeece5;
  --navy: #0a0e17;
  --navy-soft: #121a27;
  --orange: #ff8a2a;
  --orange-dark: #d96b16;
  --ink: #101828;
  --muted: #667085;
  --line: #d8d5ce;
  --line-dark: #303a4a;
  --white: #ffffff;
  --max-width: 1180px;
  --shadow: 0 18px 48px rgba(10, 14, 23, 0.12);
  --font-display: "Archivo", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a:hover {
  color: var(--orange-dark);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  background: var(--orange);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

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

.narrow {
  max-width: 780px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
}

.wordmark-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.wordmark-mark::before,
.wordmark-mark::after {
  content: "";
  position: absolute;
  background: var(--orange);
}

.wordmark-mark::before {
  left: 50%;
  top: 6px;
  width: 1px;
  height: 22px;
  transform: translateX(-50%);
}

.wordmark-mark::after {
  left: 6px;
  top: 50%;
  width: 22px;
  height: 1px;
  transform: translateY(-50%);
}

.wordmark-text {
  display: grid;
  gap: 1px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.wordmark-text small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links a {
  position: relative;
  padding: 28px 0 25px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--orange-dark);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 0 18px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--orange);
  color: var(--navy);
}

.button-primary:hover {
  background: #ff9d52;
  color: var(--navy);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

.button-ghost {
  border-color: currentColor;
  background: transparent;
}

.button-ghost:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--navy);
}

.button-small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 11px;
}

.nav-cta {
  min-height: 40px;
  padding: 0 15px;
  font-size: 11px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-index {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-index::after {
  content: " /";
  color: currentColor;
  opacity: 0.4;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 92px);
}

h2 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.02;
}

h4 {
  font-size: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.microcopy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  font-size: 17px;
  line-height: 0;
}

.paper-grid {
  background-color: var(--paper);
  background-image: linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.dark-field {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
  isolation: isolate;
}

.dark-field::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
}

.dark-field::after {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -38%;
  width: 86%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48% 52% 0 0;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.035), 0 0 0 57px rgba(255, 255, 255, 0.025), 0 0 0 86px rgba(255, 255, 255, 0.018);
  content: "";
  transform: rotate(-8deg);
}

.dark-field h1,
.dark-field h2,
.dark-field h3,
.dark-field h4 {
  color: var(--paper);
}

.dark-field .lead,
.dark-field .microcopy {
  color: #b8c1ce;
}

.dark-field .button-ghost {
  color: var(--paper);
}

.dark-field .text-link {
  color: var(--orange);
}

.section {
  padding: 112px 0;
}

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

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.section-heading .microcopy {
  max-width: 340px;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

.rule-dark {
  background: var(--line-dark);
}

.hero {
  min-height: 700px;
  padding: 86px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  top: -38px;
  left: -25px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--orange);
  border-left: 1px solid var(--orange);
  content: "";
}

.hero-copy h1 {
  margin-bottom: 26px;
}

.hero-copy .lead {
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 430px;
  border-left: 2px solid var(--orange);
  padding-left: 13px;
  color: #b8c1ce;
  font-size: 11px;
  line-height: 1.55;
}

.hero-note strong {
  color: var(--paper);
}

.survey-cross {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0.58;
}

.survey-cross::before,
.survey-cross::after {
  position: absolute;
  background: var(--orange);
  content: "";
}

.survey-cross::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 1px;
}

.survey-cross::after {
  top: 0;
  left: 8px;
  width: 1px;
  height: 18px;
}

.cross-one {
  top: 12%;
  right: 4%;
}

.cross-two {
  right: 47%;
  bottom: 13%;
  transform: scale(0.68);
}

.cross-three {
  top: 16%;
  left: 44%;
  transform: scale(0.72);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

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

.trust-item {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
  padding: 22px 24px 22px 0;
}

.trust-item + .trust-item {
  padding-left: 24px;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-mark {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid var(--orange);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}

.trust-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.map-mockup {
  position: relative;
  margin: 0;
}

.map-board {
  position: relative;
  min-height: 512px;
  border: 1px solid #536173;
  background: #161e2d;
  box-shadow: 14px 14px 0 rgba(255, 138, 42, 0.12);
}

.map-board::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
}

.map-board::after {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 44%;
  height: 36%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 48% 52% 45% 55%;
  box-shadow: 0 0 0 19px rgba(255, 255, 255, 0.045), 0 0 0 38px rgba(255, 255, 255, 0.03), 0 0 0 57px rgba(255, 255, 255, 0.02);
  content: "";
  transform: rotate(17deg);
}

.map-topline {
  position: relative;
  z-index: 2;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3a4658;
  padding: 0 15px;
  color: #9ca7b5;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.map-canvas {
  position: relative;
  min-height: 467px;
  overflow: hidden;
}

.map-lines {
  position: absolute;
  inset: 10px 18px 0;
  opacity: 0.64;
}

.map-lines path {
  fill: none;
  stroke: #49586b;
  stroke-width: 1.2;
}

.map-lines path.major {
  stroke: #738197;
  stroke-width: 2.3;
}

.map-lines path.orange {
  stroke: var(--orange);
  stroke-dasharray: 4 5;
}

.map-pin {
  position: absolute;
  z-index: 3;
  width: 20px;
  height: 20px;
  border: 1px solid var(--paper);
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 138, 42, 0.16);
  transform: rotate(45deg);
}

.map-pin::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  content: "";
  transform: translate(-50%, -50%);
}

.pin-one {
  top: 28%;
  right: 37%;
}

.pin-two {
  top: 49%;
  right: 55%;
  background: #8993a3;
  box-shadow: 0 0 0 5px rgba(137, 147, 163, 0.13);
  transform: rotate(45deg) scale(0.82);
}

.pin-three {
  top: 20%;
  right: 18%;
  background: #8993a3;
  box-shadow: 0 0 0 5px rgba(137, 147, 163, 0.13);
  transform: rotate(45deg) scale(0.82);
}

.listing-panel {
  position: absolute;
  z-index: 4;
  top: 20px;
  left: 20px;
  width: min(58%, 318px);
  border: 1px solid #4b586b;
  background: rgba(10, 14, 23, 0.93);
  box-shadow: 10px 10px 0 rgba(10, 14, 23, 0.18);
}

.listing-heading {
  border-bottom: 1px solid #3a4658;
  padding: 12px 13px;
  color: #c5ccd6;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.listing-card {
  position: relative;
  border-bottom: 1px solid #313b4c;
  padding: 14px 13px 13px 17px;
}

.listing-card:last-child {
  border-bottom: 0;
}

.listing-card.featured {
  background: rgba(255, 138, 42, 0.09);
}

.listing-card.featured::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--orange);
  content: "";
}

.listing-rank {
  position: absolute;
  top: 13px;
  right: 12px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
}

.listing-card h3 {
  max-width: 210px;
  margin-bottom: 5px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: none;
}

.listing-card p {
  margin-bottom: 8px;
  color: #a8b2c0;
  font-size: 10px;
  line-height: 1.35;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c4ccd7;
  font-size: 10px;
}

.stars {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.listing-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.listing-action {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  border: 1px solid #687486;
  padding: 0 8px;
  color: #e1e5ea;
  font-size: 9px;
  font-weight: 700;
}

.listing-card.featured .listing-action:first-child {
  border-color: var(--orange);
  color: var(--orange);
}

.map-callout {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.map-callout::before {
  width: 34px;
  height: 1px;
  background: var(--orange);
  content: "";
}

.callout-reviews {
  top: 25%;
  right: 6%;
}

.callout-service {
  top: 55%;
  right: 5%;
}

.callout-photos {
  right: 7%;
  bottom: 19%;
}

.map-caption {
  position: relative;
  z-index: 3;
  margin-top: 14px;
  color: #9ca7b5;
  font-size: 10px;
  line-height: 1.5;
}

.map-caption strong {
  color: var(--paper);
}

.problem-grid,
.fix-grid,
.service-grid,
.proof-grid,
.about-grid,
.case-grid {
  display: grid;
  gap: 1px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-card {
  min-height: 286px;
  border-right: 1px solid var(--line);
  padding: 25px 28px 28px 0;
}

.problem-card + .problem-card {
  padding-left: 28px;
}

.problem-card:last-child {
  border-right: 0;
}

.problem-card .big-number {
  display: block;
  margin-bottom: 62px;
  color: var(--orange-dark);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.problem-card h3 {
  max-width: 300px;
  margin-bottom: 12px;
}

.problem-card p {
  max-width: 315px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.fix-grid {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}

.fix-item {
  min-height: 170px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 22px 24px 25px 0;
}

.fix-item:nth-child(3n + 2),
.fix-item:nth-child(3n + 3) {
  padding-left: 24px;
}

.fix-item:nth-child(3n) {
  border-right: 0;
}

.fix-item .fix-tag {
  display: block;
  margin-bottom: 22px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fix-item h3 {
  margin-bottom: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}

.fix-item p {
  color: #aab4c2;
  font-size: 12px;
  line-height: 1.55;
}

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

.process-row {
  display: grid;
  grid-template-columns: 80px minmax(180px, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}

.process-row .step-number {
  color: var(--orange-dark);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.process-row h3 {
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
}

.process-row p {
  max-width: 510px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

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

.proof-card,
.case-card {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
  padding: 21px;
}

.proof-placeholder,
.case-placeholder {
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed #606b7a;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 10px, transparent 10px, transparent 20px);
  color: #aab4c2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.proof-card h3,
.case-card h3 {
  margin: 20px 0 8px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}

.proof-card p,
.case-card p {
  color: #aab4c2;
  font-size: 12px;
  line-height: 1.6;
}

.case-card .placeholder-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.case-card .placeholder-list li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line-dark);
  padding: 10px 0;
  color: #aab4c2;
  font-size: 11px;
}

.case-card .placeholder-list li span:first-child {
  color: var(--paper);
  font-weight: 700;
}

.case-card .placeholder-list li span:last-child {
  text-align: right;
}

.audit-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 56px;
  align-items: center;
  border: 1px solid var(--line-dark);
  padding: 40px;
}

.audit-meter {
  border: 1px solid var(--line-dark);
  padding: 22px;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #aab4c2;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.meter-track {
  position: relative;
  height: 20px;
  border: 1px solid #515c6e;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 1px), #515c6e calc(10% - 1px), #515c6e 10%);
}

.meter-track::after {
  position: absolute;
  top: -7px;
  left: 0;
  width: 1px;
  height: 32px;
  background: var(--orange);
  content: "";
}

.meter-note {
  margin-top: 14px;
  color: #aab4c2;
  font-size: 11px;
  line-height: 1.5;
}

.about-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 74px;
}

.portrait-placeholder {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  position: absolute;
  content: "";
}

.portrait-placeholder::before {
  top: 22px;
  left: 22px;
  width: 46px;
  height: 46px;
  border-top: 1px solid var(--orange);
  border-left: 1px solid var(--orange);
}

.portrait-placeholder::after {
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-right: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
}

.about-copy {
  display: grid;
  gap: 21px;
}

.about-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 10px;
}

.about-fact {
  padding: 17px 17px 17px 0;
}

.about-fact + .about-fact {
  border-left: 1px solid var(--line);
  padding-left: 17px;
}

.about-fact strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.1;
  text-transform: uppercase;
}

.about-fact span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

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

details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  flex: 0 0 auto;
  color: var(--orange-dark);
  content: "+";
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 0.8;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.faq-intro p {
  max-width: 350px;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-band {
  border-top: 1px solid var(--line-dark);
  padding: 82px 0;
}

.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.contact-inner h2 {
  max-width: 650px;
}

.contact-inner .eyebrow {
  margin-bottom: 17px;
}

.site-footer {
  border-top: 1px solid #252e3c;
  background: var(--navy);
  color: #aab4c2;
  padding: 34px 0 24px;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-top {
  padding-bottom: 30px;
}

.site-footer .wordmark {
  color: var(--paper);
}

.site-footer .wordmark-mark {
  border-color: #8793a3;
  background: transparent;
}

.site-footer .wordmark-text small {
  color: #8793a3;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 11px 21px;
  font-size: 11px;
  font-weight: 700;
}

.footer-socials a {
  color: #d5dbe3;
}

.footer-socials a:hover {
  color: var(--orange);
}

.footer-placeholder {
  color: #8793a3;
  font-size: 11px;
}

.footer-placeholder em {
  color: var(--orange);
  font-style: normal;
}

.footer-bottom {
  border-top: 1px solid #252e3c;
  padding-top: 18px;
  color: #8793a3;
  font-size: 10px;
  line-height: 1.5;
}

.footer-bottom a {
  color: #d5dbe3;
}

.page-hero {
  padding: 92px 0 90px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.45fr);
  align-items: end;
  gap: 70px;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 25px;
}

.page-hero .lead {
  max-width: 710px;
}

.page-hero-note {
  border-left: 1px solid var(--orange);
  padding-left: 18px;
  color: #b8c1ce;
  font-size: 12px;
  line-height: 1.65;
}

.page-hero-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 52px;
  border-top: 1px solid var(--line);
}

.offer-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}

.offer-number {
  color: var(--orange-dark);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.offer-item h3 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}

.offer-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  align-items: center;
  gap: 50px;
  border: 1px solid var(--line-dark);
  padding: 38px;
}

.price-panel h2 {
  margin-bottom: 17px;
}

.price-panel p {
  max-width: 590px;
  color: #aab4c2;
  font-size: 13px;
  line-height: 1.7;
}

.price-callout {
  border-left: 2px solid var(--orange);
  padding-left: 22px;
}

.price-callout strong {
  display: block;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}

.price-callout span {
  display: block;
  margin-top: 9px;
  color: #aab4c2;
  font-size: 11px;
  line-height: 1.5;
}

.audit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 70px;
}

.audit-intro {
  position: sticky;
  top: 112px;
}

.audit-intro h2 {
  margin-bottom: 18px;
}

.audit-intro p {
  max-width: 370px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.audit-disclosure {
  margin-top: 26px;
  border-left: 2px solid var(--orange);
  padding-left: 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.audit-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
}

.audit-step {
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 27px 28px 30px;
}

.audit-step:last-of-type {
  border-bottom: 0;
}

.audit-step legend {
  width: 100%;
  margin-bottom: 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.audit-step legend span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  align-content: start;
  gap: 7px;
}

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

.field label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.field small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bcb9b1;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 0 12px;
}

.field input:focus,
.field select:focus {
  border-color: var(--orange-dark);
  outline: 2px solid rgba(255, 138, 42, 0.25);
  outline-offset: 2px;
}

.audit-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 22px 28px;
}

.audit-submit p {
  max-width: 420px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.audit-result {
  grid-column: 1 / -1;
  margin-top: 54px;
  border: 1px solid var(--line-dark);
  background: var(--navy);
  color: var(--paper);
  padding: 32px;
  scroll-margin-top: 100px;
}

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

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 24px;
}

.result-header h2 {
  margin-bottom: 10px;
  color: var(--paper);
  font-size: clamp(28px, 4vw, 48px);
}

.result-header p {
  color: #aab4c2;
  font-size: 12px;
  line-height: 1.55;
}

.score-block {
  min-width: 145px;
  border-left: 2px solid var(--orange);
  padding-left: 17px;
}

.score-number {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.score-number span {
  color: #aab4c2;
  font-size: 13px;
  letter-spacing: 0;
}

.score-grade {
  display: block;
  margin-top: 9px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-dark);
}

.result-metric {
  border-right: 1px solid var(--line-dark);
  padding: 19px 18px 20px 0;
}

.result-metric + .result-metric {
  padding-left: 18px;
}

.result-metric:last-child {
  border-right: 0;
}

.result-metric strong {
  display: block;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.result-metric span {
  display: block;
  margin-top: 7px;
  color: #aab4c2;
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
}

.result-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  padding-top: 28px;
}

.result-body h3 {
  margin-bottom: 13px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}

.result-body p {
  color: #aab4c2;
  font-size: 12px;
  line-height: 1.65;
}

.fix-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fix;
}

.fix-list li {
  position: relative;
  min-height: 58px;
  border: 1px solid var(--line-dark);
  padding: 12px 13px 12px 43px;
}

.fix-list li::before {
  position: absolute;
  top: 12px;
  left: 13px;
  color: var(--orange);
  content: counter(fix, decimal-leading-zero);
  counter-increment: fix;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}

.fix-list strong {
  display: block;
  color: var(--paper);
  font-size: 12px;
  line-height: 1.35;
}

.fix-list span {
  display: block;
  margin-top: 4px;
  color: #aab4c2;
  font-size: 11px;
  line-height: 1.45;
}

.result-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  border-top: 1px solid var(--line-dark);
  padding-top: 23px;
}

.result-cta p {
  max-width: 480px;
}

.audit-footnote {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.audit-score-bars {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.score-bar-row {
  display: grid;
  grid-template-columns: 115px 1fr 45px;
  align-items: center;
  gap: 11px;
  color: #aab4c2;
  font-size: 10px;
  text-transform: uppercase;
}

.score-bar-track {
  height: 6px;
  border: 1px solid #515c6e;
}

.score-bar-fill {
  height: 100%;
  background: var(--orange);
}

.score-bar-value {
  color: var(--paper);
  text-align: right;
}

.social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 23px;
}

.social-list a,
.social-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.social-list a::after {
  content: "↗";
  color: var(--orange-dark);
  font-size: 17px;
}

.social-list span {
  color: var(--muted);
}

.social-list span em {
  color: var(--orange-dark);
  font-style: normal;
  font-weight: 800;
}

.identity-note {
  margin-top: 22px;
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--paper-strong);
}

.identity-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
}

.identity-note p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.inline-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.inline-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.inline-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--orange);
  content: "";
}

.blueprint-note {
  border-left: 1px solid var(--orange);
  padding-left: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.blueprint-note strong {
  color: var(--ink);
}

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

@media (max-width: 980px) {
  .primary-nav {
    gap: 13px;
  }

  .nav-links {
    gap: 14px;
  }

  .hero-grid,
  .page-hero-grid {
    gap: 48px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .fix-item:nth-child(3n + 2),
  .fix-item:nth-child(3n + 3) {
    padding-left: 0;
  }

  .fix-item:nth-child(odd) {
    padding-right: 24px;
  }

  .fix-item:nth-child(even) {
    border-right: 0;
    padding-left: 24px;
  }

  .fix-item:nth-child(3n) {
    border-right: 1px solid var(--line-dark);
  }

  .fix-item:nth-child(2n) {
    border-right: 0;
  }

  .audit-layout {
    gap: 42px;
  }
}

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

  .site-header {
    backdrop-filter: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: relative;
  }

  .nav-links {
    position: fixed;
    z-index: 49;
    inset: 68px 0 auto;
    display: none;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 12px 18px 20px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    bottom: 0;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .section-tight {
    padding: 58px 0;
  }

  .section-heading,
  .contact-inner,
  .footer-top,
  .footer-bottom {
    display: block;
  }

  .section-heading .microcopy {
    margin-top: 16px;
  }

  .hero,
  .page-hero {
    padding: 70px 0 72px;
  }

  .hero-grid,
  .page-hero-grid,
  .about-grid,
  .faq-layout,
  .audit-layout,
  .audit-teaser,
  .price-panel,
  .result-body {
    grid-template-columns: 1fr;
  }

  .page-hero-note {
    margin-top: 8px;
  }

  .hero-copy::before {
    top: -25px;
    left: -15px;
  }

  .map-board {
    min-height: 482px;
  }

  .listing-panel {
    width: min(70%, 308px);
  }

  .callout-reviews,
  .callout-service,
  .callout-photos {
    right: 4%;
    font-size: 9px;
  }

  .callout-reviews {
    top: 21%;
  }

  .callout-service {
    top: 55%;
  }

  .callout-photos {
    bottom: 16%;
  }

  .problem-grid,
  .fix-grid,
  .proof-grid,
  .case-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .problem-card + .problem-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 23px 0 28px;
  }

  .problem-card:last-child {
    border-bottom: 0;
  }

  .problem-card .big-number {
    margin-bottom: 29px;
  }

  .fix-item,
  .fix-item:nth-child(odd),
  .fix-item:nth-child(even),
  .fix-item:nth-child(3n) {
    min-height: auto;
    border-right: 0;
    padding: 20px 0;
  }

  .fix-item:last-child {
    border-bottom: 0;
  }

  .process-row {
    grid-template-columns: 55px 1fr;
    gap: 14px;
  }

  .process-row p {
    grid-column: 2;
  }

  .about-grid,
  .faq-layout {
    gap: 38px;
  }

  .portrait-placeholder {
    min-height: 280px;
  }

  .audit-intro {
    position: static;
  }

  .audit-form {
    margin-top: 8px;
  }

  .audit-step {
    padding: 23px 18px 25px;
  }

  .audit-submit {
    display: grid;
    padding: 20px 18px;
  }

  .audit-submit .button {
    width: 100%;
  }

  .result-header,
  .result-cta {
    display: grid;
  }

  .result-header {
    gap: 23px;
  }

  .score-block {
    border-left: 0;
    border-top: 2px solid var(--orange);
    padding: 17px 0 0;
  }

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

  .result-metric:nth-child(2) {
    border-right: 0;
  }

  .result-metric:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .result-metric:nth-child(3) {
    padding-left: 0;
  }

  .result-metric:nth-child(4) {
    border-right: 0;
  }

  .result-body {
    gap: 35px;
  }

  .contact-inner .button {
    width: 100%;
    margin-top: 26px;
  }

  .footer-socials {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .footer-bottom {
    margin-top: 24px;
  }

  .footer-bottom span + span {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 46px);
  }

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

  .trust-item,
  .trust-item + .trust-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .map-board {
    min-height: 500px;
  }

  .listing-panel {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
  }

  .map-callout {
    display: none;
  }

  .map-caption {
    padding-right: 8px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .form-grid,
  .about-facts,
  .social-list {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .about-fact + .about-fact {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .price-panel,
  .audit-teaser,
  .audit-result {
    padding: 23px 18px;
  }

  .score-bar-row {
    grid-template-columns: 1fr 1.4fr 40px;
    gap: 7px;
    font-size: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Real portrait (replaces .portrait-placeholder, Leo final pass) */
.portrait-photo {
  display: block;
  width: 100%;
  min-height: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--line);
}


/* Face logo mark (Leo final pass) */
.wordmark-photo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  display: block;
  flex: none;
  border-radius: 50%;
}

/* ==========================================================================
   ENHANCED TOOL SUITE & VERIFIED CASE STUDY EXTENSIONS
   ========================================================================== */

/* Case Study Badges & Metrics */
.case-badge-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.case-badge-pill.verified {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.case-badge-pill.teardown {
  background: rgba(255, 138, 42, 0.15);
  color: var(--orange);
  border: 1px solid rgba(255, 138, 42, 0.3);
}

.case-summary {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.highlight-result {
  color: #4ade80 !important;
  font-weight: 700;
}

.proof-metric-box {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.proof-metric-box .metric-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.1;
}

.proof-metric-box .metric-label {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tool-card {
  padding: 2rem;
  background: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.tool-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.tool-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 138, 42, 0.15);
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.tool-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.tool-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.tool-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.tool-feature-list li {
  margin-bottom: 0.4rem;
}

/* Tool Panels & Form Controls */
.tool-panel {
  background: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

.form-group .field-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.form-control {
  background: #06090f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 42, 0.2);
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.flex-1 { flex: 1 1 200px; }
.flex-2 { flex: 2 1 280px; }
.flex-3 { flex: 3 1 360px; }

.button-align {
  display: flex;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}

.kw-form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.kw-form-row .form-group {
  margin-bottom: 0.75rem;
}

/* Tool Results & Data Tables */
.tool-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  margin: 1.5rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
}

.results-actions {
  display: flex;
  gap: 0.5rem;
}

.table-responsive {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  color: #cbd5e1;
  background: #080c14;
}

.data-table th {
  background: #0f1624;
  color: #f8fafc;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.intent-pill {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
}

.intent-pill.commercial { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
.intent-pill.transactional { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.intent-pill.informational { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.3); }

.tool-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Scanner Loading & Animated Progress */
.scanner-loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.scanner-progress-bar {
  width: 100%;
  max-width: 420px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 1.5rem auto 0;
  overflow: hidden;
}

.scanner-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--orange);
  transition: width 0.3s ease;
}

/* Audit Score Hero Card */
.audit-score-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.75rem;
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-top: 1.5rem;
}

.score-dial {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.score-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 4px solid #4ade80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.1);
}

.score-circle .score-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.score-circle .score-max {
  font-size: 0.75rem;
  color: #94a3b8;
}

.score-meta h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
}

.scanned-domain-pill {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--orange);
  background: rgba(255, 138, 42, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.score-subtext {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.score-actions {
  display: flex;
  gap: 0.75rem;
}

/* Category Breakdown Grid */
.audit-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.breakdown-card {
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1.25rem;
}

.breakdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
}

.breakdown-header strong {
  font-family: "JetBrains Mono", monospace;
  color: #4ade80;
}

.breakdown-card small {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.6rem;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #4ade80;
  border-radius: 3px;
}

/* Issues Filter Tabs */
.issues-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.tab-btn.critical.active {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: #f87171;
}

.tab-btn.warning.active {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: #fbbf24;
}

.tab-btn.passed.active {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: #4ade80;
}

/* Audit Checklist Items */
.audit-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist-item {
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.15s ease;
}

.checklist-item.critical { border-left: 3px solid #ef4444; }
.checklist-item.warning { border-left: 3px solid #f59e0b; }
.checklist-item.passed { border-left: 3px solid #22c55e; }

.checklist-status-icon {
  font-size: 1.25rem;
  flex: none;
}

.checklist-content {
  flex-grow: 1;
}

.checklist-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.checklist-title-row h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
}

.status-pill.critical { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.status-pill.warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.status-pill.passed { background: rgba(34, 197, 94, 0.15); color: #4ade80; }

.checklist-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.checklist-recommendation {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.checklist-recommendation strong {
  color: var(--orange);
}

/* Schema Generator Layout */
.schema-tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .schema-tool-layout {
    grid-template-columns: 1fr;
  }
}

.schema-form-col,
.schema-code-col {
  padding: 2rem;
  border-radius: 8px;
  background: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-heading {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #f1f5f9;
}

.code-display {
  background: #04060a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1.25rem;
  overflow-x: auto;
  max-height: 520px;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  line-height: 1.6;
}

.code-footer {
  margin-top: 1rem;
  color: #94a3b8;
}

/* Review Link & QR Generator Layout */
.review-assets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .review-assets-grid {
    grid-template-columns: 1fr;
  }
}

.asset-card {
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.75rem;
}

.asset-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
}

.asset-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.copy-input-group {
  display: flex;
  gap: 0.5rem;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid var(--orange);
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

