/* =========================================================================
   Vibz · Coming-soon landing — production styles
   Vanilla CSS, no build step. Tokens are inlined; only what this page uses.
   ========================================================================= */

/* ---------- Fonts (local Inter + Cormorant from Google Fonts) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont_opsz_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Italic-VariableFont_opsz_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,400;1,500;1,600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:        #000000;
  --fg:        #FFFFFF;
  --fg-muted:  rgba(255, 255, 255, 0.55);
  --fg-subtle: rgba(255, 255, 255, 0.40);
  --divider:   rgba(255, 255, 255, 0.08);
  --border:    rgba(255, 255, 255, 0.22);
  --red:       #FF314B;
  --red-deep:  #D40C25;

  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100dvh;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; }
:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 49, 75, 0.40);
  border-radius: 4px;
}

/* ---------- Layout shell ---------- */
.shell {
  min-height: 100dvh;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Each column */
.col {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.col--left  { border-right: 1px solid var(--divider); }
.col--right { }

/* ---------- Brand mark ---------- */
.brand {
  display: flex;
  align-items: center;
}
.brand__logo {
  height: 84px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ---------- Eyebrow / live tag ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--red);
  animation: vibzBlink 1.6s ease-in-out infinite;
}

/* ---------- Left column: transmission feed ---------- */
.feed {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.9;
  letter-spacing: 0.02em;
  margin-top: 48px;
}
.feed__line { white-space: nowrap; overflow: hidden; }
.feed__line .pct { color: var(--red); }
.feed__line .loading { color: rgba(255, 255, 255, 0.85); }
.feed__cmd { color: rgba(255, 255, 255, 0.85); margin-top: 24px; }
.feed__await { display: flex; align-items: center; }
.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: vibzCaret 1s steps(2, end) infinite;
}

/* ---------- Right column: hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero__top {
  display: flex;
  justify-content: flex-end;
}
.hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Counter */
.counter-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.counter {
  font-family: var(--font-sans);
  font-size: 140px;
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.counter__pct {
  font-size: 48px;
  color: var(--fg-subtle);
  font-weight: 300;
}

/* Progress bar */
.progress {
  margin: 8px 0 36px;
  width: 420px;
  max-width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress__fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--red) 0%, #fff 100%);
  box-shadow: 0 0 8px rgba(255, 49, 75, 0.6);
  transition: width 1.8s var(--ease);
}

/* Headline */
.headline {
  margin: 0;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 22ch;
  text-wrap: balance;
}
.headline__kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}

/* Form */
.form-block { margin-top: 40px; max-width: 420px; }
.form-block__label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  transition: border-color 240ms var(--ease);
}
.form:focus-within { border-bottom-color: #fff; }
.form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-sans);
  font-size: 16px;
  color: #fff;
  padding: 8px 0;
  min-width: 0;
}
.form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.45); }
.form button {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 16px;
  flex: 0 0 auto;
  transition: background 240ms var(--ease), transform 140ms var(--ease);
}
.form button:hover  { background: var(--red-deep); }
.form button:active { transform: scale(0.94); }
.form__error {
  margin-top: 10px;
  font-size: 13px;
  color: var(--red);
  min-height: 1em;
  opacity: 0;
  transition: opacity 240ms var(--ease);
}
.form__error.is-visible { opacity: 1; }

/* Hero footer row */
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.build-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

/* ---------- Footer (bottom of left column) ---------- */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-top: 24px;
}
.foot a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid var(--fg-subtle);
  padding-bottom: 2px;
  transition: opacity 240ms var(--ease);
}
.foot a:hover { opacity: 0.7; }

/* ---------- Animations ---------- */
@keyframes vibzBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
@keyframes vibzCaret {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

/* Reveal on load */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 60ms; }
.reveal--d2 { transition-delay: 180ms; }
.reveal--d3 { transition-delay: 300ms; }
.reveal--d4 { transition-delay: 420ms; }
.reveal--d5 { transition-delay: 540ms; }
.reveal--d6 { transition-delay: 660ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .progress__fill { transition: none; }
  .eyebrow .dot, .cursor { animation: none; }
}

/* =========================================================================
   Responsive — under 900px the 2-column shell becomes a single column,
   stacked: brand + feed snippet on top, hero below.
   ========================================================================= */
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .col { padding: 32px 24px; }
  .col--left  {
    border-right: 0;
    border-bottom: 1px solid var(--divider);
    min-height: auto;
  }
  .feed {
    margin-top: 32px;
    font-size: 11px;
  }
  .counter { font-size: 96px; }
  .counter__pct { font-size: 36px; }
  .progress { width: 100%; }
  .headline { font-size: 26px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .form-block { max-width: 100%; }
}

@media (max-width: 480px) {
  .col { padding: 24px 20px; }
  .counter { font-size: 76px; }
  .counter__pct { font-size: 28px; }
  .headline { font-size: 22px; }
}

/* =========================================================================
   Thanks page — minimal, reuses tokens
   ========================================================================= */
.thanks {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 48px 56px;
}
.thanks__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 720px;
}
.thanks__sigle {
  width: 84px; height: 84px;
  color: var(--red);
  margin-bottom: 36px;
  animation: vibzPulse 2.2s var(--ease) infinite;
}
@keyframes vibzPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50%      { transform: scale(1.05); opacity: 1; }
}
.thanks__title {
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.thanks__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.thanks__body {
  margin: 0 0 36px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 52ch;
  text-wrap: pretty;
}
.thanks__back {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: opacity 240ms var(--ease);
}
.thanks__back:hover { opacity: 0.7; }
@media (max-width: 600px) {
  .thanks { padding: 32px 24px; }
  .thanks__title { font-size: 36px; }
  .thanks__body { font-size: 15px; }
}
