/* =========================================================================
   Ovels — marketing landing page (premium pass)
   Shares the dashboard's dark/green design tokens (see custom.css :root)
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.landing { background: var(--bg); color: var(--text); min-height: 100vh; position: relative; overflow-x: clip; }

/* ---------- Announcement bar ---------- */
.landing__announce {
  position: relative; z-index: 31;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 20px; text-align: center;
  background: linear-gradient(90deg, rgba(61,189,138,0.14), rgba(79,148,190,0.1));
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px; color: var(--text-dim);
}
.landing__announce a { color: var(--signal); font-weight: 700; text-decoration: none; }
.landing__announce a:hover { text-decoration: underline; }
@media (max-width: 560px) { .landing__announce { font-size: 12px; padding: 8px 16px; } }

/* Subtle film-grain overlay for a less "flat" surface. Cheap, GPU-friendly. */
.landing__noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Scroll reveal ----------
   Content is visible by default (safe if JS never runs — blocked script,
   slow connection, ad/tracker blockers, JS disabled, etc). Only once the
   head's tiny inline script confirms JS is actually executing does it arm
   the hidden-until-revealed state on <html>. A hard timeout in that same
   inline script also disarms it if landing.js itself never finishes, so
   the page can never get stuck blank. */
[data-reveal] { opacity: 1; transform: none; }
html.reveal-armed [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.reveal-armed [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-armed [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Ambient background orbs ----------
   Slow-drifting, blurred gradient blobs behind the whole page — the same
   trick premium marketing sites use for a "living" background without
   costing much GPU. Fixed + blurred, so it never affects layout. */
.landing__orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: 0.22; will-change: transform;
}
.orb--signal {
  width: 520px; height: 520px; top: -10%; left: -8%;
  background: radial-gradient(circle, var(--signal), transparent 70%);
  animation: orbDrift1 26s ease-in-out infinite;
}
.orb--current {
  width: 460px; height: 460px; top: 30%; right: -10%;
  background: radial-gradient(circle, var(--current), transparent 70%);
  animation: orbDrift2 32s ease-in-out infinite;
}
.orb--gold {
  width: 380px; height: 380px; bottom: -8%; left: 30%;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  opacity: 0.14;
  animation: orbDrift3 38s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.12); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 50px) scale(1.08); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }
@media (max-width: 720px) { .orb { filter: blur(50px); opacity: 0.14; } }

/* ---------- Nav ---------- */
.landing__nav {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  padding: 16px 32px;
  background: rgba(12, 12, 14, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.landing__nav.is-scrolled {
  background: rgba(12, 12, 14, 0.86);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
html[data-theme="light"] .landing__nav { background: rgba(245, 245, 244, 0.7); }
html[data-theme="light"] .landing__nav.is-scrolled { background: rgba(245, 245, 244, 0.92); }

.landing__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--text); text-decoration: none; justify-self: start; }
.landing__brand img { width: 30px; height: 30px; border-radius: 8px; transition: transform 0.3s ease; }
.landing__brand:hover img { transform: rotate(-6deg) scale(1.05); }

.landing__nav-links { display: flex; align-items: center; gap: 30px; justify-self: center; }
.landing__nav-links a { position: relative; color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.15s ease; white-space: nowrap; }
.landing__nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.landing__nav-links a:hover { color: var(--text); }
.landing__nav-links a:hover::after { transform: scaleX(1); }

.landing__nav-cta { display: flex; align-items: center; gap: 14px; justify-self: end; }

/* Status pill — its own chip, sitting with the CTAs instead of floating alone in the link row */
.landing__status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  padding: 7px 13px 7px 10px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  white-space: nowrap;
}
.status-pulse { position: relative; width: 9px; height: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.status-pulse .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 6px var(--signal); position: relative; z-index: 1; }
.status-pulse::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  background: var(--signal); opacity: 0.35;
  animation: statusRing 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.status-pulse.is-offline .dot { background: var(--ember); box-shadow: 0 0 6px var(--ember); }
.status-pulse.is-offline::before { background: var(--ember); animation-duration: 3.4s; opacity: 0.28; }
@keyframes statusRing {
  0% { transform: scale(0.6); opacity: 0.45; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .status-pulse::before { animation: none; opacity: 0.2; } }

/* ---------- Mobile nav toggle + dropdown panel ---------- */
.landing__nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; position: relative;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent;
}
.landing__nav-toggle svg { width: 19px; height: 19px; position: absolute; transition: opacity 0.15s ease, transform 0.2s ease; }
.landing__nav-toggle .i-close { opacity: 0; transform: rotate(-45deg) scale(0.7); }
.landing__nav-toggle.is-active .i-bars { opacity: 0; transform: rotate(45deg) scale(0.7); }
.landing__nav-toggle.is-active .i-close { opacity: 1; transform: rotate(0) scale(1); }

.landing__mobile-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(12, 12, 14, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  padding: 0 22px; display: flex; flex-direction: column;
  max-height: 0; opacity: 0; overflow: hidden; visibility: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.35s ease;
}
html[data-theme="light"] .landing__mobile-panel { background: rgba(245, 245, 244, 0.98); }
.landing__mobile-panel.is-open { max-height: 600px; opacity: 1; visibility: visible; padding: 6px 22px 22px; }
.landing__mobile-panel a {
  color: var(--text-dim); text-decoration: none; font-size: 15.5px; font-weight: 500;
  padding: 14px 2px; border-bottom: 1px solid var(--border-soft);
}
.landing__mobile-panel a:hover { color: var(--text); }
.landing__mobile-panel__status {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--text-dim);
  padding: 16px 2px 4px;
}
.landing__mobile-panel__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }

@media (max-width: 860px) {
  .landing__nav { padding: 14px 20px; }
  .landing__nav-links,
  .landing__nav-cta { display: none; }
  .landing__nav-toggle { display: inline-flex; grid-column: 3; justify-self: end; }
}

/* ---------- Hero ---------- */
.landing__hero {
  position: relative;
  max-width: 980px; margin: 0 auto;
  padding: 104px 24px 68px;
  text-align: center;
  overflow: hidden;
  z-index: 2;
}
.landing__hero-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 480px;
  background: radial-gradient(circle at 50% 0%, rgba(61, 189, 138, 0.32), rgba(61, 189, 138, 0.1) 38%, rgba(61, 189, 138, 0) 62%);
  mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, black, transparent 78%);
  pointer-events: none;
  z-index: 0;
  animation: heroDrift 12s ease-in-out infinite;
}
@keyframes heroDrift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
.landing__hero-grid {
  position: absolute; inset: -20% -10% auto -10%; height: 420px;
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 20%, black, transparent 75%);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .landing__hero-glow { animation: none; } }
.landing__hero > *:not(.landing__hero-glow):not(.landing__hero-grid) { position: relative; z-index: 1; }
.landing__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--signal); font-size: 13px; font-weight: 600;
  margin-bottom: 22px;
}
.landing__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); margin-right: 2px; }
.landing__hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.text-gradient {
  background: linear-gradient(120deg, var(--signal), var(--current) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.landing__hero p.lead {
  font-size: 17.5px; color: var(--text-dim); max-width: 620px; margin: 0 auto 34px;
  line-height: 1.65;
}
.landing__hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.btn-lg { padding: 14px 28px !important; font-size: 15.5px !important; border-radius: 11px !important; }

/* Shine sweep on primary CTAs */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
}
.btn-shine:hover::after { left: 130%; }

/* Magnetic CTAs — nudged toward the cursor via JS-set --mx/--my, spring back on leave */
[data-magnetic] {
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-magnetic].is-magnet-active { transition: transform 0.12s linear; }
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  [data-magnetic] { transform: none !important; }
}

.landing__stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 26px 0 8px;
  border-top: 1px solid var(--border-soft);
}
.landing__stats div { text-align: center; }
.landing__stats strong { display: block; font-size: 27px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.landing__stats span { font-size: 13px; color: var(--text-faint); }

/* ---------- Hero product shot ---------- */
.landing__hero-shot { position: relative; max-width: 900px; margin: 4px auto 0; padding: 40px 24px 0; z-index: 1; }
.hero-shot__frame {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 4px 20px rgba(0,0,0,0.18);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.landing__hero-shot:hover .hero-shot__frame { transform: translateY(-4px); box-shadow: 0 40px 100px rgba(0,0,0,0.4), 0 6px 24px rgba(0,0,0,0.22); }
.hero-shot__chrome { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); background: var(--bg-raised); }
.hero-shot__dots { display: flex; gap: 6px; flex-shrink: 0; }
.hero-shot__dots span { width: 9px; height: 9px; border-radius: 50%; }
.hero-shot__dots span:nth-child(1) { background: var(--ember); }
.hero-shot__dots span:nth-child(2) { background: var(--gold); }
.hero-shot__dots span:nth-child(3) { background: var(--signal); }
.hero-shot__url {
  flex: 1; font-size: 12px; color: var(--text-faint); font-family: monospace;
  background: var(--bg-input); border: 1px solid var(--border-soft); border-radius: 7px;
  padding: 5px 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-shot__live {
  display: flex; align-items: center; gap: 7px; flex-shrink: 0; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; color: var(--text-dim);
  padding: 5px 11px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--border);
}
.hero-shot__body { display: grid; grid-template-columns: 176px 1fr; min-height: 300px; }

/* Mirrors the real dashboard sidebar (see Sidebar.jsx / .sidebar in custom.css) */
.hero-shot__sidebar { padding: 16px 10px; border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 1px; background: var(--bg-raised); }
.hero-shot__sidebar-brand { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--text); padding: 2px 8px 14px; }
.hero-shot__sidebar-brand img { width: 18px; height: 18px; border-radius: 5px; }
.hero-shot__nav-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); padding: 10px 8px 5px; }
.hero-shot__nav-label:first-of-type { padding-top: 0; }
.hero-shot__nav-item { position: relative; padding: 7px 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; color: var(--text-dim); }
.hero-shot__nav-item.is-active { background: rgba(95,168,211,0.13); color: var(--text); font-weight: 600; }
.hero-shot__nav-item.is-active::before {
  content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 14px; border-radius: 0 3px 3px 0; background: var(--accent-grad);
}

/* Mirrors the real page-head + card + field + button treatment (see custom.css) */
.hero-shot__main { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.hero-shot__page-head { display: flex; flex-direction: column; gap: 3px; }
.hero-shot__page-head strong { font-family: "Fraunces", Georgia, serif; font-size: 17px; font-weight: 600; }
.hero-shot__page-head span { font-size: 11.5px; color: var(--text-faint); }
.hero-shot__card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.hero-shot__card-head { padding: 11px 15px; border-bottom: 1px solid var(--border-soft); font-size: 12.5px; font-weight: 700; color: var(--text); }
.hero-shot__card-body { padding: 14px 15px; display: flex; flex-direction: column; gap: 12px; }
.hero-shot__field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-shot__field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hero-shot__field label { font-size: 10.5px; font-weight: 600; color: var(--text-dim); }
.hero-shot__input {
  display: block; width: 100%; background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius-sm); padding: 7px 10px; font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-shot__card-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 11px 15px; border-top: 1px solid var(--border-soft); }
.hero-shot__saved { font-size: 11px; color: var(--signal); font-weight: 600; }
.hero-shot__btn {
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700;
  padding: 7px 14px; border-radius: var(--radius-sm); color: #06131c;
  background: var(--accent-grad); box-shadow: 0 4px 14px rgba(95,168,211,0.28);
}
@media (max-width: 760px) {
  .hero-shot__body { grid-template-columns: 1fr; min-height: 0; }
  .hero-shot__sidebar { display: none; }
  .landing__hero-shot { padding: 24px 20px 0; }
}
@media (max-width: 480px) {
  .hero-shot__live { display: none; }
  .hero-shot__field-row { grid-template-columns: 1fr; }
}

/* ---------- Capability strip (marquee) ---------- */
.landing__logos {
  position: relative; z-index: 1;
  overflow: hidden;
  padding: 14px 0 40px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.landing__logos-track {
  display: flex; gap: 14px; white-space: nowrap; width: max-content;
  animation: scrollLeft 26s linear infinite;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-faint);
}
.landing__logos-track span:nth-child(2n) { color: var(--border); }
.landing__logos:hover .landing__logos-track { animation-play-state: paused; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.landing__section { max-width: 1120px; margin: 0 auto; padding: 76px 24px; position: relative; z-index: 1; }
/* Roadmap + closing CTA read as one pair, so give them less breathing room between them than between unrelated sections */
.landing__section#roadmap { padding-bottom: 28px; }
.landing__section#faq { padding-top: 28px; }
.landing__section#features { padding-top: 48px; }
.landing__section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.landing__section-head .kicker { color: var(--signal); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.landing__section-head h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(24px, 3vw, 34px); margin: 10px 0 12px; font-weight: 600; letter-spacing: -0.005em; }
.landing__section-head p { color: var(--text-dim); font-size: 15px; line-height: 1.6; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(61,189,138,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.25s ease;
  pointer-events: none;
}
.feature-card:hover { border-color: rgba(61, 189, 138, 0.45); box-shadow: 0 16px 32px rgba(0,0,0,0.28); }
.feature-card:hover::before { opacity: 1; }

/* Cursor-tracked spotlight + gentle 3D tilt (set via JS: --mx/--my/--rx/--ry) */
.feature-card[data-tilt] {
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(var(--ty, 0px));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card[data-tilt].is-hovering { transition: transform 0.06s linear, border-color 0.25s ease, box-shadow 0.25s ease; }
.feature-card__spotlight {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 189, 138, 0.14), transparent 72%);
}
.feature-card[data-tilt].is-hovering .feature-card__spotlight { opacity: 1; }
.feature-card > *:not(.feature-card__spotlight) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .feature-card[data-tilt] { transform: none !important; }
}
.feature-card .icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(61, 189, 138, 0.14);
  color: var(--signal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.feature-card .icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 15px; margin: 0 0 6px; font-weight: 700; }
.feature-card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; margin: 0; }

/* ---------- Why Ovels ---------- */
.why-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }
.why-copy .kicker { color: var(--signal); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.why-copy h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(22px, 3vw, 30px); margin: 10px 0 14px; font-weight: 600; letter-spacing: -0.005em; }
.why-copy p { color: var(--text-dim); font-size: 15px; line-height: 1.65; margin: 0 0 22px; }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.why-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); line-height: 1.5; }
.why-list .check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(61, 189, 138, 0.16); color: var(--signal);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; margin-top: 1px;
}

.why-panel {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; overflow: hidden;
}
.why-panel-glow {
  position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,189,138,0.16), transparent 70%);
  pointer-events: none;
}
.why-panel-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 14px; color: var(--text-dim); position: relative; z-index: 1;
}
.why-panel-row:last-child { border-bottom: none; }
.why-panel-row strong { color: var(--text); font-weight: 700; }

/* ---------- Dashboard tour (tabbed preview) ---------- */
.tour { max-width: 980px; margin: 0 auto; }
.tour__tabs {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.tour__tab {
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim);
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tour__tab:hover { color: var(--text); transform: translateY(-1px); }
.tour__tab[aria-selected="true"] {
  color: #06120c; background: var(--signal); border-color: var(--signal);
  box-shadow: 0 6px 18px rgba(61, 189, 138, 0.3);
}

.tour__stage { position: relative; min-height: 300px; }
.tour__panel {
  display: none;
  grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; overflow: hidden;
}
.tour__panel[data-active="true"] {
  display: grid;
  animation: tourIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes tourIn {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .tour__panel[data-active="true"] { animation: none; } }
.tour__copy h3 { font-family: "Fraunces", Georgia, serif; font-size: clamp(19px, 2.4vw, 24px); margin: 0 0 12px; font-weight: 600; }
.tour__copy p { color: var(--text-dim); font-size: 14.5px; line-height: 1.65; margin: 0; }

.tour__mock {
  background: var(--bg-raised); border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.tour__mock .mockrow {
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 9px;
  padding: 10px 12px;
}
.tour__mock .mockrow > *:last-child { margin-left: auto; }
.tour__mock .tag { font-family: monospace; font-size: 12.5px; color: var(--text-dim); }
.tour__mock .dotstat { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); flex-shrink: 0; }
.tour__mock .dotstat.is-on { background: var(--signal); box-shadow: 0 0 6px var(--signal); }
.tour__mock .pill {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: rgba(61, 189, 138, 0.16); color: var(--signal);
}
.tour__mock .pill--dim { background: var(--bg-input); color: var(--text-dim); }
.tour__mock .mockbar { height: 8px; border-radius: 999px; background: var(--bg-input); overflow: hidden; }
.tour__mock .mockbar span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--current));
  animation: mockbarGrow 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mockbarGrow { from { width: 0 !important; } }
.tour__mock .mocklog {
  font-size: 12.5px; color: var(--text-faint); font-family: monospace;
  padding-top: 2px; border-top: 1px dashed var(--border-soft); margin-top: 2px;
}
.tour__mock .mockchat {
  max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 13px; line-height: 1.5;
}
.tour__mock .mockchat--in { align-self: flex-start; background: var(--bg-input); color: var(--text-dim); border-bottom-left-radius: 3px; }
.tour__mock .mockchat--out { align-self: flex-end; background: rgba(61,189,138,0.16); color: var(--text); border-bottom-right-radius: 3px; }
.tour__mock--ai { flex-direction: column; }
.tour__mock--music .mockbar--wave { display: flex; align-items: flex-end; gap: 4px; height: 40px; background: none; }
.tour__mock--music .mockbar--wave span {
  width: 6px; border-radius: 3px; background: linear-gradient(180deg, var(--signal), var(--current));
  animation: wave 1.1s ease-in-out infinite;
}
.tour__mock--music .mockbar--wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.tour__mock--music .mockbar--wave span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.tour__mock--music .mockbar--wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.tour__mock--music .mockbar--wave span:nth-child(4) { height: 55%; animation-delay: 0.3s; }
.tour__mock--music .mockbar--wave span:nth-child(5) { height: 85%; animation-delay: 0.4s; }
.tour__mock--music .mockbar--wave span:nth-child(6) { height: 45%; animation-delay: 0.5s; }
.tour__mock--music .mockbar--wave span:nth-child(7) { height: 65%; animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .tour__mock--music .mockbar--wave span { animation: none; } }

@media (max-width: 760px) {
  .tour__panel { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .tour__tabs { gap: 6px; }
  .tour__tab { padding: 8px 14px; font-size: 12.5px; }
}

/* ---------- Games marquee ---------- */
.landing__band {
  background: var(--bg-raised);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 8px;
}
.games-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  padding: 4px 0 56px;
}
.games-marquee-track {
  display: flex; gap: 12px; width: max-content;
  animation: scrollLeft 34s linear infinite;
}
.games-marquee:hover .games-marquee-track { animation-play-state: paused; }
.games-marquee-track span {
  padding: 10px 18px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 13.5px; color: var(--text-dim); font-weight: 500; white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.games-marquee-track span:hover { border-color: rgba(61,189,138,0.5); color: var(--text); transform: translateY(-2px); }

/* ---------- Roadmap teaser ---------- */
.roadmap-panel {
  max-width: 780px; margin: 0 auto; padding: 44px 40px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 18px;
  text-align: center;
}
.roadmap-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(212, 168, 87, 0.14); color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.roadmap-panel h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 12px; font-weight: 600; }
.roadmap-panel p { color: var(--text-dim); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* ---------- Closing CTA ---------- */
.landing__cta-panel {
  position: relative;
  max-width: 820px; margin: 0 auto; padding: 58px 40px;
  background: linear-gradient(135deg, rgba(61,189,138,0.14), rgba(61,189,138,0.02));
  border: 1px solid rgba(61,189,138,0.28);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
}
.landing__cta-panel::before {
  content: ""; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 360px; height: 200px;
  background: radial-gradient(ellipse at center, rgba(61,189,138,0.25), transparent 70%);
  pointer-events: none;
}
.landing__cta-panel > * { position: relative; z-index: 1; }
.landing__cta-panel h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; font-weight: 600; }
.landing__cta-panel p { color: var(--text-dim); margin: 0 0 26px; font-size: 15px; }

/* ---------- Footer ---------- */
.landing__footer { border-top: 1px solid var(--border-soft); padding: 60px 24px 30px; position: relative; z-index: 1; }
.landing__footer-top {
  max-width: 1120px; margin: 0 auto; padding-bottom: 38px; border-bottom: 1px solid var(--border-soft);
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
}
.landing__footer-brand .brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.landing__footer-brand .brand img { width: 26px; height: 26px; border-radius: 7px; }
.landing__footer-brand p { color: var(--text-faint); font-size: 13px; line-height: 1.65; max-width: 280px; margin: 0 0 16px; }
.landing__footer-invite { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--signal); text-decoration: none; }
.landing__footer-invite:hover { text-decoration: underline; }
.landing__footer-col { display: flex; flex-direction: column; gap: 11px; }
.landing__footer-col span { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; }
.landing__footer-col a { color: var(--text-dim); font-size: 13.5px; text-decoration: none; transition: color 0.15s ease; }
.landing__footer-col a:hover { color: var(--text); }
.landing__footer-bottom {
  max-width: 1120px; margin: 0 auto; padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.landing__footer-bottom small { color: var(--text-faint); font-size: 12px; }
.landing__footer-bottom a { color: var(--text-dim); font-size: 12.5px; text-decoration: none; }
.landing__footer-bottom a:hover { color: var(--current); }
@media (max-width: 860px) { .landing__footer-top { grid-template-columns: 1.2fr 1fr 1fr; } .landing__footer-col:last-child { grid-column: span 1; } }
@media (max-width: 620px) {
  .landing__footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .landing__footer-brand { grid-column: 1 / -1; }
  .landing__footer-brand p { max-width: none; }
}

/* ---------- Focus states ---------- */
.landing a:focus-visible,
.landing button:focus-visible {
  outline: 2px solid var(--current);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Responsive (phones & small tablets) ---------- */
@media (max-width: 720px) {
  .landing__hero { padding: 64px 20px 44px; }
  .landing__hero-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 40px; }
  .landing__hero-cta .btn { width: 100%; justify-content: center; }
  .landing__stats { gap: 22px 28px; padding: 22px 0 4px; }
  .landing__stats strong { font-size: 22px; }

  .landing__section { padding: 56px 20px; }
  .landing__section-head { margin-bottom: 32px; }

  .why-panel { padding: 22px; }
  .roadmap-panel { padding: 32px 22px; border-radius: 16px; }
  .landing__cta-panel { padding: 40px 22px; border-radius: 16px; }

  .landing__footer { padding: 36px 20px 28px; }
}

@media (max-width: 420px) {
  .landing__brand { font-size: 15.5px; }
  .landing__brand img { width: 26px; height: 26px; }
  .landing__eyebrow { font-size: 12px; padding: 5px 12px; }
  .landing__hero p.lead { font-size: 16px; }
}
