/* =========================================================================
   OurPack Health — marketing site stylesheet
   Single self-contained stylesheet. No external fonts, no CDNs.
   Brand: primary blue #2D51A5, deep navy #0D1836. Mobile-first, WCAG AA.
   ========================================================================= */

:root {
  /* Brand */
  --blue:        #2D51A5;
  --blue-dark:   #223f82;   /* hover / active */
  --blue-tint:   #eaf0fb;   /* soft blue wash */
  --navy:        #0D1836;

  /* Mode accents (warm, differentiated) */
  --ask:   #2D51A5;   /* Ask — blue */
  --vet:   #1f7a63;   /* Questions for My Vet — trustworthy green */
  --care:  #b45c1f;   /* Care Plans — warm amber (AA on white) */

  /* Neutrals */
  --bg:        #ffffff;
  --bg-soft:   #f4f7fc;
  --bg-navy:   #0D1836;
  --ink:       #16203d;   /* body text on light */
  --ink-soft:  #3a4360;   /* softened body text — AA on white */
  --muted:     #4c5670;   /* secondary text — AA on white */
  --line:      #e2e8f4;   /* borders */
  --card:      #ffffff;

  /* Effects */
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(13,24,54,.06), 0 8px 24px rgba(13,24,54,.08);
  --shadow-sm: 0 1px 2px rgba(13,24,54,.06), 0 3px 10px rgba(13,24,54,.06);
  --maxw:      1120px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: .3rem 0; }
strong { color: var(--navy); }

/* focus visibility for keyboard users */
a:focus-visible, button:focus-visible, .btn:focus-visible, details summary:focus-visible {
  outline: 3px solid #7ea0ec;
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--bg-navy); color: #dfe6f5; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .08em;
  font-size: .78rem; font-weight: 700; color: var(--blue); margin-bottom: .6rem;
}
.section--navy .eyebrow { color: #8fb0f2; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section--navy .lead { color: #c3cee6; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, transform .05s, box-shadow .15s;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-tint); }
.btn--onnavy { background: #fff; color: var(--navy); }
.btn--onnavy:hover { background: #eef2fb; color: var(--navy); }
.btn--ghost-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost-navy:hover { background: rgba(255,255,255,.1); color:#fff; }
.btn--lg { padding: 16px 32px; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ------------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__ai { color: var(--blue); }
.nav__links { display: none; align-items: center; gap: 26px; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: .97rem; }
.nav__links a:hover { color: var(--blue); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--blue); }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 10px; margin-right: -10px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.nav[data-open="true"] .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px 0 18px; border-top: 1px solid var(--line);
}
.nav[data-open="true"] .nav__mobile { display: flex; }
.nav__mobile a { padding: 12px 4px; font-weight: 600; color: var(--ink); border-radius: 8px; }
.nav__mobile a:hover { background: var(--bg-soft); text-decoration: none; }
.nav__mobile .btn { margin-top: 8px; }

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ------------------------------------------------------------------ hero */
.hero { padding: 56px 0 40px; background:
  radial-gradient(1200px 400px at 80% -10%, var(--blue-tint), transparent 60%); }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.22rem; max-width: 34ch; }
.hero__art { max-width: 460px; margin: 0 auto; }
.hero__note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
@media (min-width: 860px) {
  .hero { padding: 76px 0 60px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .hero .lead { font-size: 1.28rem; }
}

/* ------------------------------------------------------------------ grids */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------ cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card--feature { display: flex; flex-direction: column; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff;
}
.card__icon svg { width: 28px; height: 28px; }
.icon--ask  { background: var(--ask); }
.icon--vet  { background: var(--vet); }
.icon--care { background: var(--care); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card__tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tag--ask  { color: var(--ask); }
.tag--vet  { color: var(--vet); }
.tag--care { color: var(--care); }

/* --------------------------------------------------------------- steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-left: 60px; }
.step__num {
  position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue); font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: .3rem; }

/* --------------------------------------------------------------- trust */
.trust { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; gap: 12px; align-items: flex-start; }
.trust__item svg { width: 26px; height: 26px; flex: none; color: var(--blue); margin-top: 2px; }
.section--navy .trust__item svg { color: #8fb0f2; }
.trust__item h4 { margin: 0 0 2px; color: var(--navy); font-size: 1rem; }
.section--navy .trust__item h4 { color: #fff; }
.trust__item p { margin: 0; font-size: .93rem; color: var(--muted); }
.section--navy .trust__item p { color: #b7c2dd; }

/* --------------------------------------------------------------- pricing */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  border: 2px solid var(--blue); border-radius: 20px; padding: 36px 30px;
  background: #fff; box-shadow: var(--shadow);
}
.price-card__amt { font-size: 3.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-card__amt sup { font-size: 1.4rem; top: -1.4rem; margin-right: 2px; }
.price-card__per { color: var(--muted); font-weight: 600; }
.price-card__sub { color: var(--muted); margin: 10px 0 22px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.check-list li { position: relative; padding-left: 30px; margin: 12px 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--vet);
  -webkit-mask: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  mask: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}
.pill {
  display: inline-block; background: var(--vet); color: #fff; font-weight: 700;
  font-size: .8rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* --------------------------------------------------------------- FAQ / accordion */
.faq-cat { margin-bottom: 34px; }
.faq-cat > h3 { color: var(--blue); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
details.qa {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  margin-bottom: 12px; overflow: hidden;
}
details.qa > summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; color: var(--navy); font-size: 1.03rem;
}
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue); line-height: 1;
}
details.qa[open] > summary::after { content: "\2013"; }
details.qa .qa__body { padding: 0 20px 18px; color: var(--ink-soft); }
details.qa .qa__body > *:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- legal / doc */
.doc { max-width: 800px; margin: 0 auto; }
.doc__meta {
  font-size: .9rem; color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 28px;
}
.doc__meta strong { color: var(--navy); }

/* These are contracts people are expected to read, so they are set to be read:
   a measure near 70 characters, generous leading, and enough space above a
   heading that the eye can find where one obligation ends and the next
   begins. */
.doc-body { line-height: 1.75; font-size: 1.02rem; }
.doc-body h1 { font-size: 1.9rem; }
.doc-body h2 {
  font-size: 1.32rem; margin-top: 2.4em; margin-bottom: .55em;
  padding-top: 1.1em; border-top: 1px solid var(--line);
  color: var(--navy); letter-spacing: -.01em; text-wrap: balance;
  scroll-margin-top: 20px;   /* so an anchored heading is not under the header */
}
.doc-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.doc-body h3 {
  font-size: 1.06rem; margin-top: 1.7em; margin-bottom: .4em;
  color: var(--navy); scroll-margin-top: 20px;
}
.doc-body h4 { font-size: .97rem; margin-top: 1.4em; color: var(--ink); }
.doc-body p, .doc-body li { color: var(--ink); }
.doc-body p { margin: 0 0 1.05em; }
.doc-body ul, .doc-body ol { margin: 0 0 1.15em; padding-left: 1.35em; }
.doc-body li { margin-bottom: .5em; }
.doc-body li:last-child { margin-bottom: 0; }
.doc-body strong { color: var(--navy); font-weight: 650; }
.doc-body hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.doc-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 5px; padding: .08em .35em;
}
/* Links inside a contract must be unmistakably links — several of them are the
   cross-references between these three documents. */
.doc-body a {
  color: var(--blue); text-decoration: underline;
  text-underline-offset: 2px; text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
.doc-body a:hover { color: var(--blue-dark); }

/* A ">" callout — used for the things that carry real consequence. */
.doc-callout {
  margin: 1.4em 0; padding: 14px 18px;
  border-left: 4px solid var(--blue); background: var(--blue-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--navy);
}
.doc-callout p:last-child { margin-bottom: 0; }

/* ---- on this page ---- */
.doc-toc {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 34px;
}
.doc-toc__h {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); margin: 0 0 12px; font-weight: 700;
}
.doc-toc__list {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px;
}
.doc-toc__list a {
  color: var(--ink-soft); text-decoration: none; font-size: .92rem;
  display: block; padding: 3px 0; overflow-wrap: anywhere;
}
.doc-toc__list a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 640px) {
  .doc-toc__list { grid-template-columns: 1fr; }
  .doc-toc { padding: 16px 18px; }
}

/* --------------------------------------------------------------- notices */
.disclaimer {
  border-left: 4px solid var(--care); background: #fdf6ef;
  padding: 16px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem; color: #5a4326;
}
.disclaimer strong { color: #7a3f10; }
.ai-note { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.emergency {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fbeceb; border: 1px solid #f3c9c4; color: #7a271f;
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem;
}
.emergency svg { width: 22px; height: 22px; flex: none; color: #c0392b; margin-top: 1px; }
.emergency strong { color: #8a1f16; }

/* --------------------------------------------------------------- banners / states */
.notice-box {
  background: var(--blue-tint); border: 1px solid #cddcf7; color: var(--navy);
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: .93rem; margin-bottom: 24px;
}
.loading, .errline { color: var(--muted); font-style: italic; }
[hidden] { display: none !important; }

/* --------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; text-align: left; }
.field label { font-weight: 700; color: var(--navy); font-size: .95rem; }
.field input {
  font: inherit; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
}
.field input:focus { outline: 3px solid #7ea0ec; outline-offset: 1px; border-color: var(--blue); }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.form-inline input { flex: 1 1 220px; }

/* --------------------------------------------------------------- misc blocks */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__art { order: 2; } }
.split__art { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.callout {
  background: linear-gradient(120deg, var(--blue), var(--blue-dark)); color: #fff;
  border-radius: 20px; padding: 44px 32px; text-align: center;
}
.callout h2 { color: #fff; }
.callout p { color: #dbe6ff; }
.big-cta { text-align: center; padding: 30px 0 8px; }

/* --------------------------------------------------------------- footer */
.footer { background: var(--bg-navy); color: #b7c2dd; padding: 52px 0 30px; }
.footer a { color: #cdd7ee; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 30px; }
@media (min-width: 720px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand .brand { color: #fff; margin-bottom: 12px; }
.footer__brand p { font-size: .92rem; color: #96a3c4; max-width: 42ch; }
.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin: 8px 0; }
.footer__col a { font-size: .93rem; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  font-size: .84rem; color: #8291b3; display: flex; flex-direction: column; gap: 14px;
}
.footer__legal .disclaimer-line { color: #aab6d4; max-width: 80ch; }
.footer__legal .disclaimer-line strong { color: #dbe4f7; }
@media (min-width: 720px) {
  .footer__legal { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* --------------------------------------------------------------- utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.stack > * + * { margin-top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================================
   PLAN GRID + BILLING TOGGLE  (pricing.html)

   Monthly/annual switching is pure CSS: a visually-hidden checkbox drives
   sibling selectors, so the prices stay correct with JavaScript disabled.
   Every price element therefore exists in the markup twice — once as
   .price--monthly, once as .price--annual — and only one is ever shown.
   ========================================================================= */

.billing-switch__input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.billing-switch { display: flex; justify-content: center; margin: 26px 0 10px; }
.billing-switch__label {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  font-weight: 700; color: var(--muted); font-size: .95rem; user-select: none;
}
.billing-switch__track {
  position: relative; width: 52px; height: 30px; flex: none;
  background: #cfd8ea; border-radius: 999px; transition: background .18s ease;
}
.billing-switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .18s ease;
}
.billing-switch__opt--m { color: var(--navy); }
.billing-switch__save {
  display: inline-block; background: #e6f4ee; color: #145a48;
  font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.billing-switch__input:checked ~ .billing-switch .billing-switch__track { background: var(--blue); }
.billing-switch__input:checked ~ .billing-switch .billing-switch__track::after { transform: translateX(22px); }
.billing-switch__input:checked ~ .billing-switch .billing-switch__opt--m { color: var(--muted); }
.billing-switch__input:checked ~ .billing-switch .billing-switch__opt--a { color: var(--navy); }
.billing-switch__input:focus-visible ~ .billing-switch .billing-switch__track {
  outline: 3px solid var(--blue); outline-offset: 3px;
}

/* the swap itself */
.price--annual { display: none; }
.billing-switch__input:checked ~ .plan-grid .price--monthly { display: none; }
.billing-switch__input:checked ~ .plan-grid .price--annual  { display: block; }
.billing-switch__input:checked ~ .plan-grid .plan__save     { visibility: visible; }

/* ------------------------------------------------------------ plan cards */
.plan-grid { display: grid; gap: 22px; margin-top: 20px; align-items: start; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; box-shadow: var(--shadow-sm);
}
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 12px 32px rgba(45,81,165,.16); }
@media (min-width: 900px) { .plan--featured { transform: translateY(-10px); } }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .74rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-size: 1.3rem; margin-bottom: 4px; }
.plan__for { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
@media (min-width: 900px) { .plan__for { min-height: 3.9em; } }
.plan__amt { font-size: 2.9rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.plan__amt sup { font-size: 1.35rem; font-weight: 700; top: -1.05em; margin-right: 1px; }
.plan__cycle { font-size: .95rem; font-weight: 700; color: var(--muted); }
.plan__per { color: var(--muted); font-size: .89rem; margin-top: 4px; }
.plan__save { visibility: hidden; font-size: .84rem; font-weight: 700; color: #16785e; margin-top: 6px; min-height: 1.3em; }

.plan__slots {
  display: flex; align-items: baseline; gap: 9px;
  background: var(--blue-tint); border-radius: var(--radius-sm);
  padding: 12px 14px; margin: 18px 0;
}
.plan__slots b { font-size: 1.45rem; color: var(--blue); line-height: 1; flex: none; }
.plan__slots span { font-size: .88rem; color: var(--navy); font-weight: 600; }

.plan .check-list { flex: 1 1 auto; margin-bottom: 20px; }
.plan .check-list li { font-size: .94rem; }
.plan__fine { font-size: .82rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.plan-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }

/* ------------------------------------------------------- slot explainer */
.slots-explain { display: grid; gap: 20px; }
@media (min-width: 820px) { .slots-explain { grid-template-columns: repeat(3, 1fr); } }
.slot-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.slot-step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue); font-weight: 800; font-size: .95rem;
  margin-bottom: 12px;
}
.slot-step h3 { font-size: 1.05rem; margin-bottom: .4em; }
.slot-step p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ----------------------------------------------------- comparison table */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 24px; }
.compare {
  width: 100%; min-width: 640px; border-collapse: collapse;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
.compare thead th { background: var(--bg-soft); color: var(--navy); font-weight: 800; font-size: .9rem; }
.compare th[scope="row"] { font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-soft); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: #16785e; font-weight: 700; }

/* --------------------------------------------------------- guarantee band */
.guarantee {
  display: flex; gap: 16px; align-items: flex-start;
  background: #e9f5f0; border: 1px solid #bfe0d4; color: #14503f;
  padding: 20px 22px; border-radius: var(--radius);
}
.guarantee svg { width: 30px; height: 30px; flex: none; color: #16785e; }
.guarantee h3 { color: #10493a; font-size: 1.08rem; margin-bottom: .3em; }
.guarantee p { margin: 0; font-size: .95rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- legal-doc tables ------------------------------------------------- */
/* A wide table scrolls inside its own box; the page body never moves
   sideways. On a phone the last column of a 4-column table is otherwise
   unreachable. */
.doc-table { overflow-x: auto; margin: 1.2em 0; -webkit-overflow-scrolling: touch; }
.doc-body table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;          /* forces the scroll rather than crushing columns */
  font-size: .93rem;
}
.doc-body thead th {
  text-align: left;
  background: #f4f6fb;
  color: var(--navy);
  font-weight: 600;
  padding: .6rem .75rem;
  border-bottom: 2px solid #dfe4f0;
  white-space: nowrap;
}
.doc-body tbody td {
  padding: .6rem .75rem;
  border-bottom: 1px solid #e8ebf2;
  vertical-align: top;
  line-height: 1.5;
}
.doc-body tbody tr:last-child td { border-bottom: none; }
.doc-body tbody tr:nth-child(even) { background: #fafbfd; }
/* First column reads as the row's label. */
.doc-body tbody td:first-child { font-weight: 600; color: var(--navy); }

/* On a phone the table stops being a table. Sideways scrolling inside a
   contract means the right-hand columns — which are usually the answer, e.g.
   "how long do you keep it" — are the ones nobody sees. Each row becomes a
   card and each cell carries its own column heading, so every value is read
   with the label that gives it meaning. The data-label values come from the
   table's own header row at render time. */
@media (max-width: 720px) {
  .doc-table { overflow-x: visible; }
  .doc-body table { min-width: 0; font-size: .93rem; display: block; }
  .doc-body thead { display: none; }
  .doc-body tbody { display: block; }
  .doc-body tbody tr {
    display: block; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 4px 14px 10px; margin-bottom: 10px;
  }
  .doc-body tbody tr:nth-child(even) { background: var(--card); }
  .doc-body tbody td {
    display: block; padding: 8px 0 0; border-bottom: none;
  }
  .doc-body tbody td:empty { display: none; }
  .doc-body tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted); font-weight: 700; margin-bottom: 2px;
  }
  /* The first cell is the row's subject — it heads the card, and repeating its
     column name above it would just be noise. */
  .doc-body tbody td:first-child {
    font-weight: 650; color: var(--navy); font-size: 1rem;
    padding-top: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px;
  }
  .doc-body tbody td:first-child::before { display: none; }
}
