body.checkout-page { min-height: 100vh; color: var(--ivory); background: var(--deep); }
.demo-banner {
  position: sticky; z-index: 50; top: 0; min-height: 45px; display: grid; place-items: center;
  padding: 9px 18px; color: var(--deep); background: var(--gold); font-size: .75rem; font-weight: 900;
  letter-spacing: .1em; text-align: center; text-transform: uppercase;
}
.checkout-shell { width: min(calc(100% - 34px), 1050px); margin: 0 auto; padding: 48px 0 78px; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 42px; }
.checkout-head .brand img { width: 50px; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--gold-pale); font-size: .78rem; font-weight: 900; text-decoration: none; }
.checkout-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(25px, 5vw, 64px); align-items: start; }
.order-summary { position: sticky; top: 76px; padding: 36px; border: 1px solid var(--line-dark); background: var(--charcoal); }
.order-summary .eyebrow { margin-bottom: 13px; }
.order-summary h1 { margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; line-height: .95; }
.summary-copy { margin: 20px 0 0; color: #c3c6ca; }
.summary-list { display: grid; gap: 12px; margin: 28px 0; padding: 22px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); list-style: none; }
.summary-list li { padding-left: 22px; color: #d2d4d7; font-size: .85rem; }
.summary-list li::before { content: "✓"; margin-left: -22px; margin-right: 8px; color: var(--gold); }
.checkout-total { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.checkout-total span { color: #aeb1b6; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.checkout-total strong { font-family: var(--display); font-size: 3.1rem; font-weight: 500; line-height: 1; }
.checkout-total sup { color: var(--gold); font-family: var(--body); font-size: .7rem; }
.form-panel { padding: 38px; color: var(--ink); background: var(--ivory); box-shadow: var(--shadow); }
.form-panel h2 { margin: 0; font-family: var(--display); font-size: 2.1rem; line-height: 1.1; }
.form-intro { margin: 10px 0 26px; color: #5c6067; font-size: .9rem; }
.privacy-warning { margin-bottom: 27px; padding: 14px 16px; border: 1px solid #b57805; background: #fff3d6; color: #593b00; font-size: .78rem; font-weight: 800; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #aaa7a1; border-radius: 3px; color: var(--ink); background: #fff; }
.field input[aria-invalid="true"] { border-color: #9f251d; box-shadow: 0 0 0 2px rgba(159,37,29,.14); }
.field-hint { color: #686b70; font-size: .72rem; }
.form-error { min-height: 24px; margin: 0 0 10px; color: #861d17; font-size: .78rem; font-weight: 800; }
.demo-submit { width: 100%; min-height: 54px; border: 1px solid var(--deep); border-radius: 3px; color: var(--ivory); background: var(--deep); cursor: pointer; font-weight: 900; transition: background .2s ease, transform .2s ease; }
.demo-submit:hover { transform: translateY(-1px); background: #272b34; }
.form-footnote { margin: 15px 0 0; color: #6f7278; font-size: .7rem; text-align: center; }
.success-panel { padding: 40px; color: var(--ivory); border: 1px solid rgba(230,162,26,.55); background: var(--charcoal); }
.success-mark { width: 64px; height: 64px; display: grid; place-items: center; color: var(--deep); background: var(--gold); border-radius: 50%; font-size: 1.8rem; }
.success-panel h2 { margin: 25px 0 12px; font-family: var(--display); font-size: 2.5rem; line-height: 1; }
.success-panel p { color: #c8cacf; }
.checkout-legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: #9fa2a8; font-size: .72rem; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .demo-banner { font-size: .63rem; }
  .checkout-shell { padding-top: 28px; }
  .checkout-head { margin-bottom: 28px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; padding: 27px; }
  .form-panel { padding: 27px 21px; }
}
