/* HighPoint Solutions — public site styles.
   Colors come ONLY from tokens.css variables (blueprint §3).
   Mobile-first; breakpoints at 640px and 960px. */

/* ---------------------------------------------------------------- base */
[hidden] { display: none !important; }

h1, h2, h3, h4 { color: var(--hp-navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--hp-green-dark); }
a:hover { color: var(--hp-green); }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

.wrap { max-width: var(--hp-max); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--hp-surface); color: var(--hp-navy); padding: 10px 16px;
  border-radius: 0 0 var(--hp-radius) 0; box-shadow: var(--hp-shadow);
}
.skip-link:focus { left: 0; }

/* Honeypot: off-screen for humans, present for bots. */
.hp-trap { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 1px; overflow: hidden; }

:focus-visible { outline: 3px solid var(--hp-green); outline-offset: 2px; border-radius: 2px; }

.eyebrow {
  color: var(--hp-green-dark); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .09em; margin: 0 0 .7em;
}

.figure {
  color: var(--hp-navy); font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; line-height: 1.05;
  font-size: clamp(2rem, 6vw, 2.9rem); display: inline-block;
}
.figure-sm { font-size: clamp(1.15rem, 3vw, 1.45rem); }
.figure-xl { font-size: clamp(2.8rem, 9vw, 4.2rem); }
.figure-green { color: var(--hp-green-dark); }
.figure-unit { font-size: .45em; font-weight: 700; color: var(--hp-text-2); margin-left: .15em; }

.icon { width: 1.15em; height: 1.15em; vertical-align: -.22em; flex: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: var(--hp-radius);
  border: 2px solid transparent; font-weight: 700; font-size: 1rem;
  text-decoration: none; text-align: center; cursor: pointer;
  font-family: inherit; line-height: 1.25; transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 14px 26px; font-size: 1.06rem; }
.btn-block { display: block; width: 100%; }
.btn-primary { background: var(--hp-green); color: var(--hp-surface); }
.btn-primary:hover { background: var(--hp-green-dark); color: var(--hp-surface); }
.btn-secondary { background: var(--hp-surface); color: var(--hp-navy); border-color: var(--hp-line); }
.btn-secondary:hover { border-color: var(--hp-navy); color: var(--hp-navy); }
.btn-outline { background: transparent; color: var(--hp-surface); border-color: var(--hp-surface); }
.btn-outline:hover { background: var(--hp-surface); color: var(--hp-navy); }
.btn-ghost { background: transparent; color: var(--hp-green-dark); border-color: var(--hp-line); }
.btn-ghost:hover { border-color: var(--hp-green-dark); }
.btn:disabled { opacity: .6; cursor: wait; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.link-more { font-weight: 700; }
.section-cta { margin-top: 1.6em; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- header */
.site-header {
  background: var(--hp-navy); color: var(--hp-surface);
  position: sticky; top: 0; z-index: 100;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hp-surface); }
.brand-chip {
  background: var(--hp-surface); border-radius: 8px; padding: 4px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-chip img { display: block; width: 28px; height: 28px; object-fit: contain; }
.brand-name { font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { padding: 9px 14px; font-size: .92rem; white-space: nowrap; }

.nav-toggle {
  background: transparent; border: 2px solid var(--hp-navy-2); border-radius: 8px;
  width: 42px; height: 40px; cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--hp-surface); border-radius: 2px; transition: transform .18s, opacity .18s;
}
.nav-toggle-bars { top: 18px; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { transform: rotate(45deg); }
.nav-open .nav-toggle-bars::before { opacity: 0; }
.nav-open .nav-toggle-bars::after { transform: rotate(-90deg) translateX(6px); }

.site-nav { display: none; }
.nav-open .site-nav {
  display: block; position: absolute; top: 62px; left: 0; right: 0;
  background: var(--hp-navy); border-top: 1px solid var(--hp-navy-2);
  padding: 10px 20px 18px; box-shadow: var(--hp-shadow);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block; color: var(--hp-surface); text-decoration: none; font-weight: 600;
  padding: 11px 4px; border-bottom: 1px solid var(--hp-navy-2);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--hp-green-soft); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--hp-green); }
.nav-cta { margin-top: 14px; display: block; }

.site-header-min .header-row { justify-content: center; min-height: 58px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--hp-navy); color: var(--hp-surface); margin-top: 0; }
.footer-grid { display: grid; gap: 26px; padding: 40px 20px 10px; }
.footer-brand .brand { margin-bottom: 8px; }
.footer-tag { color: var(--hp-green-soft); font-weight: 600; margin: 8px 0 0; }
.footer-nav, .footer-legal { list-style: none; margin: 0; padding: 0; }
.footer-nav li, .footer-legal li { margin: 0 0 8px; }
.site-footer a { color: var(--hp-surface); text-decoration: none; }
.site-footer a:hover { color: var(--hp-green-soft); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--hp-navy-2); padding-top: 16px; padding-bottom: 18px; }
.footer-bottom p { margin: 0; color: var(--hp-green-soft); font-size: .9rem; }
.site-footer-min .footer-bottom { border-top: 0; }
.footer-min-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 18px; }
.footer-min-row .footer-legal { display: flex; gap: 16px; }
.footer-min-row .footer-legal li { margin: 0; }

/* ---------------------------------------------------------------- sections */
.section { padding: 52px 0; background: var(--hp-bg); }
.section-alt { background: var(--hp-surface); border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
.section-title { max-width: 720px; }
.section-sub { color: var(--hp-text-2); max-width: 680px; margin-top: -.4em; margin-bottom: 1.8em; font-size: 1.06rem; }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--hp-surface); border-bottom: 1px solid var(--hp-line); padding: 54px 0 58px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-copy h1 { margin-bottom: .45em; }
.hero-sub { color: var(--hp-text-2); font-size: 1.12rem; max-width: 560px; }

.trust-list { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-list li { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; color: var(--hp-text); font-size: .95rem; }
.trust-list .icon { color: var(--hp-green); margin-top: .15em; }
.trust-list-col { grid-template-columns: 1fr; gap: 14px; }
.trust-list-col li { font-weight: 400; }
.trust-list-col strong { color: var(--hp-navy); }

.hero-card {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow); padding: 26px 26px 20px; max-width: 420px;
}
.hero-card-label {
  display: inline-block; background: var(--hp-amber-soft); color: var(--hp-amber);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.hero-card-title { font-weight: 700; color: var(--hp-navy); margin-bottom: 14px; }
.hero-stats { margin: 0; }
.hero-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hp-line); }
.hero-stats dt { color: var(--hp-text-2); font-size: .92rem; }
.hero-stats dd { margin: 0; }
.hero-stat-main { border-bottom: 0 !important; padding-top: 14px !important; }
.hero-card-foot { color: var(--hp-text-3); font-size: .82rem; margin: 12px 0 0; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: 18px; }
.card {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow); padding: 24px;
}
.section-alt .card { box-shadow: none; }
.card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: .5em; }
.card p { color: var(--hp-text-2); margin-bottom: 0; }
.card p + p { margin-top: .8em; }
.card-icon {
  display: inline-flex; width: 44px; height: 44px; border-radius: 12px;
  background: var(--hp-green-soft); color: var(--hp-green-dark);
  align-items: center; justify-content: center; margin-bottom: 14px;
}
.card-icon .icon { width: 22px; height: 22px; }
.card-link { margin: .9em 0 0 !important; font-weight: 700; }
.card h3 .icon { color: var(--hp-green-dark); }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.step {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg);
  padding: 26px 24px 20px; position: relative; box-shadow: var(--hp-shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--hp-green);
  color: var(--hp-surface); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px;
}
.step h3 { margin-bottom: .4em; }
.step p { color: var(--hp-text-2); }
.steps-detailed .step { box-shadow: none; }
.note { background: var(--hp-green-soft); border-radius: var(--hp-radius); padding: 12px 14px; color: var(--hp-text); font-size: .95rem; }

.tick-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 8px; }
.tick-list li { display: flex; gap: 8px; align-items: flex-start; color: var(--hp-text-2); }
.tick-list .icon { color: var(--hp-green); margin-top: .18em; }
.tick-list strong { color: var(--hp-navy); }

/* ---------------------------------------------------------------- why / promise / carol */
.why-grid { display: grid; gap: 26px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why-list li { display: flex; gap: 10px; align-items: flex-start; }
.why-list .icon { color: var(--hp-green); margin-top: .2em; }
.why-list strong { color: var(--hp-navy); }
.why-list div { color: var(--hp-text-2); }

.promise-card {
  background: var(--hp-navy); color: var(--hp-surface); border-radius: var(--hp-radius-lg);
  padding: 26px; align-self: start; box-shadow: var(--hp-shadow);
}
.promise-card p { margin-bottom: 0; }
.promise-card .promise-title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 12px; color: var(--hp-green-soft); }
.promise-card .icon { color: var(--hp-green-soft); }

.promise-wide {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-left: 5px solid var(--hp-green);
  border-radius: var(--hp-radius-lg); padding: 26px 28px; margin-top: 10px;
}
.promise-wide h3 { margin-top: 1em; }
.promise-wide h3:first-child { margin-top: 0; }
.promise-sign { color: var(--hp-text-2); font-weight: 700; margin-bottom: 0; }

.carol-grid { display: grid; gap: 24px; align-items: start; }
.carol-avatar {
  width: 108px; height: 108px; border-radius: 50%; background: var(--hp-navy);
  color: var(--hp-green-soft); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 2rem; letter-spacing: .02em; box-shadow: var(--hp-shadow);
}
.carol-avatar-lg { width: 132px; height: 132px; font-size: 2.4rem; }
.carol-quote { font-size: 1.12rem; color: var(--hp-text); max-width: 720px; }

/* ---------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--hp-surface); border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius); box-shadow: var(--hp-shadow);
}
.section-alt .faq-item { box-shadow: none; }
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--hp-navy); padding: 16px 44px 16px 18px;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--hp-green-dark); font-weight: 800; font-size: 1.3rem;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 18px 16px; color: var(--hp-text-2); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--hp-navy); color: var(--hp-surface); padding: 58px 0; }
.cta-band h2 { color: var(--hp-surface); }
.cta-band p { color: var(--hp-green-soft); max-width: 640px; }
.cta-band-inner { text-align: left; }
.cta-guarantee { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 6px; }
.cta-guarantee .icon { color: var(--hp-green); }

/* ---------------------------------------------------------------- forms */
.form-card, .landing-form-card {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow); padding: 26px;
}
.form-title { margin-bottom: .2em; }
.form-sub { color: var(--hp-text-2); margin-bottom: 1.4em; }
.form-row { display: grid; gap: 0 14px; }
.form-field { margin-bottom: 16px; }
.form-field label, .form-field legend { display: block; font-weight: 600; color: var(--hp-navy); margin-bottom: 6px; font-size: .95rem; }
.form-field legend { padding: 0; }
.legend-note { color: var(--hp-text-3); font-weight: 400; }
.req { color: var(--hp-green-dark); }
fieldset.form-field { border: 0; padding: 0; margin: 0 0 16px; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--hp-line); border-radius: var(--hp-radius);
  font-family: inherit; font-size: 1rem; color: var(--hp-text); background: var(--hp-surface);
}
input:focus, select:focus, textarea:focus { border-color: var(--hp-green); outline: none; box-shadow: 0 0 0 3px var(--hp-green-soft); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--hp-red); }
textarea { resize: vertical; }

.field-error { color: var(--hp-red); font-size: .88rem; margin: 6px 0 0; font-weight: 600; }
.form-alert {
  background: var(--hp-red-soft); color: var(--hp-red); border-radius: var(--hp-radius);
  padding: 12px 14px; font-weight: 600; margin-bottom: 16px;
}
.form-hint { color: var(--hp-text-3); font-size: .88rem; margin: 6px 0 12px; }
.form-actions { margin: 1.2em 0 .6em; }
.form-privacy { color: var(--hp-text-3); font-size: .85rem; margin-bottom: 0; display: flex; align-items: flex-start; gap: 6px; }
.form-privacy .icon { color: var(--hp-green-dark); margin-top: .15em; }

.check-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--hp-text-2); cursor: pointer; }
.check-label input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--hp-green); }
.consent-field { background: var(--hp-bg); border-radius: var(--hp-radius); padding: 12px; }
.consent-field span { font-size: .88rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill { cursor: pointer; }
.check-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-pill span {
  display: inline-block; padding: 9px 15px; border: 1.5px solid var(--hp-line);
  border-radius: 999px; font-weight: 600; color: var(--hp-text-2); background: var(--hp-surface);
  transition: background .12s, border-color .12s, color .12s;
}
.check-pill input:checked + span { background: var(--hp-green); border-color: var(--hp-green); color: var(--hp-surface); }
.check-pill input:focus-visible + span { outline: 3px solid var(--hp-green); outline-offset: 2px; }

.form-success {
  background: var(--hp-green-soft); border: 1px solid var(--hp-green); border-radius: var(--hp-radius-lg);
  padding: 20px 22px; margin-bottom: 20px;
}
.form-success p { margin: 0; }
.form-success .icon { color: var(--hp-green-dark); }
.error-list { color: var(--hp-red); font-weight: 600; }

.booking-for { display: flex; align-items: center; gap: 8px; background: var(--hp-green-soft); border-radius: var(--hp-radius); padding: 10px 14px; font-weight: 600; }
.booking-for .icon { color: var(--hp-green-dark); }

/* ---------------------------------------------------------------- landing */
.page-landing .landing-hero { padding: 40px 0 64px; background: var(--hp-bg); }
.landing-grid { display: grid; gap: 34px; align-items: start; }
.landing-copy h1 { margin-bottom: .4em; }
.video-block { margin: 22px 0 6px; }
.video-block video {
  width: 100%; border-radius: var(--hp-radius-lg); box-shadow: var(--hp-shadow);
  background: var(--hp-navy); display: block;
}
.video-caption { color: var(--hp-text-3); font-size: .85rem; margin-top: 8px; }
.landing-form-card { position: relative; }
.landing-success { text-align: left; }
.landing-success h2 { display: flex; align-items: center; gap: 8px; }
.landing-success .icon { color: var(--hp-green-dark); }
.upload-progress { margin-top: 8px; }

/* ---------------------------------------------------------------- upload page */
.dropzone {
  border: 2px dashed var(--hp-line); border-radius: var(--hp-radius-lg);
  background: var(--hp-surface); text-align: center; padding: 34px 20px 26px;
  transition: border-color .15s, background .15s;
}
.dropzone.drag { border-color: var(--hp-green); background: var(--hp-green-soft); }
.dropzone-icon .icon { width: 40px; height: 40px; color: var(--hp-green-dark); }
.dropzone-title { font-weight: 700; color: var(--hp-navy); font-size: 1.1rem; margin: 8px 0 2px; }
.dropzone-or { color: var(--hp-text-3); margin: 4px 0 10px; }
.dropzone-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.btn-file { position: relative; overflow: hidden; }
.btn-file input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone-note { color: var(--hp-text-3); font-size: .85rem; margin: 0; }

.file-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.file-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
  padding: 10px 14px;
}
.file-name { font-weight: 600; color: var(--hp-navy); word-break: break-all; }
.file-progress { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--hp-line); overflow: hidden; }
.file-progress-bar { display: block; height: 100%; width: 0; background: var(--hp-green); border-radius: 3px; transition: width .2s; }
.file-status { color: var(--hp-text-2); font-size: .88rem; text-align: right; }
.file-row.file-ok { border-color: var(--hp-green); }
.file-row.file-ok .file-status { color: var(--hp-green-dark); font-weight: 700; }
.file-row.file-dup .file-status { color: var(--hp-amber); font-weight: 600; }
.file-row.file-bad { border-color: var(--hp-red); }
.file-row.file-bad .file-status { color: var(--hp-red); font-weight: 600; }
.file-row.file-bad .file-progress, .file-row.file-ok .file-progress, .file-row.file-dup .file-progress { display: none; }
.file-list-static .file-progress { display: none; }

.uploader.js .no-js-only { display: none; }
.upload-success {
  margin-top: 22px; background: var(--hp-green-soft); border: 1px solid var(--hp-green);
  border-radius: var(--hp-radius-lg); padding: 22px 24px;
}
.upload-success h2 { display: flex; gap: 8px; align-items: center; }
.upload-success .icon { color: var(--hp-green-dark); }
.upload-success .cta-actions { margin-bottom: 0; }

.upload-tips { list-style: none; margin: 26px 0 8px; padding: 0; display: grid; gap: 10px; }
.upload-tips li { display: flex; gap: 8px; align-items: flex-start; color: var(--hp-text-2); }
.upload-tips .icon { color: var(--hp-green-dark); margin-top: .18em; }
.upload-heic-note { color: var(--hp-text-3); font-size: .85rem; }

/* ---------------------------------------------------------------- results page */
.results-section { padding-top: 40px; }
.results-business { margin-bottom: .2em; }
.results-meta { color: var(--hp-text-3); font-size: .92rem; margin-bottom: 2em; }
.results-hero { margin-bottom: 26px; }
.results-kicker { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hp-navy); font-size: 1.15rem; }
.results-kicker .icon { color: var(--hp-green-dark); }
.savings-figure { margin: .2em 0 .1em; }
.savings-annual { color: var(--hp-text-2); font-size: 1.08rem; max-width: 640px; }
.savings-annual strong { color: var(--hp-navy); }

.rate-cards { display: grid; gap: 14px; margin: 10px 0 26px; }
.rate-cards-single { grid-template-columns: 1fr !important; max-width: 480px; }
.rate-card {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg);
  padding: 20px 22px; box-shadow: var(--hp-shadow);
}
.rate-card-good { background: var(--hp-green-soft); border-color: var(--hp-green); }
.rate-card-label { font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .78rem; color: var(--hp-text-2); margin-bottom: 4px; }
.rate-card-figure { font-size: clamp(1.9rem, 5vw, 2.5rem); font-weight: 800; color: var(--hp-navy); font-variant-numeric: tabular-nums; margin: 0; }
.rate-card-good .rate-card-figure { color: var(--hp-green-dark); }
.rate-card-sub { color: var(--hp-text-2); font-size: .92rem; margin: 4px 0 0; }

.drivers { margin: 26px 0; }
.driver-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: drv; }
.driver { display: grid; gap: 6px; }
.driver-label { font-weight: 600; color: var(--hp-navy); }
.driver-bar { display: block; height: 10px; border-radius: 5px; background: var(--hp-green-soft); overflow: hidden; }
.driver-fill { display: block; height: 100%; background: var(--hp-green); border-radius: 5px; }
.driver-amt { color: var(--hp-text-2); font-variant-numeric: tabular-nums; font-weight: 700; }
.driver-share { color: var(--hp-text-3); font-weight: 400; }

.calc-details {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg);
  margin: 22px 0;
}
.calc-details summary { cursor: pointer; font-weight: 700; color: var(--hp-navy); padding: 16px 18px; list-style: none; }
.calc-details summary::-webkit-details-marker { display: none; }
.calc-details summary::before { content: "\25B8"; color: var(--hp-green-dark); margin-right: 8px; }
.calc-details[open] summary::before { content: "\25BE"; }
.calc-body { padding: 0 20px 18px; color: var(--hp-text-2); }
.calc-assumptions-title { font-weight: 700; color: var(--hp-navy); margin-bottom: .4em; }
.calc-confidence { font-weight: 600; color: var(--hp-navy); }
.calc-note { color: var(--hp-text-3); font-size: .88rem; margin-bottom: 0; }

.results-panel {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-left: 5px solid var(--hp-amber);
  border-radius: var(--hp-radius-lg); padding: 20px 22px; margin: 0 0 22px;
}
.results-panel .tick-list { margin-bottom: 0; }
.results-next { margin-top: 30px; }
.results-cta { margin: 16px 0; }
.print-row { margin-top: 34px; border-top: 1px solid var(--hp-line); padding-top: 18px; }

/* ---------------------------------------------------------------- misc layouts */
.contact-grid, .booking-grid { display: grid; gap: 24px; }
.contact-side, .booking-side { display: grid; gap: 16px; align-self: start; }
.confirm-panel { text-align: center; max-width: 620px; margin: 30px auto; }
.confirm-panel .cta-actions { justify-content: center; }
.confirm-icon {
  display: inline-flex; width: 74px; height: 74px; border-radius: 50%;
  background: var(--hp-green-soft); color: var(--hp-green-dark);
  align-items: center; justify-content: center; margin-bottom: 18px;
}
.confirm-icon .icon { width: 36px; height: 36px; }
.confirm-icon-muted { background: var(--hp-bg); color: var(--hp-text-3); border: 1px solid var(--hp-line); }

.legal-body { max-width: 760px; color: var(--hp-text-2); }
.legal-body h3 { margin-top: 1.8em; }

.service-list { display: grid; gap: 18px; }
.service-block {
  background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow); padding: 26px;
}
.service-block h3 { display: flex; gap: 8px; align-items: center; }
.service-block .icon { color: var(--hp-green-dark); }
.service-block p { color: var(--hp-text-2); }
.service-block .tick-list { margin-bottom: 0; }
.service-block .card-link { margin-top: 1em; }

/* ---------------------------------------------------------------- breakpoints */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-detailed { grid-template-columns: 1fr; }
  .rate-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .file-row { grid-template-columns: 1fr auto; }
  .contact-grid { grid-template-columns: 280px 1fr; }
  .booking-grid { grid-template-columns: 280px 1fr; }
  .carol-grid { grid-template-columns: auto 1fr; }
}

@media (min-width: 960px) {
  .site-nav { display: flex; align-items: center; position: static; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a { border-bottom: 0; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
  .site-nav a:hover { background: var(--hp-navy-2); color: var(--hp-surface); }
  .nav-cta { display: none; }
  .nav-toggle { display: none; }
  .nav-open .site-nav { box-shadow: none; border: 0; padding: 0; }

  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-card { justify-self: end; width: 100%; }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1.2fr .8fr; }
  .landing-grid { grid-template-columns: 1.05fr .95fr; }
  .section { padding: 72px 0; }
  .hero { padding: 74px 0 78px; }
}

/* Very small screens: keep the sticky header CTA but tighten it. */
@media (max-width: 400px) {
  .brand-name { display: none; }
  .header-cta { padding: 8px 10px; font-size: .85rem; }
}

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

/* ---------------------------------------------------------------- print (results page) */
@media print {
  .site-header, .site-footer, .results-cta, .print-row, .btn, .skip-link { display: none !important; }
  body { background: var(--hp-surface); }
  .section { padding: 0; background: var(--hp-surface); }
  .rate-card, .calc-details, .results-panel, .file-row { box-shadow: none; }
  .calc-details summary::before { content: ""; }
  a { color: var(--hp-text); text-decoration: none; }
  .wrap { max-width: 100%; padding: 0; }
}
