/* Customer journey: extends the site's existing Jost, navy, coral and mint palette. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.customer-hero { padding-bottom: 58px; }
.customer-hero h1 { max-width: 24ch; }
.customer-support { margin: 30px 0 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.customer-support a { color: var(--blue-ink); text-underline-offset: 4px; }
.customer-example { font-size: 13px; color: #434c74; border-left: 3px solid var(--mint); background: #eff9f6; padding: 12px 16px; margin: 0 0 26px; line-height: 1.6; }
.customer-empty { max-width: 680px; margin: 0 auto; padding: clamp(26px, 5vw, 56px); border-radius: 24px; background: var(--mist); text-align: center; }
.customer-empty h2 { font-weight: 300; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; margin: 24px 0 18px; }
.customer-empty > p:not(.customer-example) { color: var(--muted); }
.customer-empty .btn { margin-top: 16px; }
.state-symbol { display: inline-grid; place-items: center; width: 68px; height: 68px; color: var(--blue-ink); background: #dff9f1; border-radius: 50%; }
.state-symbol.is-error { color: #943a46; background: #fae9eb; }
.customer-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(30px, 7vw, 96px); align-items: start; }
.auth-story { padding: 12px 0; }
.auth-story h2, .newsletter-story h2 { font-weight: 300; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.2; max-width: 18ch; margin: 18px 0 24px; }
.auth-story p:not(.eyebrow), .newsletter-story p:not(.eyebrow) { color: var(--muted); max-width: 40ch; }
.auth-story img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: center 30%; border-radius: 24px; margin-top: 32px; }
.auth-card { border-radius: 24px; background: var(--mist); padding: clamp(24px, 3.8vw, 46px); min-width: 0; }
.auth-card h2 { font-size: 30px; font-weight: 400; line-height: 1.2; margin: 0 0 28px; }
.customer-field { min-width: 0; margin-bottom: 20px; }
.customer-field label { display: block; color: var(--ink); font-size: 14px; margin-bottom: 8px; }
.customer-field input { display: block; width: 100%; min-height: 50px; border: 1px solid #bdc7df; border-radius: 12px; padding: 12px 15px; font: inherit; color: var(--ink); background: white; }
.customer-field input:disabled { background: #f8f9fc; color: var(--muted); cursor: not-allowed; }
.customer-field input[aria-invalid="true"] { border-color: #a34450; background: #fffafa; }
.customer-field input:focus-visible, .customer-check input:focus-visible, .delivery-options input:focus-visible, .review-tools select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.field-error { color: #943a46; font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.customer-field:has(input:not(:disabled)) .field-error, .customer-check:has(input:not(:disabled)) .field-error { min-height: 20px; }
.customer-field:has(input:not(:disabled)) .field-error[hidden], .customer-check:has(input:not(:disabled)) .field-error[hidden] { display: block !important; visibility: hidden; }
.field-hint { color: var(--muted); font-size: 13px; line-height: 1.65; margin: -4px 0 24px; }
.customer-errors, .inline-notice.error { padding: 20px; border: 1px solid #d5919a; background: #fff3f4; border-radius: 14px; color: #823440; margin: 0 0 26px; }
.customer-errors h2 { font-size: 18px; margin: 0 0 12px; font-weight: 500; }
.customer-errors ul { padding-left: 20px; margin: 0; font-size: 14px; }
.customer-errors li { padding: 3px 0; }
.customer-errors a { color: inherit; text-underline-offset: 3px; }
.inline-notice p { font-size: 14px; margin: 8px 0 0; }
.form-status:empty { display: none; }
.form-status { font-size: 14px; color: var(--blue-ink); }
.customer-check { margin: 26px 0; }
.customer-check label { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 14px; cursor: pointer; }
.customer-check input { flex: none; width: 20px; height: 20px; accent-color: var(--blue); margin: 2px 0 0; }
.auth-card .btn { width: 100%; white-space: normal; margin-top: 8px; }
.auth-forgot { display: inline-block; color: var(--blue-ink); font-size: 14px; min-height: 44px; padding: 2px 0 18px; text-underline-offset: 4px; }
.auth-bottom { font-size: 14px; padding-top: 28px; margin-top: 26px; border-top: 1px solid #d7deee; }
.auth-bottom .text-link { display: inline-block; padding-block: 10px; }
.customer-checkout-layout, .order-result { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.customer-checkout-form h2 { font-size: 28px; font-weight: 400; line-height: 1.25; margin: 32px 0 24px; }
.customer-checkout-form .customer-errors h2 { margin: 0 0 12px; font-size: 18px; }
.customer-checkout-form .checkout-fields { gap: 0 20px; }
.customer-checkout-form > .btn { white-space: normal; max-width: 100%; }
.customer-hidden-payment { display: none; }
.delivery-options { border: 0; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; min-width: 0; }
.delivery-options legend { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.delivery-options > label { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid #c5cee4; background: white; cursor: pointer; min-height: 64px; }
.delivery-options > label:has(input:checked) { border-color: var(--blue); background: #f2f5ff; }
.delivery-options input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex: none; }
.delivery-options span { display: flex; flex: 1; gap: 16px; justify-content: space-between; align-items: baseline; font-size: 15px; }
.delivery-options strong { font-weight: 400; }
.delivery-options small { color: var(--muted); font-size: 13px; }
.digital-delivery { display: flex; gap: 18px; border-radius: 16px; background: var(--mist); padding: 24px; }
.digital-delivery svg { flex: none; color: var(--blue-ink); }
.digital-delivery h3 { font-size: 18px; font-weight: 400; margin: 0 0 10px; }
.digital-delivery p { color: var(--muted); font-size: 14px; margin: 0; }
.customer-totals { margin: 28px 0 0; }
.customer-totals > div { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; padding: 10px 0; }
.customer-totals dd { margin: 0; text-align: right; white-space: nowrap; }
.customer-totals .grand { border-top: 1px solid #cdd5e8; padding-top: 20px; margin-top: 14px; font-size: 21px; }
.payment-card { min-width: 0; }
.payment-card h2 { font-size: 30px; font-weight: 400; margin: 0 0 26px; }
.payment-card > p { color: var(--muted); }
.payment-card .btn { margin-top: 20px; max-width: 100%; white-space: normal; }
.receipt-wrap { max-width: 850px; }
.receipt-card { border: 1px solid #d6ddef; padding: clamp(24px, 5vw, 60px); border-radius: 24px; }
.receipt-card > h2 { font-size: 26px; font-weight: 400; line-height: 1.2; margin: 30px 0 24px; }
.receipt-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.receipt-heading h2 { font-size: 30px; font-weight: 400; line-height: 1.2; margin: 8px 0 0; }
.receipt-heading .eyebrow { margin: 0; }
.status-pill { display: inline-block; font-size: 12px; padding: 7px 12px; border-radius: 99px; background: #e9edf7; color: #454e72; line-height: 1.5; }
.status-pill.good { background: #dff6ed; color: #23604b; }
.status-pill.muted { background: #eeeaf2; color: #655271; }
.order-meta { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 32px; }
.order-meta > div { min-width: 0; }
.order-meta dt { font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.order-meta dd { font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.order-meta > div:last-child { grid-column: 1 / -1; }
.receipt-delivery { padding-top: 26px; margin-top: 30px; border-top: 1px solid #d5ddef; }
.receipt-delivery h3 { font-size: 20px; font-weight: 400; margin: 0 0 12px; }
.receipt-delivery p { font-size: 14px; margin: 0 0 8px; }
.receipt-footer { margin-top: 30px; border-top: 1px solid #d5ddef; padding-top: 26px; }
.receipt-footer p { color: var(--muted); font-size: 13px; }
.receipt-footer .btn { margin-top: 16px; }
.order-result > div > h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 300; line-height: 1.2; margin: 28px 0 20px; }
.order-result > div > p { color: var(--muted); }
.order-result .purchase-box h2 { font-size: 25px; }
.result-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.next-steps { border-top: 1px solid #dce2f0; padding-top: 28px; margin-top: 38px; }
.next-steps h3 { font-weight: 400; font-size: 22px; margin: 0 0 18px; }
.next-steps ol { padding-left: 22px; color: var(--muted); font-size: 15px; }
.next-steps li { margin-bottom: 12px; }
.customer-nav { display: flex; gap: 8px 24px; flex-wrap: wrap; border-bottom: 1px solid #d5deef; margin: 0 0 36px; }
.customer-nav a { display: inline-block; min-height: 48px; padding: 12px 0; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 15px; }
.customer-nav a[aria-current] { color: var(--blue-ink); border-color: var(--blue); }
.owned-recording-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.owned-recording { border: 1px solid #d9e0ef; border-radius: 24px; overflow: hidden; min-width: 0; }
.owned-recording > div:last-child { padding: 26px; }
.owned-recording h2 { font-size: 24px; font-weight: 400; line-height: 1.25; margin: 20px 0 14px; }
.owned-recording p { font-size: 14px; color: var(--muted); }
.owned-recording .btn { white-space: normal; margin-top: 12px; padding-inline: 20px; font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px; }
.dashboard-intro { padding: clamp(26px, 4vw, 48px); background: var(--night); color: white; border-radius: 24px; }
.dashboard-intro .eyebrow { color: var(--mint); }
.dashboard-intro h2 { font-weight: 300; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.2; margin: 20px 0; }
.dashboard-intro p:not(.eyebrow) { opacity: .85; }
.dashboard-intro .btn { margin-top: 18px; }
.dashboard-shortcuts { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.profile-card { border-radius: 24px; background: var(--mist); padding: 32px; overflow-wrap: anywhere; }
.profile-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #dce2f4; color: var(--blue-ink); font-size: 26px; }
.profile-card h2 { font-weight: 400; font-size: 26px; margin: 22px 0 12px; }
.profile-card p { font-size: 14px; color: var(--muted); }
.profile-card .text-link { display: block; margin-top: 28px; }
.order-history-card { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding: 30px; border: 1px solid #d4dcef; border-radius: 24px; }
.order-history-card > div { flex: 1; min-width: 220px; }
.order-history-card .eyebrow { margin: 0 0 12px; }
.order-history-card h2 { font-weight: 400; font-size: 26px; line-height: 1.25; margin: 0 0 12px; }
.order-history-card p { font-size: 14px; color: var(--muted); margin: 0; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.watch-layout > div { min-width: 0; }
.customer-player { position: relative; background: var(--night); min-height: 360px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; }
.customer-player > img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.customer-player > iframe { border: 0; display: block; width: 100%; height: 100%; min-height: inherit; }
.player-message { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; min-height: inherit; height: 100%; text-align: center; color: white; }
.player-message .state-symbol { background: rgba(255,255,255,.12); color: var(--mint); width: 52px; height: 52px; }
.player-message h2 { font-weight: 300; font-size: 25px; line-height: 1.25; margin: 20px 0 24px; }
.player-message .btn { white-space: normal; padding-inline: 22px; }
.player-message .btn-line { color: white; border-color: #b5bdd8; }
.customer-watch-copy { margin-top: 36px; }
.customer-watch-copy h2 { font-size: 28px; font-weight: 400; }
.sample-video-caption { padding: 20px; margin-top: 24px; border-radius: 12px; background: var(--mist); font-size: 14px; }
.sample-video-caption p { margin: 8px 0 0; }
.newsletter-story { padding-top: 20px; }
.design-review-bar { background: #e7fff6; border-bottom: 1px solid #b8e6d6; color: var(--night); }
.design-review-bar > div { display: flex; align-items: center; gap: 28px; justify-content: space-between; padding-block: 22px; }
.design-review-bar strong { font-size: 16px; font-weight: 500; }
.design-review-bar p { font-size: 13px; line-height: 1.6; margin: 6px 0 0; max-width: 76ch; }
.design-review-bar a { flex: none; color: var(--blue-ink); font-size: 13px; text-underline-offset: 5px; padding-block: 12px; }
.review-tools { display: flex; align-items: center; gap: 20px; padding-block: 24px; }
.review-tools label { font-size: 14px; color: var(--muted); }
.review-tools select { font: inherit; color: var(--night); padding: 12px 40px 12px 16px; min-height: 48px; border: 1px solid #bfc9df; border-radius: 12px; max-width: 100%; background: white; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.review-grid > a { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px; border-radius: 24px; background: var(--mist); text-decoration: none; color: var(--night); transition: background .2s; }
.review-grid > a:hover { background: #e2f8f1; }
.review-grid h2 { font-weight: 400; font-size: 25px; line-height: 1.2; margin: 0; }
.review-grid > a > span:last-child { font-size: 13px; color: var(--blue-ink); margin-top: auto; }
.review-group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 1000px) {
  .owned-recording-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-layout { grid-template-columns: 1fr; }
  .watch-layout .purchase-box { position: static; }
  .customer-player { min-height: 380px; }
}
@media (max-width: 760px) {
  .customer-auth, .customer-checkout-layout, .order-result, .dashboard-grid { grid-template-columns: 1fr; }
  .auth-story img { display: none; }
  .auth-story { padding: 0; }
  .auth-story h2 { margin-top: 8px; }
  .customer-auth { gap: 28px; }
  .customer-hero { padding-bottom: 42px; }
  .customer-checkout-layout > .purchase-box, .order-result .purchase-box { position: static; }
  .customer-checkout-form .checkout-fields { grid-template-columns: 1fr; }
  .customer-checkout-form .btn, .result-actions .btn, .receipt-footer .btn { width: 100%; }
  .owned-recording-grid, .review-grid { grid-template-columns: 1fr; }
  .owned-recording h2 { font-size: 26px; }
  .customer-nav { gap: 4px 18px; }
  .customer-nav a { font-size: 14px; }
  .design-review-bar > div { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 16px; }
  .design-review-bar a { padding-block: 6px; }
  .review-tools { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 18px; }
  .review-tools select { width: 100%; }
  .review-grid > a { padding: 26px; }
  .receipt-heading { gap: 20px; }
  .receipt-heading h2 { font-size: 26px; }
  .order-meta { grid-template-columns: 1fr; }
  .delivery-options span { flex-wrap: wrap; gap: 4px 14px; }
  .dashboard-shortcuts .btn { width: 100%; }
  .order-history-card { padding: 24px; }
  .order-history-card > div { min-width: 0; flex-basis: 100%; }
  .order-history-card .btn { width: 100%; }
  .customer-player { min-height: 320px; aspect-ratio: auto; }
  .customer-player:has(iframe) { min-height: 0; aspect-ratio: 16/9; }
  .customer-player > iframe { min-height: 0; }
  .player-message { padding: 26px 22px; }
  .player-message h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .review-grid > a { transition: none; } }
@media print {
  header, footer, #draft, .design-review-bar, .review-tools, .customer-hero, .receipt-footer .btn, #skip { display: none !important; }
  .sec { padding: 0 !important; }
  .receipt-wrap { max-width: none; }
  .receipt-card { border: 0; padding: 0; }
  .customer-example { border: 1px solid #555; background: white; }
}
