/* Associates Info Hub — MOBILE FIRST.
   Base rules are the phone layout; min-width queries layer on tablet (600px),
   wide header (820px), and desktop (960px). Express palette sampled from the
   Associate Policy Acknowledgement PDF. */
@font-face {
  font-family: 'Roboto';
  src: url('roboto-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #005288;        /* Express blue */
  --blue-deep: #003f69;
  --sky: #0096d6;         /* Express bright blue */
  --green: #5a9f51;       /* stripe accent */
  --ink: #23282e;
  --gray: #53565a;        /* body gray from the brand sheet */
  --muted: #6b7178;
  --line: #c9d6ea;
  --tint: #eef5fb;
  --card: #ffffff;
  --red: #b42318;
  --red-bg: #fdf1ef;
  --red-line: #f1c4be;
  --amber: #a15c07;
  --amber-bg: #fff8eb;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 40, 70, .06), 0 2px 10px rgba(0, 40, 70, .05);
  --gutter: 16px;
  --callbar-h: 80px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Roboto', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: rgba(0, 150, 214, .15);
}

a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--sky); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; color: var(--blue); padding: 8px 14px; border-radius: 6px; font-weight: 700;
}
.skip:focus { left: 8px; }

.ico {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px;
  border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .2px;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--tint); color: var(--blue); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--tint); color: var(--blue); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #911c13; color: #fff; }
.btn-small {
  min-height: 40px; padding: 6px 16px; font-size: 15px;
  background: #fff; color: var(--blue); border-color: var(--line);
}
.btn-small:hover { border-color: var(--blue); color: var(--blue); }

/* Header icon buttons: square on phones, labelled on wide screens. */
.btn-icon {
  flex-direction: column; gap: 2px;
  width: 52px; min-height: 50px; padding: 4px 0;
  font-size: 11px; font-weight: 700; letter-spacing: .3px; line-height: 1;
}
.btn-icon .lbl { display: none; }

/* ── Masthead ────────────────────────────────────────────────────────── */
.masthead { background: var(--blue); color: #fff; }
.masthead-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  color: #fff; text-decoration: none; min-width: 0;
}
.brand img { display: block; width: 118px; height: auto; }
.brand-office { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; white-space: nowrap; }
.brand:hover { color: #fff; }
.masthead-actions { display: flex; gap: 6px; flex-shrink: 0; }
.stripe { height: 5px; background: linear-gradient(90deg, var(--green), var(--sky)); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { padding: 20px 0; background: linear-gradient(180deg, var(--tint), #fff); }
.hero h1 { color: var(--blue); font-size: 28px; font-weight: 900; letter-spacing: -.3px; }
.lede { margin: 8px 0 0; color: var(--gray); font-size: 16px; }

/* Google review buttons (right under the lede) */
.reviews { margin-top: 16px; }
.reviews-label { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.stars, .rv-stars { color: #f5b301; letter-spacing: 1px; }
.reviews-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rv {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 54px; padding: 8px 4px; border-radius: 8px;
  background: var(--blue); color: #fff; text-decoration: none; text-align: center;
  font-size: 13px; font-weight: 800; line-height: 1.15; box-shadow: var(--shadow);
}
.rv:hover { background: var(--blue-deep); color: #fff; }
.rv-stars { font-size: 11px; }
.rv-cta {
  margin-top: 4px; padding: 3px 8px; border-radius: 999px;
  background: #fff; color: var(--blue);
  font-size: 11px; font-weight: 800; letter-spacing: .2px; white-space: nowrap;
}
.cta-mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cta-touch { display: none; }
  .cta-mouse { display: inline; }
}

.facts {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
.facts li {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--sky);
  border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow);
}
.facts li:first-child { border-top-color: var(--red); }
.fact-k { font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
.fact-v { font-size: 18px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.fact-v a { text-decoration: none; }
.facts li:first-child .fact-v a { color: var(--red); }
.fact-n { font-size: 13px; line-height: 1.35; color: var(--gray); }
.fact-warn { margin-top: 4px; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .3px; color: var(--red); }

/* ── Jump nav (sticky, swipeable chips) ─────────────────────────────── */
.jump {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.jump-row {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding-top: 6px; padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
.jump-row::-webkit-scrollbar { display: none; }
.jump a {
  flex-shrink: 0; display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 14px; border-radius: 999px; scroll-snap-align: start;
  color: var(--blue); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.jump a:hover { background: var(--tint); }
.jump a.active { background: var(--blue); color: #fff; }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding: 28px 0; scroll-margin-top: 52px; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 16px; max-width: 760px; }
.section-head h2 { color: var(--blue); font-size: 24px; font-weight: 800; }
.section-head h2::after {
  content: ""; display: block; width: 48px; height: 4px; margin-top: 8px;
  border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--sky));
}
.section-head p { margin: 10px 0 0; color: var(--gray); font-size: 15px; }

/* ── Attendance alert ───────────────────────────────────────────────── */
.alert-card {
  background: var(--red-bg); border: 1px solid var(--red-line); border-left: 6px solid var(--red);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.alert-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.alert-head h2 { color: var(--red); font-size: 22px; font-weight: 800; }
.alert-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 900; font-size: 18px;
}
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
}
.alert-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--red-line);
  display: flex; flex-direction: column; gap: 12px;
}
.alert-foot .btn { width: 100%; min-height: 52px; font-size: 17px; }
.ncns { margin: 0; color: var(--red); font-size: 17px; font-weight: 900; letter-spacing: .2px; text-transform: uppercase; }

/* ── Policy cards ───────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.policy {
  scroll-margin-top: 64px;
  background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--sky);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.policy h3 {
  display: flex; align-items: center; gap: 10px;
  color: var(--blue); font-size: 15px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  margin-bottom: 10px;
}
.num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0;
}
.policy ul { margin: 0; padding-left: 18px; color: var(--gray); }
.policy li { margin: 6px 0; }
.policy li::marker { color: var(--sky); }
.policy strong { color: var(--ink); }

.policy-warn { border-top-color: #e0a100; }
.policy-warn .num { background: var(--amber); }
.policy-danger { border-top-color: var(--red); background: linear-gradient(180deg, var(--red-bg), #fff 60%); }
.policy-danger h3 { color: var(--red); }
.policy-danger .num { background: var(--red); }
.policy-danger li::marker { color: var(--red); }

.policy .note {
  margin: 12px 0 0; padding: 10px 12px; border-radius: 8px;
  background: var(--amber-bg); border-left: 4px solid #e0a100;
  color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.4;
}
.policy .methods { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.policy .methods li {
  display: flex; align-items: center; gap: 10px; margin: 0;
  padding: 9px 12px; border-radius: 8px; font-weight: 700; font-size: 15px;
}
.methods span { width: 18px; text-align: center; font-weight: 900; }
.methods .ok { background: #edf6ec; color: #2f6b28; }
.methods .no { background: var(--red-bg); color: var(--red); }

.hours { margin: 10px 0 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.hours div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  background: var(--tint); border-radius: 8px; padding: 10px 12px;
}
.hours dt { font-size: 12px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
.hours dd { margin: 0; font-weight: 800; font-size: 15px; color: var(--blue); white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 700; font-size: 15px; }

/* ── Values ─────────────────────────────────────────────────────────── */
.values { display: grid; grid-template-columns: 1fr; gap: 12px; }
.value {
  background: var(--blue); color: #fff; border-radius: var(--radius); padding: 18px 16px 16px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.value::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--green), var(--sky));
}
.value h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.value ul { margin: 0; padding-left: 18px; color: #e3eef8; }
.value li { margin: 5px 0; }
.value li::marker { color: #7fd0f2; }

/* ── Benefits ───────────────────────────────────────────────────────── */
.prices { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.prices li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 8px;
}
.price-k { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.price-v { font-size: 26px; font-weight: 900; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-v small { font-size: 15px; font-weight: 700; color: var(--gray); margin-left: 2px; }

.enroll {
  background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--green);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.enroll h3 { color: var(--blue); font-size: 18px; font-weight: 800; }
.enroll p { margin: 8px 0 0; color: var(--gray); overflow-wrap: anywhere; }
.code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.code-label { width: 100%; font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--muted); }
.code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 20px; font-weight: 700;
  letter-spacing: 1.5px; color: var(--ink); background: var(--tint); border: 1px dashed var(--line);
  padding: 6px 12px; border-radius: 6px;
}
.btn-row { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.btn-row .btn { width: 100%; }

/* ── Acknowledgement ────────────────────────────────────────────────── */
.ack {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  background: repeating-linear-gradient(135deg, #fff, #fff 12px, #f7fafd 12px, #f7fafd 24px);
}
.ack h2 { color: var(--blue); font-size: 20px; font-weight: 800; }
.ack p { margin: 10px 0 0; color: var(--gray); }
.ack ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink); }
.ack li { margin: 6px 0; }
.ack li::marker { color: var(--sky); }
.ack-q { font-weight: 500; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { background: var(--blue-deep); color: #d9e6f2; padding: 28px 0; font-size: 15px; }
.footer-grid { display: flex; flex-direction: column; gap: 18px; }
.footer img { display: block; width: 140px; height: auto; margin-bottom: 10px; }
.footer p { margin: 4px 0; }
.footer a { color: #fff; }
.footer a:hover { color: #7fd0f2; }
.footer-name { color: #fff; font-weight: 700; }
.footer-links a { display: flex; align-items: center; min-height: 44px; font-weight: 700; }
.footer-links .sep { display: none; }
.updated { color: #9fb8cf; font-size: 13px; margin-top: 10px !important; }

/* ── Sticky call bar (phones + tablets) ─────────────────────────────── */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0, 40, 70, .08);
}
.callbar .btn { flex-direction: column; gap: 2px; width: 100%; min-height: 56px; padding: 8px 12px; font-size: 16px; line-height: 1.2; }
.callbar-main { display: inline-flex; align-items: center; gap: 8px; }
.callbar-sub { font-size: 12px; font-weight: 800; letter-spacing: .5px; }

/* ── Small phones ───────────────────────────────────────────────────── */
@media (max-width: 359px) {
  .brand img { width: 100px; }
  .btn-icon { width: 46px; }
  .masthead-actions { gap: 4px; }
  .facts { grid-template-columns: 1fr; }
}

/* ── Tablet ≥600px ──────────────────────────────────────────────────── */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  body { font-size: 17px; line-height: 1.55; }
  .reviews { margin-top: 20px; }
  .reviews-label { font-size: 15px; }
  .reviews-btns { display: flex; flex-wrap: wrap; gap: 10px; }
  .rv { min-width: 170px; min-height: 46px; padding: 10px 20px; font-size: 15px; }
  .rv-cta { font-size: 12px; padding: 3px 10px; }
  .brand { flex-direction: row; align-items: center; gap: 14px; }
  .brand img { width: 160px; }
  .brand-office { font-size: 12px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.45); }
  .masthead-row { padding-top: 14px; padding-bottom: 14px; }
  .masthead-actions { gap: 8px; }

  .hero { padding: 32px 0 28px; }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 18px; max-width: 640px; }
  .facts { gap: 12px; margin-top: 22px; }
  .facts li { padding: 14px 16px; }
  .fact-v { font-size: 21px; }
  .fact-n { font-size: 14px; }

  .section { padding: 40px 0; scroll-margin-top: 56px; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 16px; }

  .alert-card { padding: 22px 24px; }
  .alert-head h2 { font-size: 26px; }
  .ticks li { font-size: 18px; padding-left: 26px; }
  .alert-foot { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .alert-foot .btn { width: auto; padding: 12px 24px; }
  .ncns { font-size: 19px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .policy { padding: 20px 22px; }
  .policy h3 { font-size: 16px; }
  .num { width: 28px; height: 28px; font-size: 14px; }

  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
  .prices li { flex-direction: column-reverse; justify-content: flex-start; align-items: flex-start; gap: 2px; padding: 16px 18px; }
  .price-v { font-size: 30px; }
  .enroll, .ack { padding: 22px; }
  .code-label { width: auto; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn { width: auto; }

  .footer { padding: 36px 0; }
  .footer-grid { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
  .footer img { width: 160px; }
  .footer-contact { text-align: right; }
  .footer-links a { display: inline; min-height: 0; font-weight: 400; }
  .footer-links .sep { display: inline; margin: 0 6px; }
}

/* ── Wide header ≥820px: labelled buttons ───────────────────────────── */
@media (min-width: 820px) {
  .btn-icon { flex-direction: row; gap: 8px; width: auto; padding: 8px 16px; min-height: 44px; font-size: 15px; letter-spacing: .2px; }
  .btn-icon .lbl { display: inline; }
  .btn-icon .lbl-short { display: none; }
  .btn-icon .ico { width: 18px; height: 18px; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .value { padding: 22px; }
  .value h3 { font-size: 21px; }
}

/* ── Desktop ≥960px ─────────────────────────────────────────────────── */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .brand img { width: 170px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 46px; letter-spacing: -.5px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact-v { font-size: 22px; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 32px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jump-row { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
}

@media print {
  .jump, .callbar, .masthead-actions, .btn-row, .code-row .btn, .skip { display: none !important; }
  body { padding: 0; font-size: 12px; }
  .section { padding: 16px 0; }
  .policy, .alert-card, .value, .enroll { break-inside: avoid; box-shadow: none; }
  .value { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .value ul { color: var(--gray); }
}
