/* Volot website. Dark only, like the brand: near-black, one red accent, dot-font headings, system font for text. */
:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --card: #141416;
  --card-2: #1c1c20;
  --line: #26262b;
  --text: #f2f2f2;
  --muted: #9a9aa0;
  --dim: #5e5e64;
  --red: #e5303d;
  --red-deep: #a3101c;
  --red-glow: rgba(229, 48, 61, 0.35);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 28px;
  --wrap: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Dot font: inline SVGs built by site.js from the app's glyphs. The real text stays for screen readers. */
.dots { display: inline-block; line-height: 0; vertical-align: middle; }
.dots svg { height: 1em; width: auto; display: block; overflow: visible; }
.dots .on { fill: currentColor; }
.dots .off { fill: currentColor; opacity: 0.1; }
.dots.glow svg { filter: drop-shadow(0 0 0.06em var(--red-glow)) drop-shadow(0 0 0.18em var(--red-glow)); }
.dots.glow .off { opacity: 0.07; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.tile {
  width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--red);
  display: grid; place-items: center; font-size: 17px; flex: none;
}
.brand .word { font-size: 15px; color: var(--text); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }
.top nav a.btn { color: #fff; }
.top nav .hide-sm { display: inline; }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

/* Buttons and pills */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: linear-gradient(180deg, #d11a28, #b10f1b); color: #fff;
  font: 700 16px/1 var(--sans);
  box-shadow: 0 8px 24px var(--red-glow);
  transition: transform 0.12s, box-shadow 0.2s, opacity 0.2s;
}
.btn:hover { box-shadow: 0 10px 32px rgba(229, 48, 61, 0.5); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: none; }
.btn.ghost { background: var(--card-2); box-shadow: none; border: 1px solid var(--line); color: var(--text); }
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 96px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after {   /* fade the dot field into the page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero .wrap.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.hero-copy { display: grid; gap: 28px; justify-items: start; min-width: 0; }
@media (min-width: 980px) { .hero .wrap.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }

/* Phone frame around a real screenshot of the app */
.phone {
  justify-self: center; width: 300px; max-width: 100%;
  border-radius: 52px; padding: 10px; background: #1b1b1f;
  box-shadow: 0 0 0 1px #2c2c31, 0 40px 120px rgba(229, 48, 61, 0.18), 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: rotate(-3deg);
}
.phone img { width: 100%; height: auto; border-radius: 42px; }
@media (max-width: 979px) { .phone { width: 250px; transform: none; border-radius: 44px; padding: 8px; } .phone img { border-radius: 36px; } }
.hero-title { font-size: clamp(54px, 13vw, 132px); color: var(--red); margin: 8px 0 0; }
.hero h1 { margin: 0; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; max-width: 15ch; }
.hero p.lead { margin: 0; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 36rem; }

/* Waitlist card */
.join {
  width: 100%; max-width: 560px;
  background: rgba(20, 20, 22, 0.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.join form { display: flex; gap: 10px; flex-wrap: wrap; }
.join input[type="email"], .join textarea {
  flex: 1 1 240px; min-width: 0;
  min-height: 52px; padding: 0 20px; border-radius: 999px;
  background: #0d0d0f; border: 1px solid var(--line); color: var(--text);
  font: 16px/1.4 var(--sans);
}
.join textarea { border-radius: 18px; padding: 14px 16px; min-height: 96px; resize: vertical; width: 100%; flex-basis: 100%; }
.join input::placeholder, .join textarea::placeholder { color: var(--dim); }
.join input:focus, .join textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 48, 61, 0.18); }
.join .fine { margin: 12px 4px 0; font-size: 13px; color: var(--dim); }
.join .fine a { color: var(--muted); }
.join .msg { margin: 12px 4px 0; font-size: 14px; color: var(--red); min-height: 0; }
.join .msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step[hidden] { display: none !important; }
.step h2:focus { outline: none; }
.step h2 { margin: 6px 0 4px; font-size: 22px; letter-spacing: -0.01em; }
.step p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.q { margin: 16px 0 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
  padding: 9px 14px; border-radius: 999px; font-size: 14px;
  background: var(--card-2); border: 1px solid var(--line); color: var(--text);
  transition: background 0.15s, border-color 0.15s;
}
.chip span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); transition: background 0.15s, box-shadow 0.15s; }
.chip input:checked + span { border-color: rgba(229, 48, 61, 0.6); background: rgba(229, 48, 61, 0.12); }
.chip input:checked + span::before { background: var(--red); box-shadow: 0 0 8px var(--red); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; color: var(--muted); font: 15px var(--sans); cursor: pointer; padding: 8px; text-decoration: underline; }
.done { text-align: left; }
.done .big { font-size: 34px; color: var(--red); margin: 6px 0 10px; }

/* Sections */
section { padding: 88px 0; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.section-head .dots { font-size: 22px; color: var(--red); }
.section-head .rule { flex: 1; height: 4px; background-image: radial-gradient(circle, var(--line) 1.5px, transparent 2px); background-size: 8px 4px; }
h2.title { margin: 0 0 16px; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; max-width: 20ch; }
p.sub { margin: 0 0 40px; color: var(--muted); font-size: 18px; max-width: 40rem; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card .num { font-size: 13px; color: var(--red); margin-bottom: 18px; }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .pattern { position: absolute; right: -6px; top: -6px; width: 120px; height: 120px; opacity: 0.5; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1.5px, transparent 2px); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(circle at top right, #000, transparent 70%); mask-image: radial-gradient(circle at top right, #000, transparent 70%); }
.card.feature { grid-column: 1 / -1; display: grid; gap: 24px; grid-template-columns: 1.1fr 1fr; align-items: center;
  background: linear-gradient(160deg, #1a0a0c, var(--card) 60%); border-color: #3a1a1e; }
@media (max-width: 760px) { .card.feature { grid-template-columns: 1fr; } }
.phases { display: grid; gap: 8px; }
.phase { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.phase .bar { height: 10px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.phase .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--red-deep), var(--red)); }
.phase b { font: 600 13px var(--mono); color: var(--muted); }
.phase span { color: var(--muted); font-family: var(--mono); font-size: 12px; }

/* Replaces strip */
.replace { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.replace li { list-style: none; padding: 10px 16px; border-radius: 999px; border: 1px dashed #34343a; color: var(--muted); font-size: 15px; }
.replace li s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.replace { padding: 0; }
.equals { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text); }
.equals .tile { width: 30px; height: 30px; font-size: 15px; border-radius: 9px; }

/* Privacy strip */
.privacy-strip { background: linear-gradient(180deg, transparent, #0f0f11); }
.ticks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; margin: 0; }
.ticks li { list-style: none; display: flex; gap: 12px; color: var(--muted); font-size: 16px; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.ticks b { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font: 600 20px/1 var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Final call */
.cta { text-align: center; }
.cta .wrap { display: grid; justify-items: center; gap: 18px; }
.cta .dots { font-size: clamp(28px, 6vw, 56px); color: var(--red); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
footer .dots { font-size: 14px; color: #4a4a50; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.doc { max-width: 760px; padding: 56px var(--gutter) 88px; margin: 0 auto; }
.doc .dots { font-size: 26px; color: var(--red); }
.doc h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin: 18px 0 6px; }
.doc .updated { color: var(--dim); font: 13px var(--mono); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: #c9c9ce; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--text); text-decoration-color: var(--red); }
.doc .short { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 6px 22px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin: 12px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #c9c9ce; }
.doc th { color: var(--text); background: var(--card); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }

/* Entrance */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
