/* Volentu landing — port of design variant 1b ("Split · product-forward"). */

:root {
  --bg: #13100E;
  --bg2: #1A1613;
  --card: #211C18;
  --card2: #2A241F;
  --hair: rgba(245, 238, 230, 0.08);
  --hair2: rgba(245, 238, 230, 0.14);
  --text: #F5EEE6;
  --text2: rgba(245, 238, 230, 0.62);
  --text3: rgba(245, 238, 230, 0.34);
  --ember: #FF6A3D;
  --emberDim: rgba(255, 106, 61, 0.14);
  --signal: #5EC8C2;
  --warn: #E6B45A;
  --serif: 'Spectral', Georgia, serif;
  --sans: 'Onest', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--text); text-wrap: balance; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.ember { color: var(--ember); }
.dim { color: var(--text3); }
.lit { color: var(--text); }

/* ── brand mark ─────────────────────────────────── */
.brand { display: flex; align-items: center; gap: 11px; }
.mark {
  border-radius: 9px;
  background: linear-gradient(150deg, var(--card2), var(--bg2));
  box-shadow: inset 0 0 0 1px var(--hair2), 0 6px 18px rgba(0, 0, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mark-dot {
  border-radius: 4px;
  background: radial-gradient(circle at 38% 32%, #FFB58F, var(--ember) 62%, #D9461C);
  box-shadow: 0 0 12px rgba(255, 106, 61, .8);
}
.mark-lg { width: 30px; height: 30px; }
.mark-lg .mark-dot { width: 12px; height: 12px; }
.mark-sm { width: 20px; height: 20px; border-radius: 6px; }
.mark-sm .mark-dot { width: 8px; height: 8px; border-radius: 3px; box-shadow: 0 0 8px rgba(255, 106, 61, .8); }
.mark-xs { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--hair2); }
.mark-xs .mark-dot { width: 9px; height: 9px; border-radius: 3px; box-shadow: 0 0 8px rgba(255, 106, 61, .8); }

/* ── nav ────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
}
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-beta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text3);
  text-transform: uppercase;
}
.btn-ghost {
  text-decoration: none;
  height: 38px;
  padding: 0 17px;
  border-radius: 19px;
  display: inline-flex;
  align-items: center;
  background: var(--emberDim);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 61, .35);
  color: var(--ember);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
}

/* ── hero ───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 40px 44px 56px;
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -100px;
  left: -80px;
  width: 560px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(255, 106, 61, 0.15), transparent 72%);
  pointer-events: none;
}
.hero-copy { position: relative; flex: 1; min-width: 330px; max-width: 540px; }
.hero h1 { font-size: 56px; line-height: 1.04; letter-spacing: -1.2px; margin: 18px 0 0; }
.lede {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--text2);
  margin: 20px 0 0;
  max-width: 480px;
  text-wrap: pretty;
}

/* ── beta form ──────────────────────────────────── */
.form-card {
  margin-top: 26px;
  background: var(--bg2);
  border-radius: 22px;
  padding: 24px;
  box-shadow: inset 0 0 0 1px var(--hair);
  scroll-margin-top: 20px;
  max-width: 480px;
}
.form-fields { display: flex; flex-direction: column; gap: 10px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input {
  flex: 1;
  min-width: 130px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--hair2);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 0 15px;
  outline: none;
}
.form-row input::placeholder { color: var(--text3); }
.form-row input:focus { box-shadow: inset 0 0 0 1.5px rgba(255, 106, 61, .55); }
.form-hint { font-size: 12px; color: var(--text3); margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 34px;
  padding: 0 13px;
  border-radius: 17px;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--hair2);
  color: var(--text2);
  transition: all .12s;
}
.chip.on {
  background: rgba(255, 106, 61, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 61, 0.55);
  color: var(--ember);
}
.btn-submit {
  margin-top: 5px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: var(--ember);
  color: #1d0a03;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 106, 61, .26);
}
.btn-submit:disabled { opacity: .6; cursor: default; }
.form-err { min-height: 15px; font-size: 12px; color: var(--warn); text-align: center; }
.form-note { font-size: 12px; line-height: 1.5; color: var(--text3); margin: 6px 0 0; text-wrap: pretty; }
/* Honeypot: visually gone but still in the form for bots to fill. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done { text-align: center; padding: 10px 4px; }
.done-cube {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin: 0 auto;
  background: radial-gradient(circle at 38% 32%, #FFB58F, var(--ember) 62%, #D9461C);
  box-shadow: 0 0 30px rgba(255, 106, 61, .7);
}
.done-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text); margin-top: 14px; }
.done-text { font-size: 13.5px; line-height: 1.5; color: var(--text2); margin: 8px auto 0; max-width: 340px; text-wrap: pretty; }
.done-chip[hidden] { display: none; }
.done-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 7px 12px;
  background: var(--emberDim);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ember);
}
.done-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  background: radial-gradient(circle at 38% 32%, #FFB58F, var(--ember) 62%, #D9461C);
  box-shadow: 0 0 8px rgba(255, 106, 61, .8);
}

/* ── phone mockup ───────────────────────────────── */
.hero-phone {
  position: relative;
  flex: 0 0 360px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.phone {
  width: 360px;
  height: 740px;
  border-radius: 48px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 9px #050403, 0 0 0 10px #2A2520, 0 0 0 11px #0a0908;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 29px;
  border-radius: 18px;
  background: #000;
  z-index: 100;
}
.phone-homeind {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 5px;
  border-radius: 3px;
  background: rgba(245, 238, 230, .5);
  z-index: 120;
}
.phone-screen {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 26px 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.statusbar-time { padding-left: 4px; }
.statusbar-icons { display: flex; gap: 6px; align-items: center; color: var(--text); }
.statusbar-icons svg { fill: currentColor; }
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
}
.phone-header .brand { gap: 9px; }
.phone-wordmark { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--text); }
.phone-date { font-family: var(--mono); font-size: 12px; color: var(--text3); }
.phone-greeting { padding: 2px 20px 12px; }
.greeting-title { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--text); letter-spacing: -0.5px; }
.greeting-sub { font-size: 13px; color: var(--text2); margin-top: 3px; }
.phone-body { flex: 1; overflow: hidden; padding-bottom: 78px; }

.signal-card {
  margin: 0 18px 12px;
  background: var(--card);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: inset 0 0 0 1px var(--hair);
  display: flex;
  align-items: center;
  gap: 13px;
}
.signal-ring { position: relative; width: 42px; height: 42px; flex-shrink: 0; }
.signal-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.signal-text { flex: 1; min-width: 0; }
.signal-title { font-size: 13px; font-weight: 600; color: var(--text); }
.signal-sub { font-family: var(--mono); font-size: 10.5px; color: var(--text2); margin-top: 3px; }

.grid-card {
  margin: 0 18px 12px;
  background: var(--card);
  border-radius: 18px;
  padding: 16px 15px;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.grid-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 2px 12px;
}
.grid-card-kicker {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
}
.grid-card-value { display: flex; align-items: baseline; gap: 7px; margin-top: 5px; }
.grid-card-num { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--text); letter-spacing: -0.5px; line-height: 1; }
.grid-card-unit { font-size: 13px; color: var(--text2); }
.crossings-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: var(--emberDim);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ember);
}
.grid-card-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 10px;
  color: var(--text3);
}
.ramp { display: flex; gap: 5px; }
.grid-card-legend .ramp { gap: 4px; }

.commit-list {
  margin: 0 18px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--hair);
  overflow: hidden;
}
.commit-row { padding: 14px 16px; position: relative; display: flex; align-items: center; gap: 12px; }
.commit-row:not(.commit-row-last)::after {
  content: "";
  position: absolute;
  left: 64px;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: var(--hair);
}
.commit-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--emberDim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.commit-icon-shield {
  background: rgba(245, 238, 230, 0.06);
  box-shadow: inset 0 0 0 1.5px var(--hair2);
}
.commit-body { flex: 1; min-width: 0; }
.commit-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.commit-title { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.2px; }
.commit-count { font-family: var(--mono); font-size: 12px; color: var(--text2); }
.commit-total { color: var(--text3); }
.commit-days { font-family: var(--mono); font-size: 12px; color: var(--text); font-weight: 600; }
.commit-sub { font-size: 11.5px; color: var(--text3); margin-top: 1px; }
.commit-bar { margin-top: 8px; height: 5px; border-radius: 3px; background: rgba(245, 238, 230, 0.06); overflow: hidden; }
.commit-fill { height: 100%; background: var(--ember); border-radius: 3px; box-shadow: 0 0 8px rgba(255, 106, 61, 0.5); }

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  padding: 9px 0 16px;
  background: rgba(19, 16, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: .5px solid var(--hair);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  z-index: 10;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; }
.tab-dot { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.6px var(--text3); }
.tab span { font-size: 10px; font-weight: 600; color: var(--text3); }
.tab-on .tab-dot { background: var(--ember); box-shadow: 0 0 10px rgba(255, 106, 61, 0.6); }
.tab-on span { color: var(--ember); }

/* ── cubes (shared) ─────────────────────────────── */
.cube-grid { display: flex; flex-direction: column; }
.cube-row { display: flex; }
.cube { flex-shrink: 0; position: relative; }
.cube-bt { position: absolute; inset: 0; opacity: 0.9; }

/* ── essence band ───────────────────────────────── */
.essence {
  padding: 66px 44px;
  background: var(--bg2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.essence-head { text-align: center; max-width: 820px; margin: 0 auto; }
.essence-head .eyebrow { font-size: 11px; }
.essence h2 { font-size: 40px; line-height: 1.12; letter-spacing: -0.8px; margin: 16px 0 0; }
.essence-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 42px auto 0;
  max-width: 900px;
}
.essence-col { border-top: 2px solid var(--ember); padding-top: 16px; }
.essence-title { font-size: 16px; font-weight: 700; color: var(--text); }
.essence-text { font-size: 13.5px; line-height: 1.55; color: var(--text2); margin-top: 9px; text-wrap: pretty; }

/* ── how it works ───────────────────────────────── */
.how { padding: 66px 44px 70px; text-align: center; }
.how .eyebrow { font-size: 11px; letter-spacing: 2px; }
.how h2 { font-size: 33px; line-height: 1.16; letter-spacing: -0.6px; margin: 14px auto 0; max-width: 640px; }
.how-grid-wrap { display: flex; justify-content: center; margin-top: 34px; }
.how-grid-card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  box-shadow: inset 0 0 0 1px var(--hair);
  overflow: hidden;
  max-width: 100%;
}
.how-legends {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
.how-legend { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text3); }
.how-legend-bt { color: var(--text2); }
.how-note {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 560px;
  margin: 30px auto 0;
  text-wrap: pretty;
}

/* ── footer ─────────────────────────────────────── */
.footer {
  padding: 26px 40px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #0E0B09;
}
.footer .brand { gap: 10px; }
.footer-wordmark { font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--text); }
.footer-tag { font-size: 13px; color: var(--text3); }
.footer-meta { font-family: var(--mono); font-size: 11px; color: var(--text3); letter-spacing: 1px; }

/* ── responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 24px 24px 48px; }
  .essence, .how { padding-left: 24px; padding-right: 24px; }
  .essence-cols { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 760px) {
  .nav { padding: 18px 20px; }
  .hero h1 { font-size: 40px; }
  .essence h2 { font-size: 30px; }
  .how h2 { font-size: 26px; }
  .hero-phone { flex-basis: 100%; height: 630px; }
  .phone { transform: scale(0.85); transform-origin: top center; }
}

@media (max-width: 420px) {
  .nav-beta { display: none; }
  .hero-phone { height: 580px; }
  .phone { transform: scale(0.78); }
}
