/* Versol — waitlist landing page
   Dark, mono-adjacent, terminal-inspired. One accent (phosphor amber). */

:root {
  --bg: #0b0b0c;
  --bg-2: #101011;
  --surface: #121214;
  --surface-2: #16161a;
  --line: rgba(232, 230, 225, 0.10);
  --line-2: rgba(232, 230, 225, 0.18);
  --ink: #e9e7e2;
  --ink-2: #b6b3ac;
  --ink-3: #8b8881;
  --acc: #d9a13c;
  --acc-dim: rgba(217, 161, 60, 0.14);
  --acc-line: rgba(217, 161, 60, 0.38);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, sans-serif;
  --wrap: 1080px;
  --pad: 20px;
  --r: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint terminal ruling behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 88px 100%;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 65%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 65%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .topbar, .foot { position: relative; z-index: 2; }

a { color: var(--ink); text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  background: var(--acc);
  color: #0b0b0c;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 13px;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── top bar ─────────────────────────────────────────── */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 54px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.mark__glyph { color: var(--acc); }
.topnav {
  display: none;
  gap: 26px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}
.topnav a { color: var(--ink-3); transition: color 0.18s ease; }
.topnav a:hover { color: var(--ink); }

@media (min-width: 720px) {
  .topnav { display: flex; }
}

/* ── shared type ─────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 5px 13px 5px 11px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 3px var(--acc-dim);
}

.sec__h {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sec__num {
  color: var(--acc);
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.sec__note {
  margin: 0 0 40px;
  max-width: 56ch;
  color: var(--ink-2);
}

.band {
  padding: clamp(64px, 11vw, 118px) 0;
  border-top: 1px solid var(--line);
}
.band--alt { background: var(--bg-2); }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn--primary {
  background: var(--acc);
  color: #0b0b0c;
  font-weight: 600;
}
.btn--primary:hover { background: #e6ad46; transform: translateY(-1px); }
.btn--outline {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover { border-color: var(--acc-line); color: var(--acc); }
.btn--ghost { color: var(--ink-2); padding-left: 6px; padding-right: 6px; }
.btn--ghost:hover { color: var(--ink); }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ── hero ────────────────────────────────────────────── */
.hero { padding: clamp(52px, 9vw, 104px) 0 clamp(56px, 9vw, 100px); }
.hero__grid { display: grid; gap: clamp(44px, 6vw, 64px); }

.hero__h1 {
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: clamp(1.95rem, 6.4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lede {
  margin: 0 0 22px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.075rem);
  color: var(--ink-2);
}
.lede em { color: var(--ink); font-style: italic; }

.claim {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 34px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--acc);
}
.claim span {
  position: relative;
  padding-left: 16px;
}
.claim span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--acc);
}

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* terminal panel */
.term {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
/* accent hairline along the top edge */
.term::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--acc-line), transparent 62%);
  pointer-events: none;
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.term__dots { display: inline-flex; gap: 6px; }
.term__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
}
.term__title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.term__stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.term__stat .dot { width: 5px; height: 5px; box-shadow: 0 0 0 2px var(--acc-dim); }

.term__body {
  margin: 0;
  padding: 20px 18px 22px;
  display: grid;
  gap: 12px;
  font-family: var(--mono);
  font-size: clamp(11.5px, 2.9vw, 12.5px);
  line-height: 1.7;
  color: var(--ink-2);
}
.term__line {
  display: flex;
  gap: 9px;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.term__line + .term__out { margin-top: -4px; }
.term__out {
  margin: 0 0 0 18px;
  max-width: 50ch;
  color: var(--ink-2);
  text-wrap: pretty;
}
.term__out b { color: var(--ink); font-weight: 500; }
.term__out + .term__line { margin-top: 6px; }

.term__body .c-p { color: var(--acc); }
.term__body .c-a { color: var(--acc); }
.term__body .c-b { color: var(--ink); }
.term__body .c-d { color: var(--ink-3); }

.caret {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 5px;
  background: var(--acc);
  vertical-align: -0.19em;
}
@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1.1s steps(1, end) infinite; }
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.term__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: auto;
  padding: 12px 18px 13px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.term__foot b { color: var(--ink-2); font-weight: 500; }

@media (min-width: 940px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .term__body { font-size: 13px; padding: 22px 20px 24px; }
}

/* ── how it works ────────────────────────────────────── */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  counter-increment: step;
  background: var(--bg);
  padding: 26px 4px 28px;
  transition: background-color 0.2s ease;
}
.step:hover { background: var(--surface); }
.step h3 {
  display: flex;
  gap: 12px;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step h3::before {
  content: counter(step, decimal-leading-zero);
  color: var(--acc);
  font-weight: 400;
  font-size: 0.85em;
  padding-top: 0.12em;
}
.step p {
  margin: 0;
  max-width: 62ch;
  padding-left: 32px;
  color: var(--ink-2);
}

@media (min-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 30px 34px 32px; }
  .step:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ── who it's for ────────────────────────────────────── */
.who { display: grid; gap: 20px; }
.card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 26px 22px 28px;
  position: relative;
}
.card--lead { border-color: var(--line-2); }
.card--lead::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 46px;
  height: 2px;
  background: var(--acc);
}
.card p.card__kicker {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card__h {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.card p { color: var(--ink-2); margin: 0 0 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li {
  position: relative;
  padding-left: 22px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.ticks li::before {
  content: "+";
  position: absolute;
  left: 2px;
  top: -1px;
  color: var(--acc);
}

@media (min-width: 860px) {
  .who { grid-template-columns: 1.1fr 1fr; column-gap: 24px; row-gap: 0; align-items: stretch; }
  .card { padding: 32px 30px 34px; }
}

/* Both cards share one row track set, so kicker, heading, body copy and the
   tick lists line up across the pair regardless of copy length. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 860px) {
    .who { grid-template-rows: auto auto 1fr auto; }
    .card {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
    }
  }
}

/* ── tiers ───────────────────────────────────────────── */
.tiers { display: grid; gap: 18px; }
.tier {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-2);
  padding: 26px 22px 24px;
}
.tier--mid {
  border-color: var(--acc-line);
  background: linear-gradient(180deg, rgba(217, 161, 60, 0.055), transparent 62%), var(--surface);
  box-shadow: 0 18px 44px -28px rgba(217, 161, 60, 0.5);
}
.tier__h {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tier__price {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tier__sum { margin: 0 0 18px; color: var(--ink-2); font-size: 0.94rem; }
.tier__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.tier__list li { position: relative; padding-left: 20px; }
.tier__list li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--acc);
}
.tier__cta { margin-top: auto; }

@media (min-width: 880px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 0;
    align-items: stretch;
  }
  .tier { padding: 30px 26px 28px; }
}

/* Each tier maps onto the same five row tracks, so titles, prices, the divider
   above the feature list and the CTAs all sit on one baseline across columns. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 880px) {
    .tiers { grid-template-rows: auto auto auto 1fr auto; }
    .tier {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
    }
  }
}

/* ── form ────────────────────────────────────────────── */
.form__grid { display: grid; gap: 36px; }
.form__intro .sec__note { margin-bottom: 0; }

.form {
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--surface);
  padding: 24px 20px 22px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.req, .opt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 6px;
}
.req { color: var(--acc); }

input[type="email"],
input[type="text"],
select {
  width: 100%;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  background: #0d0d0e;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 12px 13px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
  appearance: none;
}
input::placeholder { color: #6a6862; }
input:hover, select:hover { border-color: rgba(232, 230, 225, 0.28); }
input:focus, select:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 3px var(--acc-dim); }
input:user-invalid { border-color: #c4623f; }

.select { position: relative; display: grid; }
.select svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}
select { padding-right: 36px; cursor: pointer; }
select option { background: #121214; color: var(--ink); }

.form__status {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
.form__status:empty { display: none; }
.form__status.is-ok {
  color: var(--acc);
  border-left: 2px solid var(--acc);
  padding-left: 12px;
}
.form__status.is-err {
  color: #e08a63;
  border-left: 2px solid #c4623f;
  padding-left: 12px;
}
.form__fine { margin: 0; font-size: 12.5px; color: var(--ink-3); }

.form.is-sent .field,
.form.is-sent .btn { display: none; }
.form.is-sent .form__fine { display: none; }

button[disabled] { opacity: 0.6; cursor: progress; }

@media (min-width: 860px) {
  .form__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .form { padding: 30px 28px 26px; }
}

/* ── footer ──────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  background: var(--bg);
}
.foot__inner { display: grid; gap: 18px; }
.foot__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.foot__brand svg { color: var(--acc); }
.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-family: var(--mono);
  font-size: 13px;
}
.foot__links a { color: var(--ink-3); transition: color 0.18s ease; }
.foot__links a:hover { color: var(--acc); }
.foot__note { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

@media (min-width: 720px) {
  .foot__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
  }
  .foot__links { justify-content: center; }
}

/* ── motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .term { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
  .hero__copy > :nth-child(1) { animation-delay: 0.02s; }
  .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.14s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.2s; }
  .hero__copy > :nth-child(5) { animation-delay: 0.26s; }
  .term { animation-delay: 0.22s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
