:root {
  --ink: #1c2a36;
  --muted: #52606b;
  --soft: #f7f6f2;
  --surface: #ffffff;
  --line: #e1dbd2;
  --green: #607768;
  --deep: #0d1720;
  --shadow: 0 22px 70px rgba(28, 42, 54, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f6f2;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 20;
  background: #fff;
  padding: 10px 12px;
}

.skip:focus {
  left: 12px;
}

.site {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 4vw, 44px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  min-width: 0;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.primary a {
  color: #273744;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.primary a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  padding: clamp(38px, 7vw, 90px) 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
  min-width: 0;
}

.hero-copy {
  padding-top: 18px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: .94;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  border-left: 3px solid #c9d6ce;
  padding-left: 12px;
  color: #2d3d49;
  font-weight: 750;
}

.hero-image {
  overflow: hidden;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(28, 42, 54, .08);
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-image figcaption {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.planner-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  min-width: 0;
}

.planner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.planner-top h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
}

.planner-counter {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.progress {
  height: 5px;
  background: #ede9e2;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #1c2a36;
  transition: width .25s ease;
}

.planner-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  min-height: 520px;
}

.planner-main {
  padding: clamp(22px, 4vw, 42px);
}

.planner-step-label,
.planner-field span {
  display: block;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#planner-step h2,
.planner-field strong {
  display: block;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
}

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

.planner-option {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.22;
  padding: 16px;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.planner-option:hover,
.planner-option[aria-pressed="true"] {
  border-color: #607768;
  box-shadow: 0 10px 24px rgba(96, 119, 104, .16);
  transform: translateY(-1px);
}

.planner-field input,
.planner-field textarea,
.lead-panel input,
.lead-panel textarea {
  width: 100%;
  border: 1px solid #cfc8bd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 16px;
}

.planner-field textarea,
.lead-panel textarea {
  resize: vertical;
}

.planner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--deep);
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  padding: 14px 20px;
  text-decoration: none;
}

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

.btn:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.planner-status,
.lead-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}

.planner-summary {
  border-left: 1px solid var(--line);
  background: #fbfaf7;
  padding: 24px 18px;
}

.planner-summary h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.answer-summary {
  display: grid;
  gap: 10px;
}

.answer-summary article {
  border: 1px solid #ebe5dd;
  border-radius: 8px;
  background: #fff;
  padding: 11px;
}

.answer-summary span {
  display: block;
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.answer-summary strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.answer-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.planner-result,
.lead-panel {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(28, 42, 54, .08);
}

.planner-result {
  padding: clamp(22px, 4vw, 40px);
}

.result-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.result-head p {
  max-width: 860px;
  color: var(--muted);
  font-size: 17px;
}

.readiness-grid,
.brief-grid {
  display: grid;
  gap: 14px;
}

.readiness-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}

.readiness-grid article {
  border: 1px solid #dfe7df;
  border-radius: 8px;
  background: #f8fbf7;
  padding: 18px;
}

.readiness-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.readiness-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.08;
}

.readiness-grid p {
  margin: 10px 0 0;
  color: #40505d;
  font-size: 14px;
  line-height: 1.5;
}

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

.brief-grid article,
.next-step {
  border: 1px solid #ebe5dd;
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.brief-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.brief-grid p,
.brief-grid li,
.next-step p {
  color: #40505d;
}

.brief-grid ul {
  margin: 0;
  padding-left: 20px;
}

.brief-grid li + li {
  margin-top: 8px;
}

.next-step {
  margin-top: 14px;
  background: #1c2a36;
  color: #fff;
}

.next-step span {
  color: #c8d7cd;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.next-step p,
.next-step small {
  color: #edf3f0;
}

.lead-panel {
  padding: clamp(22px, 4vw, 36px);
}

.lead-panel h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.lead-panel > p {
  max-width: 700px;
  color: var(--muted);
}

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

.lead-grid label {
  display: grid;
  gap: 7px;
  color: #2d3a44;
  font-size: 13px;
  font-weight: 900;
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  color: #52606b;
  font-size: 14px;
}

.lead-panel .btn {
  width: 100%;
}

.seo-section {
  padding: 56px 0 74px;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
}

.seo-copy,
.faq-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 36px);
}

.seo-copy h2,
.faq-card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.seo-copy p,
.faq-card p {
  color: var(--muted);
}

.faq-card details {
  border-top: 1px solid #ebe5dd;
  padding: 14px 0;
}

.faq-card summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.footer {
  padding: 32px clamp(18px, 4vw, 44px);
  background: #111a22;
  color: #eef3f0;
}

.footer a {
  color: #eef3f0;
}

@media (max-width: 920px) {
  .site {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 14px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .primary::-webkit-scrollbar {
    display: none;
  }

  .hero-grid,
  .planner-body,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .planner-summary {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  main,
  .hero,
  .hero-grid,
  .hero-copy,
  .planner-shell,
  .seo-grid {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
  }

  .container {
    width: 100%;
    max-width: 100vw;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.02;
    max-width: 100%;
  }

  .hero-lead,
  .hero-points,
  .hero-points li,
  .hero-image,
  .hero-image figcaption {
    max-width: 100%;
  }

  .planner-top,
  .planner-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .planner-counter {
    white-space: normal;
  }

  .planner-options,
  .readiness-grid,
  .brief-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .planner-main {
    padding: 22px 16px;
  }

  .planner-option {
    min-height: 58px;
  }

  .btn {
    width: 100%;
  }
}
