/* Atlantic Splash Swim School (sample site by SwimGrow).
   Brand kit: Deep Navy #082B67, Ocean Blue #087FE5, Sky Blue #45C5F4, Aqua #20B8D7, Ice Blue #DDF5FF, Poppins.
   Buttons and links use #0670D0, one step darker than Ocean Blue, so white text on them reads well (WCAG AA). */
:root {
  --navy: #082B67; --ocean: #087FE5; --act: #0670D0; --sky: #45C5F4; --aqua: #20B8D7; --ice: #DDF5FF;
  --ink: #0b1f3f; --muted: #4a5d78; --faint: #8b9bb0; --line: #d8e7f1; --soft: #f3fbff; --sun: #FFC93D;
  --ok: #138a4b; --ok-bg: #e4f7ec; --warn: #8a5a00; --warn-bg: #fff3cc; --bad: #b42318; --bad-bg: #fdecea;
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
  --r: 20px; --pad: clamp(18px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--act); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; margin-right: auto; }
.brand svg { width: 48px; height: 48px; flex: none; }
.brand span { display: grid; line-height: 1.1; }
.brand b { font-weight: 800; font-size: 18px; letter-spacing: -0.3px; }
.brand small { font-weight: 600; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ocean); }
.nav { display: none; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 11px; border-radius: 10px; white-space: nowrap; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { color: var(--act); background: var(--soft); }
.acct { display: none; color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 10px; white-space: nowrap; }
.acct[aria-current="page"] { color: var(--act); }
.menu { display: inline-grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; }
.menu i { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--navy); }
.top.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--pad) 16px; background: #fff; box-shadow: 0 16px 24px -18px rgba(8,43,103,.5); }
.top.open .nav a { padding: 13px 8px; font-size: 16px; }
.top.open .nav .m-only { display: block; }
.m-only { display: none; }
@media (min-width: 1120px) {
  .nav, .top.open .nav { display: flex; position: static; padding: 0; box-shadow: none; gap: 2px; margin-right: 4px; }
  .top.open .nav .m-only, .m-only { display: none; }
  .acct { display: inline-block; }
  .menu { display: none; }
}
@media (max-width: 420px) { .brand small { display: none; } .brand b { font-size: 16px; } .brand svg { width: 42px; height: 42px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--act); color: #fff; font-weight: 600; font-size: 15.5px; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .15s ease; white-space: nowrap; }
.btn:hover { background: var(--navy); }
.btn.big { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.line:hover { background: var(--soft); }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--ice); }
.btn.ok { background: var(--ok); }
.btn.ok:hover { background: #0d6a39; }
.btn[disabled], .btn[aria-disabled="true"] { background: #c8d4e1; color: #fff; cursor: not-allowed; box-shadow: none; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.book { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- page heads and sections ---------- */
.kick { font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--act); }
.page-head { padding-block: clamp(34px, 6vw, 64px) clamp(22px, 3vw, 34px); background: linear-gradient(180deg, var(--soft), #fff); }
.page-head h1 { margin-top: 6px; font-weight: 800; font-size: clamp(32px, 5.4vw, 54px); line-height: 1.08; letter-spacing: -1.2px; color: var(--navy); }
.page-head p.lead { margin-top: 12px; font-size: clamp(16.5px, 1.8vw, 19px); color: var(--muted); max-width: 60ch; }
.sec { padding-block: clamp(48px, 7vw, 88px); }
.sec.soft { background: var(--soft); }
.sec h2 { margin-top: 6px; font-weight: 800; font-size: clamp(27px, 4vw, 42px); line-height: 1.12; letter-spacing: -1px; color: var(--navy); max-width: 24ch; }
.sec .sub { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 60ch; }
.safe { margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: var(--soft); box-shadow: inset 4px 0 0 var(--aqua); color: var(--navy); font-weight: 500; font-size: 15.5px; }

/* ---------- home ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero picture, .hero .shade { position: absolute; inset: 0; }
.hero picture img { width: 100%; height: 100%; object-fit: cover; }
.hero .shade { background: linear-gradient(90deg, rgba(8,43,103,.86) 0%, rgba(8,43,103,.62) 46%, rgba(8,43,103,.08) 100%); }
.hero .in { position: relative; display: grid; gap: 34px; padding-block: clamp(56px, 9vw, 110px); }
.hero .kick { color: var(--sky); }
.hero h1 { margin-top: 10px; font-weight: 800; font-size: clamp(44px, 8.4vw, 82px); line-height: 1; letter-spacing: -2px; }
.hero .lead { margin-top: 18px; font-size: clamp(17px, 2vw, 20px); color: #e1eefb; max-width: 36ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
.hero .btn.line:hover { background: rgba(255,255,255,.12); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.facts li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 600; font-size: 13.5px; }
.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(34px, 5vw, 70px); }
.waves path { fill: #fff; }
.waves path.back { fill: var(--sky); opacity: .45; }
@media (min-width: 900px) { .hero { min-height: 600px; display: grid; align-items: center; } .hero .shade { background: linear-gradient(90deg, rgba(8,43,103,.9) 0%, rgba(8,43,103,.66) 42%, rgba(8,43,103,0) 78%); } }
@media (max-width: 899px) { .hero .shade { background: linear-gradient(180deg, rgba(8,43,103,.55) 0%, rgba(8,43,103,.86) 60%); } }

.cards { display: grid; gap: 18px; margin-top: 30px; }
.pcard { overflow: hidden; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px -30px rgba(8,43,103,.45); display: grid; }
.pcard .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ice); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard .bd { padding: 22px 24px 24px; }
.pcard h3 { font-weight: 700; font-size: 22px; color: var(--navy); }
.pcard .age { font-weight: 600; color: var(--act); }
.pcard p:not(.age) { margin-top: 8px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.chips li { padding: 5px 12px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: var(--navy); }
.pcard .link { display: inline-block; margin-top: 16px; }
@media (min-width: 760px) { .cards.two { grid-template-columns: 1fr 1fr; } .cards.three { grid-template-columns: repeat(3, 1fr); } }

.steps4 { counter-reset: s; display: grid; gap: 14px; margin-top: 30px; list-style: none; }
.steps4 li { counter-increment: s; position: relative; display: grid; gap: 4px; padding: 22px 22px 22px 72px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1.5px var(--line); }
.steps4 li::before { content: counter(s); position: absolute; left: 22px; top: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ice); color: var(--act); font-weight: 800; }
.steps4 b { font-weight: 700; font-size: 18px; color: var(--navy); }
.steps4 span { color: var(--muted); }
@media (min-width: 900px) { .steps4 { grid-template-columns: repeat(4, 1fr); } .steps4 li { padding: 70px 22px 24px; } .steps4 li::before { top: 22px; } }

.split { display: grid; gap: 30px; align-items: center; }
.split .photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ice); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }

.people { display: grid; gap: 12px; list-style: none; margin-top: 24px; }
.people li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1.5px var(--line); }
.av { position: relative; overflow: hidden; display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--act); color: #fff; font-weight: 700; }
/* a face photo covers the initials; if a photo is missing, the initials show */
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.people .av { grid-row: span 2; }
.people b { font-weight: 700; color: var(--navy); }
.people small { color: var(--muted); font-size: 14px; }
@media (min-width: 760px) { .people.row { grid-template-columns: repeat(3, 1fr); } }

.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.badge { display: grid; justify-items: start; gap: 6px; padding: 20px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1.5px var(--line); }
.badge .lv { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 800; }
.badge b { margin-top: 6px; font-weight: 700; font-size: 17px; color: var(--navy); }
.badge span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (min-width: 900px) { .badges { grid-template-columns: repeat(4, 1fr); } }

/* why families choose us: four short reasons with small line icons (owner's round 1, 2026-11-29) */
.why { display: grid; gap: 14px; margin-top: 30px; list-style: none; }
.why li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; align-content: start; padding: 20px 22px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1.5px var(--line); }
.why .ic { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ice); color: var(--act); }
.why .ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why b { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--navy); }
.why p { color: var(--muted); font-size: 15.5px; }
@media (min-width: 760px) { .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } .why li { grid-template-columns: 1fr; padding: 24px 22px 26px; } .why .ic { grid-row: auto; margin-bottom: 10px; } }

/* instructors: a card each with a face (initials until the photos come), what they teach, two lines about them and when */
.team { display: grid; gap: 16px; margin-top: 30px; list-style: none; }
.team > li { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 16px; align-items: center; padding: 22px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px -32px rgba(8,43,103,.45); }
.team .av { grid-row: span 2; width: 76px; height: 76px; font-size: 22px; }
.team b { align-self: end; font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--navy); }
.team .role { align-self: start; font-weight: 600; font-size: 14.5px; color: var(--act); }
.team p { grid-column: 1 / -1; align-self: start; margin-top: 14px; color: var(--muted); }
.team .chips { grid-column: 1 / -1; align-self: end; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, 1fr); } .team.four { grid-template-columns: repeat(2, 1fr); } }

/* a short list with round ticks (pools, first lesson) */
.ticks { display: grid; gap: 9px; margin-top: 14px; list-style: none; }
.ticks li { position: relative; padding-left: 31px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--ice); }
.ticks li::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px; border: solid var(--act); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

/* a small photo gallery under the pools: two columns on a phone, a four column mosaic on a computer */
.gal-kick { margin-top: 44px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.gallery figure { overflow: hidden; border-radius: 18px; aspect-ratio: 1 / 1; background: var(--ice); }
.gallery picture, .gallery img { display: block; width: 100%; height: 100%; }
.gallery img { object-fit: cover; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
  .gallery figure { aspect-ratio: auto; }
  .gallery .tall { grid-row: span 2; }
  .gallery .wide { grid-column: span 2; }
}
/* the hero photo is mirrored, so the swimming child sits on the right, away from the text; on a computer the photo
   takes the right two thirds and fades into navy, so the headline stands on a clean background */
.hero.flip picture img { transform: scaleX(-1); }
@media (min-width: 900px) {
  .hero.flip picture { left: 34%; }
  .hero.flip .shade { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 34%, rgba(8,43,103,.55) 46%, rgba(8,43,103,0) 66%); }
}

/* your first lesson: what to bring and what happens, side by side on a computer */
.first { display: grid; gap: 16px; margin-top: 30px; }
.first .box h3 { font-weight: 700; font-size: 20px; color: var(--navy); }
@media (min-width: 900px) { .first { grid-template-columns: 1fr 1fr; } }

.table { margin-top: 26px; overflow-x: auto; border-radius: var(--r); box-shadow: 0 0 0 1.5px var(--line); }
.table table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15.5px; }
.table th { text-align: left; padding: 14px 18px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }
.table td { padding: 14px 18px; border-top: 1px solid var(--line); }
.table td.num { font-weight: 700; color: var(--navy); white-space: nowrap; }
.table tr.off td { color: var(--faint); }
.note { margin-top: 14px; color: var(--muted); font-size: 15px; }

.qa { margin-top: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1.5px var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; position: relative; font-weight: 600; color: var(--navy); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-weight: 500; font-size: 24px; color: var(--act); }
.qa[open] summary::after { content: "\2212"; }
.qa p { padding: 0 20px 18px; color: var(--muted); }
.narrow { max-width: 820px; }

.band { padding-block: clamp(52px, 8vw, 84px); background: var(--act); color: #fff; text-align: center; }
.band h2 { font-weight: 800; font-size: clamp(27px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.8px; }
.band p { margin-top: 10px; color: #dcecff; }
.band .btn { margin-top: 22px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form.two { grid-template-columns: 1fr 1fr; } .form.two .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field .lab { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c9d9e6; border-radius: 14px; background: #fff; font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--act); outline: 3px solid rgba(8,127,229,.18); outline-offset: 0; }
.field input[readonly] { background: var(--soft); color: var(--navy); }
.field .err { display: none; color: var(--bad); font-size: 14px; font-weight: 500; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--bad); }
.field .help { color: var(--muted); font-size: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15.5px; color: var(--navy); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--act); flex: none; }

/* ---------- the booking system ---------- */
.app { display: grid; gap: 24px; padding-block: 8px 120px; }
@media (min-width: 1000px) { .app { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; padding-bottom: 80px; } .app .side { position: sticky; top: 90px; } }
.stepper { display: flex; gap: 6px; margin-top: 18px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.stepper li { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); font-weight: 600; font-size: 14px; }
.stepper li i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); font-style: normal; font-size: 12.5px; }
.stepper li.on { color: var(--act); box-shadow: inset 0 0 0 2px var(--act); }
.stepper li.on i { background: var(--act); color: #fff; }
.stepper li.done { color: var(--ok); }
.stepper li.done i { background: var(--ok-bg); color: var(--ok); }
.h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -0.8px; color: var(--navy); }
.lede { margin-top: 8px; color: var(--muted); }
.box { border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px -32px rgba(8,43,103,.5); padding: 22px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--navy); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.choices { display: grid; gap: 12px; margin-top: 18px; }
.choice { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 6px 14px; align-items: center; width: 100%; padding: 18px; border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; cursor: pointer; }
.choice:hover { box-shadow: inset 0 0 0 1.5px var(--sky); }
.choice[aria-checked="true"] { box-shadow: inset 0 0 0 2.5px var(--act), 0 10px 24px -16px rgba(6,112,208,.6); }
.choice .rd { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px #b8cadb; }
.choice[aria-checked="true"] .rd { box-shadow: inset 0 0 0 7px var(--act); }
.choice .t { font-weight: 700; font-size: 18px; color: var(--navy); }
.choice .t small { font-weight: 500; font-size: 15px; color: var(--muted); }
.choice .m { grid-column: 2; color: var(--muted); font-size: 14.5px; }
.choice .r { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.choice .p { font-weight: 800; font-size: 19px; color: var(--navy); }
.choice .p small { font-weight: 500; font-size: 13px; color: var(--muted); }
.choice[aria-disabled="true"] { cursor: not-allowed; background: var(--soft); }
.choice[aria-disabled="true"] .t, .choice[aria-disabled="true"] .p { color: var(--faint); }
@media (min-width: 720px) { .choice { grid-template-columns: 26px 1fr auto; } .choice .r { grid-column: 3; grid-row: 1 / span 2; justify-content: flex-end; } }
.avs { display: inline-flex; }
.avs .av { width: 30px; height: 30px; font-size: 11px; box-shadow: 0 0 0 2px #fff; }
.avs .av + .av { margin-left: -6px; }
.free { color: var(--ok); font-weight: 600; font-size: 14px; }
.weeks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.week { display: grid; gap: 2px; padding: 14px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; cursor: pointer; }
.week span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.week b { font-weight: 800; font-size: clamp(18px, 2.4vw, 24px); color: var(--navy); }
.week[aria-checked="true"] { box-shadow: inset 0 0 0 2.5px var(--act); }
.week[aria-checked="true"] span { color: var(--act); }
.lanes { display: grid; gap: 14px; margin-top: 18px; padding: 16px; border-radius: 24px; background: var(--ice); }
.lane { display: grid; gap: 10px; }
.lane .who { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.lane .who .av { width: 34px; height: 34px; font-size: 12px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { display: grid; gap: 2px; padding: 11px 10px; border: 0; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 1px 1px rgba(8,43,103,.06); }
.slot b { font-weight: 700; font-size: 18px; color: var(--ink); white-space: nowrap; }
.slot b small { font-weight: 600; font-size: 12px; color: var(--muted); margin-left: 1px; }
.slot span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--sky); }
.slot[aria-checked="true"] { background: var(--act); box-shadow: 0 10px 22px -12px rgba(6,112,208,.8); }
.slot[aria-checked="true"] b, .slot[aria-checked="true"] b small, .slot[aria-checked="true"] span { color: #fff; }
.slot:disabled { background: transparent; box-shadow: inset 0 0 0 1.25px #c3d3e1; cursor: not-allowed; }
.slot:disabled b, .slot:disabled span, .slot:disabled b small { color: var(--faint); }
@media (min-width: 1000px) { .lane { grid-template-columns: 124px 1fr; align-items: center; } .lane .who { font-size: 14.5px; } .times { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 999px) { .app .side .btn, .app .side .after { display: none; } }
/* a table that turns into cards on a phone */
@media (max-width: 639px) {
  .table.stack table, .table.stack tbody, .table.stack tr, .table.stack td { display: block; min-width: 0; }
  .table.stack thead { display: none; }
  .table.stack tr { padding: 14px 18px; border-top: 1px solid var(--line); }
  .table.stack tr:first-child { border-top: 0; }
  .table.stack td { padding: 2px 0; border: 0; }
  .table.stack td:first-child { font-weight: 700; color: var(--navy); }
  .table.stack td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 500; }
  .table.stack td:last-child a { display: inline-block; margin-top: 6px; }
}
.hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--muted); font-size: 14.5px; }
.hint svg { flex: none; margin-top: 3px; }

.sum { display: grid; gap: 0; }
.sum .k { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.sum .when { margin-top: 4px; font-weight: 800; font-size: 32px; line-height: 1.1; color: var(--navy); }
.sum .when small { font-weight: 600; font-size: 16px; color: var(--muted); margin-left: 2px; }
.sum .with { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.sum .with .av { width: 30px; height: 30px; font-size: 11px; }
.sum .with small { font-weight: 400; color: var(--muted); }
.kv { display: grid; gap: 8px; margin-top: 16px; font-size: 14.5px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; color: var(--ink); text-align: right; }
.held { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 11px 14px; border-radius: 14px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 14.5px; }
.held b { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.sum hr { border: 0; height: 1px; background: var(--line); margin: 18px 0; }
.today { font-weight: 800; font-size: 34px; line-height: 1; color: var(--ink); }
.today small { font-weight: 500; font-size: 15px; color: var(--muted); margin-left: 6px; }
.of { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.of b { color: var(--ink); }
.sum .btn { width: 100%; margin-top: 18px; }
.after { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -14px 30px -24px rgba(8,43,103,.6); }
.mbar .in { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 640px; margin: 0 auto; }
.mbar .today { font-size: 24px; }
.mbar .of { margin-top: 2px; font-size: 13px; }
@media (min-width: 1000px) { .mbar { display: none; } }
.pillh { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 13.5px; }

.cardform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cardform .full { grid-column: 1 / -1; }
.lock { display: flex; gap: 8px; align-items: center; margin-top: 14px; color: var(--muted); font-size: 14px; }

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(8,43,103,.5); }
.modal .dlg { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 26px 24px 24px; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px -30px rgba(8,43,103,.8); }
.modal h2 { font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--navy); }
.modal ul { margin-top: 14px; display: grid; gap: 12px; padding-left: 0; list-style: none; }
.modal li { padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.modal li b { display: block; color: var(--navy); }
.modal li span { color: var(--muted); font-size: 15px; }
.modal .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }

.done { display: grid; gap: 28px; padding-block: 10px 60px; }
.okmark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--act); box-shadow: 0 0 0 10px rgba(6,112,208,.12); }
.track { display: grid; gap: 14px; margin-top: 24px; list-style: none; }
.track li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.track .dot { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px #b8cadb; display: grid; place-items: center; }
.track li.ok .dot { background: var(--act); box-shadow: none; }
.track li.now .dot { box-shadow: inset 0 0 0 7px var(--act); }
.track b { color: var(--navy); }
.track p { color: var(--muted); font-size: 14.5px; }
.ticket { border-radius: 24px; background: #fff; box-shadow: 0 0 0 1.5px var(--line), 0 24px 50px -34px rgba(8,43,103,.6); overflow: hidden; }
.ticket .tt { padding: 24px; }
.ticket .tw { font-weight: 800; font-size: 52px; line-height: 1; color: var(--navy); }
.ticket .tw small { font-size: 20px; color: var(--muted); }
.ticket .tb { padding: 18px 24px; border-top: 2px dashed var(--line); background: var(--soft); }
@media (min-width: 900px) { .done { grid-template-columns: 1.2fr .8fr; align-items: center; } }

/* status pills, toasts */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.wait { background: var(--ice); color: var(--act); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.off { background: #eef2f6; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 70; width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.4; text-align: center; box-shadow: 0 14px 34px -14px rgba(8,43,103,.8); opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
body.has-mbar .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* ---------- the parent account ---------- */
.acc { display: grid; gap: 24px; padding-block: 8px 70px; }
@media (min-width: 1000px) { .acc { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; } }
.login { max-width: 460px; margin: 0 auto; padding-block: 10px 70px; }
.kids { display: grid; gap: 16px; }
@media (min-width: 720px) { .kids { grid-template-columns: 1fr 1fr; } }
.kid { display: grid; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px -32px rgba(8,43,103,.5); overflow: hidden; text-align: left; border: 0; cursor: pointer; padding: 0; }
.kid .tt { padding: 22px; }
.kid .hd { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.kid .ini { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ice); color: var(--act); font-weight: 800; }
.kid .nm { font-weight: 700; font-size: 19px; color: var(--navy); margin-right: auto; }
.kid .nm small { font-weight: 400; font-size: 15px; color: var(--muted); }
.kid .big { margin-top: 18px; font-weight: 800; font-size: 46px; line-height: 1; color: var(--navy); }
.kid .big small { font-size: 18px; color: var(--muted); }
.kid .tb { padding: 16px 22px; border-top: 2px dashed var(--line); display: grid; gap: 6px; font-size: 15px; }
.kid .tb div { display: flex; justify-content: space-between; }
.kid .tb span { color: var(--muted); }
.kid .tb b.ok { color: var(--ok); }
.owe .amt { margin-top: 6px; font-weight: 800; font-size: 48px; line-height: 1; color: var(--navy); }
.pays { display: grid; gap: 4px; margin-top: 8px; }
.payrow { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.payrow:first-child { border-top: 0; }
.payrow .ic { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px #b8cadb; display: grid; place-items: center; }
.payrow.paid .ic { background: var(--ok); box-shadow: none; }
.payrow .t { font-weight: 600; color: var(--navy); font-size: 15px; }
.payrow .d { color: var(--muted); font-size: 13.5px; }
.payrow .m { text-align: right; font-weight: 700; color: var(--ink); }
.payrow .m small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.payrow .m small.ok { color: var(--ok); }
.plans { display: grid; gap: 12px; margin-top: 18px; }
.plan { display: grid; grid-template-columns: 26px 1fr; gap: 8px 14px; align-items: center; padding: 18px; border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; cursor: pointer; }
.plan[aria-checked="true"] { box-shadow: inset 0 0 0 2.5px var(--act); }
.plan .rd { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px #b8cadb; }
.plan[aria-checked="true"] .rd { box-shadow: inset 0 0 0 7px var(--act); }
.plan .nm { font-weight: 700; color: var(--navy); }
.plan .line { grid-column: 2; position: relative; display: flex; justify-content: space-between; padding-top: 14px; font-size: 14px; }
.plan .line::before { content: ""; position: absolute; left: 6px; right: 6px; top: 4px; height: 3px; border-radius: 2px; background: var(--line); }
.plan .line span { position: relative; display: grid; gap: 1px; }
.plan .line span::before { content: ""; position: absolute; top: -15px; width: 12px; height: 12px; border-radius: 50%; background: var(--act); }
.plan .line span:last-child { text-align: right; justify-items: end; }
.plan .line span:last-child::before { right: 0; background: var(--ok); }
.plan .line em { font-style: normal; color: var(--muted); }
.plan .line b { color: var(--ink); }
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 14px; }
.dates div { padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.dates span { display: block; font-size: 13px; color: var(--muted); }
.dates b { color: var(--navy); }
.receipt .amt { font-weight: 800; font-size: 56px; line-height: 1; color: var(--navy); margin-top: 14px; }

/* ---------- accounts: log in, make an account, the family's details ---------- */
.auth > .seg { margin: 0 0 16px; }
.auth .btn.big { width: 100%; }
.bh { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--navy); }
.pw { position: relative; }
.field .pw input { padding-right: 80px; }
.pw .show { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); min-height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--act); font-weight: 600; font-size: 14px; cursor: pointer; }
.pw .show:hover { background: var(--soft); }
.formerr { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--bad-bg); color: var(--bad); font-weight: 500; font-size: 14.5px; line-height: 1.45; }
.formerr svg { flex: none; margin-top: 2px; }
.formerr:focus { outline: 3px solid rgba(180,35,24,.25); outline-offset: 2px; }
.formerr[hidden] { display: none; }
.me { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.me .ini { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ice); color: var(--act); font-weight: 800; }
.me div { display: grid; min-width: 0; margin-right: auto; line-height: 1.4; }
.me b { color: var(--navy); }
.me span { color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--act); font: inherit; font-weight: 600; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.kv b { min-width: 0; overflow-wrap: anywhere; }

/* ---------- the card form: no payment keys, nothing is charged, no "Test mode" label (owner 2026-11-29) ---------- */
.cin { position: relative; }
.cin input { padding-right: 134px; font-variant-numeric: tabular-nums; }
.cin:has(.brands[data-brand]) input { padding-right: 54px; }
.cin.cvc input { padding-right: 54px; }
.brands, .cvcic { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); display: flex; gap: 4px; pointer-events: none; }
.brands svg, .cvcic svg { display: block; width: 28px; height: 19px; }
.brands[data-brand] svg { display: none; }
.brands[data-brand="visa"] .b-visa, .brands[data-brand="mastercard"] .b-mastercard, .brands[data-brand="amex"] .b-amex, .brands[data-brand="discover"] .b-discover { display: block; }
.cdecl { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--bad-bg); color: var(--bad); font-weight: 500; font-size: 14.5px; line-height: 1.45; }
.cdecl svg { flex: none; margin-top: 2px; }
.cdecl[hidden] { display: none; }
.cdecl.note { background: var(--soft); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }   /* after a real card: no money was taken */
.cdecl .linkbtn { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 479px) {
  .cardform .cty, .cardform .zipf { grid-column: 1 / -1; }
  .brands:not([data-brand]) svg:nth-child(n+3) { display: none; }
  .cin input { padding-right: 78px; }
}

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #b9cde6; padding-block: 36px calc(30px + env(safe-area-inset-bottom, 0px)); }
.foot .ftop { display: grid; gap: 24px; }
.foot .brand { color: #fff; }
.foot .brand small { color: var(--sky); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 14.5px; padding-block: 6px; }
.foot nav a:hover { color: var(--sky); }
.foot .legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; line-height: 1.6; }
.foot .legal a, .foot .legal button { color: #fff; background: none; border: 0; padding: 0; font-size: 13px; text-decoration: underline; cursor: pointer; }
@media (min-width: 900px) { .foot .ftop { grid-template-columns: auto 1fr; align-items: center; } .foot nav { justify-content: flex-end; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .toast { transition: none; }
  .btn .spin { animation-duration: 2.4s; }
}
