/* [WO-1123-05] The one sponsor page template's styles, from the approved designs in docs/design/sponsor/
   (sponsor_family.html, sponsor_employer.html, sponsor_state.html): one set for every audience. The shell
   (ksaworks-shell.js, ksaworks-suite.css) draws the header, footer and breadcrumb around it. */
.sp { background:#FBF8F2; color:#0E2A47; font-family:Nunito, system-ui, sans-serif; }
.sp a { color:#0E2A47; }
.sp a:hover { color:#8A6410; }
.sp-wrap { max-width:1180px; margin:0 auto; box-sizing:border-box; }
.sp-eyebrow { font-size:14px; font-weight:800; letter-spacing:0.12em; color:#8A6410; }
.sp-navy .sp-eyebrow { color:#E3AC2F; }
.sp .sp-h1 { margin:0; font-size:50px; line-height:1.08; font-weight:900; letter-spacing:-0.01em; color:#0E2A47; }
.sp h2 { margin:0; font-size:36px; line-height:1.15; font-weight:900; }
.sp p { margin:0; }

/* Hero */
.sp-hero { padding:56px 24px 48px; display:flex; flex-wrap:wrap; gap:48px; align-items:center; }
.sp-hero-text { flex:1 1 520px; min-width:0; display:flex; flex-direction:column; gap:18px; }
/* [David 2026-11-23] Rule 25's title block: the trail, the page title as the H1, the subline. */
.sp-titleblock { padding:28px 24px 0; display:flex; flex-direction:column; gap:10px; }
.sp-crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; color:#4A5563; }
.sp-crumbs a { color:#0E2A47; text-decoration:none; font-weight:700; }
.sp-crumbs a:hover { text-decoration:underline; }
.sp-titleblock h1 { margin:0; font-size:40px; line-height:1.1; font-weight:900; color:#0E2A47; }
.sp-titleblock .sp-sub { margin:0; }
.sp-sub { font-size:20px; line-height:1.55; color:#2E3A48; }
.sp-line { font-size:18px; line-height:1.55; color:#2E3A48; }
.sp-btns { display:flex; gap:12px; flex-wrap:wrap; margin-top:6px; }
.sp-btn { text-decoration:none; font-weight:900; font-size:18px; min-height:52px; padding:0 26px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; cursor:pointer; font-family:inherit; border:0; }
.sp-btn-gold, .sp a.sp-btn-gold { background:#C8961E; color:#0E2A47; }
.sp-btn-line, .sp a.sp-btn-line { border:2px solid #0E2A47; color:#0E2A47; font-weight:800; padding:0 24px; background:transparent; }
.sp-btn:disabled { opacity:.55; cursor:default; }
.sp-phone-col { flex:0 1 300px; display:flex; justify-content:center; }
.sp-phone { width:270px; height:520px; border-radius:40px; background:#0E2A47; padding:12px; box-sizing:border-box; }
.sp-phone-screen { width:100%; height:100%; border-radius:30px; background:#1C2A3D; border:2px dashed #6B7E96; display:flex;
  flex-direction:column; align-items:center; justify-content:center; gap:10px; text-align:center; padding:20px;
  box-sizing:border-box; color:#D7DEE8; overflow:hidden; }
.sp-phone-screen video { width:100%; height:100%; object-fit:cover; border-radius:26px; }
.sp-video-label { font-weight:800; font-size:16px; }
.sp-video-caption { font-size:14px; line-height:1.45; }

/* Navy bands */
.sp-navy { background:#0E2A47; color:#FFFFFF; }
.sp-navy h2 { color:#FFFFFF; }
.sp-arrive { padding:56px 24px; display:flex; flex-wrap:wrap; gap:40px; align-items:center; }
.sp-arrive-text { flex:1 1 460px; min-width:0; display:flex; flex-direction:column; gap:14px; }
.sp-navy-p { font-size:18px; line-height:1.6; color:#D3DCE7; }
.sp-arrive-cards { flex:1 1 380px; min-width:0; display:flex; flex-direction:column; gap:12px; }
.sp-arrive-card { background:#17375C; border-radius:16px; padding:18px 20px; font-size:17px; line-height:1.55; }

/* What it does */
.sp-section { padding:64px 24px; display:flex; flex-direction:column; gap:28px; }
.sp-head { display:flex; flex-direction:column; gap:10px; max-width:760px; }
.sp-head-wide { max-width:820px; }
.sp-cards4 { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); gap:18px; }
.sp-card { background:#FFFFFF; border:2px solid #E8DFC9; border-radius:18px; padding:22px; display:flex; flex-direction:column; gap:10px; }
.sp-card-tag { font-size:13px; font-weight:800; color:#8A6410; }
.sp-card-title { font-size:20px; font-weight:900; }
.sp-card p { font-size:16px; line-height:1.55; color:#2E3A48; }
.sp-chips { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:6px; font-size:12px; font-weight:800; text-align:center; color:#4A5563; }
.sp-chips div { background:#F3ECDD; border-radius:8px; padding:8px 2px; }

/* Why it's different */
.sp-tan { background:#F3ECDD; }
.sp-tan .sp-section { gap:26px; }
.sp-diff { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:18px; }
.sp-diff-card { background:#FFFFFF; border-radius:18px; padding:22px; display:flex; flex-direction:column; gap:8px; }
.sp-diff-num { font-size:34px; font-weight:900; color:#B07F12; min-height:1em; }
.sp-diff-title { font-size:18px; font-weight:900; }
.sp-diff-card p { font-size:15px; line-height:1.55; color:#2E3A48; }

/* What you see, and the oath certificate */
.sp-see { padding:64px 24px; display:flex; flex-wrap:wrap; gap:40px; align-items:flex-start; }
.sp-see-text { flex:1 1 420px; min-width:0; display:flex; flex-direction:column; gap:14px; }
.sp-see-text h2 { font-size:34px; }
.sp-see-text p { font-size:18px; line-height:1.6; color:#2E3A48; }
.sp-oath { flex:1 1 440px; min-width:0; background:#FFFDF7; border:3px solid #C8961E; outline:1px solid #C8961E; outline-offset:-10px;
  border-radius:10px; padding:28px 32px; display:flex; flex-direction:column; gap:10px; box-sizing:border-box; }
.sp-oath-eyebrow { text-align:center; font-size:13px; font-weight:800; letter-spacing:0.14em; color:#8A6410; }
.sp-oath-title { text-align:center; font-size:26px; font-weight:900; }
.sp-oath ol { margin:6px 0 0; padding-left:22px; display:flex; flex-direction:column; gap:6px; font-size:16px; line-height:1.45; }

/* The offer */
.sp-offer { padding:64px 24px; display:flex; flex-direction:column; gap:26px; }
.sp-offer-cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:18px; }
.sp-white { background:#FFFFFF; color:#0E2A47; border-radius:18px; padding:26px; display:flex; flex-direction:column; gap:12px; }
.sp-white .sp-card-tag { font-size:14px; }
.sp-price { font-size:30px; font-weight:900; }
.sp-price span { font-size:17px; font-weight:700; color:#4A5563; }
.sp-white p { font-size:16px; line-height:1.55; color:#2E3A48; }
.sp-white label.sp-field { display:flex; flex-direction:column; gap:6px; font-size:14px; font-weight:800; }
.sp-white input[type=email], .sp-white input[type=number], .sp-white input[type=text] { font-family:inherit; font-size:16px; min-height:46px;
  padding:0 14px; border-radius:10px; border:1.5px solid #B9A67A; box-sizing:border-box; }
.sp-white .sp-btn { font-size:17px; min-height:50px; }
.sp-agree { display:flex; gap:8px; align-items:flex-start; font-size:13px; line-height:1.45; color:#2E3A48; font-weight:400; }
.sp-error { color:#B3261E; font-size:14px; }
.sp-note { font-size:14px; line-height:1.5; color:#2E3A48; }
.sp-hidden { display:none !important; }
.sp-table-box { overflow-x:auto; }
.sp-table { width:100%; border-collapse:collapse; font-size:17px; min-width:520px; }
.sp-table thead tr { text-align:left; border-bottom:2px solid #E8DFC9; }
.sp-table th { padding:12px 10px; }
.sp-table td { padding:14px 10px; border-bottom:1px solid #EFE6D2; }
.sp-table td.sp-tier-n { font-weight:900; }
.sp-table td.sp-tier-p { color:#8A6410; font-weight:800; }
.sp-table td.sp-tier-c { text-align:right; }
.sp-table a.sp-choose { font-weight:800; }
.sp-table tr.sp-chosen td { background:#FDF4DC; }
.sp-trust { font-size:16px; line-height:1.55; color:#D3DCE7; }
.sp-terms summary { cursor:pointer; color:#E3AC2F; font-weight:800; font-size:15px; }
.sp-terms p { margin:10px 0 0; font-size:14px; line-height:1.55; color:#D3DCE7; max-width:820px; }
.sp-terms .sp-privacy-h { margin:14px 0 6px; font-size:15px; font-weight:800; color:#FFFFFF; }
.sp-terms .sp-privacy { margin:0; padding-left:20px; font-size:14px; line-height:1.55; color:#D3DCE7; max-width:820px; }
.sp-terms .sp-privacy li { margin:4px 0; }

/* Have a coupon?, and the flow cards (invite, paid, progress) */
.sp-after { padding:40px 24px 64px; display:flex; flex-direction:column; gap:18px; max-width:620px; }
.sp-flow { padding:24px 24px 0; display:flex; flex-direction:column; gap:18px; }
.sp-flow .sp-white { border:2px solid #E8DFC9; }

@media (max-width: 740px) {
  .sp .sp-h1 { font-size:36px; }
  .sp-titleblock { padding:20px 16px 0; }
  .sp-titleblock h1 { font-size:32px; }
  .sp h2 { font-size:28px; }
  .sp-hero { padding:36px 16px 32px; gap:28px; }
  .sp-arrive, .sp-section, .sp-see, .sp-offer { padding-left:16px; padding-right:16px; }
  .sp-offer-cards { grid-template-columns:1fr; }
  /* [David 2026-11-23, this chat: "Yes, fit it"] The tier table fits a phone: each tier is a card, its count and
     Choose on top, then the price and the year under their own column words. Nothing scrolls sideways. */
  .sp-white { padding:20px 18px; }
  .sp-table { min-width:0; font-size:16px; }
  .sp-table thead { display:none; }
  .sp-table, .sp-table tbody { display:block; }
  .sp-table tr { display:grid; grid-template-columns:1fr auto; column-gap:12px; row-gap:4px; padding:14px 0; border-bottom:1px solid #EFE6D2; }
  .sp-table td { display:block; padding:0; border-bottom:0; }
  .sp-table td.sp-tier-n { grid-column:1; grid-row:1; }
  .sp-table td.sp-tier-c { grid-column:2; grid-row:1; }
  .sp-table td.sp-tier-p, .sp-table td.sp-tier-y { grid-column:1 / span 2; display:flex; justify-content:space-between; gap:12px; }
  .sp-table td.sp-tier-p::before, .sp-table td.sp-tier-y::before { content:attr(data-label); color:#4A5563; font-weight:600; font-size:14px; }
  .sp-table tr.sp-chosen { background:#FDF4DC; }
  .sp-table tr.sp-chosen td { background:none; }
}
