/* ============================================================
   getshopt.com - site styles (Oct 2026)
   Same design tokens as the Shopt quote form (cq_insured_input):
   navy #102334 + red #CB2D29, Oswald / Inter / IBM Plex Mono.
   ============================================================ */
:root {
  --ink:          #102334;
  --ink-soft:     #17324A;
  --ink-line:     #24425C;
  --cloud:        #F3F5F7;
  --paper:        #FFFFFF;
  --line:         #E1E5EA;
  --text:         #14171C;
  --text-soft:    #5B6472;
  --text-on-dark: #C7D1DA;
  --ignition:     #CB2D29;
  --ignition-dark:#A7241F;
  --racing-green: #12805C;
  --radius:       10px;
  --font-display: "Oswald", sans-serif;
  --font-body:    "Inter", sans-serif;
  --font-mono:    "IBM Plex Mono", monospace;
  --wrap:         1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cloud);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ignition); }
a:hover { color: var(--ignition-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--ignition);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand img { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ignition); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius);
  background: var(--ignition);
  color: #fff !important;
  border: 2px solid var(--ignition);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(203,45,41,0.35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--ignition-dark); border-color: var(--ignition-dark); }
.btn-small { padding: 9px 18px; font-size: 13px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); }

/* ---------- hero (home) ----------
   Same look as the quote form's homepage: the car photo fills the screen
   under the header, headline block near the TOP (over the sky), the button
   near the BOTTOM (over the road). Desktop uses shopt-hero-desktop.jpg, phones
   (780px and under) shopt-hero-mobile.jpg. The navy gradient only shows if the
   photo file is missing. */
.hero {
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(203,45,41,0.25), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(203,45,41,0.18), transparent 50%),
    linear-gradient(160deg, #102334 0%, #16324a 55%, #0b1a26 100%);
}
.hero.has-photo {
  background:
    url('/assets/shopt-hero-desktop.jpg') center / cover no-repeat,
    linear-gradient(160deg, #102334 0%, #16324a 55%, #0b1a26 100%);
}
@media (max-width: 780px) {
  .hero.has-photo {
    background:
      url('/assets/shopt-hero-mobile.jpg') center / cover no-repeat,
      linear-gradient(160deg, #102334 0%, #16324a 55%, #0b1a26 100%);
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,35,52,0.10) 0%, rgba(16,35,52,0.15) 45%, rgba(16,35,52,0.55) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  /* fills the screen under the sticky header, within sensible limits */
  min-height: calc(100vh - 75px);
  min-height: calc(100svh - 75px);
  max-height: 980px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.hero-top, .hero-bottom { width: 100%; }
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ignition);
  text-shadow: 0 0 6px rgba(255,255,255,0.95), 0 0 12px rgba(255,255,255,0.7), 0 0 22px rgba(255,255,255,0.4);
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.hero .lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-shadow:
    0 0 3px rgba(255,255,255,1),
    0 0 6px rgba(255,255,255,1),
    0 0 12px rgba(255,255,255,0.9),
    0 0 20px rgba(255,255,255,0.7),
    0 0 30px rgba(255,255,255,0.4);
  margin: 0 auto;
  max-width: 32ch;
}
.btn-hero { padding: 16px 40px; box-shadow: 0 10px 30px rgba(203,45,41,0.5); }
.btn-hero:hover { border-color: #fff; transform: translateY(-3px) scale(1.03); }
.hero .sub {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.75);
}

/* ---------- page header (inner pages) ---------- */
.page-head { background: var(--ink); color: #fff; }
.page-head .wrap { padding-top: 44px; padding-bottom: 40px; }
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
}
.page-head p { margin: 0; color: var(--text-on-dark); font-size: 19px; max-width: 60ch; }

/* ---------- sections + cards ---------- */
section { padding: 52px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 8px;
}
.answer { font-size: 19px; max-width: 70ch; }
.prose { max-width: 72ch; }
.prose p, .prose ul { margin: 0 0 16px; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.card p { margin: 0 0 10px; }
.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--ignition);
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

/* check / cross lists (eligibility) */
.ticks { list-style: none; padding: 0; margin: 0 0 8px; }
.ticks li { position: relative; padding: 4px 0 4px 30px; }
.ticks li::before {
  content: "\2713";
  position: absolute; left: 0; top: 4px;
  color: var(--racing-green); font-weight: 700;
}
.ticks.no li::before { content: "\2715"; color: var(--ignition); }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; font-size: 14px; color: var(--ink); background: var(--cloud); }
tr:last-child td { border-bottom: none; }

/* FAQ */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 10px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  position: relative;
  font-weight: 700;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--ignition); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 16px; }
.faq details p { margin: 0 0 10px; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--text-on-dark); margin: 0 auto 24px; max-width: 52ch; }

.updated { font-size: 14px; color: var(--text-soft); margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: #0b1a26; color: var(--text-on-dark); font-size: 15px; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 8px; }
.site-footer .foot-nav a { display: block; text-decoration: none; margin: 0 0 6px; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--ink-line); padding-top: 16px; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--ignition);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; text-align: center; border-bottom: 2px solid var(--ignition); }
  .brand img { height: 42px; }
  .hero-inner { padding: 32px 20px 40px; min-height: calc(100vh - 62px); min-height: calc(100svh - 62px); }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }
  .eyebrow { font-size: 16px; }
  .btn-hero { padding: 14px 32px; }
  .page-head h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  section { padding: 40px 0; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}

/* ---------- page-change spinner (Oct 2026) ----------
   Shown by site.js when a menu item, button or link to another page is
   tapped, so a slow phone connection never looks like nothing happened. */
.page-loading {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255,255,255,0.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease;
}
.page-loading.visible { opacity: 1; visibility: visible; }
.page-loading .spin {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 5px solid rgba(16,35,52,0.15);
  border-top-color: var(--ignition);
  animation: shopt-spin .8s linear infinite;
}
.page-loading .spin-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
@keyframes shopt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .page-loading .spin { animation-duration: 2.4s; }
}
