* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #F7FBFB;
  --surface: #FFFFFF;
  --ink: #1F2A33;
  --ink-soft: #56636E;
  --ink-mute: #8A95A0;
  --border: #ECEFF2;
  --teal: #0BD8C7;
  --teal-deep: #09B5A7;
  --teal-soft: #E6FBF8;
  --purple: #7C6AF5;
  --purple-soft: #EFEBFE;
  --pink: #FF6B8A;
  --pink-soft: #FFE9EE;
  --orange: #FF9F43;
  --orange-soft: #FFF1E0;
  --shadow-card: 0 1px 2px rgba(20, 30, 40, 0.04), 0 8px 24px rgba(20, 30, 40, 0.06);
  --shadow-phone: 0 30px 60px -20px rgba(11, 50, 60, 0.25), 0 18px 36px -12px rgba(124, 106, 245, 0.12);
}
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  zoom: 0.85;
}

/* Soft pastel background blobs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 88% 8%, rgba(124, 106, 245, 0.10) 0%, rgba(124, 106, 245, 0) 60%),
    radial-gradient(820px 480px at 6% 94%, rgba(11, 216, 199, 0.16) 0%, rgba(11, 216, 199, 0) 60%),
    radial-gradient(700px 420px at 100% 100%, rgba(255, 107, 138, 0.08) 0%, rgba(255, 107, 138, 0) 60%);
  z-index: -1;
  pointer-events: none;
}

main { display: block; }

/* Nav */
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand img { width: 32px; height: 32px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); }
nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
nav .nav-cta:hover { background: #000; transform: translateY(-1px); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--ink-mute); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
body.dark .theme-toggle .icon-sun { display: block; }
body.dark .theme-toggle .icon-moon { display: none; }

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 28px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--teal-soft);
  border: 1px solid rgba(11, 216, 199, 0.25);
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.pill .dot { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--teal); border-radius: 50%; color: #fff; font-size: 10px; }

h1.headline {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.grad-teal { color: var(--teal-deep); }
.grad-purple { color: var(--ink); }

.subhead {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 22px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.feature {
  display: flex;
  gap: 14px;
  align-items: center;
}
.feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature-icon.teal { background: var(--teal-soft); color: var(--teal-deep); }
.feature-icon.purple { background: var(--purple-soft); color: var(--purple); }
.feature-icon.pink { background: var(--pink-soft); color: #E84C70; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  box-shadow: 0 8px 20px -8px rgba(31, 42, 51, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(31, 42, 51, 0.55); }
.cta:active { transform: translateY(0); }
.cta .apple-glyph { width: 26px; height: 26px; }
.cta .cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-align: left;
  gap: 2px;
}
.cta .cta-text small { font-size: 11px; opacity: 1; font-weight: 400; letter-spacing: -0.01em; }
.cta .cta-text span { font-size: 21px; font-weight: 600; letter-spacing: -0.04em; }
.cta-note {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 500;
}

/* Phones mockup */
.hero-mockup {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}
.blob.b1 { width: 280px; height: 280px; background: rgba(11, 216, 199, 0.35); top: 6%; left: -4%; }
.blob.b2 { width: 240px; height: 240px; background: rgba(124, 106, 245, 0.28); bottom: 8%; right: -2%; }
.blob.b3 { width: 180px; height: 180px; background: rgba(255, 107, 138, 0.22); top: 60%; left: 30%; }

.phones {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.phone {
  position: relative;
  width: 220px;
  aspect-ratio: 9/19.5;
  border-radius: 38px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(20, 30, 40, 0.06);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}
.phone.left { transform: rotate(-3deg) translateY(8px); }
.phone.right { transform: rotate(3deg) translateY(-8px); }
.phone.left:hover { transform: rotate(-3deg) translateY(4px); }
.phone.right:hover { transform: rotate(3deg) translateY(-12px); }
.phone { transition: transform 0.4s ease; }

/* Floating decorative chat bubble */
.chat-bubble {
  position: absolute;
  left: -8px;
  bottom: 28px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 18px 18px 18px 4px;
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.mascot {
  position: absolute;
  left: 24px;
  bottom: -10px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(140deg, #6EEFE2 0%, #0BD8C7 100%);
  box-shadow: 0 8px 16px -4px rgba(11, 181, 167, 0.4);
  z-index: 3;
  animation: float 4s ease-in-out infinite reverse;
}
.mascot::before, .mascot::after {
  content: "";
  position: absolute;
  width: 8px; height: 10px;
  background: #1F2A33;
  border-radius: 50%;
  top: 22px;
}
.mascot::before { left: 16px; }
.mascot::after { right: 16px; }
.mascot .blush {
  position: absolute;
  width: 8px; height: 4px;
  background: rgba(255, 107, 138, 0.55);
  border-radius: 50%;
  top: 36px;
}
.mascot .blush.l { left: 14px; }
.mascot .blush.r { right: 14px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Why-it-works section */
section.why {
  padding: 80px 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 17px;
}
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(20, 30, 40, 0.04), 0 18px 40px rgba(20, 30, 40, 0.10);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-icon.teal { background: var(--teal-soft); color: var(--teal-deep); }
.card-icon.purple { background: var(--purple-soft); color: var(--purple); }
.card-icon.pink { background: var(--pink-soft); color: #E84C70; }
.card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Closing */
.closing {
  text-align: center;
  padding: 80px 28px 96px;
  max-width: 760px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.closing p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 32px;
}
.closing .cta-row { justify-content: center; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 28px 48px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.6);
}
footer a {
  color: var(--ink-soft);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.15s ease;
}
footer a:hover { color: var(--teal-deep); }
.footer-sep { color: var(--border); }
.footer-links { margin-top: 10px; }
.footer-copy { margin-top: 12px; color: var(--ink-mute); font-size: 13px; }

/* Build Log page */
.page-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 28px 40px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}
.page-header .subhead {
  margin: 0 auto;
  color: var(--ink-soft);
}
.page-header .pill { margin-bottom: 18px; }

.releases {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.release { padding: 28px 28px 24px; }
.release-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 18px;
}
.release-version {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.release-date {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 500;
}
.release-group { margin-top: 14px; }
.release-group:first-of-type { margin-top: 0; }
.release-group h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 10px;
}
.release-group.changed h4 { color: var(--purple); }
.release-group.fixed h4 { color: #E84C70; }
.release-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.release-group li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.release-group li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.release-group.changed li::before { background: var(--purple); }
.release-group.fixed li::before { background: #E84C70; }
.release-group li strong { color: var(--ink); font-weight: 600; }

/* Responsive */
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    padding: 40px 28px 120px;
  }
  .hero-mockup { min-height: 620px; padding-top: 48px; }
  .phone { width: 248px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .phone { width: 272px; }
  h1.headline { font-size: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .cta, .card, .nav-cta { transition: none; }
  .chat-bubble, .mascot { animation: none; }
}

/* ─────────────  DARK / SYNTHWAVE MODE  ───────────── */
body.dark {
  --bg: #0c0322;
  --surface: rgba(28, 12, 64, 0.85);
  --ink: #f4f0ff;
  --ink-soft: #c8bfe6;
  --ink-mute: #8b7fb3;
  --border: rgba(154, 69, 255, 0.28);
  background: #0c0322;
  color: var(--ink);
}
body.dark::before {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(154, 69, 255, 0.30) 0%, rgba(154, 69, 255, 0) 55%),
    radial-gradient(ellipse at 50% 110%, rgba(255, 61, 160, 0.22) 0%, rgba(255, 61, 160, 0) 50%),
    linear-gradient(180deg, #0c0322 0%, #170a36 60%, #1a0540 100%);
}
body.dark::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 232, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 232, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center bottom;
  transform: perspective(600px) rotateX(62deg) translateY(28%) scale(2.4);
  transform-origin: 50% 100%;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, transparent 60%, #000 80%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 60%, #000 80%, #000 100%);
}
body.dark .scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 3px,
    rgba(0, 0, 0, 0.08) 4px,
    rgba(0, 0, 0, 0) 5px
  );
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: multiply;
  opacity: 0.55;
  display: block !important;
}

body.dark .brand {
  color: #f4f0ff;
  font-family: "Press Start 2P", "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4de8ff;
  text-shadow: 0 0 6px rgba(77, 232, 255, 0.7);
}
body.dark .brand img { filter: drop-shadow(0 0 8px rgba(77, 232, 255, 0.6)) drop-shadow(0 0 18px rgba(255, 61, 160, 0.4)); }
body.dark .nav-link {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4dff9a;
  text-shadow: 0 0 6px rgba(77, 255, 154, 0.55);
}
body.dark .nav-link:hover { color: #ffe14d; text-shadow: 0 0 6px rgba(255, 225, 77, 0.55); }
body.dark .nav-link.is-active { color: #ffe14d; text-shadow: 0 0 6px rgba(255, 225, 77, 0.55); }
body.dark .nav-cta {
  background: linear-gradient(180deg, #ff3da0 0%, #d6217e 100%);
  border: 2px solid #ffe14d;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 0 2px #0c0322, 0 0 0 3px rgba(255, 61, 160, 0.85), 0 0 16px rgba(255, 61, 160, 0.5);
}
body.dark .nav-cta:hover { background: linear-gradient(180deg, #ff5cb1 0%, #e02d8c 100%); }
body.dark .theme-toggle {
  background: rgba(28, 12, 64, 0.6);
  border-color: rgba(77, 232, 255, 0.45);
  color: #ffe14d;
  box-shadow: 0 0 10px rgba(77, 232, 255, 0.25);
}
body.dark .theme-toggle:hover { border-color: #ff3da0; color: #ff3da0; }

body.dark .pill {
  background: rgba(77, 255, 154, 0.10);
  border: 1px solid rgba(77, 255, 154, 0.35);
  color: #4dff9a;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(77, 255, 154, 0.55);
  border-radius: 4px;
}
body.dark .pill .dot { background: #4dff9a; color: #0c0322; }

body.dark h1.headline {
  font-family: "Press Start 2P", "Inter", monospace;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #f4f0ff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.35),
    3px 3px 0 #ff3da0,
    6px 6px 0 #9a45ff;
}
body.dark .grad-teal,
body.dark .grad-purple {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #ffe14d;
  text-shadow: 0 0 10px rgba(255, 225, 77, 0.7), 0 0 20px rgba(255, 225, 77, 0.35), 3px 3px 0 #ff3da0;
}

body.dark .subhead {
  font-family: "VT323", "Courier New", monospace;
  font-size: 22px;
  color: #c8bfe6;
  letter-spacing: 0.01em;
}

body.dark .feature h3 {
  font-family: "Press Start 2P", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #ffe14d;
  text-shadow: 0 0 6px rgba(255, 225, 77, 0.45);
  line-height: 1.5;
}
body.dark .feature p {
  font-family: "VT323", monospace;
  font-size: 18px;
  color: #c8bfe6;
}
body.dark .feature-icon {
  border-radius: 6px;
  border: 1.5px solid currentColor;
  box-shadow: 0 0 10px rgba(77, 232, 255, 0.25), inset 0 0 8px rgba(77, 232, 255, 0.12);
}
body.dark .feature-icon.teal { background: rgba(77, 232, 255, 0.10); color: #4de8ff; }
body.dark .feature-icon.purple { background: rgba(154, 69, 255, 0.15); color: #c79bff; }
body.dark .feature-icon.pink { background: rgba(255, 61, 160, 0.15); color: #ff3da0; }

body.dark .cta {
  background: linear-gradient(180deg, #ff3da0 0%, #d6217e 100%);
  color: #fff;
  border-radius: 4px;
  border: 2px solid #ffe14d;
  font-family: "Press Start 2P", "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 2px #0c0322,
    0 0 0 3px rgba(255, 61, 160, 0.85),
    0 0 22px rgba(255, 61, 160, 0.55),
    0 0 44px rgba(255, 61, 160, 0.3);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}
body.dark .cta:hover {
  filter: brightness(1.1) saturate(1.05);
  box-shadow:
    0 0 0 2px #0c0322,
    0 0 0 3px #ffe14d,
    0 0 32px rgba(255, 225, 77, 0.6),
    0 0 60px rgba(255, 61, 160, 0.4);
}
body.dark .cta .cta-text small { font-size: 8px; }
body.dark .cta .cta-text span { font-size: 12px; }

/* Hide app-style decorations in dark mode */
body.dark .chat-bubble,
body.dark .mascot,
body.dark .blob { display: none; }

body.dark .phone {
  background: rgba(20, 8, 48, 0.85);
  border: 1.5px solid #4de8ff;
  box-shadow:
    0 0 24px rgba(77, 232, 255, 0.4),
    0 0 50px rgba(154, 69, 255, 0.3),
    inset 0 0 14px rgba(77, 232, 255, 0.1);
}

body.dark .section-eyebrow {
  color: #4dff9a;
  font-family: "Press Start 2P", monospace;
  letter-spacing: 0.16em;
  text-shadow: 0 0 6px rgba(77, 255, 154, 0.55);
}
body.dark .section-title {
  font-family: "Press Start 2P", "Inter", monospace;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.5;
  color: #4de8ff;
  text-shadow: 0 0 8px rgba(77, 232, 255, 0.7), 2px 2px 0 #9a45ff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.dark .section-title br { display: none; }
body.dark .section-sub {
  font-family: "VT323", monospace;
  font-size: 20px;
  color: #c8bfe6;
}

body.dark .card {
  background: rgba(28, 12, 64, 0.85);
  border: 1.5px solid #4de8ff;
  border-radius: 6px;
  box-shadow:
    inset 0 0 16px rgba(77, 232, 255, 0.08),
    0 0 14px rgba(77, 232, 255, 0.22),
    0 0 36px rgba(154, 69, 255, 0.15);
  position: relative;
}
body.dark .card::before {
  content: "";
  position: absolute;
  top: -1.5px; left: 22px;
  width: 44px; height: 4px;
  background: #ffe14d;
  box-shadow: 0 0 8px #ffe14d;
}
body.dark .card:hover {
  border-color: #ff3da0;
  box-shadow:
    inset 0 0 18px rgba(255, 61, 160, 0.12),
    0 0 18px rgba(255, 61, 160, 0.4),
    0 0 48px rgba(154, 69, 255, 0.25);
}
body.dark .card-icon {
  border-radius: 6px;
  border: 1.5px solid currentColor;
  box-shadow: 0 0 10px currentColor;
}
body.dark .card-icon.teal { background: rgba(77, 232, 255, 0.10); color: #4de8ff; }
body.dark .card-icon.purple { background: rgba(154, 69, 255, 0.15); color: #c79bff; }
body.dark .card-icon.pink { background: rgba(255, 61, 160, 0.15); color: #ff3da0; }
body.dark .card h3 {
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #ffe14d;
  text-shadow: 0 0 6px rgba(255, 225, 77, 0.45);
  line-height: 1.55;
}
body.dark .card p {
  font-family: "VT323", monospace;
  font-size: 18px;
  color: #c8bfe6;
}

body.dark .closing h2 {
  font-family: "Press Start 2P", "Inter", monospace;
  font-size: clamp(16px, 2.6vw, 26px);
  line-height: 1.6;
  color: #4dff9a;
  text-shadow: 0 0 10px rgba(77, 255, 154, 0.7), 2px 2px 0 #9a45ff;
}
body.dark .closing p {
  font-family: "VT323", monospace;
  font-size: 20px;
  color: #c8bfe6;
}

body.dark footer {
  background: rgba(12, 3, 34, 0.6);
  border-top: 1.5px solid rgba(154, 69, 255, 0.28);
  color: #8b7fb3;
  font-family: "VT323", monospace;
  font-size: 18px;
  letter-spacing: 0.04em;
}
body.dark footer a { color: #4de8ff; text-shadow: 0 0 5px rgba(77, 232, 255, 0.4); }
body.dark footer a:hover { color: #ff3da0; }
body.dark .footer-sep { color: #9a45ff; }
body.dark .footer-copy {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: #9a45ff;
  letter-spacing: 0.16em;
}

/* Build Log — dark mode */
body.dark .page-header h1 {
  font-family: "Press Start 2P", "Inter", monospace;
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #f4f0ff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.35),
    3px 3px 0 #ff3da0,
    6px 6px 0 #9a45ff;
}
body.dark .release-version {
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #ffe14d;
  text-shadow: 0 0 6px rgba(255, 225, 77, 0.45);
}
body.dark .release-date {
  font-family: "VT323", monospace;
  font-size: 18px;
  color: #c8bfe6;
}
body.dark .release-group h4 {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: #4de8ff;
  text-shadow: 0 0 6px rgba(77, 232, 255, 0.55);
}
body.dark .release-group.changed h4 { color: #c79bff; text-shadow: 0 0 6px rgba(199, 155, 255, 0.55); }
body.dark .release-group.fixed h4 { color: #ff3da0; text-shadow: 0 0 6px rgba(255, 61, 160, 0.55); }
body.dark .release-group li {
  font-family: "VT323", monospace;
  font-size: 18px;
  color: #c8bfe6;
}
body.dark .release-group li::before { background: #4de8ff; box-shadow: 0 0 6px #4de8ff; }
body.dark .release-group.changed li::before { background: #c79bff; box-shadow: 0 0 6px #c79bff; }
body.dark .release-group.fixed li::before { background: #ff3da0; box-shadow: 0 0 6px #ff3da0; }
body.dark .release-group li strong { color: #ffe14d; font-weight: 400; }
