/* Hallmark · macrostructure: Split Studio (checkout adaptation) · tone: homepage-derived, warm, assured · anchor hue: coral
 * theme: custom — existing Carolina brand · paper: oklch(98.20972% 0.0042198 91.445) · accent: coral #D46A4F
 * display: Manrope · body: Inter · axes: light warm paper / sans display / coral · enrichment: full-width live portrait + homepage navy story panel
 * genre: modern-minimal · nav: N1a (brand + return only) · footer: Ft2
 * contrast: pass · responsive: pass at 320 / 375 / 414 / 768 / 1280 / 1440
 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 */
@import url('../tokens.css');
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { background: var(--color-paper); color-scheme: light; }
body { margin: 0; color: var(--color-text); font: 400 var(--text-body)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--color-navy); font-family: var(--font-display); font-style: normal; overflow-wrap: anywhere; min-width: 0; }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-lg); top: -6rem; padding: var(--space-lg); background: var(--color-navy); color: var(--color-paper); z-index: 10; }
.skip-link:focus { top: var(--space-lg); }
.checkout-header, .checkout-footer { width: min(100% - 2rem, 76rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.checkout-header { min-height: 88px; border-bottom: var(--rule-thin) solid var(--color-soft-line); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 160px; height: auto; display: block; }
.back-link { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; color: var(--color-navy); font-size: var(--text-small); text-decoration: none; white-space: nowrap; }
.back-link span { font-size: 1.25rem; }
.checkout-layout { width: min(100% - 2rem, 70rem); margin: var(--space-2xl) auto var(--space-3xl); display: grid; gap: var(--space-lg); }
.programme-portrait { margin: 0; background: var(--color-sand); }
.programme-portrait img { display: block; width: 100%; height: 248px; object-fit: cover; object-position: 50% 8%; }
.programme-portrait figcaption { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); align-items: baseline; padding: var(--space-md) var(--space-xl); font-size: .75rem; color: var(--color-navy); }
.programme-portrait figcaption strong { font-family: var(--font-display); font-weight: 700; }
.programme-portrait figcaption span { font-size: .6875rem; }
.programme-story { padding: var(--space-xl); background: var(--color-navy); color: var(--color-paper); }
.programme-name { font-family: var(--font-display); color: var(--color-paper); font-size: 1.125rem; font-weight: 500; letter-spacing: -.025em; }
.programme-name span { color: var(--color-coral); font-size: .7em; vertical-align: super; }
h1 { font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.07; letter-spacing: -.045em; font-weight: 500; text-transform: uppercase; margin-block: var(--space-md) var(--space-lg); }
.programme-story h1 { color: var(--color-paper); }
h1 span { text-decoration: underline; text-decoration-color: var(--color-coral); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.programme-intro { max-width: 29rem; font-size: .875rem; line-height: 1.75; }
.programme-format { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xl); font-size: .6875rem; color: var(--color-paper); }
.programme-format span { color: var(--color-coral); }
.programme-details { border-bottom: var(--rule-thin) solid var(--color-soft-line); padding: var(--space-sm) var(--space-xl); }
.programme-details summary { font-family: var(--font-display); color: var(--color-navy); font-size: .9375rem; font-weight: 600; min-height: 44px; padding-block: var(--space-sm); cursor: pointer; }
.programme-details summary:active { color: var(--color-sage); }
.programme-details ul { list-style: none; margin: var(--space-lg) 0 var(--space-xl); padding: 0; display: grid; gap: var(--space-lg); }
.programme-details li { display: flex; gap: var(--space-md); font-size: var(--text-small); line-height: 1.65; }
.programme-details li > span:first-child { color: var(--color-sage); font-weight: 600; font-size: 1rem; }
.programme-details strong { font-weight: 500; color: var(--color-navy); }
.payment-panel { min-width: 0; align-self: start; background: var(--color-paper); border: 0; padding: var(--space-xl) 0; }
.step-label { font-size: var(--text-small); color: var(--color-sage); margin-bottom: var(--space-sm); }
.payment-panel h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); letter-spacing: -.035em; line-height: 1.25; font-weight: 600; }
.panel-intro { color: var(--color-muted); font-size: .875rem; line-height: 1.6; margin-top: var(--space-md); max-width: 26rem; }
.panel-intro strong { font-weight: 500; color: var(--color-navy); white-space: nowrap; }
fieldset { margin: var(--space-xl) 0; padding: 0; border: 0; display: grid; gap: var(--space-md); min-width: 0; }
.plan-option { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: var(--space-xs) var(--space-md); min-height: 76px; padding: var(--space-md); border: var(--rule-thin) solid var(--color-line); border-radius: var(--radius-sm); cursor: pointer; }
.plan-option:active { background: var(--color-sand); }
.plan-option:has(input:checked) { border-color: var(--color-sage); background: var(--color-selected); box-shadow: inset 0 0 0 1px var(--color-sage); }
.plan-option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.plan-option:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.plan-option:has(input:focus-visible) input { outline: none; }
.plan-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--color-sage); grid-row: 1 / span 2; cursor: pointer; }
.option-copy { display: grid; gap: var(--space-xs); }
.option-copy strong { font-family: var(--font-display); font-weight: 600; color: var(--color-navy); font-size: .9375rem; white-space: nowrap; }
.option-copy > span { color: var(--color-muted); font-size: .75rem; }
.option-amount { grid-column: 2; display: block; color: var(--color-navy); font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.option-amount small { font-family: var(--font-body); font-size: .625rem; font-weight: 500; }
.option-amount .amount-label { margin-left: var(--space-xs); color: var(--color-muted); }
.schedule { border-bottom: var(--rule-thin) solid var(--color-soft-line); padding-bottom: var(--space-lg); }
.schedule h3 { font: 500 var(--text-small)/1.6 var(--font-body); margin-bottom: var(--space-md); }
.schedule ol { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-md); }
.schedule li { display: flex; justify-content: space-between; gap: var(--space-sm); font-size: var(--text-small); }
.schedule li > span { display: flex; align-items: center; gap: var(--space-sm); }
.schedule li strong { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--color-navy); white-space: nowrap; }
.schedule-dot { height: 6px; width: 6px; background: var(--color-sage); border-radius: 50%; }
.rounding-note { font-size: .6875rem; color: var(--color-muted); margin-top: var(--space-md); }
.order-total, .due-today { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); }
.order-total { font-size: .75rem; padding-top: var(--space-lg); color: var(--color-muted); }
.order-total strong { font-weight: 400; white-space: nowrap; }
.due-today { padding-block: var(--space-md) var(--space-xl); color: var(--color-navy); }
.due-today > span { font-size: .875rem; }
.due-today strong { font-family: var(--font-display); font-size: clamp(1.125rem,2vw,1.75rem); letter-spacing: -.035em; font-weight: 600; white-space: nowrap; }
.primary-button { width: 100%; min-height: 56px; display: flex; justify-content: center; align-items: center; gap: var(--space-xl); padding: var(--space-md) var(--space-lg); background: var(--color-navy); color: var(--color-paper); border: var(--rule-thin) solid var(--color-navy); border-radius: var(--radius-sm); font-family: var(--font-display); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform var(--dur-press) var(--ease-out); }
.primary-button span { font-size: 1.25rem; }
.primary-button:active { transform: translateY(1px); }
.primary-button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.payment-note { display: flex; align-items: start; justify-content: center; gap: var(--space-sm); margin-top: var(--space-md); font-size: .6875rem; line-height: 1.6; color: var(--color-muted); text-align: center; }
.payment-note svg { width: 14px; height: 14px; stroke: var(--color-sage); fill: none; stroke-width: 1.7; flex-shrink: 0; margin-top: 2px; }
.currency-note { padding-top: var(--space-lg); margin-top: var(--space-lg); border-top: var(--rule-thin) solid var(--color-soft-line); font-size: .6875rem; color: var(--color-muted); line-height: 1.7; }
.checkout-footer { min-height: 80px; border-top: var(--rule-thin) solid var(--color-soft-line); font-size: .75rem; color: var(--color-muted); }
.checkout-footer a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.no-script a { display: block; padding-block: var(--space-md); }
@media (hover: hover) {
  .primary-button:hover { background: var(--color-text); }
  .plan-option:hover { background: var(--color-selected); }
  a:not(.primary-button):hover { text-decoration: underline; }
}
@media (min-width: 40rem) {
  .checkout-header, .checkout-footer { width: min(100% - 4rem, 76rem); }
  .brand img { width: 210px; }
  .checkout-layout { width: min(100% - 4rem, 70rem); }
  .payment-panel { padding: var(--space-xl) 0; }
  .plan-option { grid-template-columns: 20px minmax(0,1fr) auto; }
  .plan-option input { grid-row: auto; }
  .option-amount { grid-column: auto; text-align: right; }
  .option-amount .amount-label { display: block; margin-left: 0; }
  .programme-story { padding: var(--space-2xl); }
  .programme-portrait img { height: 340px; }
}
@media (min-width: 60rem) {
  .checkout-layout { grid-template-columns: minmax(0, .9fr) minmax(0,1.1fr); gap: var(--space-4xl); margin-top: var(--space-2xl); }
  .programme { padding-top: 0; }
  .programme-portrait img { height: 300px; }
  .programme-portrait figcaption { padding-inline: var(--space-2xl); }
  .payment-panel { padding: var(--space-xl) 0; }
  .option-copy > span { max-width: 180px; }
}
@media (max-width: 22rem) {
  .checkout-header { gap: var(--space-sm); }
  .brand img { width: 130px; }
  .back-link { font-size: .6875rem; gap: var(--space-xs); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Three service checkouts: original website shell with real hosted payment forms. */
.checkout-nav { display:flex; flex-wrap:wrap; gap: 8px 28px; width:min(100% - 2rem,76rem); margin:16px auto 0; }
.checkout-nav a { min-height:40px; display:flex; align-items:center; font-size:.75rem; text-decoration:none; color:var(--color-muted); border-bottom:2px solid transparent; }
.checkout-nav a[aria-current="page"] { color:var(--color-navy); border-color:var(--color-coral); font-weight:600; }
.checkout-layout { gap:32px; }
.programme { grid-area:story; }
.payment-panel { grid-area:payment; padding-top:0; }
.programme-details { grid-area:details; padding:28px 0; border-top:1px solid var(--color-soft-line); border-bottom:0; }
.programme-details h2 { font-size:1.5rem; letter-spacing:-.035em; line-height:1.25; }
.programme-details li { font-size:.875rem; }
.programme-details li p { margin-top:6px; color:var(--color-muted); }
.programme-details strong { font-family:var(--font-display); font-weight:600; }
.programme-details ul { gap:24px; }
.programme-fit { padding:24px; background:var(--color-sand); font-size:.875rem; }
.programme-fit h3 { font-size:1rem; margin-bottom:12px; }
.programme-fit p + p { margin-top:18px; }
.programme-commitment { border-top:1px solid var(--color-line); padding-top:18px; }
.checkout-layout { grid-template-areas:"story" "payment" "details"; }
.mobile-pay-link { display:flex; justify-content:center; padding:18px; color:var(--color-navy); background:var(--color-sand); font-size:.8125rem; font-weight:600; }
.plan-hint { color:var(--color-muted); font-size:.75rem; margin-bottom:24px; }
.single-price { margin:28px 0; padding:22px 24px; background:var(--color-sand); border-left:3px solid var(--color-coral); }
.single-price > span { display:block; color:var(--color-navy); font:600 .875rem var(--font-display); }
.single-price strong { display:block; font:600 2rem var(--font-display); color:var(--color-navy); letter-spacing:-.045em; margin:6px 0; }
.single-price strong small { font:500 .875rem var(--font-body); letter-spacing:0; }
.single-price p { font-size:.75rem; color:var(--color-muted); }
.checkout-embed { background:#fff; border:1px solid var(--color-soft-line); border-radius:4px; overflow:hidden; }
.embed-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:20px 24px; border-bottom:1px solid var(--color-soft-line); }
.embed-heading h3 { font-size:1rem; font-weight:600; }
.embed-heading > span { color:var(--color-sage); font-size:.6875rem; }
.embed-status { padding:16px 24px; font-size:.75rem; color:var(--color-muted); }
#payment-frame { width:100%; height:1180px; display:block; border:0; background:#fff; }
#payment-frame[data-plan="three"] { height:1270px; }
.embed-fallback { margin-top:16px; color:var(--color-muted); font-size:.6875rem; line-height:1.8; }
.embed-fallback a { color:var(--color-navy); display:inline-block; min-height:32px; }
@media (min-width:40rem) { .checkout-nav { width:min(100% - 4rem,76rem); } }
@media (min-width:60rem) {
 .checkout-layout { grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); grid-template-areas:"story payment" "details payment"; grid-template-rows:auto 1fr; column-gap:48px; row-gap:28px; }
 .mobile-pay-link { display:none; }
 .programme-details { padding-top:28px; }
}
@media (max-width:39.99rem) {
 .checkout-nav { gap:4px 18px; }
 .checkout-nav a { font-size:.6875rem; }
 .checkout-layout { margin-top:24px; }
 .embed-heading { padding:18px 16px; }
 #payment-frame { height:1270px; }
 #payment-frame[data-plan="three"] { height:1420px; }
 .programme-portrait img { height:240px; }
}
@media (max-width:22rem) {
 body[data-checkout="freeproneurs"] #payment-frame { height:1380px; }
 body[data-checkout="freeproneurs"] #payment-frame[data-plan="two"] { height:1470px; }
 body[data-checkout="freeproneurs"] #payment-frame[data-plan="three"] { height:1550px; }
}
/* Footer contact line */
.checkout-footer .checkout-contact { text-align: right; }
.checkout-footer .checkout-contact a { display: inline; min-height: 0; white-space: normal; text-decoration: underline; }
@media (max-width: 40rem) { .checkout-footer { flex-wrap: wrap; gap: .25rem 1rem; padding-block: 1rem; } .checkout-footer .checkout-contact { text-align: left; } }
