:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5f6d68;
  --line: #d6dfdc;
  --paper: #f4f7f5;
  --panel: #ffffff;
  --soft: #e8f0ed;
  --accent: #00796b;
  --accent-strong: #00584f;
  --warn: #b45309;
  --focus: #1d4ed8;
  --shadow: 0 18px 46px rgba(24, 33, 31, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(244, 247, 245, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 0.78rem; }
.nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.nav a { padding: 10px 12px; color: var(--muted); font-size: 0.92rem; text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--soft); }

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  padding: clamp(32px, 7vw, 92px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  background: #dce7e3;
}
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(244,247,245,0.98) 0%, rgba(244,247,245,0.88) 45%, rgba(244,247,245,0.22) 78%);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; width: min(760px, 100%); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1 { max-width: 13ch; margin: 0; font-size: clamp(3rem, 6.6vw, 6.2rem); line-height: 0.98; letter-spacing: 0; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.02; letter-spacing: 0; }
h3 { margin: 0; font-size: 1.18rem; }
.hero-copy { max-width: 62ch; margin: 24px 0 0; color: #34413d; font-size: 1.15rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--accent); color: #fff; }
.button.secondary { background: rgba(255,255,255,0.78); }
.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(18px, 5vw, 62px);
  z-index: 1;
  width: min(350px, calc(100% - 36px));
  padding: 22px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(214,223,220,0.9);
  box-shadow: var(--shadow);
}
.hero-panel span, .result-label, .handoff-note span { color: var(--muted); font-size: 0.82rem; font-weight: 900; text-transform: uppercase; }
.hero-panel strong { display: block; margin-top: 8px; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1; }
.hero-panel p { margin: 12px 0 0; color: var(--muted); line-height: 1.5; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--panel);
}
.trust-strip div { min-height: 118px; padding: 24px clamp(18px, 4vw, 56px); border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { margin-top: 8px; color: var(--muted); line-height: 1.45; }

section:not(.hero) { padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px); }
.section-heading { max-width: 830px; margin-bottom: 32px; }
.section-heading p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.readiness-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  gap: 24px;
  align-items: start;
}
.readiness-form { display: grid; gap: 16px; }
fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}
legend { padding: 0 8px; font-weight: 900; }
label { line-height: 1.45; }
label small {
  display: block;
  margin: 4px 0 0 30px;
  color: var(--muted);
  font-size: 0.88rem;
}
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; margin-right: 8px; accent-color: var(--accent); }

.path-result {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.path-result img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.path-result > div { padding: 26px; }
.path-result h3 { margin-top: 8px; font-size: clamp(1.5rem, 3vw, 2.45rem); }
.path-result p { color: var(--muted); line-height: 1.65; }
.disclaimer, .noscript-note {
  padding: 12px 14px;
  background: #fff7ed;
  border-left: 4px solid var(--warn);
  color: #603713;
  font-weight: 800;
}
.result-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 0; }
.result-facts div { padding: 16px; background: var(--soft); }
dt { color: var(--muted); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
dd { margin: 8px 0 0; font-weight: 900; }

.services, .consultation { background: var(--panel); }
.service-grid, .review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-grid article, .review-grid article {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.number { display: inline-block; margin-bottom: 48px; color: var(--accent); font-weight: 900; }
.service-grid p, .review-grid p { color: var(--muted); line-height: 1.6; }

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rules-grid div { padding: 22px; background: var(--panel); border: 1px solid var(--line); }
.rules-grid strong { display: block; font-size: 1.1rem; }
.rules-grid p { color: var(--muted); line-height: 1.58; }

.handoff-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 24px;
  background: var(--ink);
  color: #fff;
}
.handoff-note, .desk-table { padding: 24px; border: 1px solid rgba(255,255,255,0.18); }
.handoff-note span { color: #a8d8cf; }
.handoff-note strong { display: block; margin-top: 10px; font-size: clamp(1.5rem, 3vw, 2.65rem); }
.handoff-note p { color: #d9e5e1; line-height: 1.65; }
.desk-table { display: grid; padding: 0; }
.desk-table div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: #d9e5e1;
  line-height: 1.45;
}
.desk-table div:last-child { border-bottom: 0; }
.desk-table strong { color: #fff; }

.consultation-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
}
.consultation-form label { display: grid; gap: 8px; color: var(--muted); font-weight: 900; }
.consultation-form label:nth-child(3) { grid-column: 1 / -1; }
select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
}
textarea { resize: vertical; }
.field-help { color: #765130; font-size: 0.9rem; font-weight: 800; line-height: 1.45; }

.production-review { background: #edf3f1; }
.review-grid article { background: #fff; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .service-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-header, .footer { align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; justify-content: flex-start; }
  .hero { display: block; min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(244,247,245,0.99) 0%, rgba(244,247,245,0.92) 58%, rgba(244,247,245,0.25) 100%); }
  h1 { max-width: 12ch; font-size: clamp(2.65rem, 12.5vw, 4.35rem); line-height: 1; }
  .hero-panel { position: relative; left: auto; right: auto; bottom: auto; z-index: 1; margin-top: 28px; width: 100%; }
  .trust-strip, .readiness-layout, .rules-grid, .handoff-card, .desk-table div, .consultation-form, .result-facts { grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid, .review-grid { grid-template-columns: 1fr; }
  section:not(.hero) { padding-block: 58px; }
}
