:root {
  --ink: #0B1F5C;         /* deep royal navy */
  --blue: #1E5BD8;        /* swirl blue */
  --sky: #5EC2F2;
  --mist: #EAF5FD;
  --ground: #F5F9FE;
  --card: #FFFFFF;
  --line: #D6E4F5;
  --gold: #D9A520;
  --gold-deep: #A8780A;
  --muted: #5A6A92;
  --ok: #0A8754;
  --warn: #C0392B;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Nunito', -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  background-image:
    radial-gradient(circle at 10% -10%, rgba(94,194,242,.22), transparent 45%),
    radial-gradient(circle at 110% 30%, rgba(30,91,216,.10), transparent 40%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--blue); }
.wrap { max-width: 640px; margin: 0 auto; padding: 18px 16px 48px; }

/* masthead */
.mast { display: block; text-align: center; padding: 6px 0 4px; text-decoration: none; }
.mast img { width: min(78vw, 360px); height: auto; display: block; margin: 0 auto; }
.mast.small img { width: 150px; }
.mast .tag { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-top: 6px; }

/* nav */
nav { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 14px 0 18px; }
nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
nav a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 22px; margin: 0 0 16px; box-shadow: 0 6px 24px rgba(11,31,92,.06);
  position: relative; overflow: hidden;
}
.card.gold { border-top: 4px solid var(--gold); }
.card.center, .center { text-align: center; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-size: 34px; font-style: italic; font-weight: 800; }
h2 { font-size: 27px; font-style: italic; font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 6px; }
.sub { color: var(--muted); margin: 8px 0 0; }
.lede { font-size: 18px; margin: 10px 0; }
.rule { width: 48px; height: 3px; border: 0; background: var(--gold); margin: 16px auto; border-radius: 2px; }
.rule.left { margin-left: 0; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.err { color: var(--warn); font-weight: 700; min-height: 1em; margin: 12px 0 0; }

/* buttons */
.btn {
  display: inline-block; width: 100%; text-align: center; text-decoration: none; cursor: pointer;
  font: 800 16px var(--body); color: #fff; background: var(--blue);
  border: 0; border-radius: 999px; padding: 16px 22px;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn.gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-deep); }
.btn.small { width: auto; padding: 9px 16px; font-size: 14px; }

/* forms */
label { display: block; font-weight: 800; font-size: 14px; margin: 16px 0 6px; }
input, select {
  width: 100%; font: 400 16px var(--body); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
input:focus, select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,91,216,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; margin-top: 18px; }
.check input { width: 22px; height: 22px; flex: 0 0 22px; margin: 1px 0 0; accent-color: var(--blue); }

/* dancers */
.dancer { border: 1.5px solid var(--line); border-radius: 16px; padding: 4px 14px 14px; margin: 12px 0 0; background: var(--mist); position: relative; }
.dancer .row { display: grid; grid-template-columns: 1fr 92px; gap: 10px; }
.dancer .row.one { grid-template-columns: 1fr; }
.dancer .x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px; }
.dancer .price { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: right; }
.addbtn { margin-top: 12px; width: 100%; border: 2px dashed var(--sky); background: #fff; color: var(--blue); font: 800 15px var(--body); border-radius: 14px; padding: 12px; cursor: pointer; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 800; }
.total b { font-family: var(--display); font-size: 28px; }

/* price list */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.lines div { background: var(--mist); border-radius: 14px; padding: 12px; text-align: center; }
.lines b { display: block; font-family: var(--display); font-size: 24px; }
.lines span { font-size: 13px; color: var(--muted); }

/* info list */
.facts { list-style: none; padding: 0; margin: 14px 0 0; }
.facts li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts .k { flex: 0 0 96px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.ticks { padding-left: 0; list-style: none; margin: 10px 0 0; }
.ticks li { padding: 5px 0 5px 26px; position: relative; }
.ticks li::before { content: '\2726'; position: absolute; left: 2px; color: var(--gold); }
.tbc { background: #FFF4D6; color: var(--gold-deep); font-size: 12px; font-weight: 800; padding: 1px 7px; border-radius: 6px; }

.foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 26px; }
.foot p { margin: 4px 0; }

@media (max-width: 420px) {
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }
  .card { padding: 20px 16px; }
}

/* pay weekly / monthly toggle */
.period { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.period label { margin: 0; cursor: pointer; }
.period input { position: absolute; opacity: 0; pointer-events: none; }
.period span { display: block; text-align: center; border: 2px solid var(--line); border-radius: 14px; padding: 12px 8px; background: #fff; font-weight: 600; }
.period b { display: block; font-size: 16px; }
.period small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.period input:checked + span { border-color: var(--blue); background: var(--mist); box-shadow: 0 0 0 3px rgba(30,91,216,.15); }
.period input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
