:root {
  --guide-deep: #062b40;
  --guide-orange: #d8450d;
  --guide-lime: #d7df00;
  --guide-paper: #f4f0e9;
}

.guide-page {
  min-height: 100vh;
  color: var(--guide-deep);
  background:
    radial-gradient(circle at 82% 8%, rgba(215, 223, 0, .2), transparent 25rem),
    linear-gradient(145deg, #e9e5dc, #f8f5ef 55%, #e7e2d8);
}

.guide-header { background: rgba(248, 245, 239, .9); }
.guide-header__back { margin-right: auto; font-weight: 700; text-decoration: none; }
.guide-header__back span { margin-right: .6rem; color: var(--guide-orange); font-size: 1.4rem; }

.guide-shell {
  width: min(1220px, calc(100% - 48px));
  min-height: calc(100vh - 150px);
  margin: 52px auto;
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(6, 43, 64, .16);
  border-radius: 30px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 24px 70px rgba(6, 43, 64, .14);
}

.guide-sidebar {
  padding: 42px 38px;
  color: white;
  background:
    linear-gradient(rgba(6,43,64,.96), rgba(4,32,47,.98)),
    image-set(url("assets/hero-layers/responsive/hero-bg-static-mobile-v4.webp?v=opt-20260830") type("image/webp") 1x, url("assets/hero-layers/responsive/hero-bg-static-mobile-v4.png") type("image/png") 1x) center / cover;
}
.guide-eyebrow { margin: 0 0 12px; color: var(--guide-lime); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.guide-sidebar h1 { margin: 0; max-width: 280px; font-size: clamp(2rem, 3vw, 3rem); line-height: .96; }
.guide-sidebar > p:not(.guide-eyebrow) { margin: 20px 0 32px; color: rgba(255,255,255,.75); line-height: 1.5; }

.guide-progress { margin: 0; padding: 0; list-style: none; }
.guide-progress li { position: relative; display: flex; align-items: center; gap: 13px; min-height: 49px; color: rgba(255,255,255,.55); }
.guide-progress li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 39px; bottom: -10px; width: 1px; background: rgba(255,255,255,.25); }
.guide-progress span { position: relative; z-index: 1; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: .75rem; }
.guide-progress li.is-active { color: white; }
.guide-progress li.is-active span { color: var(--guide-deep); border-color: var(--guide-lime); background: var(--guide-lime); box-shadow: 0 0 0 5px rgba(215,223,0,.13); }
.guide-progress li.is-complete { color: rgba(255,255,255,.85); }
.guide-progress li.is-complete span { border-color: var(--guide-lime); color: var(--guide-lime); }

.guide-summary { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.guide-summary h2 { margin: 0 0 12px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.guide-summary dl { margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.guide-summary dl div { display: contents; }
.guide-summary dt { padding: 7px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .72rem; }
.guide-summary dd { display: none; }

.guide-card { min-width: 0; padding: clamp(32px, 6vw, 74px); background: rgba(250,248,244,.82); }
.guide-card__topline { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(6,43,64,.18); color: #567080; font-size: .8rem; font-weight: 700; }
.guide-card__topline span:last-child { color: var(--guide-orange); }
.guide-question { padding-top: 40px; }
.guide-question__eyebrow { margin: 0 0 10px; color: var(--guide-orange); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.guide-question h2 { margin: 0; max-width: 700px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.guide-question__lead { max-width: 650px; margin: 18px 0 30px; color: #506a78; font-size: 1.03rem; line-height: 1.55; }

.guide-age { display: grid; grid-template-columns: minmax(0, 180px) 1fr; align-items: end; gap: 20px; max-width: 590px; }
.guide-age label { display: grid; gap: 8px; font-weight: 800; }
.guide-age input { width: 100%; min-height: 64px; padding: 0 18px; border: 2px solid rgba(6,43,64,.35); border-radius: 14px; color: var(--guide-deep); background: white; font: inherit; font-size: 1.35rem; font-weight: 800; }
.guide-age input:focus { outline: 3px solid rgba(215,223,0,.6); border-color: var(--guide-deep); }

.guide-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-option { position: relative; display: block; }
.guide-option input { position: absolute; opacity: 0; pointer-events: none; }
.guide-option span { min-height: 88px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 20px; border: 2px solid rgba(6,43,64,.16); border-radius: 15px; background: white; cursor: pointer; }
.guide-option strong { font-size: 1.02rem; }
.guide-option small { color: #627987; line-height: 1.35; }
.guide-option input:checked + span { border-color: var(--guide-orange); background: #fff7f1; box-shadow: inset 5px 0 0 var(--guide-orange); }
.guide-option input:focus-visible + span { outline: 3px solid var(--guide-lime); outline-offset: 2px; }

.guide-actions { margin-top: 34px; display: flex; align-items: center; gap: 12px; }
.guide-action { min-height: 54px; padding: 0 25px; border: 1px solid var(--guide-deep); border-radius: 12px; font: inherit; font-weight: 800; cursor: pointer; }
.guide-action--primary { min-width: 180px; color: white; border-color: var(--guide-orange); background: var(--guide-orange); }
.guide-action--secondary { background: transparent; }
.guide-action:disabled { opacity: .45; cursor: not-allowed; }
.guide-error { min-height: 22px; margin: 12px 0 0; color: #a22c08; font-weight: 700; }

.guide-results { padding-top: 36px; }
.guide-results h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; }
.guide-results > p { color: #506a78; line-height: 1.5; }
.guide-result-list { margin-top: 25px; display: grid; gap: 14px; }
.guide-result { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 22px; border: 1px solid rgba(6,43,64,.22); border-radius: 17px; background: white; }
.guide-result.is-best { border: 2px solid var(--guide-orange); box-shadow: 0 8px 24px rgba(216,69,13,.1); }
.guide-result__badge { display: inline-block; margin-bottom: 9px; padding: 5px 8px; color: var(--guide-deep); background: var(--guide-lime); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.guide-result h3 { margin: 0 0 8px; font-size: 1.25rem; }
.guide-result p { margin: 4px 0; color: #526b79; font-size: .88rem; line-height: 1.45; }
.guide-result p strong { color: var(--guide-deep); }
.guide-result__actions { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 170px; }
.guide-result__actions a { padding: 12px 14px; border: 1px solid var(--guide-deep); border-radius: 10px; text-align: center; text-decoration: none; font-weight: 800; }
.guide-result__actions a:first-child { color: white; border-color: var(--guide-orange); background: var(--guide-orange); }
.guide-empty { padding: 25px; border-left: 5px solid var(--guide-orange); background: white; }
.guide-noscript { margin: 20px; padding: 20px; color: var(--guide-deep); background: white; }

@media (max-width: 850px) {
  .guide-header .header-cta { display: none; }
  .guide-shell { width: min(100% - 24px, 720px); margin: 20px auto; grid-template-columns: 1fr; }
  .guide-sidebar { padding: 26px 24px; }
  .guide-sidebar h1 { max-width: none; font-size: 2rem; }
  .guide-sidebar > p:not(.guide-eyebrow) { margin: 10px 0 22px; }
  .guide-progress { display: grid; grid-template-columns: repeat(5, 1fr); }
  .guide-progress li { min-height: auto; justify-content: center; }
  .guide-progress li strong { display: none; }
  .guide-progress li:not(:last-child)::after { left: calc(50% + 16px); right: calc(-50% + 16px); top: 15px; bottom: auto; width: auto; height: 1px; }
  .guide-summary { margin-top: 20px; }
  .guide-card { padding: 30px 24px 38px; }
  .guide-question { padding-top: 28px; }
}

@media (max-width: 560px) {
  .guide-header { min-height: 72px; padding: 0 14px; }
  .guide-header .brand { width: 72px; }
  .guide-header__back { font-size: .84rem; }
  .guide-shell { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .guide-sidebar { padding: 22px 18px; }
  .guide-sidebar h1 { font-size: 1.75rem; }
  .guide-sidebar > p:not(.guide-eyebrow) { font-size: .88rem; }
  .guide-summary { display: none; }
  .guide-card { padding: 24px 18px 34px; }
  .guide-card__topline { font-size: .72rem; }
  .guide-question h2, .guide-results h2 { font-size: 2rem; }
  .guide-options { grid-template-columns: 1fr; }
  .guide-option span { min-height: 74px; }
  .guide-age { grid-template-columns: 1fr; align-items: stretch; }
  .guide-actions { align-items: stretch; flex-direction: column-reverse; }
  .guide-action { width: 100%; }
  .guide-result { grid-template-columns: 1fr; }
  .guide-result__actions { min-width: 0; }
}
