/* UNEMPLOYABLE™ Ad Auction — base + submission page */
:root {
  --bg: #0e1116;
  --panel: #161b22;
  --panel-2: #1c2530;
  --line: #2a3340;
  --text: #e8eaed;
  --text-soft: #9aa0a6;
  --text-faint: #6b7280;
  --accent: #c5221f;      /* rejection red */
  --accent-soft: #2a1413;
  --blue: #8ab4f8;
  --gold: #fdd663;
  --ok: #81c995;
  --radius: 14px;
  --maxw: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.55;
}
a { color: var(--blue); }

/* ---------- top nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(14,17,22,.86);
  backdrop-filter: blur(8px); z-index: 20;
}
.nav-logo { font-weight: 900; letter-spacing: .3px; color: var(--text); text-decoration: none; font-size: 17px; }
.nav-logo sup { font-size: 9px; color: var(--text-soft); }
.nav-logo .ad-pill { background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; margin-left: 6px; letter-spacing: .5px; vertical-align: middle; }
.nav-right { display: flex; gap: 20px; align-items: center; }
.nav-right a { color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-right a:hover { color: var(--text); }

/* ---------- header / price banner ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px 80px; }
.head { text-align: center; margin: 14px 0 30px; }
.head h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
.head h1 .x { color: var(--accent); }
.head p { color: var(--text-soft); margin-top: 12px; font-size: 16px; max-width: 620px; margin-left: auto; margin-right: auto; }

.price-strip {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin: 24px auto 0; max-width: 720px;
}
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 22px; text-align: center; min-width: 150px; }
.price-card .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); }
.price-card .val { font-size: 26px; font-weight: 900; margin-top: 4px; }
.price-card .val.live { color: var(--gold); }
.price-card .val.next { color: var(--ok); }
.price-card .sub { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

/* ---------- two-column composer ---------- */
.composer { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 38px; align-items: start; }
.col-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-faint); font-weight: 700; margin-bottom: 14px; }

/* form */
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--text-faint); font-size: 12px; }
.field input[type=text], .field input[type=url], .field input[type=email], .field input[type=number], .field textarea {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); font: inherit; font-size: 14px; padding: 11px 13px; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 84px; }
.charcount { float: right; font-size: 11px; color: var(--text-faint); font-weight: 400; }
.row2 { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.color-wrap { display: flex; align-items: center; gap: 10px; }
.color-wrap input[type=color] { width: 44px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); padding: 3px; cursor: pointer; }

/* image dropzone */
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.drag { border-color: var(--blue); background: var(--panel-2); }
.drop input { display: none; }
.drop .dz-title { font-weight: 700; font-size: 14px; }
.drop .dz-sub { color: var(--text-faint); font-size: 12px; margin-top: 4px; }
.drop .dz-warn { color: var(--gold); font-size: 12px; margin-top: 6px; }

/* bid */
.bid-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.bid-input { position: relative; }
.bid-input .dollar { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-soft); font-weight: 700; }
.bid-input input { padding-left: 26px !important; font-size: 18px !important; font-weight: 800; }
.bid-note { font-size: 12.5px; color: var(--text-soft); }
.bid-note.err { color: #f6a59e; }
.bid-note .min { color: var(--ok); font-weight: 700; }

.submit-btn {
  width: 100%; margin-top: 8px; border: none; cursor: pointer; border-radius: 26px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; padding: 15px;
  font-family: inherit; transition: filter .15s, transform .05s;
}
.submit-btn:hover { filter: brightness(1.08); }
.submit-btn:active { transform: translateY(1px); }
.submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.legal { font-size: 11.5px; color: var(--text-faint); margin-top: 12px; line-height: 1.5; }
.legal a { color: var(--text-soft); }
.stub-note { margin-top: 12px; font-size: 12.5px; color: var(--gold); background: #20303f; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; display: none; }

/* ---------- live preview (the sponsored email) ---------- */
.preview-wrap { position: sticky; top: 92px; }
.inbox-frame { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.inbox-chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f1f3f4; border-bottom: 1px solid #e0e2e6; }
.inbox-chrome .dot { width: 11px; height: 11px; border-radius: 50%; background: #dadce0; }
.inbox-chrome .dot.r { background: #ee6a5f; } .inbox-chrome .dot.y { background: #f5be4f; } .inbox-chrome .dot.g { background: #61c454; }
.inbox-chrome .url { margin-left: 10px; font-size: 11px; color: #80868b; }

.mail { padding: 22px 24px 26px; color: #202124; }
.mail-subject { font-size: 20px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lbl-ad { font-size: 11px; font-weight: 700; color: #5f6368; border: 1px solid #dadce0; border-radius: 4px; padding: 1px 6px; }
.mail-head { display: flex; align-items: center; gap: 12px; margin: 16px 0 14px; }
.mail-avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; text-transform: uppercase; }
.mail-from { font-size: 14px; font-weight: 700; color: #202124; }
.mail-from .em { font-weight: 400; color: #80868b; }
.mail-to { font-size: 12.5px; color: #80868b; }
.mail-creative { width: 100%; aspect-ratio: 1200/628; object-fit: cover; border-radius: 10px; margin: 4px 0 14px; display: block; background: #f1f3f4; }
.mail-creative.placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 2px dashed #dadce0; color: #9aa0a6; }
.mail-creative.placeholder b { font-size: 18px; color: #5f6368; }
.mail-creative.placeholder small { font-size: 12px; }
.mail-body p { font-size: 14px; line-height: 1.65; color: #3c4043; margin-bottom: 10px; }
.mail-cta { margin-top: 18px; }
.mail-cta a { display: inline-block; color: #fff; text-decoration: none; font-weight: 700; padding: 11px 24px; border-radius: 22px; font-size: 13px; }
.mail-disc { margin-top: 16px; font-size: 11.5px; color: #80868b; }
.preview-cap { text-align: center; font-size: 12px; color: var(--text-faint); margin-top: 12px; }

/* ---------- home / throne page ---------- */
.hero-cta {
  display: inline-block; margin-top: 26px; background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 800; font-size: 16px; padding: 15px 34px; border-radius: 28px;
  transition: filter .15s, transform .05s;
}
.hero-cta:hover { filter: brightness(1.08); }
.hero-cta:active { transform: translateY(1px); }
.hero-sub-link { display: block; margin-top: 14px; font-size: 13px; color: var(--text-soft); }

.throne-stage { max-width: 600px; margin: 40px auto 0; }
.throne-empty { text-align: center; padding: 30px 24px; color: var(--text-soft); }
.throne-empty .crown { font-size: 40px; }
.throne-empty b { display: block; color: var(--text); font-size: 18px; margin: 8px 0 4px; }

.reign-tag {
  display: inline-flex; gap: 6px; align-items: center; margin: 0 auto 12px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 20px;
  padding: 5px 14px; font-size: 12.5px; color: var(--text-soft);
}
.reign-tag .gold { color: var(--gold); font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 56px auto 0; max-width: 880px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.step h3 { font-size: 15px; margin: 12px 0 6px; }
.step p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }

.foot { text-align: center; margin-top: 56px; font-size: 12.5px; color: var(--text-faint); }
.foot a { color: var(--text-soft); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .composer { grid-template-columns: 1fr; }
  .preview-wrap { position: static; order: -1; }   /* preview on top on mobile */
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nav-right a:not(.nav-back) { display: none; }
  .price-card { flex: 1 1 40%; min-width: 0; }
}
