/* Detail pages for the three bookable offerings. Spacing on a 4px grid. */
.dt-crumb { padding-top: 32px; }
.dt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; padding: 48px 0 96px; }
.dt-main .cx-kicker { margin-top: 0; }
.dt h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.035em; font-weight: 400; color: var(--cx-ink); }
.dt-lede { max-width: 560px; margin: 20px 0 40px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--cx-2); }
.dt-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 16px; background: var(--cx-tint); }

.dt-cover { margin-top: 56px; }
.dt-cover h2 { font-size: 24px; letter-spacing: -.015em; margin-bottom: 16px !important; }
.dt-cover ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--cx-line); }
.dt-cover li { position: relative; padding: 16px 0 16px 20px; border-bottom: 1px solid var(--cx-line); font-size: 17px; color: var(--cx-ink); }
.dt-cover li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--gold); }
.dt-note { margin: 16px 0 0; font-size: 13px; color: var(--cx-3); }

/* Booking card stays in view while reading */
.dt-card { position: sticky; top: 96px; padding: 28px; border: 1px solid var(--cx-line); border-radius: 16px; background: #fff; box-shadow: 0 16px 40px -28px rgba(21,36,61,.35); }
.dt-price { margin: 0; font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--cx-ink); font-variant-numeric: tabular-nums; }
.dt-price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--cx-3); }
.dt-total { margin: 8px 0 24px; font-size: 14px; color: var(--cx-3); font-variant-numeric: tabular-nums; }
.dt-facts { margin: 0 0 24px; border-top: 1px solid var(--cx-line); }
.dt-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--cx-line); font-size: 14px; }
.dt-facts dt { color: var(--cx-3); }
.dt-facts dd { margin: 0; text-align: right; color: var(--cx-ink); }
.dt-book { width: 100%; min-height: 48px; font-size: 15px; background: var(--gold); color: var(--navy); }
.dt-book:hover { background: #e5a40f; }
.dt-phone { display: block; margin-top: 16px; text-align: center; font-size: 14px; color: var(--cx-2); text-decoration: none; font-variant-numeric: tabular-nums; }
.dt-phone:hover { color: var(--cx-ink); text-decoration: underline; text-underline-offset: 3px; }

.dt-related { padding-bottom: 96px; }
.dt-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
.dt-list .cx-row { border-top: 1px solid var(--cx-line); }

/* One gentle entrance */
.dt-main > *, .dt-card { animation: hm-in .6s cubic-bezier(.2,.8,.2,1) both; }
.dt-main > :nth-child(2) { animation-delay: .04s; }
.dt-main > :nth-child(3) { animation-delay: .08s; }
.dt-main > :nth-child(n+4) { animation-delay: .12s; }
.dt-card { animation-delay: .1s; }

@media (max-width: 900px) {
  .dt-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 72px; }
  .dt-card { position: static; order: 2; }
  .dt-main { display: contents; }
  .dt-main > .cx-kicker, .dt-main > h1, .dt-main > .dt-lede { order: 0; }
  .dt-main > .dt-img { order: 1; }
  .dt-cover { order: 3; margin-top: 16px; }
  .dt-lede { margin-bottom: 8px; }
  .dt-list { grid-template-columns: 1fr; }
  .dt-list .cx-row + .cx-row { border-top: 0; }
  .dt-related { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .dt-main > *, .dt-card { animation: none; } }
.dt h1 { margin: 0; }
.dt-grid { padding-top: 32px; }
.dt-img { height: auto; align-self: start; }
@media (max-width: 900px) {
  .dt-grid { gap: 0; padding-top: 24px; }
  .dt-main > .cx-kicker { margin-bottom: 12px; }
  .dt-lede { margin: 16px 0 28px; }
  .dt-card { margin-top: 24px; }
  .dt-cover { margin-top: 48px; }
}
.dt-price-sm { font-size: 28px; letter-spacing: -.02em; }

/* Compact top */
main .dt-crumb { padding-top: 20px; margin-bottom: 0; }
.dt-grid { padding-top: 24px; }
.dt h1 { font-size: clamp(34px, 3.8vw, 52px); }
.dt-lede { margin: 12px 0 28px; }
.dt-main .cx-kicker { margin-bottom: 12px; }
@media (max-width: 900px) { .dt-grid { padding-top: 16px; } }

/* Build-your-own-home course page */
.cs-nofluff { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: -12px 0 28px; }
.cs-nofluff li { padding: 6px 12px; border-radius: 999px; background: var(--cx-tint); font-size: 13px; color: var(--cx-2); text-decoration: line-through; text-decoration-color: rgba(161,43,53,.6); }
.cs-nofluff .cs-yes { background: var(--navy); color: #fff; text-decoration: none; font-weight: 500; }
.cs-who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.cs-who div { padding: 24px; border-radius: 16px; background: var(--cx-tint); }
.cs-who h3 { font-size: 18px !important; }
.cs-who p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--cx-2); }
.cs-groups { border-top: 1px solid var(--cx-line); }
.cs-group { border-bottom: 1px solid var(--cx-line); }
.cs-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 0; font-size: 17px; font-weight: 500; color: var(--cx-ink); }
.cs-group summary::-webkit-details-marker { display: none; }
.cs-group summary span { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--cx-3); }
.cs-group summary::after { content: "+"; font-size: 20px; font-weight: 300; color: var(--cx-3); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.cs-group[open] summary::after { transform: rotate(45deg); }
.cs-group ul { list-style: none; padding: 0 0 16px; margin: -4px 0 0; }
.cs-group li { position: relative; padding: 6px 0 6px 18px; font-size: 15px; line-height: 1.5; color: var(--cx-2); }
.cs-group li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; background: var(--gold); }
.cs-group summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.cs-bonus { margin: 20px 0 0; padding: 16px 20px; border-radius: 12px; background: #fff6dc; font-size: 15px; line-height: 1.5; color: var(--cx-ink); }
.cs-bonus b { display: block; font-weight: 500; margin-bottom: 2px; }
.cs-teacher { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 20px; border: 1px solid var(--cx-line); border-radius: 16px; }
.cs-teacher img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 10%; background: var(--navy); flex-shrink: 0; }
.cs-teacher p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--cx-2); }
.cs-teacher .cs-teacher-name { font-size: 16px; font-weight: 500; color: var(--cx-ink); }
@media (max-width: 900px) { .cs-who { grid-template-columns: 1fr; order: 3; } .cs-teacher { order: 4; } .cs-nofluff { order: 0; margin: 0 0 24px; } }

/* Bank transfer confirmation */
.bk-bank { margin: 16px 0; padding: 16px; border-radius: 12px; background: var(--cx-tint); text-align: left; }
.bk-bank-title { margin: 0 0 8px; font-size: 14px; color: var(--cx-ink); }
.bk-bank dl { margin: 0; }
.bk-bank dl div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--cx-line); font-size: 13px; }
.bk-bank dt { color: var(--cx-3); }
.bk-bank dd { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--cx-ink); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.bk-bank button { border: 1px solid var(--cx-line); background: #fff; border-radius: 6px; padding: 3px 8px; font-size: 11px; font-family: inherit; color: var(--cx-2); cursor: pointer; }
.bk-bank button:active { transform: scale(.95); }
.bk-plan { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; font-size: 13px; }
.bk-plan li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--cx-line); color: var(--cx-2); }
.bk-plan li:first-child b { color: var(--cx-ink); }
.bk-plan b { font-weight: 500; font-variant-numeric: tabular-nums; }
