/**
 * Registration, styled to belong to the public website rather than the
 * dashboard: the site's off-white ground, a white card, black buttons.
 * The same sheet serves the popup and the standalone page.
 */
.reg-scope{
  --black:#0e0e0e; --white:#fff; --off:#f8f8f6;
  --g100:#f0f0ee; --g200:#e6e6e2; --g300:#d0d0cc; --g500:#6f6f6b; --g700:#4a4a46;
  --accent:#FFB800; --good:#1a8a4f; --bad:#c0392b;
  --ease:cubic-bezier(.25,.1,.25,1);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:#111; line-height:1.6; text-align:left;
}
.reg-scope *,.reg-scope *::before,.reg-scope *::after{box-sizing:border-box}
.reg-scope h1,.reg-scope h2,.reg-scope h3{
  font-family:'Space Grotesk',system-ui,sans-serif; font-weight:700; letter-spacing:-.02em; line-height:1.12; margin:0;
}

/* ---------- the popup ---------- */
.reg-overlay{
  position:fixed; inset:0; z-index:9999; display:none;
  background:rgba(14,14,14,.55); backdrop-filter:blur(3px);
  padding:24px; overflow-y:auto; overscroll-behavior:contain;
}
.reg-overlay.open{display:block}
.reg-dialog{
  position:relative; background:var(--off); border-radius:22px;
  max-width:680px; margin:40px auto; padding:0;
  box-shadow:0 30px 80px rgba(0,0,0,.28);
  animation:regIn .28s var(--ease);
}
@keyframes regIn{from{opacity:0; transform:translateY(14px) scale(.985)}to{opacity:1; transform:none}}
.reg-close{
  position:absolute; top:14px; right:14px; z-index:2;
  width:44px; height:44px; min-height:44px; border-radius:50%; border:0; cursor:pointer;
  background:var(--white); color:var(--g700); font-size:19px; line-height:1;
  box-shadow:0 2px 10px rgba(0,0,0,.1);
}
.reg-close:hover{background:var(--black); color:var(--white)}

/* ---------- the breadcrumb, so they can see where they are ---------- */
.reg-crumbs{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  padding-bottom:16px; margin-bottom:22px; border-bottom:1px solid var(--g100);
}
.reg-crumb{
  font-family:'Space Grotesk',system-ui,sans-serif; font-size:11.5px; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase; color:var(--g500);
}
.reg-crumb.done{color:var(--g500)}
.reg-crumb.on{color:var(--black); font-weight:700}
.reg-crumbs i{color:var(--g500); font-style:normal; font-size:13px}

/* ---------- what they have chosen, on the paying screens ---------- */
.reg-spot{
  background:var(--white); border:1px solid var(--g100); border-left:3px solid var(--accent);
  border-radius:13px; padding:6px 18px; margin-bottom:22px;
}

/* ---------- the nav under each screen ---------- */
.reg-nav{display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:20px}
.reg-nav .reg-btn{min-width:170px}

/* ---------- shared body ---------- */
.reg-body{padding:38px 34px 34px}
/* The close button is pinned to the top right of the dialog, so the head has
   to leave room for it or "I have an account" ends up underneath it. */
.reg-head{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; padding-right:52px}
/* line-height:0 is here to stop the logo image carrying a text line under it.
   It is only ever right for a link that holds an image. */
.reg-head a{display:inline-block; line-height:0; text-decoration:none}
.reg-head img{height:20px; width:auto; display:block}
/* Written as `.reg-head a.reg-alt` on purpose. `.reg-head a` above is the more
   specific selector, so a plain `.reg-alt` rule loses to it and the words go on
   sitting 8px above their own box, clipped off the top edge anywhere the form
   starts near the top of the screen. */
.reg-head a.reg-alt{
  font-size:13px; color:var(--g500); text-decoration:none; font-weight:500;
  display:inline-flex; align-items:center; min-height:44px; padding:0 4px;
  line-height:1.2; text-align:right;
}
.reg-alt:hover{color:var(--black)}

.reg-steps{display:flex; gap:7px; margin-bottom:18px}
.reg-steps div{flex:1; height:4px; border-radius:999px; background:var(--g200)}
.reg-steps div.on{background:var(--black)}
.reg-eyebrow{
  font-family:'Space Grotesk',system-ui,sans-serif; font-size:11px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--g500); margin-bottom:9px;
}
.reg-scope h2.reg-title{font-size:clamp(23px,4.4vw,30px); margin-bottom:8px}
.reg-lede{color:var(--g700); font-size:15px; margin:0 0 24px}

.reg-card{
  background:var(--white); border:1px solid var(--g100); border-radius:18px;
  padding:26px 24px; box-shadow:0 18px 44px rgba(0,0,0,.05);
}
/* Sections stack as they are revealed, so nothing already answered disappears. */
.reg-step{display:none}
.reg-step.on{display:block; animation:regFade .3s var(--ease)}
@keyframes regFade{from{opacity:0; transform:translateY(7px)}to{opacity:1; transform:none}}

/* ---------- fields ---------- */
.reg-field{display:block; margin-bottom:19px}
div.reg-field > span{
  display:block; font-family:'Space Grotesk',system-ui,sans-serif; font-size:11.5px; font-weight:600;
  letter-spacing:.09em; text-transform:uppercase; color:var(--g500); margin-bottom:9px;
}
.reg-field > span{
  display:block; font-family:'Space Grotesk',system-ui,sans-serif; font-size:11.5px; font-weight:600;
  letter-spacing:.09em; text-transform:uppercase; color:var(--g500); margin-bottom:9px;
}
.reg-field input,.reg-field select{
  width:100%; font-family:inherit; font-size:16px; /* 16px or iOS zooms the page */
  padding:13px 14px; min-height:48px; border:1.5px solid var(--g200); border-radius:11px;
  background:var(--white); color:#111; appearance:none; -webkit-appearance:none;
}
.reg-field select{
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f6f6b' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 15px center; padding-right:38px;
}
.reg-field input:focus,.reg-field select:focus{outline:none; border-color:var(--black)}
.reg-two{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.reg-hint{font-size:13.5px; color:var(--g500); margin:-8px 0 18px}
.reg-err{color:var(--bad); font-size:14px; font-weight:500; margin:0 0 14px; min-height:0}
.reg-err:empty{margin:0}

/* ---------- choice chips, instead of a level dropdown ---------- */
.reg-choices{display:flex; flex-direction:column; gap:9px; margin-bottom:19px}
.reg-choice{
  display:flex; align-items:center; gap:12px; width:100%; text-align:left; cursor:pointer;
  font:inherit; font-size:15px; padding:14px 16px; min-height:52px;
  border:1.5px solid var(--g200); border-radius:12px; background:var(--white); color:#111;
  transition:border-color .16s var(--ease), background .16s var(--ease);
}
.reg-choice:hover{border-color:var(--g500)}
.reg-choice.sel{background:var(--black); border-color:var(--black); color:var(--white)}
.reg-choice .tick{
  flex:0 0 20px; width:20px; height:20px; border-radius:50%; border:1.5px solid var(--g300);
  display:grid; place-items:center; font-size:11px;
}
.reg-choice.sel .tick{background:var(--white); border-color:var(--white); color:var(--black)}
.reg-choice.sel .tick::after{content:'\2713'; font-size:11px; line-height:1}
.reg-choice small{display:block; color:var(--g500); font-size:13px; line-height:1.4}
.reg-choice.sel small{color:rgba(255,255,255,.72)}

/* ---------- the year picker ---------- */
.reg-picker{
  display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%;
  font:inherit; font-size:16px; text-align:left; cursor:pointer;
  padding:13px 15px; min-height:48px; border:1.5px solid var(--g200); border-radius:11px;
  background:var(--white); color:#111;
}
.reg-picker:hover{border-color:var(--g500)}
.reg-picker[aria-expanded="true"]{border-color:var(--black)}
.reg-picker svg{flex:0 0 auto; color:var(--g500)}
.reg-years{
  margin-top:8px; padding:14px 15px 6px;
  background:var(--white); border:1.5px solid var(--g200); border-radius:12px;
  box-shadow:0 14px 36px rgba(0,0,0,.09);
}
.reg-yeargroup{margin-bottom:14px}
/* Arriving from a phase page spotlights that phase's years. It suggests,
   and never answers: the parent still picks the year. */
.reg-yeargroup.hint{
  background:#FFF7E0; border:1px solid #FFD866; border-radius:12px;
  padding:10px 12px; margin:0 -12px 14px;
}
.reg-yearlabel{
  display:block; font-family:'Space Grotesk',system-ui,sans-serif; font-size:10.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--g500); margin-bottom:7px;
}
.reg-yearpills{display:flex; flex-wrap:wrap; gap:6px}
.reg-pill.year{
  padding:10px 13px; min-height:44px; font-size:14px; font-variant-numeric:tabular-nums;
}

/* ---------- pills, for the short answers ---------- */
.reg-pills{display:flex; flex-wrap:wrap; gap:8px}
.reg-pill{
  font:inherit; font-size:14.5px; font-weight:500; cursor:pointer;
  padding:12px 20px; min-height:48px; border-radius:11px;
  border:1.5px solid var(--g200); background:var(--white); color:#111;
  transition:border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.reg-pill:hover{border-color:var(--g500)}
.reg-pill.sel{background:var(--black); border-color:var(--black); color:var(--white)}
.reg-field > .reg-pills{margin-top:2px}

/* ---------- days across the top, times underneath ---------- */
.reg-days{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px}
.reg-day-btn{
  flex:1 1 0; min-width:56px; cursor:pointer; font:inherit;
  display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:11px 4px 9px; min-height:64px; border-radius:13px;
  border:1.5px solid var(--g200); background:var(--white); color:#111;
  transition:border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.reg-day-btn .dow{
  font-family:'Space Grotesk',system-ui,sans-serif; font-size:11px; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase;
}
.reg-day-btn .count{font-size:15px; font-weight:600; line-height:1}
.reg-day-btn:hover{border-color:var(--g500)}
.reg-day-btn.sel{background:var(--black); border-color:var(--black); color:var(--white)}
.reg-day-btn.off{cursor:default; background:var(--off); border-style:dashed; color:var(--g300)}
.reg-day-btn.off:hover{border-color:var(--g200)}
.reg-day-head{
  font-family:'Space Grotesk',system-ui,sans-serif; font-size:12px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--black);
  padding-bottom:9px; margin-bottom:12px; border-bottom:1px solid var(--g200);
}

/* what they chose, once they have chosen it */
.reg-chosen{
  display:flex; align-items:center; gap:14px;
  background:var(--white); border:1.5px solid var(--black); border-radius:14px; padding:16px 18px;
}
.reg-chosen-tick{
  flex:0 0 26px; width:26px; height:26px; border-radius:50%;
  background:var(--black); color:var(--white); display:grid; place-items:center; font-size:13px;
}
.reg-chosen .grow{min-width:0; flex:1}
.reg-chosen b{display:block; font-family:'Space Grotesk',system-ui,sans-serif; font-size:15.5px; font-weight:700}
.reg-chosen span{display:block; font-size:13px; color:var(--g500); margin-top:2px}
.reg-change{
  background:none; border:0; padding:10px 2px; min-height:44px; cursor:pointer;
  font:inherit; font-size:13.5px; font-weight:600; color:var(--black); text-decoration:underline;
}

/* ---------- the timetable ---------- */
.reg-week{display:flex; flex-direction:column; gap:20px; margin-bottom:6px}
.reg-day{}
.reg-dayname{
  display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding-bottom:9px; margin-bottom:11px; border-bottom:1px solid var(--g200);
}
.reg-dayname .d{
  font-family:'Space Grotesk',system-ui,sans-serif; font-size:12px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--black);
}
.reg-dayname .v{font-size:12.5px; color:var(--g500); font-weight:500; letter-spacing:0}
.reg-slots{display:grid; grid-template-columns:repeat(auto-fill,minmax(168px,1fr)); gap:10px}
.reg-slot{
  cursor:pointer; font:inherit; text-align:left; padding:14px 15px; min-height:82px;
  border:1.5px solid var(--g200); border-radius:13px; background:var(--white); color:#111;
  display:flex; flex-direction:column; gap:3px;
  transition:border-color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}
.reg-slot:hover{border-color:var(--black); transform:translateY(-1px); box-shadow:0 8px 20px rgba(0,0,0,.07)}
.reg-slot.sel{background:var(--black); border-color:var(--black); color:var(--white)}
.reg-slot b{font-family:'Space Grotesk',system-ui,sans-serif; font-size:15.5px; font-weight:700; letter-spacing:-.01em}
.reg-slot .venue{font-size:12.5px; color:var(--g500)}
.reg-slot.sel .venue{color:rgba(255,255,255,.7)}
.reg-slot .left{
  margin-top:auto; font-size:12px; font-weight:600; color:var(--good);
  display:flex; align-items:center; gap:5px;
}
.reg-slot .left.tight{color:#b26a00}
.reg-slot.sel .left,.reg-slot.sel .left.tight{color:var(--accent)}
.reg-slot .dot{width:6px; height:6px; border-radius:50%; background:currentColor; flex:0 0 6px}

/* Sessions this player cannot join: present, so the week looks like the week,
   but plainly not theirs and not clickable. */
.reg-slot.off{
  cursor:default; background:var(--off); border-style:dashed; border-color:var(--g200); color:var(--g500);
}
.reg-slot.off:hover{border-color:var(--g200); transform:none; box-shadow:none}
.reg-slot.off b{color:var(--g500); font-weight:600}
.reg-slot.off .venue{color:var(--g500)}
.reg-slot .venue{display:block; font-size:12px; color:var(--g500); margin-top:2px}
.reg-slot .why{margin-top:auto; font-size:12px; font-weight:600; color:var(--g500)}

/* ---------- checkout ---------- */
.reg-sub{
  font-family:'Space Grotesk',system-ui,sans-serif; font-size:12px; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase; color:var(--black);
  padding-top:22px; margin:8px 0 16px; border-top:1px solid var(--g100);
}
.reg-card > .reg-sub:first-child{padding-top:0; margin-top:0; border-top:0}
.reg-demo{
  font-size:13px; line-height:1.5; color:var(--g700);
  background:#fffaf0; border:1px solid #f2e2bd; border-radius:11px;
  padding:11px 13px; margin:0 0 16px;
}
.reg-total{
  background:var(--off); border:1px solid var(--g100); border-radius:12px;
  padding:12px 15px; margin:0 0 20px;
}
.reg-total .reg-line{border-bottom-color:var(--g200)}
.reg-total .reg-line.total{border-bottom:0; padding-top:11px}
.reg-total .reg-line.total span{font-size:16px; font-weight:700; color:var(--black)}
.reg-total .reg-line.total span:first-child{font-weight:600}

/* ---------- the card, as one line until they want it ---------- */
.reg-cardline{
  display:flex; align-items:center; gap:12px; width:100%; cursor:pointer; font:inherit; text-align:left;
  padding:14px 16px; min-height:56px; margin-bottom:18px;
  border:1.5px solid var(--g200); border-radius:12px; background:var(--white); color:#111;
}
.reg-cardline:hover{border-color:var(--g500)}
.reg-cardline .brand{
  flex:0 0 auto; font-family:'Space Grotesk',system-ui,sans-serif; font-size:10px; font-weight:700;
  letter-spacing:.1em; padding:5px 8px; border-radius:6px; background:#fffaf0; border:1px solid #f2e2bd; color:#8a6d1f;
}
.reg-cardline .grow{flex:1; min-width:0; font-size:14.5px; font-variant-numeric:tabular-nums}
.reg-cardline .chg{flex:0 0 auto; font-size:13.5px; font-weight:600; text-decoration:underline; color:var(--g700)}

.reg-linkbtn.block{
  display:block; width:100%; text-align:left; padding:14px 0; min-height:48px;
  font-size:14.5px; text-decoration:none;
}
.reg-linkbtn.block::before{content:'+ '; font-weight:700}
.reg-linkbtn.block:hover{text-decoration:underline}

.reg-pills.wrap{gap:7px}
.reg-pills.wrap .reg-pill{
  padding:10px 14px; min-height:46px; font-size:14px;
  display:inline-flex; align-items:baseline; gap:7px;
}
.reg-pills.wrap .reg-pill small{font-size:12.5px; color:var(--g500); font-weight:600}
.reg-pills.wrap .reg-pill.sel small{color:rgba(255,255,255,.72)}

/**
 * Answers that are whole sentences are stacked on a phone. Left to wrap they
 * broke into a ragged two rows with a stranded one-word "No" beside a much
 * longer pill, which read as a mistake rather than a choice.
 *
 * Short answers keep sitting side by side: Tier 1 to 4 and APDL are chips, and
 * stacking those would make a short question look long.
 */
@media (max-width:560px){
  .reg-pills.wrap.sentences{flex-direction:column; align-items:stretch}
  .reg-pills.wrap.sentences .reg-pill{width:100%; justify-content:flex-start; text-align:left}
}

/* ---------- what the card means, said before they hand it over ---------- */
.reg-trust{font-size:12.5px; color:var(--g600,#6F6F6B); margin-top:8px}
.reg-policy{
  background:var(--off); border:1px solid var(--g200); border-radius:12px;
  padding:6px 16px; margin:0 0 18px;
}
.reg-policy.tight{margin:4px 0 16px}
.reg-policy .reg-line{
  align-items:flex-start; padding:11px 0; font-size:13.5px; border-bottom-color:var(--g200);
}
.reg-policy .reg-line span:first-child{flex:0 0 42%; color:var(--g700); font-weight:600}
.reg-policy .reg-line span:last-child{flex:1; text-align:left; font-weight:400; color:var(--g700)}
.reg-policy .reg-line.good span:last-child{color:#16713f; font-weight:600}
.reg-policy .reg-line.warn span:last-child{color:#8a4b00; font-weight:600}
.reg-policy .reg-line.good span:last-child::before{content:'\2713  '; font-weight:700}
.reg-policy .reg-line.warn span:last-child::before{content:'\0021  '; font-weight:700}
@media (max-width:640px){
  .reg-policy .reg-line{flex-direction:column; gap:3px}
  .reg-policy .reg-line span:first-child{flex:none}
}

/* ---------- a spot held while a coach checks the level ---------- */
.reg-note{
  background:#f2f7ff; border:1px solid #cfe0fb; border-radius:12px;
  padding:14px 16px; margin:0 0 18px; font-size:13.5px; line-height:1.55; color:var(--g700);
}
.reg-note b{display:block; font-family:'Space Grotesk',system-ui,sans-serif; font-size:14px; color:#123a72; margin-bottom:4px}

/* ---------- the no-show acknowledgement ---------- */
.reg-check{
  display:flex; align-items:flex-start; gap:12px; cursor:pointer;
  background:var(--off); border:1px solid var(--g200); border-radius:12px;
  padding:14px 15px; margin:4px 0 18px; font-size:13.5px; line-height:1.5; color:var(--g700);
}
.reg-check input{
  flex:0 0 20px; width:20px; height:20px; margin:1px 0 0; cursor:pointer; accent-color:var(--black);
}
.reg-check:hover{border-color:var(--g500)}

/* ---------- summary and buttons ---------- */
.reg-summary{
  background:var(--white); border:1px solid var(--g100); border-left:3px solid var(--accent);
  border-radius:14px; padding:16px 18px; margin-bottom:20px;
}
.reg-line{display:flex; justify-content:space-between; gap:14px; padding:8px 0; font-size:14.5px; border-bottom:1px solid var(--g100)}
.reg-line:last-child{border-bottom:0}
.reg-line span:first-child{color:var(--g500)}
.reg-line span:last-child{font-weight:600; text-align:right}

.reg-btn{
  font-family:'Space Grotesk',system-ui,sans-serif; font-size:15px; font-weight:600; cursor:pointer;
  padding:15px 26px; min-height:52px; border-radius:12px; border:1.5px solid var(--black);
  background:var(--black); color:var(--white); transition:opacity .16s var(--ease);
}
.reg-btn:hover{opacity:.86}
.reg-btn[disabled]{opacity:.45; cursor:default}
.reg-btn.ghost{background:none; color:var(--black); border-color:var(--g200)}
.reg-btn.ghost:hover{border-color:var(--black); opacity:1}
.reg-btn.wide{width:100%}
.reg-actions{display:flex; gap:10px; align-items:center; margin-top:4px}
.reg-foot{margin:15px 0 0; font-size:13.5px; color:var(--g500)}
.reg-back{
  background:none; border:0; padding:12px 0; min-height:44px; cursor:pointer;
  font:inherit; font-size:13.5px; color:var(--g500); text-decoration:none; display:inline-block;
}
.reg-back:hover{color:var(--black)}
.reg-linkbtn{background:none; border:0; padding:0; font:inherit; font-weight:600; color:var(--black); cursor:pointer; text-decoration:underline}

.reg-hide{display:none !important}

/* ---------- phone ---------- */
@media (max-width:640px){
  .reg-overlay{padding:0}
  .reg-dialog{
    margin:0; min-height:100dvh; border-radius:0;
    padding-bottom:env(safe-area-inset-bottom);
  }
  .reg-body{padding:26px 20px calc(30px + env(safe-area-inset-bottom))}
  .reg-two{grid-template-columns:1fr}
  .reg-nav{flex-direction:column-reverse; align-items:stretch; gap:8px}
  .reg-nav .reg-btn{min-width:0; width:100%}
  .reg-nav .reg-back{text-align:center}
  .reg-slots{grid-template-columns:1fr}
  .reg-days{gap:6px}
  .reg-day-btn{min-width:0; padding:10px 2px 8px}
  .reg-slot{min-height:0; flex-direction:row; align-items:center; flex-wrap:wrap; gap:4px 10px}
  .reg-slot .left{margin-top:0; width:100%}
}
@media (prefers-reduced-motion:reduce){
  .reg-dialog,.reg-step{animation:none}
  .reg-slot:hover{transform:none}
}

/* The name, asked once a time is chosen (option C, 14 Oct 2026). */
.reg-who{margin:0 0 14px}

/* Training with a friend, 15 Oct 2026 */
.reg-friend{margin:-6px 0 16px}
.reg-friend summary{cursor:pointer; font-weight:600; font-size:14.5px; color:var(--g700, #444); padding:6px 0; list-style:none; display:inline-flex; align-items:center; gap:8px}
.reg-friend summary::before{content:''; width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(-45deg); transition:transform .15s}
.reg-friend[open] summary::before{transform:rotate(45deg)}
.reg-friend .reg-field{margin:10px 0 8px}
.reg-slot.friend{outline:2px solid var(--yellow, #FFB800); outline-offset:1px}
.reg-slot .friend-tag{display:inline-block; font-size:11.5px; font-weight:700; background:var(--yellow, #FFB800); color:#161006; border-radius:999px; padding:1px 8px; margin-left:8px; vertical-align:middle}
