/* Influencer United prelaunch: tokens
   Cobalt field = the stage. Tally yellow = "you're on". Ink for text. One family: Archivo (width axis does the shouting). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo.woff2) format("woff2-variations"), url(/assets/fonts/archivo.woff2) format("woff2");
}

:root {
  --cobalt: #1f2bff;
  --cobalt-deep: #141cb8;
  --ink: #14152b;
  --mist: #eef0fa;
  --paper: #ffffff;
  --tally: #ffd23f;
  --muted: #565a7a;
  --line: #d6d9ec;
  --ok: #0f7a4a;
  --err: #b4232f;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--tally); outline-offset: 3px; border-radius: 4px; }
.on-paper :focus-visible, .paper :focus-visible { outline-color: var(--cobalt); }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tally); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-head { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 750; font-stretch: 112%; letter-spacing: -0.01em; font-size: 18px; }
.brand svg { width: 34px; height: 34px; }
.brand:hover { color: inherit; }
.head-cta { color: var(--paper); font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--tally); padding-bottom: 2px; }
.head-cta:hover { color: var(--tally); }

/* ---------- hero ---------- */
.hero { background: var(--cobalt); color: var(--paper); padding: 120px 0 88px; overflow: hidden; }
.hero .site-head { color: var(--paper); }
.verbs { margin: 0; padding: 0; list-style: none; font-weight: 500; font-size: clamp(22px, 3vw, 30px); line-height: 1.22; font-stretch: 100%; color: #c9cdff; }
.verbs li { opacity: 1; }
.hero h1 {
  margin: 18px 0 0;
  font-weight: 860;
  font-size: clamp(46px, 9.4vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-stretch: 125%;
  color: var(--tally);
  text-wrap: balance;
  max-width: 11ch;
}
.hero .lede { max-width: 34em; margin: 30px 0 0; font-size: clamp(18px, 1.6vw, 21px); color: #eef0ff; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero .fine { color: #c9cdff; font-size: 15px; }

/* page-load moment: verbs tick in, then the question stretches open */
@media (prefers-reduced-motion: no-preference) {
  .js .verbs li { opacity: 0; animation: tick 0.28s ease-out forwards; }
  .js .verbs li:nth-child(1) { animation-delay: 0.05s; }
  .js .verbs li:nth-child(2) { animation-delay: 0.22s; }
  .js .verbs li:nth-child(3) { animation-delay: 0.39s; }
  .js .verbs li:nth-child(4) { animation-delay: 0.56s; }
  .js .verbs li:nth-child(5) { animation-delay: 0.73s; }
  .js .hero h1 { animation: stretch 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.95s both; }
  @keyframes tick { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes stretch { from { font-stretch: 62%; opacity: 0; } 30% { opacity: 1; } to { font-stretch: 125%; opacity: 1; } }
}

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 17px; font-stretch: 108%;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  background: var(--tally); color: var(--ink);
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.btn:hover { color: var(--ink); background: #ffdc66; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn.cobalt { background: var(--cobalt); color: var(--paper); }
.btn.cobalt:hover { background: var(--cobalt-deep); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn.small { padding: 9px 16px; font-size: 15px; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.mist { background: var(--mist); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; font-weight: 820; font-stretch: 118%; letter-spacing: -0.015em; margin: 0 0 18px; max-width: 18ch; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 750; font-stretch: 108%; margin: 0 0 8px; }
.intro { max-width: 36em; color: var(--muted); margin: 0 0 40px; }
p { margin: 0 0 14px; }

/* how it works: a real sequence, so it's numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--ink); counter-reset: step; }
.steps li { counter-increment: step; padding: 26px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font-weight: 860; font-stretch: 125%; font-size: 56px; line-height: 1; color: var(--cobalt); margin-bottom: 18px; }
.steps p { color: var(--muted); max-width: 26em; }

/* tiers: a comparison, laid out as rows */
.tiers { border-top: 3px solid var(--ink); }
.tier { display: grid; grid-template-columns: 220px 150px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tier .t-name { font-weight: 820; font-stretch: 118%; font-size: 26px; line-height: 1.1; }
.tier .t-name small { display: block; font-weight: 500; font-stretch: 100%; font-size: 15px; color: var(--muted); margin-top: 4px; }
.tier .t-price { font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.tier .t-price small { font-weight: 450; font-size: 15px; color: var(--muted); }
.tier p { margin: 0; max-width: 40em; }
.tier.founding { background: linear-gradient(var(--tally), var(--tally)) left 0 bottom -1px / 100% 1px no-repeat; }
.note { font-size: 15px; color: var(--muted); max-width: 46em; margin-top: 22px; }

/* reserve */
.reserve-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 650; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], select, textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px rgba(31, 43, 255, 0.18); }
textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cobalt); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.invited { display: flex; align-items: center; gap: 10px; background: var(--mist); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; }
.invited .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.35); flex: none; }
.form-msg { font-size: 15px; min-height: 1em; margin: 0; }
.form-msg.err { color: var(--err); }
.form-msg.ok { color: var(--ok); }

/* the Founding Pass: the one memorable object */
.pass {
  position: relative; color: var(--paper); background: var(--cobalt);
  border-radius: 18px; padding: 26px 26px 24px; overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(20, 28, 184, 0.55);
  max-width: 420px;
}
.pass::before { /* lanyard slot */
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 10px; border-radius: 10px; background: var(--paper); opacity: 0.95;
}
.pass .p-top { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 14px; color: #c9cdff; }
.pass .p-num { font-weight: 860; font-stretch: 125%; font-size: clamp(64px, 9vw, 96px); line-height: 0.9; color: var(--tally); margin: 22px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pass .p-name { font-weight: 760; font-stretch: 112%; font-size: 26px; line-height: 1.1; overflow-wrap: anywhere; }
.pass .p-cat { color: #c9cdff; font-size: 16px; margin-top: 4px; }
.pass .p-foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.35); margin-top: 22px; padding-top: 14px; font-size: 14px; color: #dfe2ff; }
.pass .tally { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--paper); }
.pass .tally::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 10px 2px rgba(255, 210, 63, 0.7); }
.pass.sample { transform: rotate(2.5deg); }
.pass-caption { font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 420px; }

/* FAQ */
.faq { border-top: 3px solid var(--ink); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; font-weight: 400; color: var(--cobalt); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 40em; padding-bottom: 8px; }

/* footer */
.site-foot { background: var(--ink); color: #c4c6da; padding: 48px 0; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-foot a { color: var(--paper); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- inner pages ---------- */
.bar { background: var(--cobalt); color: var(--paper); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.bar a { color: var(--paper); }
.page { padding: 56px 0 88px; }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 840; font-stretch: 120%; line-height: 1.02; margin: 0 0 12px; letter-spacing: -0.015em; }
.prose h2 { font-size: 24px; font-stretch: 108%; margin: 36px 0 10px; max-width: none; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.draft { background: #fff6d6; border-left: 4px solid var(--tally); padding: 12px 16px; border-radius: 6px; font-size: 15px; margin: 18px 0 28px; }

/* pass page */
.dash { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start; }
.share-box { display: flex; gap: 10px; flex-wrap: wrap; }
.share-box input { flex: 1 1 260px; font-size: 16px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--ink); margin: 34px 0 10px; }
.stat { padding: 18px 18px 6px 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 44px; font-weight: 840; font-stretch: 120%; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.list li span:last-child { color: var(--muted); white-space: nowrap; }
.list li.me { font-weight: 750; }
.empty { color: var(--muted); padding: 16px 0; }
.small-print { font-size: 14px; color: var(--muted); }

/* admin */
.admin-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 3px solid var(--ink); margin-bottom: 28px; }
.admin-grid .stat:nth-child(n) { border-left: 1px solid var(--line); padding-left: 14px; }
.admin-grid .stat:first-child { border-left: 0; padding-left: 0; }
.admin-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 36px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid var(--ink); }
tbody tr:hover { background: var(--mist); }
td.num { font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar input { max-width: 340px; }
dialog { border: 0; border-radius: 14px; padding: 0; width: min(760px, 94vw); box-shadow: 0 30px 80px -20px rgba(20, 21, 43, 0.5); }
dialog::backdrop { background: rgba(20, 21, 43, 0.45); }
.dlg { padding: 26px 28px; }
.dlg h3 { font-size: 24px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: 15px; margin: 14px 0 20px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.flag { display: inline-block; background: #ffe7e9; color: var(--err); font-size: 12.5px; padding: 2px 8px; border-radius: 999px; }
.bars div { display: grid; grid-template-columns: 1fr 44px; gap: 10px; align-items: center; font-size: 14.5px; padding: 4px 0; }
.bars i { display: block; height: 8px; background: var(--cobalt); border-radius: 8px; margin-top: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .reserve-grid, .dash { grid-template-columns: 1fr; gap: 48px; }
  .tier { grid-template-columns: 1fr auto; }
  .tier p { grid-column: 1 / -1; }
  .admin-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 104px 0 64px; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .row2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat b { font-size: 34px; }
  .head-cta { display: none; }
  .pass.sample { transform: none; }
}
.stats4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) {
  .stats4 { grid-template-columns: 1fr 1fr; }
  .stats4 .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats4 .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
