/* ═══════════════════════════════════════════════════════════════════
   Mdxt product page "Electric Ink" palette: acid lime on deep
   forest charcoal. No blues, no purples citrus energy.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --bg: #070a06;
  --bg-2: #0b0f0a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.09);
  --text: #eef2e6;
  --muted: #a3ac97;
  --faint: #6d7663;
  --accent: #c9f73d;        /* acid lime */
  --accent-2: #8df23e;      /* green lime */
  --accent-3: #35e8a2;      /* spring mint */
  --accent-soft: #dcfb8a;   /* lime tint for small text */
  --grad: linear-gradient(100deg, #f2ff5e 0%, #a5f23e 45%, #35e89b 100%);
  --radius: 18px;
  --font: 'Inter', 'Nirmala UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(201, 247, 61, 0.3); }

.mono { font-family: var(--mono); font-size: 0.92em; color: var(--accent-3); }
.deva { font-family: 'Nirmala UI', 'Noto Sans Devanagari', var(--font); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Ambient orbs + grain ─────────────────────────────────────────── */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: 0.5;
  animation: drift 26s ease-in-out infinite alternate;
}
.orb-a { width: 560px; height: 560px; left: -140px; top: -160px; background: #46610d; }
.orb-b { width: 480px; height: 480px; right: -120px; top: 240px; background: #0d5232; animation-delay: -8s; }
.orb-c { width: 420px; height: 420px; left: 30%; bottom: -220px; background: #54480c; animation-delay: -16s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 50px) scale(1.15); }
}
.grain {
  position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ── Nav ──────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(7, 10, 6, 0.75);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: 20px; font-weight: 400; letter-spacing: 0.2px; }
.brand img { width: 42px; height: 42px; border-radius: 8px; }
.brand b { font-weight: 700; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 12px; text-decoration: none; font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s;
  will-change: transform;
}
.btn-primary {
  background: var(--grad); color: #111605;
  box-shadow: 0 6px 26px rgba(201, 247, 61, 0.3);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 36px rgba(201, 247, 61, 0.45); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--hairline); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-big { padding: 15px 28px; font-size: 16px; }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  padding: 150px 24px 80px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  min-height: 92vh;
}

/* Floating script glyphs a parallax depth field behind the hero. */
.glyphs { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.glyphs span {
  position: absolute; left: var(--x); top: var(--y);
  font-size: var(--s); font-weight: 700;
  font-family: 'Nirmala UI', var(--font);
  color: rgba(201, 247, 61, 0.14);
  text-shadow: 0 0 22px rgba(201, 247, 61, 0.18);
  animation: glyphfloat 9s ease-in-out infinite;
  animation-delay: var(--d);
  transform: translate(calc(var(--px, 0px) * var(--depth)), calc(var(--py, 0px) * var(--depth)));
  transition: transform 0.4s ease-out;
  will-change: transform;
}
@keyframes glyphfloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -18px; }
}

/* The rotating native-script word with a hand-inked underline. */
.rotator-wrap { position: relative; display: inline-block; padding: 0 6px; }
.rotator {
  display: inline-block;
  font-family: 'Kalam', 'Nirmala UI', var(--font);
  font-weight: 700;
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradslide 5s linear infinite;
  transform-origin: 50% 100%;
  transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
  transform: rotate(-1.5deg);
}
.rotator.swap {
  transform: rotate(-1.5deg) translateY(16px) scale(0.94);
  opacity: 0; filter: blur(5px);
}
@keyframes gradslide { to { background-position: -200% 0; } }
.stroke {
  position: absolute; left: 0; right: 0; bottom: -8px;
  width: 100%; height: 14px; overflow: visible;
}
.stroke path {
  stroke: var(--accent); stroke-width: 5.5; stroke-linecap: round;
  opacity: 0.85;
  stroke-dasharray: 230; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 8px rgba(201, 247, 61, 0.45));
}
.stroke path.draw { animation: inkdraw 0.7s ease forwards; }
@keyframes inkdraw {
  from { stroke-dashoffset: 230; }
  to   { stroke-dashoffset: 0; }
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--muted);
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 26px;
  background: var(--surface);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 247, 61, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(201, 247, 61, 0); }
}
h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08; font-weight: 800; letter-spacing: -1.5px;
  margin-bottom: 22px;
}
h1 em { font-style: normal; }
.lede { font-size: 18px; color: var(--muted); max-width: 54ch; margin-bottom: 34px; }
.lede strong { color: var(--text); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.stats { display: flex; gap: 44px; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-size: 30px; font-weight: 800; letter-spacing: -1px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-l { font-size: 13px; color: var(--faint); }

/* ── Editor mockup with 3D tilt ───────────────────────────────────── */
.tilt-wrap { perspective: 1400px; }
.editor-mock {
  position: relative;
  background: linear-gradient(180deg, #131810, #0c100a);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.25s ease-out;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}
.mock-shadow {
  height: 30px; margin: 26px 12% 0;
  background: radial-gradient(ellipse at center, rgba(201, 247, 61, 0.22), transparent 70%);
  filter: blur(14px);
}
.mock-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--hairline);
  background: rgba(255,255,255,0.02);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #3d4635; }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:last-child { background: #28c840; }
.mock-title { font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 7px; }
.mock-title img { width: 15px; height: 15px; border-radius: 4px; }
.mock-toolbar {
  display: flex; gap: 18px; align-items: center;
  padding: 9px 18px; border-bottom: 1px solid var(--hairline);
  color: var(--faint); font-size: 13px;
}
.mock-toolbar b, .mock-toolbar i, .mock-toolbar u, .mock-toolbar span { cursor: default; }
.mock-body { padding: 26px 28px 34px; min-height: 210px; }
.mock-h1 {
  font-size: 27px; font-weight: 700; margin-bottom: 18px;
  font-family: 'Nirmala UI', var(--font);
  border-bottom: 1px solid rgba(201, 247, 61, 0.28); padding-bottom: 12px;
}
.mock-line { font-size: 16.5px; margin-bottom: 12px; font-family: 'Nirmala UI', var(--font); min-height: 26px; }
.mock-line.faint { color: var(--faint); font-size: 13.5px; font-family: var(--font); }
.caret {
  display: inline-block; width: 2px; height: 1.15em; margin-left: 1px;
  background: var(--accent); vertical-align: text-bottom;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mock-statusbar {
  display: flex; gap: 10px; align-items: center;
  border-top: 1px solid var(--hairline);
  padding: 8px 16px; font-size: 12px; color: var(--faint);
}
.chip { background: var(--surface-2); border-radius: 7px; padding: 3px 10px; }
.chip.accent { color: var(--accent-soft); }
.mock-statusbar .right { margin-left: auto; }
.shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.06) 45%, transparent 60%);
  transform: translateX(-100%);
  animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 12% { transform: translateX(100%); } 100% { transform: translateX(100%); } }

/* ── Marquee ──────────────────────────────────────────────────────── */
.marquee-band { padding: 30px 0 70px; }
.marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 54px; white-space: nowrap;
  animation: scroll 36s linear infinite; padding: 8px 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 32px; font-weight: 600; color: var(--muted); opacity: 0.85;
  font-family: 'Nirmala UI', var(--font);
  transition: color 0.25s;
}
.marquee-track span:hover { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-caption { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: 26px; padding: 0 24px; }

/* ── Sections ─────────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -1.2px;
  text-align: center; line-height: 1.15; margin-bottom: 18px;
}
.section-sub { text-align: center; color: var(--muted); margin-bottom: 46px; }

/* ── Markdown showcase ────────────────────────────────────────────── */
.showcase { max-width: 1180px; margin: 0 auto; padding: 60px 24px 80px; }
.md-duo {
  display: grid; grid-template-columns: 1fr 44px 1fr;
  align-items: stretch; gap: 8px; margin-top: 44px;
}
.md-panel {
  background: linear-gradient(180deg, #10140d, #0b0f09);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.md-panel:hover { transform: translateY(-4px); border-color: rgba(201, 247, 61, 0.3); }
.md-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 18px; border-bottom: 1px solid var(--hairline);
  font-size: 12.5px; color: var(--faint);
}
.md-mode { font-size: 10px; letter-spacing: 1.4px; font-family: var(--mono); }
.md-mode.live { color: var(--accent); }
.md-raw pre {
  padding: 22px 24px; overflow-x: auto;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.85;
  color: var(--muted);
}
.tk-h { color: var(--accent); font-weight: 600; }
.tk-b { color: var(--accent-soft); }
.tk-i { color: var(--accent-3); }
.tk-li { color: var(--accent-2); }
.tk-q { color: #d3b95e; }
.tk-c { color: var(--accent-3); }
.tk-m { color: var(--accent-soft); }
.md-arrow {
  display: grid; place-items: center;
  font-size: 22px; color: var(--accent);
  animation: sway 2.4s ease-in-out infinite;
}
@keyframes sway { 50% { transform: scale(1.25); } }
.md-render { padding: 22px 26px; font-size: 14.5px; }
.md-render h3 { font-size: 22px; margin-bottom: 10px; border-bottom: 1px solid rgba(201,247,61,0.25); padding-bottom: 8px; }
.md-render h4 { font-size: 16px; margin: 14px 0 8px; }
.md-render p { color: var(--muted); margin-bottom: 6px; }
.md-render b, .md-render i { color: var(--text); }
.md-render .checks { list-style: none; margin: 4px 0; }
.md-render .checks li { padding: 3px 0 3px 28px; position: relative; color: var(--muted); }
.md-render .checks li::before {
  content: ''; position: absolute; left: 2px; top: 6px;
  width: 15px; height: 15px; border-radius: 5px;
  border: 1.5px solid var(--faint);
}
.md-render .checks li.done { color: var(--text); }
.md-render .checks li.done::before {
  content: '✓'; color: #111605; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
  background: var(--accent); border-color: var(--accent);
}
.md-render blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 14px; margin: 10px 0;
  color: var(--accent-soft); font-style: italic;
  background: rgba(201, 247, 61, 0.05); border-radius: 0 8px 8px 0;
}
.md-render code {
  font-family: var(--mono); font-size: 12.5px;
  background: rgba(53, 232, 162, 0.1); color: var(--accent-3);
  border: 1px solid rgba(53, 232, 162, 0.25);
  padding: 1px 7px; border-radius: 6px;
}
.md-render .math { font-family: 'Georgia', serif; font-style: italic; color: var(--accent-soft); }
.md-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.md-point {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--hairline); border-radius: 14px;
  padding: 16px 20px; background: var(--surface);
}
.md-point b { font-size: 14.5px; color: var(--accent-soft); font-family: var(--mono); }
.md-point span { font-size: 13px; color: var(--muted); }

/* ── Google Drive sync section ────────────────────────────────────── */
.syncsec {
  max-width: 1180px; margin: 0 auto; padding: 70px 24px 90px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.section-title.left { text-align: left; }
.sync-lede { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.sync-lede strong { color: var(--text); }
.sync-list { list-style: none; }
.sync-list li {
  padding: 9px 0 9px 34px; position: relative;
  color: var(--muted); font-size: 15px;
}
.sync-list li b { color: var(--text); }
.sync-list li em { color: var(--accent-soft); font-style: normal; }
.sync-list li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #111605;
  background: var(--grad);
}
.sync-visual svg { max-width: 430px; display: block; margin: 0 auto; }
.wire {
  fill: none; stroke: rgba(201, 247, 61, 0.35); stroke-width: 1.5;
  stroke-dasharray: 7 8;
  animation: wiremove 1.6s linear infinite;
}
@keyframes wiremove { to { stroke-dashoffset: -15; } }
.pkt { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(201,247,61,0.9)); }
.p1 { offset-path: path('M210 170 L80 60'); animation: travel 2.6s linear infinite; }
.p2 { offset-path: path('M340 60 L210 170'); animation: travel 3.1s linear infinite 0.7s; }
.p3 { offset-path: path('M210 300 L210 170'); animation: travel 2.2s linear infinite 1.2s; }
@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.hub circle { animation: hubpulse 3s ease-in-out infinite; transform-origin: 210px 170px; }
@keyframes hubpulse { 50% { transform: scale(1.06); } }
.dev rect { fill: rgba(255,255,255,0.05); stroke: var(--hairline); stroke-width: 1; }
.svg-emoji { font-size: 24px; }
.svg-label { fill: var(--faint); font-size: 12px; font-family: var(--font); }

/* ── Features grid ────────────────────────────────────────────────── */
.features { max-width: 1180px; margin: 0 auto; padding: 60px 24px 90px; }
.features .grid {
  margin-top: 50px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 247, 61, 0.09), transparent 45%);
  transition: opacity 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201, 247, 61, 0.35); }
.card:hover::before { opacity: 1; }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 24px; font-weight: 700;
  background: linear-gradient(135deg, rgba(201, 247, 61, 0.16), rgba(53, 232, 162, 0.10));
  border: 1px solid rgba(201, 247, 61, 0.25);
  margin-bottom: 18px;
  font-family: 'Nirmala UI', var(--font);
}
.card h3 { font-size: 18.5px; margin-bottom: 10px; letter-spacing: -0.3px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card p em { color: var(--text); font-style: normal; font-weight: 600; }

/* ── Download ─────────────────────────────────────────────────────── */
.download { max-width: 1180px; margin: 0 auto; padding: 60px 24px 80px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.dl-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-decoration: none; color: var(--text);
  transition: transform 0.28s ease, border-color 0.3s, box-shadow 0.3s;
}
.dl-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(201, 247, 61, 0.45);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(201, 247, 61, 0.15);
}
.dl-logo {
  width: 66px; height: 66px; flex: none;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hairline);
  border-radius: 16px;
}
.dl-info { display: flex; flex-direction: column; }
.dl-eyebrow { font-size: 10.5px; letter-spacing: 1.6px; color: var(--faint); }
.dl-name { font-size: 21px; font-weight: 700; letter-spacing: -0.4px; }
.dl-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.dl-arrow { margin-left: auto; font-size: 22px; color: var(--faint); transition: transform 0.25s, color 0.25s; }
.dl-card:hover .dl-arrow { transform: translateX(6px); color: var(--accent); }
.dl-note { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: 30px; }

/* ── Releases timeline ────────────────────────────────────────────── */
.releases { max-width: 860px; margin: 0 auto; padding: 60px 24px 100px; }
.timeline { margin-top: 54px; }
.release { display: flex; gap: 26px; }
.rel-rail { position: relative; width: 18px; flex: none; }
.rel-rail::before {
  content: ''; position: absolute; left: 8px; top: 26px; bottom: -8px;
  width: 2px; background: linear-gradient(var(--hairline), transparent);
}
.release:not(:last-child) .rel-rail::before { background: var(--hairline); }
.rel-dot {
  position: absolute; top: 8px; left: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2.5px solid var(--faint);
}
.release.current .rel-dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(201, 247, 61, 0.16), 0 0 22px rgba(201, 247, 61, 0.55);
}
.rel-body {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 26px;
  transition: border-color 0.3s, transform 0.3s;
}
.rel-body:hover { border-color: rgba(201, 247, 61, 0.3); transform: translateX(4px); }
.release.current .rel-body { border-color: rgba(201, 247, 61, 0.4); background: linear-gradient(180deg, rgba(201, 247, 61, 0.06), var(--surface)); }
.rel-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.rel-tag {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  background: rgba(201, 247, 61, 0.13); color: var(--accent-soft);
  border: 1px solid rgba(201, 247, 61, 0.3);
  padding: 2px 10px; border-radius: 7px;
}
.rel-tag.next { background: rgba(53, 232, 162, 0.12); color: var(--accent-3); border-color: rgba(53, 232, 162, 0.3); }
.rel-head h3 { font-size: 19px; letter-spacing: -0.3px; }
.rel-head time { font-size: 12.5px; color: var(--faint); }
.rel-badge {
  margin-left: auto; font-size: 10px; letter-spacing: 1.5px; font-weight: 700;
  background: var(--grad); color: #111605; border-radius: 6px; padding: 3px 9px;
}
.rel-body ul { list-style: none; }
.rel-body li {
  font-size: 14.5px; color: var(--muted);
  padding: 5px 0 5px 22px; position: relative;
}
.rel-body li::before {
  content: '◆'; position: absolute; left: 0; top: 5px;
  font-size: 9px; color: var(--accent);
}
.rel-body li b { color: var(--text); }
.rel-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.rel-links a {
  font-size: 12.5px; color: var(--accent-soft); text-decoration: none;
  border: 1px solid rgba(201, 247, 61, 0.3); border-radius: 8px;
  padding: 5px 13px; transition: background 0.2s, transform 0.2s;
}
.rel-links a:hover { background: rgba(201, 247, 61, 0.12); transform: translateY(-2px); }
.release.roadmap .rel-body { border-style: dashed; opacity: 0.85; }

/* ── Final CTA + footer ───────────────────────────────────────────── */
.final-cta { text-align: center; padding: 70px 24px 110px; }
.final-logo { width: 88px; height: 88px; border-radius: 24px; margin-bottom: 26px; box-shadow: 0 18px 50px rgba(201, 247, 61, 0.28); }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(2deg); } }
.final-cta h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 30px; }
footer { border-top: 1px solid var(--hairline); padding: 44px 24px; }
.foot-inner { max-width: 1180px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
footer p { color: var(--muted); font-size: 14px; }
footer .fine { color: var(--faint); font-size: 12.5px; }
footer .ext { color: var(--accent-soft); text-decoration: none; }
footer .ext:hover { text-decoration: underline; }

/* ── Toast ────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translate(-50%, 90px);
  background: #171d12; color: var(--text);
  border: 1px solid rgba(201, 247, 61, 0.4);
  border-radius: 12px; padding: 13px 22px; font-size: 14px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  z-index: 100;
}
.toast.show { transform: translate(-50%, 0); }

/* ── Scroll reveal ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: unset; }
  .features .grid, .dl-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .md-duo { grid-template-columns: 1fr; }
  .md-arrow { transform: rotate(90deg); padding: 4px 0; }
  .md-points { grid-template-columns: 1fr; }
  .syncsec { grid-template-columns: 1fr; gap: 40px; }
  .section-title.left { text-align: center; }
}
@media (max-width: 640px) {
  .features .grid, .dl-grid { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
  .editor-mock { transform: none !important; }
  .release { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ================= Screens gallery ================= */
.screens { max-width: 1200px; margin: 0 auto; padding: 90px 24px 30px; }
.shots {
  display: flex; gap: 22px; overflow-x: auto;
  padding: 28px 6px 36px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shot {
  flex: 0 0 auto; width: clamp(190px, 24vw, 250px);
  margin: 0; scroll-snap-align: center; text-align: center;
}
.shot img {
  width: 100%; display: block; border-radius: 26px; background: #0b0f0a;
  border: 1.5px solid rgba(201, 247, 61, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 46px -8px rgba(201, 247, 61, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.shot:hover img {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 60px -6px rgba(201, 247, 61, 0.5);
}
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--accent-soft); font-family: var(--mono); }
@media (max-width: 700px) { .shot { width: 66vw; } }

/* mobile: keep ambient orbs & marquee from creating horizontal scroll */
html, body { overflow-x: hidden; }

/* ================= FAQ + a11y utils ================= */
.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;
}
.faq { max-width: 780px; margin: 0 auto; padding: 90px 24px 30px; }
.faq-list { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid rgba(201, 247, 61, 0.18); border-radius: 14px;
  background: rgba(201, 247, 61, 0.03); transition: border-color .3s ease;
}
.faq-item[open] { border-color: rgba(201, 247, 61, 0.5); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 20px;
  font-weight: 700; font-size: 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: #c9f73d; font-size: 20px; transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; opacity: .82; font-size: 15px; line-height: 1.6; }
