:root {
      color-scheme: dark;
      --bg: #050505;
      --panel: #111111;
      --line: #282828;
      --text: #f5f5f5;
      --muted: #a1a1aa;
      --accent: #ff4d00;
      --good: #8ee6b0;
      --warn: #ffb86b;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      background: var(--bg);
      color: var(--text);
      margin: 0;
    }

    main {
      margin: 0 auto;
      max-width: 1180px;
      padding: 32px 20px 64px;
    }

    header {
      border-bottom: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding-bottom: 20px;
    }

    .brand {
      font-size: 14px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .pill {
      border: 1px solid var(--line);
      color: var(--muted);
      font-size: 12px;
      padding: 8px 10px;
    }

    .grid {
      display: grid;
      gap: 20px;
      grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.95fr) minmax(300px, 0.9fr);
      margin-top: 36px;
    }

    .panel {
      background: var(--panel);
      border: 1px solid var(--line);
      padding: 24px;
    }

    h1,
    h2,
    h3,
    p {
      margin: 0;
    }

    h1 {
      font-size: clamp(38px, 7vw, 74px);
      letter-spacing: 0;
      line-height: 0.96;
      margin-top: 16px;
    }

    h2 {
      font-size: clamp(25px, 4vw, 40px);
      line-height: 1;
      margin-top: 10px;
    }

    h3 {
      font-size: 17px;
      line-height: 1.2;
    }

    .copy {
      color: var(--muted);
      line-height: 1.65;
      margin-top: 18px;
    }

    .kicker {
      color: var(--accent);
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .status-list {
      display: grid;
      gap: 10px;
      margin-top: 24px;
    }

    .status-row {
      align-items: center;
      border: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 14px;
      min-height: 48px;
      padding: 12px 14px;
      transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
    }

    .status-row span {
      color: var(--muted);
      font-size: 13px;
    }

    .status-row strong {
      color: var(--text);
      font-size: 13px;
      text-align: right;
    }

    .status-row[data-state="checking"] {
      border-color: rgba(255, 77, 0, 0.7);
      transform: translateX(4px);
    }

    .status-row[data-state="checking"] strong {
      color: var(--accent);
    }

    .status-row[data-state="complete"] {
      background: rgba(32, 185, 95, 0.1);
      border-color: rgba(32, 185, 95, 0.75);
    }

    .status-row[data-state="complete"] span,
    .status-row[data-state="complete"] strong {
      color: var(--good);
    }

    label {
      color: var(--muted);
      display: block;
      font-size: 13px;
      font-weight: 700;
      margin: 24px 0 8px;
    }

    input,
    button {
      border-radius: 0;
      font: inherit;
      min-height: 48px;
    }

    input {
      background: #050505;
      border: 1px solid #333333;
      color: var(--text);
      font-size: 18px;
      font-weight: 800;
      padding: 0 14px;
      text-transform: uppercase;
      width: 100%;
    }

    button {
      background: var(--accent);
      border: 1px solid var(--accent);
      color: #050505;
      cursor: pointer;
      display: inline-flex;
      font-weight: 800;
      justify-content: center;
      margin-top: 12px;
      padding: 13px 16px;
      width: 100%;
    }

    button[disabled] {
      cursor: wait;
      opacity: 0.65;
    }

    .status-message {
      color: var(--muted);
      min-height: 24px;
      margin-top: 12px;
    }

    .status-message[data-state="error"] {
      color: var(--warn);
    }

    .status-message[data-state="success"] {
      color: var(--good);
    }

    .proof-screen {
      background:
        linear-gradient(rgba(255, 77, 0, 0.06) 1px, transparent 1px),
        #070707;
      background-size: 100% 28px;
      border: 1px solid var(--line);
      color: #f4f4f5;
      font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      margin-top: 18px;
      min-height: 280px;
      overflow: auto;
      padding: 14px;
      white-space: pre-wrap;
    }

    .catalog {
      margin-top: 20px;
      transition: filter 220ms ease, opacity 220ms ease;
    }

    .catalog[data-locked="true"] {
      filter: grayscale(1);
      opacity: 0.45;
      pointer-events: none;
    }

    .product-grid,
    .tier-grid {
      display: grid;
      gap: 14px;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin-top: 20px;
    }

    .product,
    .tier {
      border: 1px solid var(--line);
      min-height: 156px;
      padding: 16px;
    }

    .price,
    .tier strong {
      color: var(--accent);
      display: block;
      font-weight: 800;
      margin-top: 12px;
    }

    .buyer-log {
      background: #080808;
      border: 1px solid var(--line);
      color: #d4d4d8;
      font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      margin-top: 20px;
      min-height: 150px;
      overflow: auto;
      padding: 14px;
      white-space: pre-wrap;
    }

    @media (max-width: 980px) {
      .grid,
      .product-grid,
      .tier-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 620px) {
      main {
        padding: 24px 14px 48px;
      }

      header {
        flex-direction: column;
      }

      .panel {
        padding: 18px;
      }

      h1 {
        font-size: 38px;
      }
    }
