/* ---------------------------------------------------------------------------
   Vela — homepage. A deliberately dark, single-theme page that matches the
   Web Store promo art: deep teal ground, aurora glow, one gradient word.
   Legal pages keep the light style.css.
--------------------------------------------------------------------------- */
:root {
  --ground: #03201b;
  --ground-2: #041629;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-line: rgba(255, 255, 255, 0.16);
  --ink: #f2fffb;
  --ink-2: rgba(232, 247, 242, 0.78);
  --muted: rgba(220, 238, 233, 0.58);
  --mint: #8dffe0;
  --cyan: #62dcff;
  --lime: #d8ff8a;
  --deep: #04231d;
  --grad: linear-gradient(92deg, #8dffe0 0%, #62dcff 50%, #d8ff8a 100%);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 620px at 88% -4%, rgba(24, 236, 186, 0.34), rgba(24, 236, 186, 0) 70%),
    radial-gradient(900px 700px at -6% 40%, rgba(52, 132, 255, 0.24), rgba(52, 132, 255, 0) 70%),
    radial-gradient(800px 600px at 100% 78%, rgba(184, 246, 104, 0.10), rgba(184, 246, 104, 0) 70%),
    linear-gradient(180deg, var(--ground) 0%, var(--ground-2) 60%, #03141b 100%);
  background-color: var(--ground);
}
img { max-width: 100%; display: block; }
a { color: var(--mint); }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
em.grad, .grad { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(3, 26, 24, 0.62); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav .wrap { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none;
  font: 800 23px/1 var(--display); letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 18px rgba(60, 240, 200, 0.5); }
.nav a.link { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a.link:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { color: var(--deep); background: var(--grad); padding: 16px 26px; font-size: 18px;
  box-shadow: 0 10px 34px rgba(120, 255, 210, 0.38), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(120, 255, 210, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn-primary.sm { padding: 10px 16px; font-size: 15px; border-radius: 11px; box-shadow: 0 6px 20px rgba(120, 255, 210, 0.3); }
.btn-ghost { color: var(--ink); padding: 15px 22px; font-size: 17px; background: var(--glass); border: 1px solid var(--glass-line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn svg { flex: none; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; padding-block: 72px 56px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px; border-radius: 999px;
  font: 600 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #bfffee;
  background: var(--glass); border: 1px solid rgba(160, 255, 225, 0.32); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.hero h1 { margin: 24px 0 0; font: 800 clamp(56px, 8.4vw, 112px)/0.9 var(--display); letter-spacing: -0.048em; text-wrap: balance;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.3); }
.hero h1 .grad { filter: drop-shadow(0 0 22px rgba(98, 230, 255, 0.45)); }
.hero .lede { margin: 26px 0 0; font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--mint); }

.hero-visual { position: relative; min-width: 0; padding: 20px 30px 40px 10px; }
.hero-visual::before { content: ""; position: absolute; inset: -12% -20% -12% -6%;
  background: radial-gradient(closest-side, rgba(90, 255, 214, 0.36), rgba(90, 255, 214, 0) 72%); pointer-events: none; }
.tilt { position: relative; perspective: 1600px; }
.tilt img { width: 100%; height: auto; max-width: 480px; margin-left: auto; border-radius: 22px;
  transform: rotateY(-14deg) rotateX(4deg) rotateZ(1deg);
  box-shadow: 0 0 0 1px rgba(160, 255, 225, 0.32), 0 36px 90px rgba(0, 0, 0, 0.55), 0 0 90px rgba(60, 240, 200, 0.35); }
.float { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 13px 17px; border-radius: 15px;
  font-weight: 700; font-size: 16px; color: #fff; background: rgba(10, 22, 24, 0.88); border: 1px solid rgba(160, 255, 225, 0.38);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(60, 240, 200, 0.22); white-space: nowrap; }
.float svg { color: var(--mint); }
.float.a { left: -2%; top: 44%; }
.float.b { right: 0; bottom: 6%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sp-a { left: 8%; top: 4%; } .sp-b { right: 2%; top: 14%; } .sp-c { left: 18%; bottom: 6%; }
.sp-d { left: 7%; top: 18%; } .sp-e { right: 9%; top: 24%; } .sp-f { right: 22%; bottom: 14%; }
.sparkle { position: absolute; filter: drop-shadow(0 0 7px rgba(160, 255, 225, 0.9)); pointer-events: none; }

/* sections */
section { padding-block: 64px; }
.eyebrow { font: 600 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin: 0 0 16px; }
.h2 { margin: 0; font: 800 clamp(38px, 5vw, 64px)/0.98 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.section-lede { margin: 18px 0 0; font-size: 19px; color: var(--ink-2); max-width: 58ch; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-block: 8px 28px; }
.stat { padding: 22px 22px 20px; border-radius: 18px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.1); }
.stat b { display: block; font: 800 46px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--muted); }

/* gallery */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass);
  color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.gallery-nav button:hover { background: rgba(255, 255, 255, 0.14); }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 34px 2px 26px; margin-top: 8px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc(50% - 10px); scroll-snap-align: start; margin: 0; }
.slide img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 18px; background: #06221e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.45); }
.slide figcaption { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.slide figcaption b { color: var(--ink); }
.dots { display: flex; justify-content: center; gap: 8px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, 0.25); cursor: pointer; transition: width .2s, background .2s; }
.dots button[aria-current="true"] { width: 28px; background: var(--mint); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.feature { padding: 26px; border-radius: 20px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.1); }
.feature .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--deep);
  background: var(--grad); box-shadow: 0 8px 24px rgba(120, 255, 210, 0.28); }
.feature h3 { margin: 18px 0 6px; font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.feature p { margin: 0; font-size: 16px; color: var(--ink-2); }

/* models */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tier { padding: 22px 22px 12px; border-radius: 20px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.1); }
.tier h3 { margin: 0; font: 700 20px/1.2 var(--display); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tier h3 small { font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.tier ul { list-style: none; margin: 14px 0 0; padding: 0; }
.tier li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 16px; }
.tier li span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.note { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: 22px;
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.1); }
.plan.pop { background: linear-gradient(180deg, rgba(141, 255, 224, 0.14), rgba(98, 220, 255, 0.05));
  border-color: rgba(141, 255, 224, 0.55); box-shadow: 0 0 60px rgba(60, 240, 200, 0.18); }
.plan .tag { position: absolute; top: -12px; left: 24px; padding: 5px 11px; border-radius: 999px; background: var(--grad);
  color: var(--deep); font: 700 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { margin: 0; font: 700 20px/1.2 var(--display); }
.plan .price { margin-top: 12px; font: 800 44px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan .price small { font: 500 16px/1 var(--body); color: var(--muted); letter-spacing: 0; }
.plan .credits { margin-top: 8px; font: 600 14px/1.3 var(--mono); color: var(--mint); }
.plan ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; font-size: 15.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 9px; }
.plan li svg { flex: none; margin-top: 5px; color: var(--mint); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .btn-ghost { padding: 12px 16px; font-size: 16px; }
.plan .btn-primary { padding: 13px 16px; font-size: 16px; }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 80ch; }

/* privacy */
.privacy { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
  padding: 44px; border-radius: 28px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.1); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; font-size: 17px; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks svg { flex: none; margin-top: 3px; color: var(--mint); }

/* faq */
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: 16px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.1); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; font: 700 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font: 400 26px/1 var(--body); color: var(--mint); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; max-width: 72ch; }

/* final cta */
.final { position: relative; overflow: hidden; text-align: center; padding: 76px 30px; border-radius: 32px;
  background:
    radial-gradient(420px 300px at 88% 0%, rgba(24, 236, 186, 0.55), rgba(24, 236, 186, 0) 70%),
    radial-gradient(460px 320px at 6% 110%, rgba(52, 132, 255, 0.5), rgba(52, 132, 255, 0) 70%),
    linear-gradient(135deg, #052a24, #06182b);
  border: 1px solid rgba(160, 255, 225, 0.22); }
.final .h2 { font-size: clamp(42px, 6.4vw, 84px); }
.final p { margin: 20px auto 0; max-width: 46ch; font-size: 19px; color: var(--ink-2); }
.final .cta-row { justify-content: center; }

footer { padding-block: 44px 56px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .sp { margin-left: auto; }

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

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 48px 30px; }
  .hero-visual { padding: 10px 0 30px; max-width: 520px; margin: 0 auto; width: 100%; }
  .tilt img { transform: none; margin: 0 auto; }
  .features, .models { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .privacy { grid-template-columns: minmax(0, 1fr); padding: 30px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav a.link { display: none; }
  .slide { flex-basis: 88%; }
  .features, .models, .plans { grid-template-columns: minmax(0, 1fr); }
  .float { display: none; }
  .hero .lede { font-size: 19px; }
  section { padding-block: 48px; }
  .final { padding: 52px 20px; }
  footer .sp { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html, .track { scroll-behavior: auto; }
  .btn { transition: none; }
}
