:root {
  --ink: #152322;
  --muted: #5b6b67;
  --line: #d8e1dd;
  --paper: #fbfaf6;
  --white: #ffffff;
  --mint: #bde8d2;
  --green: #156f57;
  --green-dark: #0c4639;
  --teal: #0d7685;
  --gold: #d9a441;
  --rose: #a44956;
  --shadow: 0 24px 70px rgba(18, 35, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(216, 225, 221, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--green-dark);
  border-radius: 7px;
  color: var(--mint);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.intake-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: calc(100vh - 77px);
  border-bottom: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: clamp(48px, 7vw, 86px) clamp(22px, 6vw, 72px) 42px;
  background: var(--green-dark);
  color: var(--white);
}

.hero-panel::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12, 70, 57, 0.96) 0%, rgba(12, 70, 57, 0.78) 45%, rgba(12, 70, 57, 0.16) 100%);
  content: "";
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel > :not(.hero-image) {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-panel h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 5.55rem);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-copy {
  margin: 26px 0 0;
  max-width: 590px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 32px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.triage-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 6vw, 72px);
  background: var(--white);
}

.panel-heading h2,
.section-heading h2,
.result-summary h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.compact h2 {
  font-size: 1.2rem;
}

.security-note,
.privacy-hint {
  margin: 0;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  background: #fff8e6;
  color: #5f4b1e;
  font-size: 0.88rem;
  font-weight: 700;
}

.privacy-hint {
  margin-top: -8px;
  border-left-color: var(--teal);
  background: #edf8f8;
  color: #214e52;
}

label,
fieldset {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 13px;
  background: #f8faf8;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 118, 133, 0.13);
}

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

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

legend {
  padding: 0 7px;
  color: var(--ink);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.primary-button,
.primary-link,
.ghost-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button,
.primary-link {
  border: 0;
  background: var(--green);
  color: var(--white);
}

.primary-button:hover,
.primary-link:hover {
  background: var(--green-dark);
}

.ghost-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green-dark);
}

.result-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(20px, 5vw, 56px);
  padding: clamp(36px, 6vw, 72px) clamp(18px, 5vw, 64px);
  background: #eef5f1;
  border-bottom: 1px solid var(--line);
}

.result-summary,
.checklist-box {
  align-self: start;
}

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

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.checklist-box {
  border-left: 4px solid var(--green);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.pricing-section,
.operation-section {
  padding: clamp(42px, 7vw, 90px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.plan,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.plan.featured {
  border-color: rgba(21, 111, 87, 0.35);
  box-shadow: var(--shadow);
}

.plan h3,
.steps h3 {
  margin: 0 0 10px;
  font-size: 1.17rem;
}

.plan p,
.plan span,
.steps p,
.compliance-band p {
  color: var(--muted);
}

.plan strong {
  display: block;
  margin: 18px 0 10px;
  color: var(--green-dark);
  font-size: 1.28rem;
}

.operation-section {
  background: #f8f4ea;
}

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

.steps span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--rose);
  font-weight: 900;
}

.compliance-band {
  padding: 24px clamp(18px, 5vw, 64px);
  background: var(--green-dark);
  color: var(--white);
}

.compliance-band p {
  max-width: 1050px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.compliance-band a {
  color: var(--mint);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-main {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 34px);
}

.privacy-main h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1;
}

.privacy-main h2 {
  margin: 38px 0 12px;
  font-size: 1.32rem;
}

.privacy-main p,
.privacy-main li {
  color: var(--muted);
}

.privacy-main ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.privacy-card {
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .intake-shell,
  .result-band {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 560px;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-panel {
    min-height: 520px;
  }

  .hero-panel::after {
    background: linear-gradient(180deg, rgba(12, 70, 57, 0.98) 0%, rgba(12, 70, 57, 0.82) 60%, rgba(12, 70, 57, 0.34) 100%);
  }

  .field-grid,
  .pricing-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .triage-panel {
    padding: 28px 18px 34px;
  }

  .checklist-box {
    padding: 20px;
  }
}
