:root { color-scheme: dark; --bg: #0b0d0b; --surface: #131612; --line: rgba(213,183,127,.2); --line-soft: rgba(255,255,255,.09); --gold: #d5b77f; --text: #eee9df; --muted: #a09f95; --teal: #39a4a2; --sans: "Manrope", sans-serif; --mono: "DM Mono", monospace; }
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); }
body { min-height: 100vh; margin: 0; color: var(--text); background-color: var(--bg); background-image: linear-gradient(rgba(213,183,127,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(213,183,127,.025) 1px, transparent 1px); background-size: 48px 48px; font: 14px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.topbar { height: 76px; display: flex; justify-content: space-between; align-items: center; padding: 0 max(24px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid var(--line-soft); background: rgba(11,13,11,.92); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; gap: 2px; line-height: 1.2; }
.brand strong { color: var(--text); font-size: 13px; font-weight: 700; }
.brand small { color: var(--gold); font: 8px var(--mono); }
.back-link, .support-link { color: var(--muted); font-size: 12px; transition: color .2s ease; }
.back-link:hover, .support-link:hover, .page-footer a:hover { color: var(--gold); }
.page-shell { width: min(1040px, calc(100% - 48px)); margin: 0 auto; }
.page-heading { padding: 47px 0 28px; }
.eyebrow { margin: 0; color: var(--gold); font: 10px/1.5 var(--mono); letter-spacing: 0; }
h1 { margin: 9px 0 8px; color: var(--text); font: 500 38px/1.12 "Cormorant Garamond", Georgia, serif; }
h1 em { color: var(--gold); font-style: normal; }
.intro { max-width: 620px; margin: 0; color: var(--muted); font-size: 13px; }
.steps { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); color: #76796f; font: 10px var(--mono); }
.step { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.step b { display: grid; width: 24px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; color: #777b72; font: 9px var(--mono); }
.step.is-current { color: var(--text); }
.step.is-current b, .step.is-done b { border-color: var(--gold); color: var(--gold); }
.step.is-done { color: #b7c2ad; }
.step-line { width: clamp(15px, 6vw, 68px); height: 1px; background: var(--line-soft); }
.assistant-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 50px; padding: 31px 0 42px; }
.form-section { min-width: 0; }
.section-title { display: flex; gap: 13px; align-items: center; margin-bottom: 21px; }
.section-index { color: var(--teal); font: 11px var(--mono); }
.section-title h2, .checkout-state h2, .license-state h2 { margin: 3px 0 0; font: 500 25px/1.2 "Cormorant Garamond", Georgia, serif; }
.notice { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 21px; padding: 11px 12px; border: 1px solid var(--line-soft); color: #c4c2b9; background: rgba(255,255,255,.025); }
.notice p { margin: 0; font-size: 11px; line-height: 1.55; }
.notice-mark { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--gold); }
.notice[data-state="error"] { border-color: rgba(226,123,105,.42); color: #e8b2a6; }
.notice[data-state="error"] .notice-mark { background: #e27b69; }
.notice[data-state="ready"] { border-color: rgba(78,164,146,.35); color: #b6d0c4; }
.notice[data-state="ready"] .notice-mark { background: #64b29c; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.field { display: grid; align-content: start; gap: 7px; min-width: 0; color: #c9c4b8; font-size: 11px; }
.field > span { color: #777b72; font: 9px var(--mono); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 3px; outline: none; color: var(--text); background: #131612; font-size: 12px; }
.field textarea { resize: vertical; overflow-wrap: anywhere; font: 10px/1.6 var(--mono); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.field input::placeholder { color: #70746b; }
.field input:disabled, .field select:disabled { color: #77796f; opacity: .7; }
.field small { color: #82847a; font-size: 9px; line-height: 1.45; }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.primary-button, .secondary-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; padding: 0 17px; border: 1px solid transparent; border-radius: 3px; color: #0a100f; background: var(--teal); font-size: 11px; font-weight: 700; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.primary-button:hover:not(:disabled) { background: #54b8b4; }
.primary-button:disabled { color: #77796f; background: #252a25; cursor: not-allowed; }
.primary-button span { font: 16px var(--sans); }
.form-note { margin: 10px 0 0; color: #888a80; font-size: 10px; line-height: 1.6; }
.summary-section { align-self: start; padding: 5px 0 0 24px; border-left: 1px solid var(--line); }
.summary-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.summary-lock { color: #8fa492; font: 9px var(--mono); }
.summary-list { margin: 0; }
.summary-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.summary-list dt { color: #92948b; font-size: 10px; }
.summary-list dd { max-width: 150px; margin: 0; color: var(--text); font-size: 10px; text-align: right; overflow-wrap: anywhere; }
.summary-list .summary-total dt, .summary-list .summary-total dd { color: var(--gold); font-weight: 700; }
.summary-divider { height: 1px; margin: 20px 0; background: var(--line); }
.summary-copy { margin: 0 0 19px; color: #92948b; font-size: 10px; line-height: 1.7; }
.support-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 10px; }
.checkout-state, .license-state { margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); }
.checkout-state > p:not(.eyebrow), .license-state > p:not(.eyebrow) { color: var(--muted); font-size: 11px; }
.checkout-state .primary-button { margin: 7px 8px 0 0; }
.secondary-button { margin-top: 8px; border-color: var(--line); color: var(--text); background: transparent; }
.secondary-button:hover { border-color: var(--gold); color: var(--gold); }
.license-state .field { margin-top: 16px; }
.status-message { min-height: 22px; margin: 14px 0 0; color: #aebdaf; font-size: 11px; }
.status-message[data-error="true"] { color: #e8a99b; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; padding: 17px 0 24px; border-top: 1px solid var(--line-soft); color: #77796f; font: 9px var(--mono); }
.page-footer a { color: #92948b; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  .topbar { height: 66px; padding: 0 18px; }
  .brand img { width: 36px; height: 36px; }
  .back-link { font-size: 10px; }
  .page-shell { width: min(100% - 36px, 540px); }
  .page-heading { padding: 33px 0 22px; }
  h1 { font-size: 32px; }
  .intro { font-size: 12px; }
  .steps { gap: 7px; justify-content: space-between; font-size: 8px; }
  .step { gap: 5px; }
  .step b { width: 21px; }
  .step-line { flex: 1 1 10px; width: auto; }
  .assistant-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .summary-section { padding: 20px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .summary-list dd { max-width: 58%; }
}
@media (max-width: 420px) {
  .field-grid { grid-template-columns: 1fr; gap: 13px; margin-bottom: 13px; }
  .steps { gap: 5px; }
  .step { white-space: normal; }
  .step-line { min-width: 8px; }
}
