/* ==========================================================================
   THERMAL HR B.V. — Design System & Styles
   ========================================================================== */

/* -------------------------------- Tokens -------------------------------- */
:root{
  /* Color */
  --navy:        #17324D;
  --navy-700:    #1F3E5C;
  --navy-cta:    #2A5578;
  --blue:        #3E6F8E;
  --orange:      #E8793A;
  --orange-600:  #D5672C;
  --ivory:       #F7F5F0;
  --white:       #FFFFFF;
  --sage:        #A8B8A3;
  --charcoal:    #252B2F;
  --slate:       #68747D;
  --line:        #E4E0D6;
  --line-dark:   rgba(255,255,255,0.14);

  /* Type */
  --font-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 80px;
  --sp-10: 96px;
  --sp-11: 120px;

  /* Layout */
  --container: 1220px;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 14px;

  --shadow-card: 0 1px 2px rgba(23,50,77,0.06);
  --shadow-lift: 0 12px 28px rgba(23,50,77,0.10);
}

/* -------------------------------- Reset ---------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size: inherit; color: inherit; }
h1,h2,h3,h4,h5{
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 var(--sp-4) 0;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 var(--sp-4) 0; }
p:last-child{ margin-bottom:0; }

/* Focus visibility (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* -------------------------------- Type scale ------------------------------ */
h1{ font-size: 40px; }
h2{ font-size: 32px; }
h3{ font-size: 24px; }
h4{ font-size: 19px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--sp-3);
}
.eyebrow::before{
  content:"";
  width:6px; height:6px; border-radius:50%;
  background: var(--orange);
  flex: none;
}
.lede{ font-size: 19px; color: var(--slate); max-width: 62ch; }

@media (min-width: 720px){
  h1{ font-size: 52px; }
  h2{ font-size: 38px; }
  h3{ font-size: 27px; }
}
@media (min-width: 1080px){
  h1{ font-size: 60px; }
  h2{ font-size: 42px; }
}

/* -------------------------------- Layout --------------------------------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
@media (min-width: 720px){ .container{ padding: 0 var(--sp-7); } }

section{ position: relative; }
.section{ padding: var(--sp-9) 0; }
.section--tight{ padding: var(--sp-7) 0; }
.section--white{ background: var(--white); }
.section--ivory{ background: var(--ivory); }
.section--navy{ background: var(--navy-cta); color: rgba(255,255,255,0.92); }
.section--navy h2, .section--navy h3{ color: var(--white); }
.section--navy .eyebrow{ color: var(--sage); }
.section--navy .lede{ color: rgba(255,255,255,0.72); }

.section-head{ max-width: 760px; margin-bottom: var(--sp-8); }
.section-head--center{ margin-left:auto; margin-right:auto; text-align:center; }

.grid{ display:grid; gap: var(--sp-6); }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }
@media (min-width: 720px){
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
}

.split{
  display:grid; gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 900px){
  .split{ grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-9); }
  .split--reverse{ direction: rtl; }
  .split--reverse > *{ direction: ltr; }
}

/* -------------------------------- Buttons --------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-m);
  border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{ background: var(--orange); color: var(--white); }
.btn--primary:hover{ background: var(--orange-600); }
.btn--primary:disabled{ background: #EFC8AE; cursor: not-allowed; }

.btn--ghost{ background: transparent; color: var(--navy); border-color: rgba(23,50,77,0.28); }
.btn--ghost:hover{ border-color: var(--navy); background: rgba(23,50,77,0.04); }

.btn--on-navy{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--on-navy:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn--block{ 
  width: 100%;
  text-align: center; 
}
.btn--sm{ padding: 10px 18px; font-size: 14px; }

.link{
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--navy);
  border-bottom: 1.5px solid rgba(23,50,77,0.3);
  padding-bottom: 2px;
  transition: border-color .15s ease, color .15s ease;
}
.link:hover{ border-color: var(--orange); color: var(--orange-600); }
.section--navy .link{ color: var(--white); border-color: rgba(255,255,255,0.4); }
.section--navy .link:hover{ color: var(--orange); border-color: var(--orange); }

/* -------------------------------- Header ---------------------------------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(247,245,240,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.wordmark{
  display:flex; align-items:center;
}
.wordmark__logo{
  height: 52px;
  width: auto;
  display: block;
}
.footer-brand .wordmark__logo{ height: 50px; }

.nav-desktop{ display:none; }
.nav-desktop ul{ display:flex; align-items:center; gap: var(--sp-6); }
.nav-desktop li{ position:relative; }
.nav-desktop a{
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--navy); position: relative; padding: 6px 0;
  display:inline-flex; align-items:center; gap:5px;
}
.nav-desktop a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .15s ease;
}
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after{ transform: scaleX(1); }
.nav-desktop a[aria-current="page"]{ color: var(--orange-600); }
.nav-desktop .caret{ width:9px; height:9px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform: rotate(45deg); margin-top:-4px; }

.nav-dropdown{
  position:absolute; top: 100%; left:0; margin-top: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift); padding: var(--sp-3);
  min-width: 240px;
  opacity:0; visibility:hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-desktop li:hover .nav-dropdown, .nav-desktop li:focus-within .nav-dropdown{
  opacity:1; visibility:visible; transform:none;
}
.nav-dropdown a{ display:block; padding: 10px 12px; border-radius: var(--radius-s); font-size:14.5px; }
.nav-dropdown a::after{ display:none; }
.nav-dropdown a:hover{ background: var(--ivory); color: var(--orange-600); }

.header-actions{ display:flex; align-items:center; gap: var(--sp-4); }
.header-actions .btn{ display:none; }

.menu-btn{
  display:flex; align-items:center; justify-content:center;
  width: 40px; height: 40px; border-radius: var(--radius-m);
  background: transparent; border: 1px solid rgba(23,50,77,0.25);
}
.menu-btn svg{ width:18px; height:18px; }

.mobile-nav{
  position: fixed; inset:0; top: 76px; z-index: 99;
  background: var(--ivory);
  padding: var(--sp-6) var(--sp-5) var(--sp-8);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mobile-nav.is-open{ opacity:1; visibility: visible; transform: translateY(0); }
.mobile-nav ul{ display:flex; flex-direction:column; }
.mobile-nav a{
  display:block; padding: var(--sp-4) 0; font-family: var(--font-head);
  font-weight: 700; font-size: 22px; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn{ margin-top: var(--sp-6); }

@media (min-width: 960px){
  .nav-desktop{ display:block; }
  .header-actions .btn{ display:inline-flex; }
  .menu-btn{ display:none; }
  .mobile-nav{ display:none; }
}

/* -------------------------------- Hero -------------------------------- */
.hero{
  background: var(--ivory);
  padding: var(--sp-8) 0 var(--sp-9);
}
.hero__grid{
  display:grid; gap: var(--sp-7);
}
@media (min-width: 960px){
  .hero__grid{ grid-template-columns: 1.1fr 0.9fr; align-items:center; gap: var(--sp-9); }
}
.hero__actions{ display:flex; flex-wrap:wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.hero__meta{
  display:flex; gap: var(--sp-6); margin-top: var(--sp-8);
  padding-top: var(--sp-6); border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero__meta div{ font-family: var(--font-head); font-weight:700; color: var(--navy); font-size:15px; }
.hero__meta span{ display:block; font-family: var(--font-body); font-weight:400; color: var(--slate); font-size: 13px; margin-top: 2px; }

/* Hero consultation callout (boxed CTA, floats over the hero photo) */
.hero__callout{
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-m);
  padding: var(--sp-6);
  max-width: 340px;
}
.hero__callout h3{ color: var(--white); font-size: 19px; margin-bottom: var(--sp-3); }
.hero__callout p{ color: rgba(255,255,255,0.72); font-size: 14.5px; margin-bottom: var(--sp-5); }

/* -------------------------------- Hero (full-bleed photo variant) --------------------------------
   Reference layout: a full-width background photo behind the whole hero,
   with the headline sitting in a translucent card and the consultation
   callout floating beside it, both layered directly on top of the photo. */
.hero--photo{
  position: relative;
  overflow: hidden;
  padding: var(--sp-9) 0;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--navy);
}
.hero--photo .hero__bg{
  position: absolute; inset: 0; z-index: 0;
}
.hero--photo .hero__bg img{
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
}
.hero--photo .hero__bg::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(23,50,77,0.55) 0%, rgba(23,50,77,0.15) 55%, rgba(23,50,77,0.05) 100%);
}
.hero--photo .container{ position: relative; z-index: 1; }
.hero--photo .hero__row{
  display:flex; flex-wrap:wrap;
}
.hero__textcard{
  background: rgba(247,245,240,0.95);
  border-radius: var(--radius-l);
  padding: var(--sp-7);
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.hero__textcard h1{
  overflow-wrap: break-word;
  hyphens: manual;
  font-size: 36px;
}
.hero__textcard-copy{ max-width: 100%; }

.hero--photo .hero__callout{
  margin-top: var(--sp-6);
}
@media (min-width: 640px){
  .hero__textcard h1{ font-size: 42px; }
}
@media (min-width: 860px){
  .hero__textcard{ padding-right: 300px; }
  .hero__textcard h1{ font-size: 46px; }
  .hero--photo .hero__callout{
    position: absolute;
    top: 50%;
    right: var(--sp-5);
    transform: translateY(-50%);
    width: 250px;
    margin-top: 0;
  }
}
@media (max-width: 640px){
  .hero__textcard{ padding: var(--sp-6); }
  .hero--photo{ min-height: 0; }
}

/* Homepage-only: header floats transparently over the full-bleed hero photo,
   matching the reference's overlay treatment. */
body.page-home .site-header{
  position: absolute;
  top: 0; left: 0; width: 100%;
  background: rgba(247,245,240,0.4);
  border-bottom-color: rgba(255,255,255,0.25);
}
body.page-home .hero--photo{
  padding-top: calc(76px + var(--sp-8));
}

.hero__media{
  position:relative;
  border-radius: var(--radius-l);
  overflow:hidden;
  aspect-ratio: 4/5;
}
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__media::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(23,50,77,0) 55%, rgba(23,50,77,0.55) 100%);
}
.hero__media-caption{
  position:absolute; left: var(--sp-5); right: var(--sp-5); bottom: var(--sp-5);
  color: var(--white); font-size: 14px; font-weight:600; z-index: 2;
}
@media (min-width: 960px){ .hero__media{ aspect-ratio: 3/4; } }

/* -------------------------------- Cards -------------------------------- */
.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: var(--sp-6);
  height: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover{ border-color: var(--blue); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.card__index{
  font-family: var(--font-head); font-weight:800; font-size: 13px;
  color: var(--orange); letter-spacing: 0.04em; margin-bottom: var(--sp-3); display:block;
}
.card h3{ font-size: 20px; margin-bottom: var(--sp-2); }
.card p{ color: var(--slate); font-size: 15.5px; }
.card__foot{ margin-top: var(--sp-5); }

.card--challenge{
  border-left: 3px solid var(--blue);
}
.card--challenge:hover{ border-left-color: var(--orange); }

.media-card{
  border-radius: var(--radius-m);
  overflow:hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.media-card__img{ aspect-ratio: 4/3; overflow:hidden; }
.media-card__img img{ width:100%; height:100%; object-fit:cover; }
.media-card__body{ padding: var(--sp-6); }

/* -------------------------------- Process -------------------------------- */
.process{
  display:grid; gap: var(--sp-6);
  counter-reset: step;
}
@media (min-width: 720px){ .process{ grid-template-columns: repeat(4, 1fr); } }
.process__step{ position: relative; padding-top: var(--sp-6); border-top: 3px solid var(--orange); }
.process__num{
  font-family: var(--font-head); font-weight:800; font-size: 15px;
  color: var(--slate);
}
.process__step h4{ margin-top: var(--sp-2); }
.process__step p{ color: var(--slate); font-size: 15px; }

/* -------------------------------- Phase flow (3-step programme) -------------------------------- */
.phase-flow{
  display:grid; gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}
@media (min-width: 860px){ .phase-flow{ grid-template-columns: repeat(3, 1fr); align-items:start; } }
.phase-flow__step{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: var(--sp-5); position: relative;
}
.phase-flow__tag{
  display:inline-block; background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight:700; font-size: 12.5px;
  padding: 5px 12px; border-radius: 999px; margin-bottom: var(--sp-4);
}
.phase-flow__step ul{ list-style:disc; padding-left:18px; color: var(--slate); font-size: 14.5px; display:grid; gap:6px; }
.phase-flow__arrow{
  display:none; align-items:center; justify-content:center; color: var(--orange);
}
@media (min-width: 860px){
  .phase-flow__arrow{ display:flex; position:absolute; top:50%; right:-38px; transform:translateY(-50%); width:28px; }
  .phase-flow__step{ position:relative; }
}

/* -------------------------------- Tier cards (module / custom / package) -------------------------------- */
.tier-grid{ display:grid; gap: var(--sp-6); align-items:stretch; }
@media (min-width: 900px){ .tier-grid{ grid-template-columns: 1fr 1.05fr 1fr; } }
.tier-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: var(--sp-6); display:flex; flex-direction:column;
}
.tier-card--highlight{
  background: var(--navy); border-color: var(--navy); color: var(--white);
}
.tier-card--highlight h3{ color: var(--white); }
.tier-card--highlight p{ color: rgba(255,255,255,0.72); }
.tier-card h3{ font-size: 21px; }
.tier-card ul{ list-style:none; padding:0; margin: var(--sp-4) 0 var(--sp-5); display:grid; gap:10px; flex:1; }
.tier-card ul li{ font-size: 15px; color: var(--slate); padding-left: 18px; position:relative; }
.tier-card ul li::before{ content:"—"; position:absolute; left:0; color: var(--orange); }
.tier-card--highlight ul li{ color: rgba(255,255,255,0.8); }

/* -------------------------------- Row list (flat theme rows, alternating) -------------------------------- */
.row-list{ display:flex; flex-direction:column; }
.row-list__item{
  padding: var(--sp-6);
  border-radius: var(--radius-m);
  display:grid; gap: var(--sp-2);
}
.row-list__item:nth-child(odd){ background: var(--ivory); }
.row-list__item:nth-child(even){ background: var(--white); border: 1px solid var(--line); }
.row-list__item + .row-list__item{ margin-top: var(--sp-4); }
.row-list__item h3{ font-size: 19px; margin-bottom:0; }
.row-list__item p{ color: var(--slate); margin:0; }
.row-list__item a{ margin-top: var(--sp-2); }

/* -------------------------------- Accordion link list (category rows linking to a page) -------------------------------- */
.accordion-link{
  display:flex; align-items:center; justify-content:space-between; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: var(--ivory);
  border-radius: var(--radius-m);
  font-family: var(--font-head); font-weight:700; font-size: 17px; color: var(--navy);
  transition: background .15s ease;
}
.accordion-link:hover{ background: #EFECE3; }
.accordion-link + .accordion-link{ margin-top: var(--sp-3); }
.accordion-link .chev{ color: var(--orange); flex:none; }

/* -------------------------------- Page banner (photo strip hero for hub pages) -------------------------------- */
.page-banner{
  position:relative; height: 220px; overflow:hidden;
  background: var(--navy);
}
.page-banner img{ width:100%; height:100%; object-fit:cover; opacity:0.55; }
@media (min-width:860px){ .page-banner{ height: 280px; } }

/* -------------------------------- CTA band -------------------------------- */
.cta-band{
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-l);
  padding: var(--sp-8);
  display:grid; gap: var(--sp-6);
}
@media (min-width: 860px){
  .cta-band{ grid-template-columns: 1.4fr auto; align-items:center; padding: var(--sp-9); }
}
.cta-band h2{ color: var(--white); margin-bottom: var(--sp-3); }
.cta-band p{ color: rgba(255,255,255,0.72); max-width: 52ch; }
.cta-band__actions{ display:flex; flex-wrap:wrap; gap: var(--sp-4); }

/* -------------------------------- Footer -------------------------------- */
.site-footer{ background: var(--navy); color: rgba(255,255,255,0.75); padding: 0 16px;}
.site-footer a:hover{ color: var(--orange); }
.footer-top{
  padding: var(--sp-9) 0 var(--sp-7);
  display:grid; gap: var(--sp-7);
}
@media (min-width: 860px){ .footer-top{ grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr; gap: var(--sp-6); } }
.footer-brand p{ margin-top: var(--sp-4); max-width: 34ch; color: rgba(255,255,255,0.6); font-size: 14.5px; }
.footer-col h5{
  font-family: var(--font-head); color: var(--white); font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-4);
}
.footer-col li{ margin-bottom: var(--sp-3); font-size: 15px; }
.footer-legal{ font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-legal address{ font-style: normal; }
.footer-bottom{
  border-top: 1px solid var(--line-dark);
  padding: var(--sp-5) 0;
  display:flex; flex-direction:column; gap: var(--sp-3);
  font-size: 13.5px; color: rgba(255,255,255,0.5);
}
@media (min-width: 720px){
  .footer-bottom{ flex-direction:row; align-items:center; justify-content:space-between; }
}
.footer-bottom ul{ display:flex; gap: var(--sp-5); flex-wrap:wrap; }

/* -------------------------------- Forms -------------------------------- */
.field{ margin-bottom: var(--sp-5); }
.field label{
  display:block; font-family: var(--font-head); font-weight:700; font-size: 14px;
  color: var(--navy); margin-bottom: var(--sp-2);
}
.field .hint{ display:block; font-weight:400; color: var(--slate); font-size: 13px; margin-top: 4px; }
.field input, .field textarea{
  width:100%; padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus{ border-color: var(--blue); }
.field textarea{ min-height: 120px; resize: vertical; }
.field.has-error input, .field.has-error textarea{ border-color: #C64A3A; }
.field .error-msg{ display:none; color:#C64A3A; font-size: 13px; margin-top: 6px; }
.field.has-error .error-msg{ display:block; }

.checkbox-field{
  display:flex; align-items:flex-start; gap: 10px; font-size: 14.5px; color: var(--slate);
}
.checkbox-field input{ margin-top: 3px; width:auto; flex:none; }
.checkbox-field a{ color: var(--navy); border-bottom: 1px solid rgba(23,50,77,0.3); }

/* -------------------------------- Quiz -------------------------------- */
.quiz{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--sp-6);
  max-width: 720px;
}
@media (min-width:720px){ .quiz{ padding: var(--sp-8); } }

.quiz__progress-label{
  display:flex; justify-content:space-between; align-items:baseline;
  font-family: var(--font-head); font-weight:700; font-size: 13px;
  color: var(--slate); margin-bottom: var(--sp-3);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.quiz__progress-label b{ color: var(--navy); }
.quiz__bar{
  display:flex; gap: 6px; margin-bottom: var(--sp-7);
}
.quiz__bar span{
  height: 4px; flex:1; background: var(--line); border-radius: 2px; overflow:hidden;
}
.quiz__bar span::after{ content:""; display:block; height:100%; width:0; background: var(--orange); transition: width .25s ease; }
.quiz__bar span.is-done::after{ width:100%; }
.quiz__bar span.is-current::after{ width:100%; }

.quiz__step{ display:none; }
.quiz__step.is-active{ display:block; animation: fadein .2s ease; }
@keyframes fadein{ from{ opacity:0; transform: translateY(4px);} to{ opacity:1; transform:none; } }

.quiz__options{ display:grid; gap: var(--sp-3); margin: var(--sp-6) 0; }
@media (min-width:560px){ .quiz__options--2col{ grid-template-columns: 1fr 1fr; } }
.quiz__option{
  display:flex; align-items:center; gap: var(--sp-3);
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  text-align:left; width:100%;
  font-family: var(--font-body); font-size: 15.5px; color: var(--charcoal);
  transition: border-color .15s ease, background .15s ease;
}
.quiz__option:hover{ border-color: var(--blue); }
.quiz__option .radio{
  width: 18px; height:18px; border-radius:50%; border: 1.5px solid var(--slate);
  flex: none; position:relative; transition: border-color .15s ease;
}
.quiz__option[aria-checked="true"]{ border-color: var(--orange); background: rgba(232,121,58,0.06); }
.quiz__option[aria-checked="true"] .radio{ border-color: var(--orange); }
.quiz__option[aria-checked="true"] .radio::after{
  content:""; position:absolute; inset:3px; border-radius:50%; background: var(--orange);
}

.quiz__nav{ display:flex; justify-content:space-between; align-items:center; margin-top: var(--sp-6); gap: var(--sp-4); }
.quiz__back{
  font-family: var(--font-head); font-weight:700; font-size: 14px; color: var(--slate);
  display:inline-flex; align-items:center; gap:6px; background:none; border:none; padding: 10px 0;
}
.quiz__back:hover{ color: var(--navy); }
.quiz__back:disabled{ visibility:hidden; }

.quiz__summary{ background: var(--ivory); border-radius: var(--radius-m); padding: var(--sp-5); margin-bottom: var(--sp-6); }
.quiz__summary dl{ display:grid; gap: var(--sp-2); margin:0; }
.quiz__summary-row{ display:flex; justify-content:space-between; gap: var(--sp-4); font-size: 14.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.quiz__summary-row:last-child{ border-bottom:none; }
.quiz__summary-row dt{ color: var(--slate); }
.quiz__summary-row dd{ margin:0; font-weight:600; color: var(--navy); text-align:right; }

.quiz__confirm{ text-align:center; padding: var(--sp-6) 0; }
.quiz__confirm-icon{
  width: 56px; height:56px; border-radius:50%; background: rgba(168,184,163,0.35);
  display:flex; align-items:center; justify-content:center; margin: 0 auto var(--sp-5);
}
.quiz__confirm-icon svg{ width:26px; height:26px; }

.quiz-form-row{ display:grid; gap: var(--sp-5); }
@media (min-width: 560px){ .quiz-form-row--2{ grid-template-columns: 1fr 1fr; } }

/* -------------------------------- FAQ / accordion -------------------------------- */
.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-item:first-child{ border-top: 1px solid var(--line); }
.accordion-trigger{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap: var(--sp-4);
  padding: var(--sp-5) 0; background:none; border:none; text-align:left;
  font-family: var(--font-head); font-weight:700; font-size: 17px; color: var(--navy);
}
.accordion-trigger .plus{ flex:none; width:20px; height:20px; position:relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after{
  content:""; position:absolute; background: var(--orange); border-radius:1px;
}
.accordion-trigger .plus::before{ left:0; top:50%; width:100%; height:2px; transform: translateY(-50%); }
.accordion-trigger .plus::after{ top:0; left:50%; height:100%; width:2px; transform: translateX(-50%); transition: transform .15s ease; }
.accordion-item.is-open .plus::after{ transform: translateX(-50%) rotate(90deg); opacity:0; }
.accordion-panel{ max-height:0; overflow:hidden; transition: max-height .2s ease; }
.accordion-panel__inner{ padding: 0 0 var(--sp-5); color: var(--slate); max-width: 68ch; }

/* -------------------------------- Breadcrumbs -------------------------------- */
.breadcrumbs{ font-size: 14px; color: var(--slate); padding: var(--sp-5) 0; }
.breadcrumbs a{ color: var(--slate); }
.breadcrumbs a:hover{ color: var(--orange-600); }
.breadcrumbs span[aria-hidden]{ margin: 0 8px; }
.breadcrumbs .current{ color: var(--navy); font-weight:600; }

/* -------------------------------- Legal pages -------------------------------- */
.legal{
  max-width: 760px;
}
.legal h2{ font-size: 24px; margin-top: var(--sp-8); }
.legal h2:first-of-type{ margin-top:0; }
.legal p, .legal li{ color: var(--charcoal); font-size: 16px; }
.legal ul{ list-style: disc; padding-left: 22px; margin-bottom: var(--sp-4); }
.legal ul li{ margin-bottom: var(--sp-2); }
.legal .updated{ color: var(--slate); font-size: 14px; margin-bottom: var(--sp-7); }
.legal .review-note{
  background: var(--white); border: 1px dashed var(--sage);
  border-radius: var(--radius-m); padding: var(--sp-5); font-size: 14.5px; color: var(--slate);
  margin: var(--sp-6) 0;
}

/* -------------------------------- Page hero (secondary pages) -------------------------------- */
.page-hero{ padding: var(--sp-6) 0 var(--sp-8); background: var(--ivory); }
.page-hero .lede{ margin-top: var(--sp-3); }

/* -------------------------------- Utility -------------------------------- */
.mt-0{ margin-top:0; }
.text-center{ text-align:center; }
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
}
.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--navy); color:var(--white);
  padding: 10px 16px; z-index:1000; border-radius: var(--radius-s);
}
.skip-link:focus{ left: 12px; top: 12px; }
