/* ==========================================================================
   Certified ProBooks LLC — design system
   Brand colors sampled directly from the client's existing logo:
     navy  #2C4E8C (dark variant #244072)
     green #92D050
   Everything else is built around those two so the rebuild reads as the same
   brand she already likes, just mobile-first and faster.
   ========================================================================== */

:root {
  --navy:        #2C4E8C;
  --navy-dark:   #244072;
  --navy-deep:   #1B2F55;
  --navy-tint:   #EEF2F9;
  --navy-tint-2: #DCE4F1;

  --green:       #92D050;
  --green-dark:  #74AD37;
  --green-tint:  #F1F9E7;

  --ink:         #1B2430;
  --body:        #47536B;
  --muted:       #6B7688;
  --border:      #E1E7F0;
  --white:       #FFFFFF;
  --off:         #F7F9FC;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 8px rgba(27, 47, 85, .06);
  --shadow:      0 10px 30px rgba(27, 47, 85, .10);
  --shadow-lg:   0 24px 60px rgba(27, 47, 85, .18);

  --wrap:        1140px;
  --font-head:   'Raleway', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-deep);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green-dark); }

/* Visible keyboard focus everywhere — the old Wix site had none. */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

/* The skip link is the one .sr-only element that has to reveal itself when a
   keyboard user tabs to it. */
a.sr-only:focus {
  position: fixed;
  top: 12px; left: 12px;
  width: auto; height: auto;
  clip: auto;
  z-index: 200;
  background: var(--navy-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }

section { padding: clamp(48px, 8vw, 88px) 0; }
.section--tint { background: var(--off); }
.section--navy { background: var(--navy-deep); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #C6D2E8; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 .7em;
}
.section--navy .eyebrow { color: var(--green); }

.section-head { max-width: 700px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.06rem; }

.lead { font-size: 1.12rem; color: var(--body); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  /* Comfortably above the 44px minimum touch target on phones. */
  min-height: 52px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green);
  color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(146, 208, 80, .38);
}
.btn--primary:hover { background: #9FDC5C; color: var(--navy-deep); box-shadow: 0 10px 26px rgba(146, 208, 80, .48); }

.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(44, 78, 140, .28); }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* On small screens buttons go full width so they're easy to hit. */
@media (max-width: 480px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

/* ── Header / nav ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
/* Constrain by height, not width — the logo is nearly square, so sizing on
   width alone pushes it past the height of the bar. */
.nav__logo img { height: 54px; width: auto; }
@media (max-width: 480px) { .nav__logo img { height: 46px; } }

.nav__links { display: flex; align-items: center; gap: 4px; }

.nav__links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy-deep);
  padding: 10px 13px;
  border-radius: 8px;
}
.nav__links a:hover { background: var(--navy-tint); color: var(--navy); }
.nav__links a[aria-current="page"] { color: var(--green-dark); }

.nav__cta { flex-shrink: 0; }
.nav__cta .btn { padding: 13px 22px; min-height: 46px; font-size: .93rem; }

/* The nav panel carries its own CTA for the mobile menu. On desktop the
   standalone .nav__cta is the one that shows, so hide the duplicate. */
@media (min-width: 901px) { .nav__links .btn { display: none; } }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--navy-deep);
}
.nav__toggle svg { display: block; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }

  .nav__links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 10px 20px 22px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    /* Hidden by default; .is-open is toggled by site.js */
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 15px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav__links .btn { margin-top: 12px; width: 100%; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 62%, #35609F 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(44px, 7vw, 84px) 0 clamp(52px, 8vw, 96px);
}

/* Soft green glow, echoes the arrow in her logo. */
.hero::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -220px; top: -280px;
  background: radial-gradient(circle, rgba(146,208,80,.28) 0%, rgba(146,208,80,0) 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 .accent { color: var(--green); }
.hero__sub { font-size: 1.14rem; color: #CBD8EE; max-width: 34em; margin-bottom: 1.6em; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(146, 208, 80, .16);
  border: 1px solid rgba(146, 208, 80, .4);
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero__note { margin-top: 18px; font-size: .9rem; color: #A9BBDA; }

.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* Floating badge card over the hero photo — the ProAdvisor Gold seal is her
   strongest credibility asset, so it gets prime real estate. */
.hero__seal {
  position: absolute;
  left: -14px;
  bottom: -24px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
}
.hero__seal img { width: 54px; box-shadow: none; border-radius: 0; }
.hero__seal strong {
  display: block;
  font-family: var(--font-head);
  font-size: .88rem;
  color: var(--navy-deep);
  line-height: 1.25;
}
.hero__seal span { font-size: .76rem; color: var(--muted); }

@media (max-width: 640px) {
  .hero__seal { position: static; margin: 16px auto 0; max-width: 100%; }
}

/* ── Trust bar ─────────────────────────────────────────────────────────── */
.trustbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 46px);
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy-deep);
}
.trustbar__item img { width: 42px; }
.trustbar__item svg { color: var(--green-dark); flex-shrink: 0; }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 859px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy-tint-2); }

.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.card__kicker {
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.card__body h3 { margin-bottom: .5em; }
.card__body p { font-size: .98rem; }
.card__link {
  margin-top: auto;
  padding-top: 20px;
  min-height: 44px;
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__link:hover { gap: 10px; }

/* Stage cards (Who We Help) */
.stage {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.stage__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.stage h3 { font-size: 1.2rem; }
.stage__sub { font-weight: 600; color: var(--navy); margin-bottom: 1em; font-size: .98rem; }
.stage ul { list-style: none; margin: 0; padding: 0; }
.stage li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: .96rem;
}
.stage li::before {
  content: "";
  position: absolute;
  left: 4px; top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ── Split feature (About / Why) ───────────────────────────────────────── */
.split { display: grid; gap: clamp(30px, 5vw, 60px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

.portrait {
  max-width: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.checklist { list-style: none; margin: 1.4em 0 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .18em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-tint);
  border: 1.5px solid var(--green);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px; top: .5em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  transform: rotate(-45deg);
}
.section--navy .checklist li { color: #D7E1F2; }

/* Credential chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-tint);
  border: 1px solid var(--navy-tint-2);
  border-radius: 999px;
  padding: 8px 15px;
}

/* ── Promo strip ───────────────────────────────────────────────────────── */
.promo {
  background: linear-gradient(120deg, var(--green-tint) 0%, #E8F5FA 100%);
  border: 1px solid #D6EBBE;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .promo { grid-template-columns: 1fr auto; } }
.promo h2 { margin-bottom: .35em; }
.promo p { margin: 0; }
.promo strong { color: var(--navy-deep); }

/* ── Blog ──────────────────────────────────────────────────────────────── */
.post-card__meta {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .03em;
}
.post-card__body h3 { font-size: 1.12rem; }
.post-card__excerpt {
  font-size: .95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

/* Skeleton shown while /api/blog is fetching her Wix feed */
.skeleton { pointer-events: none; }
.skeleton .sk-line {
  background: linear-gradient(90deg, #EEF2F9 25%, #E1E7F0 37%, #EEF2F9 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
  border-radius: 6px;
  height: 13px;
  margin-bottom: 10px;
}
.skeleton .sk-media { aspect-ratio: 3/2; background: #EEF2F9; }
.skeleton .sk-line--title { height: 20px; width: 85%; }
.skeleton .sk-line--short { width: 55%; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton .sk-line { animation: none; } }

.feed-note {
  text-align: center;
  color: var(--muted);
  font-size: .93rem;
  margin-top: 26px;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-deep);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 22px; font-size: 1rem; }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C6D2E8; max-width: 44em; margin-left: auto; margin-right: auto; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: #A9BBDA; padding: clamp(44px, 6vw, 68px) 0 30px; font-size: .95rem; }
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.1em;
}
.footer__grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { width: 168px; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 2px; }
.site-footer a { color: #C6D2E8; }
/* Inline-block + vertical padding gives footer links a 44px tap target
   without changing how the column reads. */
.site-footer li a {
  display: inline-block;
  padding: 11px 0;
  min-height: 44px;
}
.site-footer a:hover { color: var(--green); }
.footer__badges { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.footer__badges img { width: 46px; background: #fff; border-radius: 8px; padding: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .86rem;
  color: #8496B8;
}

/* ── Page header (interior pages) ──────────────────────────────────────── */
.page-head {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: clamp(44px, 6vw, 72px) 0;
  text-align: center;
}
.page-head h1 { color: #fff; margin-bottom: .35em; }
.page-head p { color: #C6D2E8; max-width: 40em; margin: 0 auto; font-size: 1.08rem; }

/* ── Article pages (/blog/<slug>) ──────────────────────────────────────────
   Beryl's Wix post pages are fixed-width and unreadable on a phone. These
   articles are re-rendered from her Wix content into this template, so the
   measure, rhythm and type scale are all set for mobile first.
   ------------------------------------------------------------------------ */
.article { padding: clamp(28px, 5vw, 52px) 0 clamp(48px, 7vw, 80px); }

.article__head { max-width: 760px; }

.article__back {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  padding: 10px 0;
  min-height: 44px;
}
.article__back:hover { color: var(--navy); }

.article__head h1 {
  font-size: clamp(1.75rem, 5.4vw, 2.7rem);
  line-height: 1.18;
  margin-bottom: .35em;
}

.article__meta {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0;
}

.article__hero { max-width: 900px; margin-top: 28px; }
.article__hero img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ~68 characters per line — the comfortable reading measure on any screen. */
.article__body {
  max-width: 720px;
  margin-top: clamp(28px, 4vw, 44px);
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--body);
}

.article__body > p { margin: 0 0 1.35em; }

.article__body h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
  margin: 2em 0 .6em;
  line-height: 1.25;
}
.article__body h3 {
  font-size: clamp(1.12rem, 2.6vw, 1.3rem);
  margin: 1.7em 0 .5em;
}
.article__body h2:first-child,
.article__body h3:first-child { margin-top: 0; }

.article__body ul,
.article__body ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.article__body li { margin-bottom: .6em; }
.article__body li::marker { color: var(--green-dark); }
/* Wix wraps every list item's text in its own <p>; without this each bullet
   picks up paragraph spacing and the list falls apart. */
.article__body li > p { margin: 0; }

.article__body strong { color: var(--navy-deep); font-weight: 600; }

.article__body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
}
.article__body a:hover { color: var(--green-dark); }

.article__body blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--green);
  color: var(--navy-deep);
  font-size: 1.1rem;
  font-style: italic;
}

.article__body figure { margin: 1.8em 0; }
.article__body img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.article__body figcaption {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

.article__cta { max-width: 900px; margin-top: clamp(40px, 6vw, 64px); }

/* ==========================================================================
   Partner discounts & logo strip  (added 2026-08-24)
   ========================================================================== */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.offer {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}

/* The headline 90% offer is the one with a deadline, so it gets the weight. */
.offer--feature {
  border-color: var(--green);
  background: var(--green-tint);
  box-shadow: 0 0 0 1px var(--green) inset, var(--shadow-sm);
}

.offer__deal {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 6px;
}
.offer--feature .offer__deal { color: var(--navy-deep); }

.offer__who  { margin: 0 0 10px; font-size: .92rem; color: var(--body); }
.offer__when {
  margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
}
.offer--feature .offer__when { color: var(--green-dark); }

.offer-note {
  margin: 22px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Platform wordmarks. Text by default — see the note in services.html for why, and
   how to swap in an official logo image once a partnership is confirmed. */
.partner-lead {
  margin: 34px 0 0; padding-top: 28px; border-top: 1px solid var(--border);
  text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.partner-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 14px; margin-top: 18px;
}
.plogo-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--navy); padding: 9px 18px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm);
}
.plogo-img { max-height: 32px; width: auto; display: block; }

@media (max-width: 560px) {
  .partner-strip { gap: 9px 10px; }
  .plogo-name { font-size: .88rem; padding: 7px 14px; }
}

/* ==========================================================================
   Cost calculator + fit check  (added 2026-08-24)
   ========================================================================== */

.calc {
  max-width: 760px; margin: 34px auto 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow);
}
.calc__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 620px) { .calc__inputs { grid-template-columns: 1fr; gap: 20px; } }

.calc__field label {
  display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.calc__field output {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 1.6rem; color: var(--navy); line-height: 1.2;
}

.calc input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 5px;
  border-radius: 999px; background: var(--navy-tint-2); outline: none; margin-top: 12px;
}
.calc input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 999px; background: var(--navy); border: 3px solid var(--white);
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.calc input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 999px; background: var(--navy);
  border: 3px solid var(--white); cursor: pointer;
}
.calc input[type=range]:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.calc__out {
  margin-top: 28px; padding: 26px 20px; text-align: center;
  background: var(--navy-tint); border: 1px solid var(--navy-tint-2);
  border-radius: var(--radius);
}
.calc__label {
  margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.calc__big {
  margin: 0; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1.05; color: var(--navy);
}
.calc__sub { margin: 10px 0 0; font-size: .95rem; color: var(--body); }
.calc__note {
  margin: 20px 0 0; font-size: .8rem; line-height: 1.6;
  color: var(--muted); text-align: center;
}

.card--plain { box-shadow: var(--shadow-sm); }
/* "Not a fit" variant: recolour the circle and rebuild the tick as a cross. */
.checklist--no li::before {
  background: var(--off);
  border-color: var(--border);
}
.checklist--no li::after {
  left: 8px; top: .52em;
  width: 7px; height: 7px;
  border: 0;
  border-left: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: none;
  background:
    linear-gradient(to bottom right, transparent 44%, var(--muted) 44%, var(--muted) 56%, transparent 56%),
    linear-gradient(to bottom left,  transparent 44%, var(--muted) 44%, var(--muted) 56%, transparent 56%);
  border-left: 0; border-bottom: 0;
}

.offer__link {
  display: inline-block; margin-top: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--green); padding-bottom: 2px;
}
.offer__link:hover { color: var(--navy-dark); border-bottom-color: var(--navy); }
.offer__link:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ── Official partners ─────────────────────────────────────────────────────
   Names set in type for now. Beryl is sending logos; when they arrive these
   become <img> inside the same chips and nothing else has to change. */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.partner {
  font-family: var(--font-head);
  font-size: clamp(.92rem, 2.2vw, 1.05rem);
  font-weight: 600;
  color: var(--navy-deep);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 22px;
  box-shadow: var(--shadow-sm);
}
.partner-note {
  text-align: center;
  margin-top: 26px;
  color: var(--muted);
  font-size: .98rem;
}
/* A button that reads as a link — keeps the CTA keyboard-operable without
   pretending to be a navigation target. */
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  cursor: pointer;
}
.linklike:hover { color: var(--green-dark); }

/* ── Policy pages ──────────────────────────────────────────────────────── */
.policy { padding: 0; margin-top: clamp(30px, 4vw, 44px); }
.policy h2 {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
