/* ===================== Design tokens ===================== */
:root {
  --navy-900: #1c2814;
  --navy-800: #24341c;
  --navy-700: #304423;
  --navy-600: #3c542c;
  --teal-500: #4a6b32;
  --teal-400: #5c7f41;
  --teal-50: #eef3e7;
  --amber-500: #d97706;
  --amber-100: #fef3e2;
  --ink-900: #101828;
  --ink-700: #344054;
  --ink-500: #667085;
  --ink-300: #d0d5dd;
  --ink-100: #f2f4f7;
  --white: #ffffff;
  --success: #16794f;
  --danger: #b3261e;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(24, 36, 16, 0.10);
  --shadow-lg: 0 20px 48px rgba(24, 36, 16, 0.16);
  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-700); }
a { color: var(--teal-500); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; color: var(--ink-700); }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--ink-100); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #d3dcc6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  background: var(--teal-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 1.1rem; color: var(--ink-700); }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-500); color: var(--white); box-shadow: 0 6px 16px rgba(74, 107, 50, 0.35); }
.btn-primary:hover { background: #3e5a2a; box-shadow: 0 10px 22px rgba(74, 107, 50, 0.42); }
.btn-amber { background: var(--amber-500); color: var(--white); box-shadow: 0 6px 16px rgba(217, 119, 6, 0.32); }
.btn-amber:hover { background: #c26a05; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-navy { background: transparent; border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* These two CTAs carry dynamic status/price text that can run long
   ("Confirm your service history to continue", "Pay ₹24,999 for the
   Shield Elite plan"). Left as nowrap, that text overflowed past the
   button edge on narrow phones instead of wrapping. */
#quote-cta, #pay-cta {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

/* ===================== Header ===================== */
.top-strip {
  background: var(--navy-900);
  color: #d3dcc6;
  font-size: 0.82rem;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.top-strip a { color: #e6edf7; }
.top-strip .strip-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.top-strip .strip-item:last-child { margin-right: 0; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--ink-100);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy-900); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.brand .brand-sub { display: block; font-size: 0.68rem; font-weight: 600; color: var(--ink-500); letter-spacing: 0.04em; text-transform: uppercase; }
.brand-logo { height: 40px; width: auto; }
.footer-brand-logo .brand-logo { height: 34px; margin-bottom: 4px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 0;
  position: relative;
}
.main-nav a:hover { color: var(--navy-900); }
.main-nav a.active { color: var(--teal-500); }
.main-nav a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--teal-500); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--ink-300); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mobile-nav-cta { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy-900); position: relative; transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ===================== Hero ===================== */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(92, 127, 65, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 76px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
/* Grid items default to min-width: auto, which stops them shrinking below
   their content's intrinsic width. On narrower Android viewports (as low
   as 360px CSS width, vs 375px+ on iPhone) this pushed content past the
   edge instead of wrapping, and overflow-x: hidden silently clipped it. */
.hero-grid > * { min-width: 0; }
.hero .eyebrow { background: rgba(92, 127, 65, 0.18); color: #bfe0a0; }
.hero h1 { color: var(--white); }
.hero p.lede { color: #d3dcc6; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .stat-num { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.hero-trust .stat-label { font-size: 0.78rem; color: #a9b89a; }

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--ink-900);
}
.hero-card h3 { margin-bottom: 4px; }
.hero-card .muted { color: var(--ink-500); font-size: 0.88rem; margin-bottom: 20px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink-700); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-300);
  border-radius: 9px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink-900);
  background: var(--white);
}
.form-row select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(74, 107, 50, 0.15);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-2 > * { min-width: 0; }
.form-note { font-size: 0.78rem; color: var(--ink-500); margin-top: 12px; text-align: center; }

/* Formspree AJAX hooks: the library toggles the data-fs-active attribute
   to show/hide data-fs-success / data-fs-error elements. */
.form-success, .form-error {
  display: none;
  padding: 14px 16px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 14px;
}
.form-success[data-fs-active], .form-error[data-fs-active] { display: block; }
.form-success { background: var(--teal-50); border: 1px solid #99e2d8; color: var(--success); }
.form-error { background: #fdecea; border: 1px solid #f3b4ae; color: var(--danger); }
.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 5px;
}
.field-error[data-fs-active] { display: block; }
.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] { border-color: var(--danger); }
button[data-fs-submit-btn][disabled] { opacity: 0.6; cursor: not-allowed; }

/* ===================== Partner strip ===================== */
.partner-strip { padding: 40px 0; border-bottom: 1px solid var(--ink-100); }
.partner-strip .label { text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 22px; }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.partner-chip {
  font-weight: 800; color: var(--ink-500); font-size: 1.02rem;
  padding: 10px 22px; border: 1px solid var(--ink-100); border-radius: 10px;
  background: var(--white);
}
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 26px; border: 1px solid var(--ink-100); border-radius: 10px;
  background: var(--white);
  height: 68px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.partner-logo:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.partner-logo img {
  max-height: 30px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.partner-logo:hover img { filter: grayscale(0%); opacity: 1; }

/* ===================== Stat band ===================== */
.stat-band { background: var(--navy-900); padding: 52px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-grid > * { min-width: 0; }
.stat-grid .num { font-size: 2.1rem; font-weight: 800; color: var(--white); }
.stat-grid .cap { font-size: 0.85rem; color: #a9b89a; margin-top: 4px; }

/* ===================== Cards ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 > *, .grid-2 > *, .grid-4 > * { min-width: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.icon-badge {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--teal-50); color: var(--teal-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-badge svg { width: 24px; height: 24px; }

/* Who It's For: compact single-row grid, deliberately smaller than the
   standard .card pattern so six audience segments don't dominate the page. */
.who-for-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.who-for-item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.who-for-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.who-for-item svg { width: 22px; height: 22px; color: var(--teal-500); margin-bottom: 8px; }
.who-for-item h3 { font-size: 0.86rem; margin-bottom: 4px; }
.who-for-item p { font-size: 0.76rem; color: var(--ink-500); margin: 0; line-height: 1.4; }

/* Step cards */
.step-card { position: relative; padding-top: 40px; }
.step-num {
  position: absolute; top: -18px; left: 26px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 14px rgba(10,31,61,0.3);
}

/* Coverage list */
.coverage-panel { border: 1px solid var(--ink-100); border-radius: var(--radius-md); overflow: hidden; }
.coverage-panel .panel-head { padding: 22px 28px; }
.coverage-panel.included .panel-head { background: var(--teal-50); }
.coverage-panel.excluded .panel-head { background: var(--amber-100); }
.coverage-panel .panel-body { padding: 24px 28px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--ink-100); color: var(--ink-700); font-size: 0.95rem; }
.check-list li:last-child { border-bottom: none; }
.check-list.yes li::before { content: "✓"; color: var(--success); font-weight: 800; flex-shrink: 0; }
.check-list.no li::before { content: "✕"; color: var(--danger); font-weight: 800; flex-shrink: 0; }

/* Timeline for how-it-works */
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute; left: 24px; top: 10px; bottom: 10px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--ink-300) 0 8px, transparent 8px 16px);
}
.timeline-item { position: relative; padding-left: 68px; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy-900); color: var(--white); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(10,31,61,0.25);
}
.video-steps { list-style: none; counter-reset: video-step; padding: 0; margin: 18px 0 0; }
.video-steps li {
  counter-increment: video-step;
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px dashed var(--ink-100);
  color: var(--ink-700);
  font-size: 0.92rem;
}
.video-steps li:last-child { border-bottom: none; }
.video-steps li::before {
  content: counter(video-step);
  position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-500);
  font-size: 0.76rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.video-steps li strong { color: var(--navy-900); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink-100); color: var(--ink-700);
  font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}

/* FAQ accordion */
.accordion-item { border-bottom: 1px solid var(--ink-100); }
.accordion-item:first-child { border-top: 1px solid var(--ink-100); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: inherit; font-weight: 700; font-size: 1.02rem; color: var(--navy-900);
}
.accordion-trigger .plus { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: ""; position: absolute; background: var(--teal-500); border-radius: 2px; transition: transform 0.2s ease;
}
.accordion-trigger .plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.accordion-trigger .plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.accordion-item.open .accordion-trigger .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-panel .inner { padding: 0 4px 20px; color: var(--ink-700); }

/* Contact / claim page */
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--ink-100); }
.info-card:last-child { border-bottom: none; }
.info-card .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.info-card h4 { margin: 0 0 4px; font-size: 1rem; }
.info-card p { margin: 0; }

.disclaimer-box {
  background: var(--amber-100);
  border: 1px solid #f2d19b;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 0.9rem;
  color: #6b4a12;
}
.disclaimer-box strong { color: #4a3208; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-500), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: var(--white); margin: 0; }

/* Footer */
footer.site-footer { background: var(--navy-900); color: #a9b89a; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-grid > * { min-width: 0; }
.footer-grid h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; color: #a9b89a; font-size: 0.92rem; }
.footer-grid a { color: #a9b89a; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { color: #a9b89a; font-size: 0.9rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: #a9b89a;
}
.footer-bottom a { color: #a9b89a; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* Legal pages (privacy policy, terms, refund policy) */
.legal-page { max-width: 780px; }
.legal-page h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.legal-page h2:first-child { margin-top: 0; }
.legal-page p { margin-bottom: 16px; }
.legal-page .check-list { margin: 16px 0; }

/* Visual coverage map: a car diagram whose zones highlight to match the selected plan tier */
.coverage-map { max-width: 620px; margin: 0 auto; text-align: center; }
.tier-tabs { display: inline-flex; gap: 6px; background: var(--ink-100); padding: 5px; border-radius: 12px; margin-bottom: 22px; }
.tier-tab { padding: 10px 20px; border: none; background: transparent; border-radius: 9px; font-weight: 700; font-size: 0.85rem; color: var(--ink-500); cursor: pointer; font-family: inherit; transition: background 0.15s ease, color 0.15s ease; white-space: nowrap; }
.tier-tab.active { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.tier-tab:hover:not(.active) { color: var(--ink-700); }
.car-diagram { width: 100%; height: auto; max-width: 560px; }
.car-body-fill { fill: var(--ink-100); stroke: var(--ink-300); stroke-width: 2; }
.car-window { fill: #cfe0ee; opacity: 0.7; }
.car-wheel-outer { fill: var(--navy-900); }
.car-wheel-inner { fill: var(--ink-300); }
.car-zone { fill: var(--ink-300); opacity: 0.55; stroke: var(--ink-300); stroke-width: 1.5; transition: fill 0.25s ease, opacity 0.25s ease, stroke 0.25s ease; }
.car-zone.covered { fill: var(--teal-500); opacity: 0.9; stroke: var(--teal-500); }
.car-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; }
.legend-item { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--ink-500); transition: color 0.2s ease; }
.legend-item i { width: 12px; height: 12px; border-radius: 3px; background: var(--ink-300); display: inline-block; flex-shrink: 0; transition: background 0.2s ease; }
.legend-item.covered { color: var(--navy-900); font-weight: 700; }
.legend-item.covered i { background: var(--teal-500); }

/* Real claims paid: an auto-scrolling, seamless-loop ticker of settled claims.
   The track is rendered twice back to back so it can loop at -50% with no
   visible seam; pausing on hover lets a visitor actually read a card. */
.claims-scroller {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}
.claims-track {
  display: flex;
  gap: 18px;
  width: max-content;
}
/* Animation only starts once JS has populated the cards (adds .is-ready).
   Starting it unconditionally raced against the JS render on slower mobile
   devices: the browser locked in the animation against an empty 0-width
   track, then never recovered cleanly once real content appeared. */
.claims-track.is-ready {
  animation: claims-scroll 100s linear infinite;
}
.claims-scroller:hover .claims-track { animation-play-state: paused; }
.claim-card {
  flex: 0 0 auto;
  width: 230px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.claim-card .claim-amount { font-size: 1.35rem; font-weight: 800; color: var(--teal-500); margin-bottom: 6px; }
.claim-card .claim-vehicle { font-weight: 700; color: var(--navy-900); font-size: 0.92rem; margin-bottom: 2px; }
.claim-card .claim-part { font-size: 0.82rem; color: var(--ink-500); }
@keyframes claims-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .claims-track { animation: none; overflow-x: auto; }
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 60px 0 50px;
}
.page-hero .eyebrow { background: rgba(92,127,65,0.18); color: #bfe0a0; }
.page-hero h1 { color: var(--white); }
.breadcrumb { font-size: 0.85rem; color: #a9b89a; margin-bottom: 14px; }
.breadcrumb a { color: #a9b89a; }

/* Plan tier cards */
.plan-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.plan-card .plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal-500); color: var(--white); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
  white-space: nowrap;
}
.plan-card .plan-name { font-size: 1.3rem; font-weight: 800; color: var(--navy-900); margin-bottom: 4px; }
.plan-card .plan-limit { font-size: 0.88rem; color: var(--teal-500); font-weight: 700; margin-bottom: 18px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.plan-card ul li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 0.94rem; color: var(--ink-700); border-bottom: 1px dashed var(--ink-100); }
.plan-card ul li:last-child { border-bottom: none; }
.plan-card ul li::before { content: "✓"; color: var(--success); font-weight: 800; flex-shrink: 0; }

/* Pricing table */
.scroll-hint { display: none; text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--ink-500); margin: 0 0 10px; }
.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
  /* Fade shadows on the left/right edges that only show up while there's
     more content to scroll to in that direction (Lea Verou's scroll-shadow
     technique): two gradients scroll with the content to mask the shadow
     near each end, two more stay fixed to actually draw the shadow. */
  background:
    linear-gradient(to right, var(--white) 30%, rgba(255,255,255,0)),
    linear-gradient(to right, rgba(255,255,255,0), var(--white) 70%) 100% 0,
    linear-gradient(to right, rgba(16,24,40,.12), rgba(255,255,255,0)),
    linear-gradient(to left, rgba(16,24,40,.12), rgba(255,255,255,0)) 100% 0;
  background-repeat: no-repeat;
  background-color: var(--white);
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}
table.pricing-table { width: 100%; border-collapse: collapse; min-width: 720px; }
table.pricing-table th, table.pricing-table td { padding: 16px 20px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--ink-100); }
table.pricing-table thead th { background: var(--navy-900); color: var(--white); font-weight: 700; white-space: nowrap; }
table.pricing-table thead th.price-col { text-align: center; }
table.pricing-table tbody td.price-col { text-align: center; font-weight: 800; color: var(--navy-900); font-size: 1rem; }
table.pricing-table tbody tr:last-child td { border-bottom: none; }
table.pricing-table tbody tr:nth-child(even) { background: var(--ink-100); }
table.pricing-table td.category-cell { font-weight: 700; color: var(--navy-900); }
table.pricing-table td.brands-cell { color: var(--ink-500); font-size: 0.86rem; }

/* Comparison table: both columns get identical, neutral treatment so
   neither option looks favoured. */
table.compare-table td:not(.category-cell) { font-weight: 400; color: var(--ink-700); text-align: left; }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.star-rating { display: flex; gap: 3px; margin-bottom: 14px; }
.star-rating svg { width: 16px; height: 16px; fill: var(--amber-500); }
.testimonial-card .testimonial-quote { color: var(--ink-900); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-500));
  color: var(--white); font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--navy-900); font-size: 0.92rem; }
.testimonial-meta { font-size: 0.8rem; color: var(--ink-500); }

/* Reusable Petrol/Diesel vs EV tab switcher, used on Coverage and How It Works pages */
.fuel-tabs { display: inline-flex; gap: 6px; background: var(--ink-100); padding: 5px; border-radius: 12px; }
.fuel-tab { padding: 12px 30px; border: none; background: transparent; border-radius: 9px; font-weight: 700; font-size: 0.95rem; color: var(--ink-500); cursor: pointer; font-family: inherit; transition: background 0.15s ease, color 0.15s ease; }
.fuel-tab.active { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.fuel-tab:hover:not(.active) { color: var(--ink-700); }

/* Quote generator */
.quote-tabs { display: flex; gap: 6px; background: var(--ink-100); padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.quote-tab { flex: 1; min-width: 0; padding: 10px 12px; border: none; background: transparent; border-radius: 8px; font-weight: 700; font-size: 0.86rem; color: var(--ink-500); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; font-family: inherit; }
.quote-tab.active { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.quote-tab:hover:not(.active) { color: var(--ink-700); }
.quote-result {
  background: var(--teal-50);
  border: 1px solid #99e2d8;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 6px 0 16px;
}
.quote-result-head { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal-500); margin-bottom: 8px; }
.quote-checkbox { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; color: var(--ink-700); font-weight: 600; margin: 2px 0 16px; cursor: pointer; }
.quote-checkbox input { width: 17px; height: 17px; accent-color: var(--teal-500); flex-shrink: 0; cursor: pointer; }
.quote-plan-row { display: flex; align-items: center; padding: 9px 6px; border-bottom: 1px dashed rgba(16, 24, 40, 0.1); gap: 10px; cursor: pointer; border-radius: 8px; margin: 0 -6px; transition: background 0.15s ease; }
.quote-plan-row:last-child { border-bottom: none; }
.quote-plan-row:hover { background: rgba(255,255,255,0.5); }
.quote-plan-radio { width: 16px; height: 16px; accent-color: var(--teal-500); flex-shrink: 0; cursor: pointer; }
.quote-plan-info { display: flex; flex-direction: column; flex-grow: 1; }
.quote-plan-name { color: var(--ink-700); font-weight: 700; font-size: 0.92rem; }
.quote-plan-covers { color: var(--ink-500); font-weight: 500; font-size: 0.72rem; margin-top: 1px; }
.quote-plan-price { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.quote-plan-price small { font-size: 0.6rem; color: var(--ink-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.quote-plan-price strong { color: var(--navy-900); font-size: 1.05rem; white-space: nowrap; }
.quote-plan-row.featured { background: rgba(255,255,255,0.65); }
.quote-plan-row.featured .quote-plan-name::after { content: " \2605 Popular"; font-size: 0.65rem; color: var(--amber-500); font-weight: 700; }
.quote-plan-row:has(.quote-plan-radio:checked) { background: var(--white); box-shadow: 0 0 0 2px var(--teal-500) inset; }
#quote-cta[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .who-for-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .scroll-hint { display: block; }
  .container { padding-left: 16px; padding-right: 16px; }
  .brand-logo { height: 34px; }
  .nav-wrap { padding-top: 18px; padding-bottom: 18px; }
  .main-nav { position: fixed; top: var(--header-height, 130px); left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 24px; gap: 4px; transform: translateX(-100%); transition: transform 0.25s ease; overflow-y: auto; z-index: 60; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 14px 8px; border-bottom: 1px solid var(--ink-100); }
  .nav-toggle { display: flex; }
  .nav-actions a.btn { display: none; }
  .mobile-nav-cta { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ink-100); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .who-for-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; }
  .top-strip .container { justify-content: center; text-align: center; }
  .partner-row { gap: 10px; }
  .plan-card.featured { transform: none; }
}
