@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #edf1f3;
  --text: #101418;
  --muted: #4a5560;
  --line: #d4dde3;
  --brand: #8dd30f;
  --brand-deep: #65a300;
  --focus: #1f6feb;
  --shadow: 0 14px 38px rgba(16, 20, 24, 0.08);
  --logo-watermark-opacity: 0.1;
}

:root[data-theme="dark"] {
  --bg: #0f1418;
  --surface: #161e24;
  --surface-soft: #1b2730;
  --text: #e9eef2;
  --muted: #aeb8c1;
  --line: #2c3a45;
  --brand: #a0e428;
  --brand-deep: #75b80e;
  --focus: #7ab8ff;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  --logo-watermark-opacity: 0.065;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 420px at 85% -5%, color-mix(in srgb, var(--brand) 24%, transparent), transparent),
    radial-gradient(920px 260px at 10% 6%, color-mix(in srgb, var(--surface-soft) 80%, transparent), transparent),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
  padding-bottom: 92px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--logo-watermark-opacity);
  background-image: url("assets/TH_Green_Shield-Only.png"), url("assets/TH_Green_Shield-Only.png");
  background-repeat: no-repeat;
  background-size: clamp(240px, 22vw, 380px), clamp(170px, 16vw, 250px);
  background-position: calc(100% - 140px) 66%, -95px 85%;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 2px solid var(--focus);
  z-index: 1000;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-text {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem);
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--text);
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.theme-toggle {
  padding: 10px 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 84px 0 58px;
}

.hero-shape {
  position: absolute;
  z-index: -1;
  filter: blur(2px);
}

.hero-brand-mark {
  position: absolute;
  z-index: -1;
  width: 260px;
  height: 260px;
  object-fit: contain;
  right: -60px;
  top: 10px;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.hero-shape-two {
  width: 220px;
  height: 220px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface-soft) 92%, transparent);
  left: -60px;
  top: 40px;
  transform: rotate(18deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  font-size: clamp(2rem, 1.55rem + 2.25vw, 3.6rem);
  max-width: 16ch;
}

.hero-copy p {
  color: var(--muted);
  max-width: 60ch;
}

.hero-proof {
  margin: 14px 0 0;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 88%, var(--brand-deep));
}

.hero-trust {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.hero-trust-group,
.hero-metrics {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  padding: 10px 12px;
}

.hero-trust-group p {
  margin: 0 0 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-deep);
  font-weight: 800;
}

.hero-trust-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-trust-group li {
  border: 1px dashed color-mix(in srgb, var(--line) 82%, var(--brand));
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.client-logo-item {
  padding: 4px 8px;
  border-style: solid;
  background: var(--surface);
}

.client-logo-item a {
  display: inline-flex;
  align-items: center;
}

.client-logo-item img {
  width: auto;
  height: 22px;
  object-fit: contain;
  display: block;
}

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

.hero-metrics article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 8px;
}

.hero-metrics span {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text);
}

.hero-metrics p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row-centered {
  justify-content: center;
}

.revisit-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.revisit-full-width {
  width: 100%;
  text-align: center;
}

.revisit-cta-stack .cta-row {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.revisit-cta-stack .cta-row .btn,
.revisit-cta-stack .cta-row button {
  width: 100%;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.contact-utility-actions {
  margin-top: 10px;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 12px 18px;
  display: inline-block;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  color: #ffffff;
  background: var(--brand);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
}

.btn-secondary:hover {
  border-color: var(--brand);
}

.hero-card {
  background: linear-gradient(170deg, var(--surface), color-mix(in srgb, var(--surface-soft) 82%, transparent));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.revisit-section {
  padding-top: 0;
}

.revisit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface));
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.revisit-card h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
}

.revisit-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section {
  padding: 66px 0;
}

.section-head h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.35vw, 2.35rem);
  margin-bottom: 24px;
}

.section-alt {
  background: color-mix(in srgb, var(--surface-soft) 68%, transparent);
  border-block: 1px solid var(--line);
}

.section-proof {
  padding: 42px 0;
  background: transparent;
}

.section-proof-head {
  text-align: center;
  margin-bottom: 16px;
}

.section-proof-head h2 {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem);
  margin-top: 6px;
}

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

.section-metrics article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  padding: 12px;
  text-align: center;
}

.section-metrics span {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.section-metrics p {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

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

.trust-signals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.trust-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 20px;
}

.trust-group-title {
  margin: 0 0 14px 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-deep);
  font-weight: 800;
}

.trust-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-group li {
  border: 1px dashed color-mix(in srgb, var(--line) 82%, var(--brand));
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-group li.client-logo-item {
  padding: 0;
  width: 132px;
  height: 38px;
  border-style: solid;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.trust-group li.client-logo-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.trust-group li.client-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.24s ease, border-color 0.24s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

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

.card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.testimonial-card {
  display: grid;
  gap: 10px;
}

.testimonial-impact {
  margin-top: 4px;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand-deep) 78%, var(--text));
}

.service-open {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  text-decoration: none;
  display: inline-block;
}

.service-open:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

.builder-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.builder-form,
.builder-result,
.comparison-shell {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
}

.builder-form,
.builder-result {
  display: flex;
  flex-direction: column;
}

.builder-step {
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.builder-step legend {
  padding: 0 6px;
  font-weight: 800;
}

.builder-step label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.builder-step input {
  width: auto;
  margin-top: 2px;
}

.builder-result h3 {
  font-size: 1.45rem;
}

.builder-result p {
  color: var(--muted);
}

.builder-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.builder-list li + li {
  margin-top: 8px;
}

.builder-next {
  margin-top: 14px;
  font-weight: 700;
}

.roi-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.roi-form,
.roi-result {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
}

.roi-form {
  display: grid;
  gap: 12px;
}

.roi-form label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.roi-form input {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.field-help {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.roi-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.roi-metrics article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  padding: 14px;
}

.roi-metrics span {
  display: block;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.65rem);
  font-weight: 800;
  color: var(--text);
}

.roi-metrics p {
  margin-top: 6px;
  color: var(--muted);
}

.comparison-shell {
  overflow-x: auto;
  padding: 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border: none;
  border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
  padding-top: 20px;
  padding-bottom: 12px;
  background: transparent;
}

.comparison-table thead th:first-child {
  padding-left: 24px;
  border-radius: 18px 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 18px 0 0;
}

.comparison-table tbody th {
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 200px;
  padding-left: 24px;
  background: transparent;
}

.comparison-table tbody td {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.comparison-table tbody td:last-child {
  white-space: nowrap;
}

.detection-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color: var(--brand);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: none;
  padding-bottom: 20px;
}

.comparison-table tbody tr:hover th,
.comparison-table tbody tr:hover td {
  background: color-mix(in srgb, var(--brand) 4%, transparent);
  transition: background 0.15s ease;
}

.comparison-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 78%, transparent);
  transform-origin: left center;
  transform: scaleX(0.08);
  transition: transform 0.45s ease;
}

.timeline article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  z-index: 1;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.process-step {
  opacity: 0.78;
}

.process-step.is-active,
.process-step.is-complete {
  opacity: 1;
  border-color: color-mix(in srgb, var(--brand) 52%, var(--line));
  box-shadow: var(--shadow);
}

.process-step.is-active {
  transform: translateY(-4px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), var(--surface));
}

.process-step.is-complete {
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
}

.timeline[data-progress="1"] .timeline-progress { transform: scaleX(0.25); }
.timeline[data-progress="2"] .timeline-progress { transform: scaleX(0.5); }
.timeline[data-progress="3"] .timeline-progress { transform: scaleX(0.75); }
.timeline[data-progress="4"] .timeline-progress { transform: scaleX(1); }

.timeline span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--brand) 28%, transparent);
  font-weight: 800;
  margin-bottom: 12px;
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.process-step.is-active span,
.process-step.is-complete span {
  background: var(--brand);
  color: #0f1408;
}

.process-step.is-active span {
  transform: scale(1.08);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.why-us-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 24px;
  display: grid;
  gap: 14px;
  text-align: center;
}

.why-us-card h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--text);
  font-weight: 700;
}

.why-us-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.compliance-grid p {
  color: var(--muted);
}

.compliance-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.compliance-points li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.section-contact {
  padding-top: 42px;
  padding-bottom: 52px;
}

.contact-shell {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 24%, var(--surface)), color-mix(in srgb, var(--brand) 8%, var(--surface)));
  padding: 48px 36px;
  text-align: center;
}

.contact-shell h2 {
  margin-bottom: 16px;
}

.contact-shell > p:first-of-type {
  margin-bottom: 24px;
  color: var(--muted);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-trust-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 28px 0 32px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  flex-wrap: wrap;
}

.contact-trust-strip p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.contact-trust-strip strong {
  color: var(--text);
  font-weight: 700;
}

.contact-cta-wrapper {
  margin: 32px 0;
}

.contact-cta-wrapper .btn {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.contact-cta-help {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-direct-block {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.contact-section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand-deep);
  margin: 0 0 14px 0;
}

.contact-link {
  display: inline-block;
  font-size: clamp(1.1rem, 0.95rem + 1vw, 1.55rem);
  font-weight: 800;
  text-decoration: none;
  margin: 6px 0;
  color: var(--text);
}

.contact-link:hover {
  color: var(--brand);
}

.contact-link-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--muted);
  margin-top: 8px;
}

.contact-link-linkedin:hover {
  color: var(--brand);
}

@media (max-width: 768px) {
  .section-contact {
    padding-top: 36px;
    padding-bottom: 44px;
  }
  
  .contact-shell {
    padding: 36px 24px;
  }
  
  .contact-trust-strip {
    gap: 16px;
    margin: 20px 0 24px;
    padding: 12px 0;
  }
  
  .contact-trust-strip p {
    font-size: 0.82rem;
    flex: 1 1 calc(50% - 8px);
  }
  
  .contact-cta-wrapper .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .contact-direct-block {
    margin-top: 28px;
    padding-top: 18px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .why-us-card {
    padding: 18px;
  }

  .why-us-card h3 {
    font-size: 1rem;
  }

  .why-us-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-us-card {
    padding: 16px;
  }

  .why-us-card h3 {
    font-size: 0.95rem;
  }

  .why-us-card p {
    font-size: 0.82rem;
  }
}

.small {
  font-size: 0.92rem;
}

.quote-form {
  margin-top: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  padding: 18px;
}

.quote-assurance {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 90%, var(--bg));
  padding: 10px 12px;
}

.quote-assurance p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.quote-assurance p + p {
  margin-top: 6px;
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.62);
}

.quote-modal-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(90vh, 940px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.quote-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-form label,
.quote-services legend {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.field-hint {
  margin-top: 6px;
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 500;
}

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

.bot-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quote-services {
  margin: 14px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.quote-services label,
.quote-consent {
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.quote-services input,
.quote-consent input {
  width: auto;
  margin-top: 2px;
}

.quote-full-width {
  display: block;
}

.quote-consent {
  margin-top: 12px;
}

.quote-form-actions {
  justify-content: flex-start;
}

.quote-form-feedback {
  margin: 4px 0 0;
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--muted);
}

.quote-form-feedback[data-state="success"] {
  color: #1f7a2d;
}

.quote-form-feedback[data-state="error"] {
  color: #b02424;
}

.quote-fallback {
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, #b02424 35%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, #b02424 6%, var(--surface));
  padding: 10px 12px;
}

.quote-fallback p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.quote-fallback-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.btn-teams {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5b5ea6;
  color: #fff;
  border: none;
  cursor: pointer;
}

button.btn-teams {
  font: inherit;
}

.btn-teams:hover {
  background: #4a4d96;
}

.chat-modal[hidden] {
  display: none;
}

.chat-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 640px) {
  .chat-modal {
    align-items: center;
    justify-content: center;
  }
}

.chat-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.chat-modal-panel {
  position: relative;
  background: var(--surface);
  border-radius: 14px 14px 0 0;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .chat-modal-panel {
    border-radius: 14px;
    width: 90%;
  }
}

.chat-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.chat-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.chat-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.chat-modal-close:hover {
  background: var(--surface-soft);
  border-radius: 6px;
}

.chat-modal-content {
  padding: 20px;
  color: var(--text);
}

.chat-modal-content p {
  margin: 0 0 18px 0;
  color: var(--muted);
}

.chat-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.teams-chat-iframe {
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.trust-ribbon {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  border-top: 1px solid color-mix(in srgb, var(--line) 82%, var(--brand));
  background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  box-shadow: 0 -10px 24px rgba(16, 20, 24, 0.08);
}

.trust-ribbon[hidden] {
  display: none;
}

.trust-ribbon-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.trust-ribbon-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.trust-ribbon-copy p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.trust-ribbon-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.trust-ribbon-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-grid a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-modal[hidden] {
  display: none;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.58);
}

.service-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.service-modal-content h3 {
  margin: 18px 0 8px;
}

.service-modal-content p {
  margin: 0;
  color: var(--muted);
}

.case-study-modal[hidden] {
  display: none;
}

.case-study-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.case-study-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.58);
}

.case-study-modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(90vh, 880px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.case-study-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.case-study-modal-content {
  margin-top: 14px;
}

.case-study-modal-content p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.case-study-modal-content p:last-child {
  margin-bottom: 0;
}

.case-study-modal-content strong {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .service-grid,
  .timeline,
  .compliance-grid {
    grid-template-columns: 1fr 1fr;
  }

  .builder-shell {
    grid-template-columns: 1fr;
  }

  .roi-shell,
  .roi-metrics {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    backdrop-filter: none;
  }

  body {
    padding-bottom: 132px;
  }

  .main-nav {
    position: absolute;
    right: 1rem;
    top: 74px;
    width: min(280px, 92vw);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav a,
  .theme-toggle {
    width: 100%;
    text-align: left;
  }

  .main-nav[data-open="true"] {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-progress {
    left: 14px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
    transform-origin: top center;
    transform: scaleY(0.08);
  }

  .timeline[data-progress="1"] .timeline-progress { transform: scaleY(0.25); }
  .timeline[data-progress="2"] .timeline-progress { transform: scaleY(0.5); }
  .timeline[data-progress="3"] .timeline-progress { transform: scaleY(0.75); }
  .timeline[data-progress="4"] .timeline-progress { transform: scaleY(1); }

  .revisit-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .revisit-cta-stack {
    width: 100%;
  }

  .revisit-cta-stack .cta-row {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .section-metrics {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-modal-panel {
    padding: 18px;
  }

  .quote-modal-panel {
    padding: 18px;
  }

  .quote-form-grid,
  .quote-services {
    grid-template-columns: 1fr;
  }

  .trust-ribbon-inner,
  .trust-ribbon-copy {
    display: grid;
  }

  .trust-ribbon-actions {
    justify-content: space-between;
  }

  #process,
  #compliance,
  #social-proof,
  #faq,
  #guidance,
  #contact {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 55%, transparent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-card,
  .card,
  .timeline article {
    animation: rise 0.65s ease both;
  }

  .hero-card { animation-delay: 0.08s; }
  .card:nth-child(2) { animation-delay: 0.06s; }
  .card:nth-child(3) { animation-delay: 0.12s; }
  .card:nth-child(4) { animation-delay: 0.18s; }
  .card:nth-child(5) { animation-delay: 0.24s; }
  .card:nth-child(6) { animation-delay: 0.3s; }

  .process-step.is-active {
    animation: processPulse 0.45s ease;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes processPulse {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
    100% {
      transform: translateY(-4px);
    }
  }
}
