/* ==========================================================================
   SJP Energy Assessors — shared styles
   Palette taken from the supplied logo (approximate; refine against the
   original artwork if a vector file becomes available).
   ========================================================================== */

:root {
  --navy: #063b78;
  --navy-800: #05336a;
  --navy-900: #031f45;
  --forest: #006638;
  --forest-700: #00522d;
  --turquoise: #06b9ca;
  --leaf: #78b938;
  --yellow: #ffe329;
  --white: #ffffff;

  --ink: #10233b;
  --muted: #4b5c71;
  --line: #e1e8f0;
  --tint: #f4f7fb;
  --tint-2: #eef3f9;
  --tint-leaf: #f3f9ee;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 60px -20px rgba(3, 31, 69, 0.28);
  --shadow: 0 18px 40px -18px rgba(3, 31, 69, 0.22);
  --shadow-sm: 0 1px 2px rgba(3, 31, 69, 0.06), 0 4px 14px -6px rgba(3, 31, 69, 0.1);

  --stripe: linear-gradient(90deg, var(--navy) 0 38%, var(--turquoise) 38% 66%, var(--leaf) 66% 100%);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Base ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--forest); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

.on-dark :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand-stripe {
  height: 4px;
  background: var(--stripe);
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn svg { width: 20px; height: 20px; flex: none; transition: transform 0.2s ease; }
.btn:hover svg[data-arrow] { transform: translateX(3px); }

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(0, 102, 56, 0.7);
}

.btn-primary:hover {
  background: var(--forest-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(0, 102, 56, 0.75);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(6, 59, 120, 0.35);
}

.btn-outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover { background: var(--tint-2); color: var(--navy); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); border-color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}

.text-link svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.text-link:hover { color: var(--forest-700); }
.text-link:hover svg { transform: translateX(3px); }

/* --- Top bar ------------------------------------------------------------- */

.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.topbar p { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--leaf); flex: none; }

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.topbar a:hover { color: var(--yellow); }

@media (max-width: 760px) {
  .topbar { display: none; }
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img { height: 66px; width: auto; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav li a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--turquoise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav li a:hover { color: var(--forest); }
.site-nav li a:hover::after,
.site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav li a[aria-current="page"] { color: var(--forest); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn { min-height: 48px; padding: 10px 22px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-cta { display: none; }

@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .brand img { height: 54px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav li a {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
  }

  .site-nav li a::after { display: none; }
  .site-nav li a:hover { background: var(--tint); }

  .site-nav li a[aria-current="page"] {
    background: var(--tint);
    box-shadow: inset 4px 0 0 var(--turquoise);
  }

  .mobile-cta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .brand img { height: 48px; }
}

/* --- Sections ------------------------------------------------------------ */

.section { padding: var(--section) 0; }
.section-tint { background: var(--tint); }
.section-leaf { background: var(--tint-leaf); }

.section-head {
  max-width: 740px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-foot {
  margin-top: 40px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: var(--stripe);
}

.center .eyebrow { justify-content: center; }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.65;
  color: var(--muted);
}

/* --- Home hero ----------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 55%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 31, 69, 0.96) 0%, rgba(3, 31, 69, 0.9) 34%, rgba(3, 31, 69, 0.55) 58%, rgba(3, 31, 69, 0.08) 82%),
    linear-gradient(0deg, rgba(3, 31, 69, 0.55) 0%, rgba(3, 31, 69, 0) 40%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(580px, 80vh, 780px);
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(96px, 11vw, 150px);
}

.hero-copy { max-width: 640px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-kicker span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--navy-900);
}

.hero-kicker svg { width: 14px; height: 14px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 0.38em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #8be0ea, #b8e08f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-points svg { width: 20px; height: 20px; color: var(--leaf); flex: none; }

@media (max-width: 760px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(3, 31, 69, 0.78) 0%, rgba(3, 31, 69, 0.9) 55%, rgba(3, 31, 69, 0.97) 100%);
  }
  .hero-media img { object-position: 78% 50%; }
  .hero-content { min-height: 0; }
}

@media (max-width: 480px) {
  .hero .btn-row .btn { width: 100%; }
}

/* --- Page hero (inner pages) --------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0;
  color: var(--white);
  background:
    radial-gradient(700px 360px at 92% 10%, rgba(6, 185, 202, 0.28), transparent 65%),
    radial-gradient(600px 340px at 0% 110%, rgba(120, 185, 56, 0.22), transparent 65%),
    var(--navy-900);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.page-hero h1 { color: var(--white); text-wrap: balance; }
.page-hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 580px; margin-bottom: 30px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }

.page-hero-media {
  position: relative;
  margin: 0;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.page-hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: 24px;
  border: 2px solid rgba(6, 185, 202, 0.5);
}

@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 480px; }
}

/* --- Media frame --------------------------------------------------------- */

.media-frame {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.media-frame img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.media-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -22px;
  bottom: -22px;
  width: 62%;
  height: 70%;
  border-radius: 24px;
  background: var(--tint-leaf);
}

.media-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18px;
  top: -18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 185, 202, 0.35) 2px, transparent 2.5px) 0 0 / 14px 14px;
}

@media (max-width: 560px) {
  .media-frame::before { left: -10px; bottom: -10px; }
  .media-frame::after { right: -6px; top: -10px; }
}

/* --- Split layout -------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 650;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.chip-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--turquoise);
}

.sub-heading {
  margin: 32px 0 16px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- Service cards ------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: -1px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--stripe);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy) 0%, #0a5aa8 100%);
  color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(6, 59, 120, 0.7);
}

.service-icon svg { width: 32px; height: 32px; }

.service-card p { color: var(--muted); }

.tick-list {
  margin: 0 0 28px;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.97rem;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 9px;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--leaf);
  border-bottom: 2.5px solid var(--leaf);
  transform: rotate(-45deg);
}

.service-card .text-link { margin-top: auto; }

/* --- Floor plan comparison ----------------------------------------------- */

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

@media (max-width: 800px) {
  .plans { grid-template-columns: 1fr; }
}

.plan-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.plan-card figure { margin: 0 0 22px; }

.plan-card svg {
  width: 100%;
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  border: 1px solid var(--line);
}

.plan-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.plan-card p { color: var(--muted); }

.plan-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-label.is-enhanced { background: var(--tint-leaf); color: var(--forest); }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

@media (max-width: 760px) {
  .benefits { grid-template-columns: 1fr; }
}

.benefits li {
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(120, 185, 56, 0.25);
}

.benefits strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 1.05rem; }
.benefits span { color: var(--muted); font-size: 0.97rem; }

.small-print {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* --- EPC band ------------------------------------------------------------ */

.epc-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(6, 185, 202, 0.22), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(120, 185, 56, 0.16), transparent 65%),
    var(--navy-900);
}

.epc-band h2 { color: var(--white); }
.epc-band .lead { color: rgba(255, 255, 255, 0.84); }
.epc-band .eyebrow { color: var(--leaf); }
.epc-band p { color: rgba(255, 255, 255, 0.84); }

/* --- EPC rating card (illustrative) -------------------------------------- */

.epc-card {
  position: relative;
  margin: 0;
  padding: 30px;
  background: var(--white);
  color: var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.epc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.epc-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.epc-scale {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.epc-row,
.epc-cols {
  display: grid;
  grid-template-columns: 1fr 70px 70px;
  align-items: center;
  gap: 8px;
}

.epc-cols {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.epc-cols span:first-child { text-align: left; }

.epc-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  border-radius: 6px 18px 18px 6px;
  color: var(--white);
  font-weight: 800;
}

.epc-bar small { font-weight: 600; font-size: 0.78rem; opacity: 0.95; }

.epc-a .epc-bar { width: 44%; background: #008054; }
.epc-b .epc-bar { width: 53%; background: #19b459; }
.epc-c .epc-bar { width: 62%; background: #8dce46; color: #10261a; }
.epc-d .epc-bar { width: 71%; background: #ffd500; color: #2b2400; }
.epc-e .epc-bar { width: 80%; background: #fcaa65; color: #2e1a07; }
.epc-f .epc-bar { width: 90%; background: #ef8023; color: #2e1503; }
.epc-g .epc-bar { width: 100%; background: #e9153b; }

.epc-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 18px 6px 6px 18px;
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
}

.epc-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 480px) {
  .epc-card { padding: 22px 16px; }
  .epc-row,
  .epc-cols { grid-template-columns: 1fr 56px 56px; gap: 6px; }
  .epc-cols { font-size: 0.7rem; text-transform: none; letter-spacing: 0; }
  .epc-bar small { display: none; }
}

/* --- Features ------------------------------------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature {
  padding: 30px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--tint-leaf);
  color: var(--forest);
}

.feature-icon svg { width: 26px; height: 26px; }

.feature h3 { margin-bottom: 8px; font-size: 1.12rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* --- Steps --------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 84px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.steps li:last-child::before {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.steps li::after {
  content: "";
  position: absolute;
  top: 29px;
  left: 76px;
  right: -14px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--turquoise) 0 8px, transparent 8px 14px);
  opacity: 0.6;
}

.steps li:last-child::after { display: none; }

.steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.98rem; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps li::after { display: none; }
}

@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; row-gap: 30px; }
  .steps li { padding: 0 0 0 80px; min-height: 60px; }
}

/* --- Coverage ------------------------------------------------------------ */

.coverage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 900px) {
  .coverage { grid-template-columns: 1fr; }
}

.area-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(6, 185, 202, 0.3), transparent 70%),
    var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.area-panel h3 { color: var(--white); }

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.area-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 650;
}

.area-chips svg { width: 16px; height: 16px; color: var(--yellow); }

.area-panel p { color: rgba(255, 255, 255, 0.86); font-size: 0.97rem; margin-bottom: 24px; }

/* --- CTA band ------------------------------------------------------------ */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 72px);
  border-radius: 32px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(6, 185, 202, 0.35), transparent 65%),
    radial-gradient(500px 300px at 0% 100%, rgba(120, 185, 56, 0.28), transparent 65%),
    var(--navy);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--stripe);
}

.cta-band h2 { color: var(--white); }

.cta-band p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.cta-band .btn-row { justify-content: center; }
.cta-band :focus-visible { outline-color: var(--yellow); }

@media (max-width: 480px) {
  .cta-band .btn { width: 100%; }
}

/* --- Pricing ------------------------------------------------------------- */

.draft-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: #fff9d6;
  border: 1px solid #f0dc6a;
  color: #4a3d00;
  font-size: 0.95rem;
}

.draft-notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

.offer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 40px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--forest) 0%, #0a7a47 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.offer-banner[hidden] { display: none; }
.offer-banner h2 { margin: 0 0 4px; color: var(--white); font-size: 1.3rem; }
.offer-banner p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 0.97rem; }
.offer-banner small { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; }
.offer-banner :focus-visible { outline-color: var(--yellow); }

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1060px) {
  .price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .price-cards { grid-template-columns: 1fr; }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.price-card.is-featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--turquoise), var(--shadow);
}

.price-card-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--turquoise);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 { margin-bottom: 14px; font-size: 1.08rem; }

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--navy);
}

.price span { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }

.price-card p { color: var(--muted); font-size: 0.96rem; }
.price-card .text-link { margin-top: auto; padding-top: 18px; }

.table-wrap {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table caption {
  padding: 22px 28px;
  text-align: left;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.price-table th,
.price-table td {
  padding: 18px 28px;
  text-align: left;
}

.price-table thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-table thead th.is-highlight { background: #0a4c94; box-shadow: inset 0 -3px 0 var(--turquoise); }

.price-table tbody th { color: var(--navy); font-weight: 700; }

.price-table tbody td { font-weight: 600; color: var(--ink); font-size: 1.05rem; }

.price-table tbody td.is-highlight { background: rgba(6, 185, 202, 0.07); }

.price-table tbody tr + tr > * { border-top: 1px solid var(--line); }

.price-table .by-quote { color: var(--muted); font-weight: 600; font-size: 0.97rem; }

@media (max-width: 720px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td { display: block; }
  .price-table caption { display: block; }
  .price-table tbody tr { padding: 18px 20px; }
  .price-table tbody tr + tr { border-top: 1px solid var(--line); }
  .price-table tbody tr + tr > * { border-top: 0; }
  .price-table tbody th { padding: 0 0 10px; font-size: 1.08rem; }
  .price-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
  }
  .price-table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
  }
  .price-table tbody td.is-highlight { background: none; }
}

.table-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

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

@media (max-width: 820px) {
  .info-grid { grid-template-columns: 1fr; }
}

.info-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.info-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.info-card h3 svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  flex: none;
  border-radius: 12px;
  background: var(--tint-2);
  color: var(--navy);
}

.info-card p { color: var(--muted); }

.fee-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fee-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.fee-list li:last-child { border-bottom: 0; }
.fee-list span { color: var(--muted); }
.fee-list strong { color: var(--navy); white-space: nowrap; }

.account-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: var(--tint-leaf);
  border: 1px solid rgba(120, 185, 56, 0.3);
}

@media (max-width: 860px) {
  .account-panel { grid-template-columns: 1fr; }
}

.account-panel ul { margin: 0; }

/* --- On-page navigation -------------------------------------------------- */

.toc {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.toc-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.toc-inner > span {
  margin-right: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc a {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.toc a:hover { background: var(--navy); color: var(--white); }

/* --- Cards & lists used on guide pages ----------------------------------- */

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

@media (max-width: 820px) {
  .card-grid-2 { grid-template-columns: 1fr; }
}

.note {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 4px solid var(--turquoise);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--tint);
  color: var(--muted);
  font-size: 0.95rem;
}

.check-card {
  padding: clamp(28px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--forest);
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 560px) {
  .record-grid { grid-template-columns: 1fr; }
}

.record-grid li {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.4;
}

.on-dark .record-grid li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

/* Five-step journey */
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.steps-5 li::after { left: 72px; right: -10px; }

@media (max-width: 960px) {
  .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .steps-5 { grid-template-columns: 1fr; }
}

/* --- FAQs ---------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.faq details[open] { box-shadow: var(--shadow); }

.faq summary {
  position: relative;
  padding: 22px 64px 22px 26px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063b78' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--tint-2);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq-body {
  padding: 0 26px 24px;
  color: var(--muted);
}

/* --- Forms --------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-card {
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.form-card > h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

.form-intro { color: var(--muted); margin-bottom: 28px; }

.form-card fieldset {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.form-card legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
}

.legend-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
}

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

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
}

.field { margin-bottom: 18px; }

.field > label,
.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.97rem;
}

.req { color: #b42318; font-weight: 800; }
.optional { color: var(--muted); font-weight: 500; font-size: 0.88rem; }

.hint {
  display: block;
  margin: -3px 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="date"],
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid #cbd6e2;
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.form-card textarea { min-height: 130px; resize: vertical; }

.form-card select {
  appearance: none;
  padding-right: 44px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063b78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat,
    #fbfcfe;
}

.form-card input:hover,
.form-card select:hover,
.form-card textarea:hover { border-color: #9fb3c8; }

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--navy);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(6, 59, 120, 0.14);
}

.form-card [aria-invalid="true"] {
  border-color: #b42318;
  background-color: #fffafa;
}

.field-error {
  display: none;
  margin-top: 7px;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}

.field-error.is-visible { display: block; }

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

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

@media (max-width: 600px) {
  .choices,
  .choices.choices-3 { grid-template-columns: 1fr; }
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid #cbd6e2;
  border-radius: 12px;
  background: #fbfcfe;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.choice:hover { border-color: #9fb3c8; }

.choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
  accent-color: var(--forest);
}

.choice:has(input:checked) {
  border-color: var(--forest);
  background: var(--tint-leaf);
}

.choice:has(input:focus-visible) {
  box-shadow: 0 0 0 4px rgba(6, 59, 120, 0.14);
  border-color: var(--navy);
}

.choice small { display: block; color: var(--muted); font-weight: 500; font-size: 0.84rem; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--tint);
  font-size: 0.95rem;
  color: var(--ink);
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--forest);
}

.error-summary {
  margin-bottom: 26px;
  padding: 18px 22px;
  border: 2px solid #b42318;
  border-radius: 14px;
  background: #fff6f5;
}

.error-summary[hidden] { display: none; }
.error-summary h2 { margin: 0 0 8px; color: #b42318; font-size: 1.1rem; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: #b42318; font-weight: 600; }

.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.form-submit p { margin: 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 480px) {
  .form-submit .btn { width: 100%; }
}

.contact-aside {
  display: grid;
  gap: 24px;
}

.contact-card {
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(6, 185, 202, 0.3), transparent 70%),
    var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.contact-card h2 { color: var(--white); font-size: 1.35rem; }

.contact-lines {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contact-lines a,
.contact-lines span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.contact-lines a:hover { color: var(--yellow); }

.contact-lines svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--leaf);
}

.contact-lines small { display: block; color: rgba(255, 255, 255, 0.7); font-weight: 500; font-size: 0.82rem; }

.aside-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.aside-card h2 { font-size: 1.2rem; }

.mini-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mini;
}

.mini-steps li {
  position: relative;
  padding: 0 0 16px 46px;
  color: var(--muted);
  font-size: 0.97rem;
  counter-increment: mini;
}

.mini-steps li:last-child { padding-bottom: 0; }

.mini-steps li::before {
  content: counter(mini);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tint-leaf);
  color: var(--forest);
  font-weight: 800;
  font-size: 0.88rem;
}

.mini-steps strong { display: block; color: var(--navy); }

.aside-photo img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* --- Long-form text (privacy) -------------------------------------------- */

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 48px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.prose h3 { margin-top: 28px; font-size: 1.15rem; }
.prose p,
.prose li { color: #2b3d54; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }

.prose table {
  width: 100%;
  margin: 16px 0 24px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th { background: var(--tint); color: var(--navy); }

@media (max-width: 600px) {
  .prose table,
  .prose tbody,
  .prose tr,
  .prose th,
  .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { margin-bottom: 12px; }
  .prose td { border-top: 0; }
  .prose td:first-child { border-top: 1px solid var(--line); background: var(--tint); color: var(--navy); font-weight: 700; }
}

/* --- Message pages (thank you / 404) ------------------------------------- */

.message-page {
  padding: clamp(64px, 10vw, 128px) 0;
  text-align: center;
}

.message-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 28px;
  background: var(--tint-leaf);
  color: var(--forest);
}

.message-icon svg { width: 44px; height: 44px; }

.message-page .lead { max-width: 620px; margin: 0 auto 32px; }
.message-page .btn-row { justify-content: center; }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  margin-top: var(--section);
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.97rem;
}

.site-footer .container { padding-top: 72px; padding-bottom: 28px; }

.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

.footer-logo {
  display: inline-block;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 16px;
}

.footer-logo img { height: 64px; width: auto; }

.footer-brand p { margin-top: 20px; max-width: 380px; }

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li { margin-bottom: 12px; }

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-contact svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --- Motion -------------------------------------------------------------- */

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