:root {
  --ink:#183c40;
  --muted:#607477;
  --paper:#f5f7f4;
  --line:#d9e3df;
  --accent:#247b72;
  --warm:#fff3d6;
  --red:#a43738;
  --radius:16px;
  font:16px/1.65 -apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  color:var(--ink);
  background:var(--paper)}
* {
  box-sizing:border-box}
body {
  margin:0}
body[data-page="staff"] .skip-link{position:absolute;left:12px;top:-80px;z-index:20;padding:10px 14px;background:#fff;border:2px solid var(--accent);border-radius:8px}
body[data-page="staff"] .skip-link:focus{top:12px}
body[data-page="staff"] .staff-guidance-row{border-top:1px solid var(--line);padding:10px 0;overflow-wrap:anywhere}
body[data-page="staff"] .staff-guidance-row p{margin:0 0 8px}
body[data-page="staff"] .staff-guidance-row button{max-width:100%;white-space:normal;text-align:left}
a {
  color:var(--accent);
  text-decoration-thickness:1px;
  text-underline-offset:4px}
button,input,select,textarea {
  font:inherit}
button {
  min-height:44px;
  border:1px solid var(--line);
  border-radius:9px;
  padding:9px 18px;
  background:white;
  color:var(--ink);
  cursor:pointer;
  font-weight:650}
button.primary {
  background:var(--ink);
  color:white;
  border-color:var(--ink)}
#primary-action {
  margin:18px 0}
#primary-action>a {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:10px 18px;
  border-radius:9px;
  background:var(--ink);
  color:white;
  font-weight:700;
  text-align:center;
  text-decoration:none}
#primary-action>p:first-child {
  font-weight:700}
.app-open-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:10px 18px;
  border-radius:9px;
  background:var(--ink);
  color:white;
  font-weight:700;
  text-decoration:none}
button.danger {
  color:var(--red)}
button:disabled {
  opacity:.45;
  cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #5eaea4;
  outline-offset:3px}
input,select,textarea {
  width:100%;
  min-height:45px;
  border:1px solid #bacbc5;
  border-radius:8px;
  padding:8px 12px;
  background:white;
  color:var(--ink)}
input[type=checkbox] {
  width:22px;
  height:22px;
  min-height:0;
  vertical-align:middle}
textarea {
  min-height:110px;
  resize:vertical}
label {
  display:block;
  font-size:.9rem;
  font-weight:600;
  margin:0 0 17px}
label>input,label>select,label>textarea {
  margin-top:7px}
fieldset {
  border:0;
  padding:0;
  margin:18px 0}
legend {
  font-weight:700;
  padding:0;
  margin-bottom:10px}
.row {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center}
.row.participant-name-row {
  align-items:flex-start}
.row>* {
  flex:1}
.row>.tight {
  flex:0 0 auto}
.shell {
  max-width:1120px;
  margin:auto;
  padding:0 32px 64px}
.site-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  padding:22px 0;
  margin-bottom:34px;
  gap:16px}
.brand {
  font-size:18px;
  line-height:1.2;
  letter-spacing:2px;
  text-decoration:none;
  color:var(--ink);
  font-weight:800}
.brand small {
  display:block;
  font-size:10px;
  letter-spacing:2px;
  color:var(--muted);
  margin-top:7px}
.eyebrow {
  font-size:12px;
  letter-spacing:2px;
  color:var(--accent);
  font-weight:700;
  text-transform:uppercase}
.hero {
  padding:16px 0 28px;
  max-width:790px}
.hero h1 {
  font-size:clamp(29px,4vw,44px);
  line-height:1.3;
  letter-spacing:-1px;
  margin:12px 0 18px}
.hero p {
  color:var(--muted);
  max-width:720px}
.hero .price-guide {
  color:var(--ink);
  background:#eaf5f1;
  border-left:4px solid var(--accent);
  border-radius:8px;
  padding:12px 16px;
  line-height:1.7}
.card {
  border:1px solid var(--line);
  background:white;
  border-radius:var(--radius);
  padding:27px;
  margin-bottom:22px}
.cards {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px}
.cards .card {
  margin:0}
.card h2 {
  margin:0 0 16px;
  font-size:21px}
.card h3 {
  margin:8px 0 12px;
  font-size:17px}
.muted {
  color:var(--muted);
  font-size:.9rem}
.tag {
  display:inline-block;
  border-radius:20px;
  padding:4px 11px;
  font-size:12px;
  background:#e8f1ee;
  color:var(--accent)}
.notice {
  border-left:4px solid #bd9550;
  background:var(--warm);
  padding:16px 20px;
  border-radius:8px;
  margin:20px 0;
  font-size:.92rem}
.error {
  color:var(--red);
  background:#fff1f0;
  padding:16px;
  border-radius:9px}
.connection-debug {
  margin:14px 0 20px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px 15px;
  background:#f9fbfa;
  font-size:13px}
.connection-debug summary {
  cursor:pointer;
  font-weight:700}
.connection-debug dl {
  display:grid;
  grid-template-columns:minmax(110px,auto) 1fr;
  gap:4px 14px;
  margin:12px 0}
.connection-debug dt {color:var(--muted)}
.connection-debug dd {margin:0;overflow-wrap:anywhere}
.connection-debug[data-state="error"] {border-color:#dca7a4;background:#fff8f7}
.connection-debug[data-state="ok"] {border-color:#aed0ba;background:#f4faf5}
.connection-debug button {min-height:38px;padding:5px 12px}
.ok {
  background:#eaf5ed;
  padding:16px;
  border-radius:9px}
.demo {
  background:#203d46;
  color:white;
  text-align:center;
  padding:9px;
  font-size:13px}
.demo a {
  color:#dcf0c5}
.booking-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:28px;
  align-items:start}
.policy {
  position:sticky;
  top:20px;
  font-size:.9rem}
.policy h3 {
  font-size:15px}
.policy p {
  margin:10px 0 18px}
.participant {
  border-top:1px solid var(--line);
  padding-top:15px}
.price {
  font-size:23px;
  font-weight:750}
body[data-page=beginner] #price span,
body[data-page=beginner] #price strong,
body[data-page=beginner] #price small {
  display:block;
  margin-block:8px}
body[data-page=beginner] #price span,
body[data-page=beginner] #price small {
  font-size:1rem;
  font-weight:500}
body[data-page=beginner] #price small { color:var(--muted) }
.copy-button {
  display:block;
  margin:-8px 0 17px;
  font-size:.875rem}
.foot {
  font-size:12px;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:30px}
.hidden,[hidden] {
  display:none!important}
.status {
  font-size:12px;
  padding:4px 9px;
  border-radius:6px;
  background:#edf2f0;
  white-space:nowrap}
.status.attention {
  background:var(--warm)}
.status.alert {
  background:#ffe2df;
  color:var(--red)}
.split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px}
.section-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:22px;
  gap:12px}
.section-head h1 {
  font-size:29px;
  line-height:1.3;
  margin:0}
.tabs {
  display:flex;
  gap:8px}
.tabs button.active {
  background:var(--ink);
  color:white}
.booking-row {
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  border-top:1px solid var(--line);
  padding:15px 0}
.booking-row:first-of-type {
  border-top:0}
.booking-row .actions {
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  gap:8px}
.actions button {
  font-size:13px;
  min-height:38px;
  padding:5px 12px}
.roster {
  display:flex;
  flex-wrap:wrap;
  gap:6px 16px;
  font-size:14px}
.roster span {
  padding:4px 0}
.settings-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px}
.settings-grid label {
  font-size:12px}
.count {
  font-size:33px;
  font-weight:800;
  line-height:1.2}
.mini {
  font-size:12px;
  color:var(--muted)}
.shift-day {
  display:grid;
  grid-template-columns:minmax(110px,1fr) auto auto;
  gap:16px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line)}
.shift-day label {
  margin:0;
  padding:5px 7px;
  background:#f2f6f4;
  border-radius:8px}
.shift-day small {
  display:block;
  font-size:12px;
  color:var(--muted)}
.staff-save-bar {
  position:fixed;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  width:calc(100% - 24px);
  max-width:900px;
  z-index:20;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  box-shadow:0 4px 24px #183c4033
}
.staff-save-bar[hidden] {display:none}
#staff:has(.staff-save-bar:not([hidden])) {padding-bottom:190px}
.shift-day .check {min-height:44px;font-size:24px;font-weight:700}
.answers {
  white-space:pre-wrap;
  font-size:14px}
.navigation {
  display:flex;
  gap:15px;
  font-size:14px}
.table-scroll {
  overflow:auto}
.inbox-message {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:13px/1.6 ui-monospace,monospace}
.screen-reader {
  position:absolute;
  left:-9999px}
.success-heading {
  font-size:25px}
.spacer {
  margin-top:28px}
.inline-check {
  display:flex;
  gap:12px;
  align-items:flex-start}
.inline-check input {
  flex:0 0 22px;
  margin-top:3px}
.preview {
  padding:12px 0;
  white-space:pre-wrap}
.offline {
  position:sticky;
  top:0;
  z-index:10}
.toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:20px 0}
.toolbar input {
  max-width:220px}
.survey-item {
  border-top:1px solid var(--line);
  padding-top:18px}
.survey-item:first-child {
  border-top:0}
.private-note {
  color:var(--muted);
  font-size:12px}
.faq-page {max-width:800px;margin:auto}
.faq-page .hero h1 small {font-size:.48em;letter-spacing:0;vertical-align:middle}
.faq-page .card h3 {margin:22px 0 6px}
.faq-page .card p {margin:0 0 12px;overflow-wrap:anywhere}
.faq-page .card p[lang="en"],.faq-page .card p[lang="zh-Hant"] {color:var(--muted)}
.faq-links {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.faq-links a {display:inline-block;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}
.faq-contact {overflow-wrap:anywhere}
.access-page {max-width:920px;margin:auto}
.arrival-steps {list-style:none;counter-reset:arrival;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:0 0 24px}
.arrival-steps li {counter-increment:arrival;display:flex;flex-direction:column;gap:6px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.arrival-steps li::before {content:counter(arrival);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700}
.arrival-steps strong {font-size:1.05rem}
.arrival-steps span {color:var(--muted)}
.arrival-address {font-size:1.2rem;font-weight:700;overflow-wrap:anywhere}
.button-link {display:inline-block;min-height:44px;padding:9px 16px;border-radius:9px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700}
.button-link:hover {background:#0b6c78;color:#fff}
.arrival-highlight {border-color:#8fbeb7;background:#f0f8f6}
.arrival-highlight h2 {margin:8px 0}
.arrival-callout {border-left:4px solid var(--accent);background:#eef7f5;padding:12px 14px;border-radius:8px;margin:0 0 18px}
.arrival-photo,.arrival-maps figure {margin:18px 0 0}
.arrival-photo img {display:block;width:100%;max-width:560px;height:auto;border-radius:12px}
.arrival-maps {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.arrival-maps img {display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px}
.arrival-photo figcaption,.arrival-maps figcaption {margin-top:7px;color:var(--muted);font-size:.9rem}
.arrival-public-maps {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.arrival-public-maps a {display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:72px;padding:14px 18px;border:1px solid var(--line);border-radius:10px;background:#f0f8f6;overflow-wrap:anywhere}
.arrival-public-maps a span {font-size:.9rem}
#payment-return-link:not([hidden]) {display:inline-block;margin:0 1.25rem .5rem 0}
.contact-list {margin:8px 0 0}
.contact-list div {display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding:10px 0}
.contact-list dt {font-weight:650}
.contact-list dd {margin:0}

@media(max-width:820px) {
  .booking-layout {
  grid-template-columns:1fr}
.policy {
  position:static}
.shell {
  padding:0 22px 44px}
.split {
  grid-template-columns:1fr}
.cards {
  grid-template-columns:1fr}
.arrival-steps,.arrival-maps,.arrival-public-maps {grid-template-columns:1fr}
.hero {
  padding-top:3px}
}

@media(max-width:450px) {
  .shell {
  padding:0 16px 35px}
.card {
  padding:20px}
.site-head {
  padding:18px 0;
  margin-bottom:24px}
.navigation {
  font-size:12px;
  gap:8px}
.row>* {
  flex:1 0 100%}
.row>.tight {
  flex:0 0 auto}
.section-head {
  align-items:flex-start;
  flex-direction:column}
.tabs {
  width:100%}
.tabs button {
  flex:1;
  font-size:14px;
  padding:8px}
.shift-day {
  gap:8px}
.settings-grid {
  gap:6px}
.settings-grid input {
  padding:8px}
.booking-row {
  grid-template-columns:1fr}
.booking-row .status {
  justify-self:start}
.hero h1 {
  font-size:29px}
}

/* Customer experience: alpine editorial palette, local assets, no external fonts. */
body:is([data-page="home"],[data-page="beginner"],[data-page="foreign"],[data-page="private"],[data-page="intermediate"],[data-page="badge"],[data-page="walk-in"],[data-page="walk-in-saj"],[data-page="walk-in-jsba"]) {
  --ink:#173e35;--muted:#52685f;--paper:#f4f4ed;--line:#d3ddd5;--accent:#245f4c;--radius:18px;
  background:var(--paper);letter-spacing:.015em;
}
body:is([data-page="home"],[data-page="beginner"],[data-page="foreign"],[data-page="private"],[data-page="intermediate"],[data-page="badge"],[data-page="walk-in"],[data-page="walk-in-saj"],[data-page="walk-in-jsba"]) .shell {max-width:1240px;padding-inline:clamp(20px,4vw,56px)}
body[data-page="home"] .hero {position:relative;isolation:isolate;max-width:none;border-bottom:1px solid var(--line)}
body[data-page="home"] .hero::before {content:"";position:absolute;inset:0 -24px 0 33%;z-index:-1;background:url('./alpine-lines.svg') center bottom/contain no-repeat;pointer-events:none}
body[data-page="home"] .hero h1 {font-size:clamp(38px,5vw,68px);letter-spacing:-.045em;line-height:1.16;margin:18px 0 24px;text-wrap:balance}
body[data-page="home"] .hero p {max-width:31em;line-height:1.9}
body[data-page="home"] .cards {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;counter-reset:lesson}
body[data-page="home"] .cards>.card {counter-increment:lesson;position:relative;display:flex;flex-direction:column;border-top:3px solid var(--accent)}
body[data-page="home"] .cards>.card::before {content:"0" counter(lesson);font-size:13px;letter-spacing:.12em;color:var(--muted);margin-bottom:24px;font-variant-numeric:tabular-nums}
body[data-page="home"] .cards>.card h2 {font-size:clamp(21px,2vw,27px);line-height:1.45;letter-spacing:-.025em}
body[data-page="home"] .cards>.card a {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;border-top:1px solid var(--line);padding:15px 0 0;margin-top:auto;font-weight:700;text-decoration:none}
body[data-page="home"] .cards>.card a::after {content:"↗";font-size:23px;line-height:1}
body[data-page="home"] .arrival-highlight {display:flex;align-items:center;justify-content:space-between;gap:24px;background:#e5ece2;border:0;border-radius:12px;margin-bottom:30px}
body[data-page="home"] .arrival-highlight p {margin:0}
body[data-page="home"] .arrival-highlight a {flex-shrink:0;min-height:44px;display:flex;align-items:center;font-weight:700}
body:has(.booking-layout) .hero {max-width:900px;padding:18px 0 36px}
body:has(.booking-layout) .hero h1 {font-size:clamp(30px,4vw,52px);letter-spacing:-.035em;text-wrap:balance}
body:has(.booking-layout) .booking-layout {grid-template-columns:minmax(0,1fr) 300px;gap:32px}
body:has(.booking-layout) .booking-layout>.card:first-child {padding:clamp(22px,3.2vw,42px);box-shadow:0 12px 40px #173e3505}
body:has(.booking-layout) .row {align-items:flex-start;gap:18px}
body:has(.booking-layout) label {font-size:.9rem;letter-spacing:.015em;margin-bottom:24px}
body:has(.booking-layout) input,body:has(.booking-layout) select,body:has(.booking-layout) textarea {min-height:50px;font-size:1rem;border-color:#7b9184;border-radius:8px;padding:11px 13px;transition:border-color .15s,box-shadow .15s}
body:has(.booking-layout) input[type="checkbox"] {min-height:0;padding:0;flex-shrink:0;accent-color:var(--accent)}
body:has(.booking-layout) input:hover,body:has(.booking-layout) select:hover,body:has(.booking-layout) textarea:hover {border-color:var(--accent)}
body:has(.booking-layout) input[aria-invalid="true"] {border-color:var(--red)}
body:has(.booking-layout) .participant {padding:24px;margin:28px 0;background:#f6f8f3;border:1px solid var(--line);border-top:3px solid #aac1b0;border-radius:12px}
body:has(.booking-layout) .participant h3 {font-size:18px;margin:0 0 24px;letter-spacing:.035em}
body:has(.booking-layout) .copy-button {font-size:13px;min-height:44px;margin-top:-14px;padding:6px 12px;background:transparent;border-color:#afc1b6}
body:has(.booking-layout) .policy {background:#e8ede3;border:0;padding:26px;line-height:1.9}
body:has(.booking-layout) .policy h3 {font-size:16px;margin-top:22px}
body:has(.booking-layout) #booking-progress {font-size:13px;font-weight:700;letter-spacing:.035em;color:var(--muted);margin:0 0 12px}
.booking-step-list {list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:0 0 32px}
.booking-step-list li {display:flex;align-items:center;gap:8px;font-size:12px;border-bottom:2px solid var(--line);padding:0 0 13px;color:var(--muted);min-width:0}
.booking-step-list li span:first-child {display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#edf1ea;font-variant-numeric:tabular-nums}
.booking-step-list li[aria-current="step"] {border-color:var(--accent);color:var(--ink);font-weight:700}
.booking-step-list li[aria-current="step"] span:first-child {background:var(--ink);color:white}
body:has(.booking-layout) .step-controls {display:flex;justify-content:space-between;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
body:has(.booking-layout) #booking-next,body:has(.booking-layout) #submit {background:var(--ink);color:#fff;border-color:var(--ink);min-height:52px;padding:13px 24px;border-radius:9px;font-weight:700}
body:has(.booking-layout) #booking-next {margin-left:auto;min-width:155px}
body:has(.booking-layout) #booking-review {line-height:1.9}
body:has(.booking-layout) #booking-review>p {padding:10px 0;border-bottom:1px solid var(--line);margin:0;overflow-wrap:anywhere}
body:has(.booking-layout) #price {border-top:1px solid var(--line);padding-top:22px;font-variant-numeric:tabular-nums}
@media (hover:hover) {
 body[data-page="home"] .cards>.card a:hover {color:#8e4927}
 body:has(.booking-layout) #booking-next:hover,body:has(.booking-layout) #submit:hover {background:#245f4c}
}
@media(max-width:900px) {
 body[data-page="home"] .cards {grid-template-columns:1fr}
 body[data-page="home"] .hero {min-height:330px;padding-right:35%}
 body:has(.booking-layout) .booking-layout {grid-template-columns:minmax(0,1fr)}
 body:has(.booking-layout) .policy {position:static}
}
@media(max-width:600px) {
 body:has(.booking-layout) .site-head {margin-bottom:18px}
 body:has(.booking-layout) .hero {padding:8px 0 24px}
 body:has(.booking-layout) .hero h1 {margin:8px 0 12px}
 body:has(.booking-layout) .hero p {line-height:1.7}
 body[data-page="home"] .hero {padding:20px 0 170px;min-height:0;margin-bottom:24px}
 body[data-page="home"] .hero::before {inset:auto -20px 0;height:190px;background-position:right bottom}
 body[data-page="home"] .hero h1 {font-size:38px;max-width:12em}
 body[data-page="home"] .hero p {max-width:30em}
 body[data-page="home"] .arrival-highlight {display:block;padding:22px}
 body[data-page="home"] .arrival-highlight a {margin-top:10px}
 body:has(.booking-layout) .participant {padding:18px}
 body:has(.booking-layout) .row {gap:0}
 .booking-step-list {gap:8px}
 .booking-step-list li {display:block;line-height:1.5;font-size:11px}
 .booking-step-list li span:first-child {margin-bottom:8px}
 body:has(.booking-layout) #booking-next {min-width:130px}
}
@media(prefers-reduced-motion:reduce) {
 body:has(.booking-layout) input,body:has(.booking-layout) select,body:has(.booking-layout) textarea {transition:none}
}

/* Review 2: compact language control and balanced lesson selection. */
body[data-page="home"] .site-head,body:has(.booking-layout) .site-head {margin-bottom:24px;padding-block:24px}
body[data-page="home"] .brand,body:has(.booking-layout) .brand {flex-shrink:0;white-space:nowrap;letter-spacing:.15em}
body[data-page="home"] #customer-language,body:has(.booking-layout) #customer-language {width:auto;min-width:140px;max-width:180px;margin-left:auto;font-size:13px;background:transparent;border-color:#b7c7bd;border-radius:6px}
body[data-page="home"] .navigation:empty,body:has(.booking-layout) .navigation:empty {display:none}
body[data-page="home"] .cards>.card p {max-width:40em;margin:0 0 24px;line-height:1.85}
body[data-page="home"] .cards>.card h2 {margin-bottom:14px}
body[data-page="home"] .lesson-card-links {order:2;margin-top:auto;margin-bottom:0}
body[data-page="home"] .lesson-card-links a {margin-top:0;padding-block:12px;min-height:48px}
/* Review 3: strengthen field boundaries and keyboard focus contrast. */
body[data-page="home"] :focus-visible,body:has(.booking-layout) :focus-visible {outline:3px solid #245f4c;outline-offset:3px}

/* R5/R6: make the first decision visible while keeping readable text and 48px controls. */
body[data-page="home"] .cards>.card p {order:1}
@media(max-width:600px) {
 body[data-page="home"] .site-head,body:has(.booking-layout) .site-head {padding-block:16px;margin-bottom:12px}
 body[data-page="home"] .hero {padding-bottom:36px;margin-bottom:18px}
 body[data-page="home"] .hero>p {line-height:1.7}
 body[data-page="home"] .hero:before {height:92px}
 body[data-page="home"] .hero h1 {margin-block:12px 16px}
 body[data-page="home"] .cards>.card {padding:20px}
 body[data-page="home"] .lesson-card-links {order:1;margin-top:0;margin-bottom:20px}
 body[data-page="home"] .cards>.card p {order:2;margin-bottom:0}
 body[data-page="home"] .cards>.card:before {margin-bottom:12px}
 body:has(.booking-layout) .hero {padding-block:0 14px}
 body:has(.booking-layout) .hero h1 {margin-block:8px}
 body:has(.booking-layout) .hero>p {margin-bottom:10px}
 body:has(.booking-layout) .booking-layout>.card:first-child {padding:20px}
 .booking-step-list {margin-bottom:18px;gap:10px}
 .booking-step-list li {display:flex;align-items:center;gap:6px;padding-bottom:8px;font-size:12px;line-height:1.5}
 .booking-step-list li>span:first-child {flex-shrink:0;margin-bottom:0}
 body[data-page="home"] #customer-language,body:has(.booking-layout) #customer-language {font-size:1rem}
}


/* R12: lesson choices and their explanations share the initial desktop viewport. */
@media(min-width:601px) {
 body[data-page="home"] .hero {min-height:0;padding:16px 24% 20px 0;margin-bottom:24px}
 body[data-page="home"] .hero::before {inset:auto -24px 0 auto;width:26%;height:160px}
 body[data-page="home"] .hero h1 {margin-block:8px 16px}
 body[data-page="home"] .hero>p {max-width:none;line-height:1.7;margin-bottom:0}
 body[data-page="home"] .cards>.card {padding:20px;min-height:0}
 body[data-page="home"] .cards>.card::before {margin-bottom:12px}
 body[data-page="home"] .lesson-card-links {margin-bottom:16px}
 body[data-page="home"] .cards>.card p {line-height:1.7}
}
@media(min-width:901px) {
 body[data-page="home"] .hero>.eyebrow {display:none}
}

.payment-timing {
  margin:1.25rem 0;
  padding:1.1rem 1.25rem;
  border:1px solid #c8d3d0;
  border-left:4px solid #26644f;
  border-radius:10px;
  background:#f1f4f3;
  color:#183d35;
  line-height:1.75
}
.payment-timing>p {margin:0 0 .75rem}
.payment-timing summary {cursor:pointer;font-weight:600}
.payment-timing details p {margin:.75rem 0 0}

/* Survey thank-you tip amount, sized for touch and narrow screens. */
body[data-page="survey"] .tip-amount-field {margin:1rem 0;max-width:24rem}
body[data-page="survey"] .tip-amount-field>label {display:block;font-weight:600;margin-bottom:.4rem}
body[data-page="survey"] .tip-amount-entry {display:flex;align-items:center;gap:.5rem;max-width:100%}
body[data-page="survey"] .tip-amount-entry>span {font-size:1.2rem;font-weight:600}
body[data-page="survey"] #tip-amount {box-sizing:border-box;min-width:0;min-height:44px;flex:1;font-size:1rem}
body[data-page="survey"] #tip-amount-hint {margin:.4rem 0 0}
