:root {
  color-scheme: dark;
  --page: #071018;
  --surface: #101c27;
  --surface-2: #0a1620;
  --ink: #f4f7f8;
  --muted: #8fa2ae;
  --line: rgba(151, 187, 207, 0.17);
  --line-strong: rgba(151, 187, 207, 0.29);
  --blue: #58b6e8;
  --green: #34d3a3;
  --danger: #ef7979;
}
* { box-sizing: border-box; }
body { min-height: 100vh; min-height: 100dvh; margin: 0; background: var(--page); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; }
svg { width: 18px; height: 18px; }
.checkout-header { display: flex; width: min(1240px, calc(100% - 40px)); align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin: 0 auto; padding: 18px 0; }
.checkout-brand { display: flex; align-items: center; gap: 10px; }
.checkout-brand > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: #fff; }
.checkout-brand img { width: 31px; height: 31px; }
.checkout-brand strong, .checkout-brand small { display: block; }
.checkout-brand strong { font-size: 13px; }
.checkout-brand small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 800; }
.checkout-layout { display: grid; width: min(1160px, calc(100% - 40px)); grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1fr); align-items: start; gap: 72px; margin: 0 auto; padding: 72px 0; }
.checkout-copy { position: sticky; top: 40px; padding-top: 20px; }
.eyebrow { margin: 0; color: var(--blue); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.checkout-copy h1 { max-width: 430px; margin: 12px 0 0; font-size: 46px; line-height: 1.04; }
.checkout-copy > p:last-of-type { max-width: 420px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.checkout-assurances { display: grid; gap: 18px; margin-top: 42px; }
.checkout-assurances > span { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 2px 11px; }
.checkout-assurances svg { grid-row: 1 / span 2; width: 20px; color: var(--green); }
.checkout-assurances strong, .checkout-assurances small { display: block; }
.checkout-assurances strong { font-size: 11px; }
.checkout-assurances small { color: var(--muted); font-size: 9px; }
.checkout-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); padding: 30px; }
.form-heading { display: flex; align-items: center; gap: 12px; }
.form-heading-spaced { margin-top: 34px; }
.step-number { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: rgba(88, 182, 232, 0.11); color: var(--blue); font-size: 11px; font-weight: 900; }
.form-heading h2 { margin: 4px 0 0; font-size: 17px; }
.plan-options { display: grid; gap: 7px; margin-top: 18px; }
.plan-option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); padding: 13px; cursor: pointer; }
.plan-option:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px rgba(88, 182, 232, 0.18); }
.plan-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}
.plan-radio { width: 17px; height: 17px; border: 1px solid var(--line-strong); border-radius: 50%; }
.plan-option input:checked + .plan-radio { border: 5px solid var(--blue); background: var(--surface); }
.plan-copy strong, .plan-copy small, .plan-price strong, .plan-price small { display: block; }
.plan-copy strong { font-size: 11px; }
.plan-copy small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.plan-price { text-align: right; }
.plan-price strong { font-size: 11px; }
.plan-price small { color: var(--muted); font-size: 8px; }
.loading-state { color: var(--muted); font-size: 10px; }
.loading-state.is-error { color: var(--danger); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 800; }
.field-hint, .field-error { display: block; margin-top: 5px; font-size: 8px; line-height: 1.45; }
.field-hint { color: var(--muted); }
.field-error { min-height: 0; color: var(--danger); font-weight: 800; }
[data-field-shell].has-error input { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239, 121, 121, 0.08); }
input { width: 100%; height: 43px; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: var(--surface-2); padding: 0 12px; font-size: 11px; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(88, 182, 232, 0.08); }
.address-details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.address-details:not([open]) > :not(summary) { display: none; }
.address-details summary { display: flex; align-items: center; justify-content: space-between; color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 800; list-style: none; }
.address-details summary::-webkit-details-marker { display: none; }
.address-details summary span { display: flex; align-items: center; gap: 7px; }
.address-details[open] summary > svg { transform: rotate(180deg); }
.wide-field { grid-column: span 1; }
.terms-field { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 9px; margin-top: 22px; }
.terms-field input { width: 17px; height: 17px; accent-color: var(--green); }
.terms-field span { margin: 1px 0 0; font-size: 9px; line-height: 1.5; }
.terms-field a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-message { min-height: 18px; margin: 12px 0 0; color: var(--danger); font-size: 10px; font-weight: 750; }
.submit-button, .primary-button { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 7px; background: var(--green); color: #061813; font-size: 11px; font-weight: 900; }
.trial-button { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 7px; background: transparent; margin-top: 9px; color: var(--ink); font-size: 10px; font-weight: 900; }
.trial-button:hover { border-color: var(--blue); background: rgba(88, 182, 232, 0.06); }
.trial-note { display: block; margin-top: 8px; color: var(--muted); font-size: 8px; line-height: 1.5; text-align: center; }
.submit-button:disabled, .trial-button:disabled { cursor: wait; opacity: 0.7; }
.submit-button.is-loading svg { animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.payment-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 12px; color: var(--muted); font-size: 8px; }
.payment-note svg { width: 12px; }
.result-page { display: grid; place-items: center; padding: 20px; }
.result-card { width: min(470px, 100%); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 44px; text-align: center; }
.result-card > img { width: 55px; height: 55px; margin: 0 auto 24px; border-radius: 9px; background: #fff; padding: 6px; }
.result-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: rgba(52, 211, 163, 0.12); color: var(--green); margin: 0 auto 14px; }
.result-card h1 { margin: 11px 0 0; font-size: 28px; line-height: 1.15; }
.result-card > p:not(.eyebrow) { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.result-actions { display: grid; gap: 12px; margin-top: 28px; }
.quiet-link { color: var(--muted); font-size: 10px; font-weight: 800; }
@media (max-width: 820px) {
  .checkout-layout { grid-template-columns: 1fr; gap: 34px; padding: 42px 0; }
  .checkout-copy { position: static; padding-top: 0; }
  .checkout-copy h1 { font-size: 36px; }
  .checkout-assurances { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
  .checkout-assurances > span { display: block; }
  .checkout-assurances svg { margin-bottom: 8px; }
  .checkout-assurances small { margin-top: 3px; }
}
@media (max-width: 560px) {
  .checkout-header { width: calc(100% - 28px); }
  .checkout-brand small, .back-link { display: none; }
  .checkout-layout { width: calc(100% - 28px); padding: 32px 0; }
  .checkout-assurances { grid-template-columns: 1fr; }
  .checkout-card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .plan-option { grid-template-columns: 20px minmax(0, 1fr); }
  .plan-price { grid-column: 2; text-align: left; }
  .result-card { padding: 30px 20px; }
}
