:root {
  color-scheme: dark;
  --ink: #080b12;
  --surface: #101622;
  --surface-2: #151d2b;
  --paper: #f5f6f1;
  --text: #f5f7fb;
  --muted: #aab4c4;
  --line: #2a3547;
  --signal: #b7f34b;
  --blue: #4b7bff;
  --danger: #ff6b7a;
  --radius: 18px;
  --shadow: 0 26px 70px rgba(0, 0, 0, .3);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); line-height: 1.55; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-140%); padding: 10px 14px; background: var(--signal); color: var(--ink); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 78px; padding: 14px max(20px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(8, 11, 18, .9); border-bottom: 1px solid rgba(42, 53, 71, .8); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand span { display: grid; }
.brand strong { font-size: 17px; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
nav, .footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 680; }
nav a:hover, .footer-links a:hover { color: var(--signal); }
.hero { min-height: 670px; padding: 100px 0 86px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr); gap: 72px; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 78px 0 auto; height: 590px; pointer-events: none; background: radial-gradient(circle at 16% 32%, rgba(75,123,255,.18), transparent 32%), radial-gradient(circle at 80% 30%, rgba(183,243,75,.1), transparent 26%); }
.hero > * { position: relative; }
.eyebrow, .panel-label { margin: 0 0 14px; color: var(--signal); font: 760 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 18px var(--signal); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(52px, 7.4vw, 94px); line-height: .94; letter-spacing: -.065em; }
h2 { margin-bottom: 20px; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -.052em; }
h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.lede { max-width: 710px; color: #c7cfda; font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; padding: 13px 19px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .15s ease, background .15s ease, border .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button.primary { border-color: var(--signal); background: var(--signal); color: var(--ink); }
.button.secondary { background: rgba(16, 22, 34, .7); color: var(--text); }
.button:disabled { cursor: not-allowed; opacity: .42; }
.quiet, .field-help { color: var(--muted); font-size: 13px; }
.hero .quiet { max-width: 650px; margin-top: 18px; }
.control-map { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(21, 29, 43, .92), rgba(10, 14, 22, .92)); box-shadow: var(--shadow); }
.control-map ol { margin: 0; padding: 0; list-style: none; }
.control-map li { padding: 15px 4px; display: grid; grid-template-columns: 42px 1fr; border-bottom: 1px solid var(--line); color: #dce2ec; font-weight: 660; }
.control-map li:last-child { border: 0; }
.control-map li span { color: var(--blue); font: 700 12px ui-monospace, monospace; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); background: #0c111b; }
.proof-strip div { min-height: 116px; padding: 28px; display: grid; place-content: center start; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip span { color: var(--muted); font-size: 13px; }
.workflow, .publisher-section, .trust-section { padding: 110px 0; }
.workflow > h2 { max-width: 780px; }
.workflow-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.workflow-grid article { min-height: 260px; padding: 28px; background: var(--surface); }
.workflow-grid article > span, .step-number { color: var(--blue); font: 750 12px ui-monospace, monospace; }
.workflow-grid h3 { margin-top: 62px; }
.workflow-grid p, .trust-grid p { color: var(--muted); font-size: 14px; }
.publisher-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.connection-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.connection-pill span { width: 8px; height: 8px; border-radius: 50%; background: #687386; }
.connection-pill[data-state="connected"] { color: var(--text); border-color: rgba(183,243,75,.55); }
.connection-pill[data-state="connected"] span { background: var(--signal); box-shadow: 0 0 12px rgba(183,243,75,.75); }
.notice { margin: 18px 0 30px; padding: 16px 18px; border-left: 3px solid var(--blue); background: rgba(75,123,255,.1); color: #dbe5ff; }
.notice.error { border-color: var(--danger); background: rgba(255,107,122,.1); color: #ffd9df; }
.notice.success { border-color: var(--signal); background: rgba(183,243,75,.08); color: #eaffca; }
.publisher-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset:disabled { opacity: .62; }
.form-card { margin-bottom: 16px; padding: 26px; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 8px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.form-card:focus-within { border-color: #51617a; }
.card-content { min-width: 0; }
.field-heading { margin-bottom: 22px; display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.field-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.required { color: var(--signal); font: 700 10px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.text-button { padding: 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.text-button:hover { color: var(--danger); }
.creator-row { padding: 16px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; background: #0b1018; }
.creator-avatar { width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--blue); color: white; font-weight: 900; }
.creator-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-row div:last-child { display: grid; }
.creator-row span { color: var(--muted); font-size: 13px; }
.drop-zone { min-height: 150px; padding: 24px; display: grid; place-items: center; align-content: center; text-align: center; border: 1px dashed #506078; border-radius: 13px; background: #0b1018; cursor: pointer; }
.drop-zone:hover { border-color: var(--signal); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone span { color: var(--muted); font-size: 13px; }
.drop-icon { color: var(--signal) !important; font-size: 30px !important; }
#videoPreview { width: 100%; max-height: 520px; margin-top: 18px; border-radius: 12px; background: black; }
label { font-weight: 720; }
textarea, select { width: 100%; margin: 8px 0 8px; padding: 14px 15px; border: 1px solid #3b485c; border-radius: 10px; background: #0b1018; color: var(--text); }
textarea { resize: vertical; }
textarea::placeholder { color: #707c8e; }
.field-meta { margin-bottom: 22px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; }
.toggle-list, .check-list { display: grid; gap: 10px; }
.toggle-list label, .check-list label { padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 11px; background: #0b1018; cursor: pointer; }
.toggle-list label > span, .check-list label > span { display: grid; }
.toggle-list small, .check-list small { margin-top: 3px; color: var(--muted); font-weight: 450; }
input[type="checkbox"] { width: 21px; height: 21px; flex: 0 0 auto; accent-color: var(--signal); }
.check-list label { justify-content: start; }
.commercial-details { margin-top: 12px; }
.commercial-notice { margin: 12px 0 6px; padding: 12px 14px; border-left: 3px solid var(--blue); background: rgba(75,123,255,.09); color: #dce5ff; font-size: 13px; }
.commercial-details a, .required-checks a { color: var(--signal); }
.required-checks label { border-color: #475469; }
.publish-button { width: 100%; margin-top: 18px; }
.receipt-panel { position: sticky; top: 104px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #0b1018; box-shadow: var(--shadow); }
.receipt-panel h3 { font-size: 25px; }
.receipt-panel > p:not(.panel-label) { color: var(--muted); font-size: 14px; }
.receipt-panel dl { margin: 26px 0; }
.receipt-panel dl div { padding: 11px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.receipt-panel dt { color: var(--muted); }
.receipt-panel dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.receipt-rule { height: 3px; background: linear-gradient(90deg, var(--signal), var(--blue)); }
.receipt-note { margin-top: 16px; }
.trust-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; border-top: 1px solid var(--line); }
.trust-grid { display: grid; gap: 12px; }
.trust-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
footer { padding: 44px 0; border-top: 1px solid var(--line); background: #05070c; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.footer-grid > p { grid-column: 1 / -1; margin: 0; color: #7f8998; font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* Legal and support pages */
.legal-header { position: static; }
.legal-main { padding: 80px 0 120px; }
.legal-main article { max-width: 820px; }
.legal-main h1 { font-size: clamp(48px, 8vw, 82px); }
.legal-main h2 { margin-top: 48px; font-size: 30px; }
.legal-main h3 { margin-top: 30px; }
.legal-main p, .legal-main li { color: #c4ccd8; }
.legal-main li { margin-bottom: 9px; }
.legal-meta { margin-bottom: 40px; color: var(--signal) !important; font: 700 12px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .09em; }
.legal-callout { margin: 30px 0; padding: 20px; border-left: 3px solid var(--blue); background: rgba(75,123,255,.1); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 74px; }
  .control-map { max-width: 660px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .publisher-grid { grid-template-columns: 1fr; }
  .receipt-panel { position: static; }
  .trust-section { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 26px, 1180px); }
  .site-header { min-height: 70px; padding-inline: 13px; }
  .site-header nav { display: none; }
  .brand small { display: none; }
  .hero { min-height: 0; padding: 62px 0 56px; }
  h1 { font-size: clamp(47px, 15vw, 68px); }
  .proof-strip, .workflow-grid { grid-template-columns: 1fr; }
  .proof-strip div { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow, .publisher-section, .trust-section { padding: 74px 0; }
  .workflow-grid article { min-height: 220px; }
  .section-heading { align-items: start; flex-direction: column; }
  .form-card { padding: 20px 16px; grid-template-columns: 30px minmax(0,1fr); }
  .field-heading { align-items: start; flex-direction: column; }
  .text-button { min-height: 38px; }
  .toggle-list label, .check-list label { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 14px 20px; }
  .legal-main { padding-top: 58px; }
}
