:root {
  --petrol: #0d4145;
  --petrol-deep: #082f32;
  --petrol-soft: #dce9e6;
  --cream: #f6f3ec;
  --paper: #fffdf8;
  --ink: #193234;
  --muted: #667879;
  --line: rgba(13, 65, 69, 0.14);
  --accent: #b75d52;
  --accent-soft: #f6e7e1;
  --shadow: 0 24px 70px rgba(8, 47, 50, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(184, 211, 205, 0.38), transparent 28rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--petrol);
  text-decoration: none;
}

.brand-logo {
  width: 76px;
  height: 76px;
  display: block;
  border: 1px solid rgba(13, 65, 69, 0.12);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(8, 47, 50, 0.08);
}
.header-note { font-size: 13px; color: var(--petrol); }
.header-note i {
  width: 8px;
  height: 8px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(183, 93, 82, 0.12);
}

main { overflow: clip; }
.planner-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.hero-copy { padding: 32px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow.light { color: #c7ddda; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 22px 0 24px;
  color: var(--petrol-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 75px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.045em;
}
h1 em { color: var(--petrol); font-weight: 400; }
.hero-copy > p {
  max-width: 490px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--petrol);
  background: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 650;
}

.planner-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(13, 65, 69, 0.08);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.progress-head { display: grid; grid-template-columns: 1fr 150px; align-items: end; gap: 24px; margin-bottom: 32px; }
.progress-head > div:first-child { display: grid; gap: 5px; }
.step-label { color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
#progress-text { color: var(--petrol); font-size: 14px; }
.progress-track { height: 5px; overflow: hidden; border-radius: 5px; background: var(--petrol-soft); }
.progress-track span { width: 0; height: 100%; display: block; border-radius: inherit; background: var(--petrol); transition: width .35s ease; }

fieldset { min-width: 0; margin: 0; padding: 0 0 28px; border: 0; }
fieldset + fieldset { padding-top: 27px; border-top: 1px solid var(--line); }
legend { width: 100%; margin-bottom: 16px; padding: 0; color: var(--petrol-deep); font-size: 14px; font-weight: 750; }
legend span { margin-right: 8px; color: var(--accent); font-family: Georgia, serif; font-size: 13px; font-style: italic; font-weight: 400; }

.choice-grid { display: grid; gap: 10px; }
.choice-grid.two { grid-template-columns: repeat(2, 1fr); }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-grid.reasons { grid-template-columns: repeat(2, 1fr); }
.choice {
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.choice:hover { transform: translateY(-2px); border-color: rgba(13,65,69,.38); }
.choice:focus-visible { outline: 3px solid rgba(183,93,82,.25); outline-offset: 2px; }
.choice[aria-pressed="true"] { border-color: var(--petrol); background: var(--petrol); color: white; box-shadow: 0 8px 20px rgba(13,65,69,.16); }
.choice strong, .choice small { display: block; }
.choice strong { font-size: 13px; line-height: 1.25; }
.choice small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.choice[aria-pressed="true"] small { color: rgba(255,255,255,.7); }
.choice-icon {
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  border: 1px solid currentColor;
  border-radius: 50% 50% 46% 54%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  transform: rotate(-5deg);
}
.choice-icon.dog { border-radius: 45% 45% 52% 48%; transform: rotate(5deg); }
.choice.compact { min-height: 60px; display: block; }
.form-hint { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.result-section {
  position: relative;
  padding: 86px max(20px, calc((100vw - 1180px) / 2)) 92px;
  color: white;
  background: var(--petrol);
}
.result-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -250px;
  right: -180px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
}
.result-heading { max-width: 690px; margin-bottom: 40px; position: relative; }
.result-heading h2 {
  margin: 16px 0 10px;
  font-family: Georgia, serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -.035em;
}
.result-heading p { margin-bottom: 8px; color: #c7d8d6; line-height: 1.6; }
.text-button { padding: 7px 0; border: 0; color: white; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.checklist-card { min-height: 420px; padding: 34px; border-radius: 22px; color: var(--ink); background: var(--paper); }
.checklist-card.warm { background: var(--accent-soft); }
.card-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.card-title > span { color: var(--accent); font-family: Georgia, serif; font-size: 15px; font-style: italic; }
.card-title small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.card-title h3 { margin-bottom: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.check-list { margin: 0; padding: 0; display: grid; gap: 17px; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: #405356; font-size: 13px; line-height: 1.55; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border: 1px solid rgba(13,65,69,.22); border-radius: 50%; display: grid; place-items: center; color: var(--petrol); font-size: 10px; }

.visit-flow { margin-top: 18px; padding: 36px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; }
.flow-intro h3 { margin: 12px 0 10px; font-family: Georgia, serif; font-size: 29px; font-weight: 400; }
.flow-intro p { margin-bottom: 0; color: #b9cecb; font-size: 12px; line-height: 1.6; }
.visit-flow ol { margin: 0; padding: 0; counter-reset: flow; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; list-style: none; }
.visit-flow li { position: relative; padding-left: 34px; color: #e3ecea; font-size: 12px; line-height: 1.5; }
.visit-flow li::before { counter-increment: flow; content: "0" counter(flow); position: absolute; left: 0; top: 0; color: #a9c2bf; font-family: Georgia, serif; font-style: italic; }
.visit-flow li strong { display: block; margin-bottom: 3px; color: white; font-size: 13px; }

.action-panel { margin-top: 18px; padding: 34px 36px; border-radius: 22px; display: flex; align-items: center; justify-content: space-between; gap: 34px; background: var(--petrol-deep); }
.action-panel h3 { margin: 10px 0 6px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.action-panel p { max-width: 650px; margin-bottom: 0; color: #aec6c3; font-size: 12px; line-height: 1.55; }
.primary-button { flex: 0 0 auto; min-height: 52px; padding: 0 19px; border-radius: 13px; display: inline-flex; align-items: center; gap: 20px; color: var(--petrol-deep); background: white; text-decoration: none; font-size: 13px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.primary-button:focus-visible { outline: 3px solid rgba(255,255,255,.38); outline-offset: 3px; }

.medical-note { margin-top: 18px; padding: 22px 26px; border-left: 3px solid #d58b82; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; color: #edd1cc; background: rgba(6,39,42,.48); }
.medical-note strong { color: white; font-size: 12px; }
.medical-note p { margin: 0; font-size: 11px; line-height: 1.55; }
.medical-note a { color: white; font-size: 12px; font-weight: 750; white-space: nowrap; }

footer {
  padding: 30px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  color: #708081;
  background: #f3f0e8;
  font-size: 10px;
}
.footer-logo { width: 116px; height: auto; display: block; }
footer p { margin: 0; }
.motto { color: var(--petrol); font-family: Georgia, serif; font-size: 13px; font-style: italic; }

[hidden] { display: none !important; }

@media (max-width: 920px) {
  .planner-shell { grid-template-columns: 1fr; gap: 26px; margin-top: 4px; }
  .hero-copy { max-width: 680px; padding-bottom: 0; }
  .hero-copy > p { max-width: 610px; }
  .planner-card { width: 100%; }
  .visit-flow { grid-template-columns: 1fr; gap: 28px; }
  .medical-note { grid-template-columns: 1fr; gap: 8px; }
  footer { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  .site-header { width: min(100% - 28px, 1180px); padding: 18px 0; }
  .brand-logo { width: 62px; height: 62px; }
  .header-note { font-size: 10px; }
  .planner-shell { width: min(100% - 28px, 1180px); margin-bottom: 62px; }
  .hero-copy { padding-top: 25px; }
  h1 { margin-top: 17px; font-size: clamp(43px, 13vw, 59px); }
  .hero-copy > p { font-size: 15px; line-height: 1.65; }
  .trust-row { gap: 7px; }
  .trust-row span { padding: 8px 9px; font-size: 9px; }
  .planner-card { padding: 23px 17px; border-radius: 21px; }
  .progress-head { grid-template-columns: 1fr 105px; margin-bottom: 27px; }
  fieldset { padding-bottom: 24px; }
  fieldset + fieldset { padding-top: 23px; }
  .choice-grid.three { grid-template-columns: 1fr; }
  .choice-grid.reasons { grid-template-columns: 1fr; }
  .choice { min-height: 66px; }
  .choice.compact { min-height: 55px; display: flex; justify-content: space-between; }
  .choice.compact small { margin-top: 0; text-align: right; }
  .result-section { padding-top: 67px; padding-bottom: 68px; }
  .result-grid { grid-template-columns: 1fr; }
  .checklist-card { min-height: auto; padding: 25px 21px; }
  .visit-flow { padding: 26px 21px; }
  .visit-flow ol { grid-template-columns: 1fr; }
  .action-panel { padding: 27px 22px; align-items: stretch; flex-direction: column; }
  .primary-button { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
