/* Revvolt public site. Same visual language as the app: near-black, lime accent, electric cyan, Michroma labels. */
@font-face { font-family: "Michroma"; src: url("../fonts/michroma-Michroma-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../fonts/exo2-variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #07090b; --bg-2: #0c1015; --panel: #10151b; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --text: #eef1f5; --text-2: #aab3bf; --text-3: #7c8794;
  --lime: #c8f03c; --cyan: #22d3ee; --amber: #ffb648; --red: #ff4d5e;
  --label: "Michroma", "Segoe UI", system-ui, sans-serif; --font: "Exo 2", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --radius: 14px; --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  background: radial-gradient(1100px 600px at 70% -10%, rgba(34, 211, 238, .10), transparent 60%),
              radial-gradient(900px 500px at 10% 20%, rgba(200, 240, 60, .05), transparent 60%), var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1 { font: 400 clamp(30px, 5.2vw, 58px)/1.12 var(--label); letter-spacing: .02em; }
h2 { font: 400 clamp(24px, 3.4vw, 38px)/1.2 var(--label); letter-spacing: .02em; }
h3 { font-weight: 600; font-size: 19px; }
p { margin: .5em 0; }
.lead { color: var(--text-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 62ch; }
.kicker { font: 400 12px var(--label); letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); margin: 0 0 14px; }
.muted { color: var(--text-2); }
.fine { color: var(--text-3); font-size: 13.5px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #000; padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.brand { font: 400 20px var(--label); letter-spacing: .42em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand em { font-style: normal; color: var(--lime); text-shadow: 0 0 14px rgba(200, 240, 60, .45); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); text-decoration: none; cursor: pointer;
  font: 400 12.5px var(--label); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.btn:hover { border-color: var(--text-2); }
.btn-primary { background: linear-gradient(90deg, var(--cyan), var(--lime)); color: #031014; border: 0; font-weight: 600; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 11px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .45; cursor: not-allowed; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter);
  background: rgba(7, 9, 11, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.top-nav a:hover { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.lang { color: var(--text-2); font-size: 14px; text-decoration: none; }
@media (max-width: 860px) { .top-nav { display: none; } .top-actions { margin-left: auto; } }

/* Hero */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(24px, 4vw, 64px);
  align-items: center; padding: clamp(36px, 7vw, 96px) var(--gutter) clamp(40px, 6vw, 80px); max-width: 1320px; margin: 0 auto; overflow: hidden;
}
.demo-wave { width: 100%; height: 150px; border-radius: 12px; background: #050b17; display: block; }
.hero-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }

.demo {
  background: linear-gradient(180deg, rgba(16, 21, 27, .92), rgba(10, 14, 19, .92)); border: 1px solid var(--line-2); border-radius: 20px;
  padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); min-width: 0;
}
.demo-head { display: flex; justify-content: space-between; align-items: center; }
.demo-label { font: 400 11px var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); }
.demo-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.demo-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.demo.running .demo-live { color: var(--lime); }
.demo.running .demo-live i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.demo-engines { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.demo-engines::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  color: var(--text-2); font: 500 14px var(--font); cursor: pointer; white-space: nowrap;
}
.chip[aria-checked="true"] { border-color: var(--cyan); color: var(--text); background: rgba(34, 211, 238, .1); }
.demo-readout { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 10px; }
.demo-rpm { font: 400 clamp(40px, 6vw, 56px) var(--label); font-variant-numeric: tabular-nums; min-width: 4ch; }
.demo-unit { font: 400 12px var(--label); color: var(--text-3); letter-spacing: .2em; text-transform: uppercase; }
.demo-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.demo-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--lime) 70%, var(--amber)); }
.demo.limiter .demo-rpm { color: var(--red); }
.demo-rev { font: inherit; position: relative; overflow: hidden;
  min-height: 170px; border-radius: 16px; border: 1px solid rgba(200, 240, 60, .5); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none;
  background: radial-gradient(120% 140% at 50% 120%, rgba(200, 240, 60, .22), transparent 60%), rgba(0, 0, 0, .35); color: var(--text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px;
}
.demo-rev-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(200, 240, 60, .55), rgba(200, 240, 60, .15)); }
.demo-rev-title, .demo-rev-sub { position: relative; pointer-events: none; }
.demo-rev:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.demo-rev.held { background: radial-gradient(120% 160% at 50% 110%, rgba(200, 240, 60, .55), rgba(34, 211, 238, .12) 70%), rgba(0, 0, 0, .3); }
.demo-rev-title { font: 400 18px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.demo-rev-sub { font-size: 13px; color: var(--text-2); text-align: center; }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, .3); }
.seg button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: 500 13.5px var(--font); cursor: pointer; }
.seg button[aria-checked="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }
.demo-stop { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 77, 94, .6); background: transparent; color: var(--red); font: 500 13.5px var(--font); cursor: pointer; }
.demo-note { font-size: 13px; color: var(--text-3); margin: 0; }
.demo-error { color: var(--amber); font-size: 14px; margin: 0; }

/* Sections */
.band { padding: clamp(56px, 8vw, 110px) var(--gutter); border-top: 1px solid var(--line); }
.wrap { max-width: 1240px; margin: 0 auto; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 36px; }
.features article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.features h3 { color: var(--text); margin-bottom: 6px; }
.features p { color: var(--text-2); margin: 0; }

.engine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 36px 0 16px; }
.engine { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.engine img, .engine-ph { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.engine-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(60% 70% at 50% 60%, rgba(34, 211, 238, .16), transparent 70%), linear-gradient(180deg, #0b1626, #04080f);
}
.engine-ph span { font: 400 48px var(--label); color: var(--cyan); }
.engine-ph small { font: 400 11px var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--text-3); }
.engine-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.engine-body h3 { font: 400 16px var(--label); letter-spacing: .06em; }
.engine-layout { color: var(--cyan); font-size: 14px; margin: 0; }
.engine-body p:not(.engine-layout) { color: var(--text-2); font-size: 15px; flex: 1; }
.engine-try { align-self: flex-start; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 500 14px var(--font); cursor: pointer; }
.engine-try:hover { border-color: var(--lime); color: var(--lime); }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 36px; }
.shots figure { margin: 0; }
.shots img { border-radius: 12px; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.shots figcaption { margin-top: 10px; font: 400 11px var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cyan); color: var(--cyan); font: 400 15px var(--label); margin-bottom: 14px; }
.steps p { color: var(--text-2); margin-bottom: 0; overflow-wrap: anywhere; }

.price-wrap { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: 40px; align-items: center; }
@media (max-width: 820px) { .price-wrap { grid-template-columns: 1fr; } }
.price-card { background: linear-gradient(180deg, #121a22, #0c1117); border: 1px solid rgba(200, 240, 60, .35); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.price-name { font: 400 12px var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--text-2); margin: 0; }
.price-amount { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0; }
/* The label font draws the euro sign like a zero, so amounts use the body font. */
.price-amount strong { font: 600 46px var(--font); color: var(--text); letter-spacing: .01em; }
.price-tag { font-family: var(--font); font-weight: 700; letter-spacing: .02em; text-transform: none; margin-left: .4em; }
.price-amount span { color: var(--text-2); }
.checks { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.price-soon { color: var(--amber); margin: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 820px; }
.faq details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font: 400 20px var(--label); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); max-width: 70ch; }

.closing { text-align: center; padding: clamp(56px, 8vw, 110px) var(--gutter); border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 24px;
  background: radial-gradient(700px 300px at 50% 100%, rgba(200, 240, 60, .10), transparent 70%); }

.foot { border-top: 1px solid var(--line); padding: 36px var(--gutter) 48px; }
.foot-inner { max-width: 1240px; margin: 0 auto 18px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--text-2); text-decoration: none; }
.foot .fine { max-width: 1240px; margin: 6px auto; }

.legal { max-width: 780px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter); }
.legal h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 6px; }
.legal h2 { font: 600 20px var(--font); margin: 28px 0 6px; letter-spacing: 0; }
.legal p, .legal li { color: var(--text-2); }
