:root {
  --ink: #000; --onyx: #06080b; --graphite: #0c1015; --steel: #141a21; --steel-2: #1b232c;
  --line: rgba(217, 222, 227, .10); --line-strong: rgba(217, 222, 227, .22);
  --chrome: #d9dee3; --white: #f4f6f8; --silver: #a3acb6; --faint: #6f7883;
  --blue: #1a6bff; --blue-hi: #00bff8; --blue-core: #0050f8; --pink: #ff3fb4; --pink-hi: #ff7ad0;
  --ok: #3ddc97; --warn: #ffc857; --err: #ff6b6b;
  --glow: rgba(0, 150, 255, .40);
  --chrome-grad: linear-gradient(180deg, #fff 0%, #d9dee3 45%, #9ea7b1 55%, #e9edf0 100%);
  --beam: linear-gradient(90deg, transparent, #0050f8 30%, #7fdbff 50%, #0050f8 70%, transparent);
  --f-display: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-text: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --r: 14px; --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--onyx); color: var(--white); }
body { font-family: var(--f-text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
img { max-width: 100%; display: block; }
a { color: var(--blue-hi); }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shell ---------- */
.shell { max-width: 640px; margin: 0 auto; padding: 0 20px 64px; }
.topbar { display: flex; justify-content: center; align-items: center; padding: 22px 0 10px; }
.logo-btn { background: none; border: 0; padding: 6px; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }
.logo-btn img { height: 44px; width: auto; }
.beam { height: 1px; background: var(--beam); opacity: .85; margin: 6px 0 0; }

/* ---------- hero ---------- */
.hero { position: relative; margin: 18px 0 8px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; height: 340px; }
.hero-pair img { width: 100%; height: 100%; object-fit: cover; }
.hero-pair .him { object-position: 40% 20%; }
.hero-pair .her { object-position: 55% 20%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(6,8,11,.9) 80%, var(--onyx) 100%); pointer-events: none; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; z-index: 1; }
.eyebrow { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-hi); }
.hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 7vw, 40px); line-height: 1.04; letter-spacing: -.02em; margin: 8px 0 6px; }
.chrome-text { background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--chrome); margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--silver); font-size: 14px; margin-top: 10px; }
.meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-hi); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 10px var(--glow); }
.intro { color: var(--silver); margin: 18px 2px 4px; }

/* ---------- promos ---------- */
.section-h { font-family: var(--f-display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 30px 2px 12px; font-weight: 600; }
.promos { display: grid; gap: 12px; }
.promo { position: relative; display: block; width: 100%; text-align: left; background: linear-gradient(180deg, var(--steel), var(--graphite)); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 20px 52px 20px 20px; cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.promo:hover, .promo:focus-visible { border-color: var(--blue-hi); box-shadow: 0 10px 40px -14px var(--glow); }
.promo:active { transform: scale(.99); }
.promo::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--chrome); border-right: 2px solid var(--chrome); transform: translateY(-50%) rotate(45deg); }
.promo .kind { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-hi); font-weight: 600; font-family: var(--f-display); }
.promo.gift .kind { color: var(--pink-hi); }
.promo h3 { font-family: var(--f-display); line-height: 1.15; font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 6px 0 4px; }
.promo p { margin: 0; color: var(--silver); font-size: 15px; }
.promo .note { margin-top: 10px; font-size: 13px; color: var(--faint); }
.fineprint { color: var(--faint); font-size: 13px; margin: 18px 2px 0; }

/* ---------- forms ---------- */
.back { background: none; border: 0; color: var(--silver); cursor: pointer; padding: 8px 0; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.form-h { font-family: var(--f-display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 10px 0 6px; }
.form-sub { color: var(--silver); margin: 0 0 18px; }
.card { background: var(--graphite); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 14px 0; }
.card h4 { font-family: var(--f-display); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--chrome); margin: 0 0 12px; font-weight: 600; }
.legal { font-size: 15px; color: var(--chrome); line-height: 1.6; }
.legal p { margin: 0 0 12px; }
.legal p:last-child { margin-bottom: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; min-width: 0; }
.field label { font-size: 13px; color: var(--silver); font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; background: #080b0f; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 14px 14px; font-size: 16px; min-height: 50px; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-hi); outline: none; box-shadow: 0 0 0 3px rgba(0,191,248,.18); }
.field .hint { font-size: 12px; color: var(--faint); }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.check:first-of-type { border-top: 0; padding-top: 2px; }
.check input { appearance: none; width: 26px; height: 26px; border: 1.5px solid var(--silver); border-radius: 7px; margin: 0; background: #080b0f; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--blue); border-color: var(--blue-hi); }
.check input:checked::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.check span { font-size: 15px; color: var(--chrome); }
.check.strong span { color: var(--white); }
.sigpad { position: relative; background: #f4f6f8; border-radius: var(--r-sm); height: 170px; touch-action: none; overflow: hidden; }
.sigpad canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sigpad .ph { position: absolute; left: 16px; bottom: 14px; color: #8a939c; font-size: 14px; pointer-events: none; }
.sigpad .line { position: absolute; left: 16px; right: 16px; bottom: 40px; border-bottom: 1px solid #b9c0c7; pointer-events: none; }
.row-end { display: flex; justify-content: flex-end; margin-top: 8px; }
.link-btn { background: none; border: 0; color: var(--blue-hi); cursor: pointer; font-size: 14px; padding: 6px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 12px; border: 0; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: .02em; text-decoration: none; transition: filter .2s, transform .15s, box-shadow .2s; }
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--chrome-grad); color: #06080b; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(127,219,255,.35), 0 12px 40px -12px var(--glow); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary[disabled] { opacity: .55; cursor: progress; }
.btn-line { background: transparent; color: var(--white); border: 1px solid var(--line-strong); }
.btn-line:hover { border-color: var(--blue-hi); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-danger { background: transparent; border: 1px solid rgba(255,107,107,.5); color: var(--err); }

.alert { border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; margin: 14px 0; }
.alert-err { background: rgba(255,107,107,.10); border: 1px solid rgba(255,107,107,.45); color: #ffd3d3; }
.alert-ok { background: rgba(61,220,151,.10); border: 1px solid rgba(61,220,151,.45); color: #d2f7e6; }
.alert-info { background: rgba(0,191,248,.08); border: 1px solid rgba(0,191,248,.35); color: #d4f4ff; }

.done { text-align: center; padding: 40px 6px; }
.done .mark { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #2a7dff, #0038c8); box-shadow: 0 0 40px var(--glow); }
.done .mark::after { content: ""; width: 18px; height: 32px; border: solid #fff; border-width: 0 4px 4px 0; transform: translateY(-3px) rotate(45deg); }
.done h2 { font-family: var(--f-display); font-size: 30px; margin: 0 0 8px; letter-spacing: -.02em; }
.done p { color: var(--silver); margin: 0 auto 10px; max-width: 420px; }
.ticket { display: inline-block; margin-top: 14px; padding: 14px 20px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--chrome); font-family: var(--f-display); letter-spacing: .04em; }

.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--blue-hi); animation: spin .9s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--graphite), var(--steel), var(--graphite)); background-size: 200% 100%; animation: sk 1.4s ease infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- dialog ---------- */
dialog { background: var(--graphite); color: var(--white); border: 1px solid var(--line-strong); border-radius: 18px; padding: 24px; max-width: 380px; width: calc(100% - 40px); }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
dialog h3 { font-family: var(--f-display); margin: 0 0 6px; font-size: 22px; }
dialog p { color: var(--silver); margin: 0 0 18px; font-size: 15px; }
dialog .actions { display: grid; gap: 10px; }

.foot { text-align: center; color: var(--faint); font-size: 12px; margin-top: 40px; line-height: 1.7; }
.foot a { color: var(--silver); }

@media (min-width: 700px) {
  .hero-pair { height: 400px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
