﻿@view-transition {
  navigation: auto;
}

:root {
  --color-accent: #8B7FE8;
  --color-accent-strong: #6E5FD9;
  --color-accent-tint: rgba(139, 127, 232, 0.12);
  --color-text: #1A1A1E;
  --color-muted: #8B8B94;
  --color-border: #E5E5E5;
  --color-bg: #FAFAFA;
  --color-panel: #FFFFFF;
  --color-body: #45454D;
  --color-body-2: #3A3A42;
  --color-black: #17171A;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  animation: page-fade-in 0.15s ease both;
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dropdown-pop {
  0% { opacity: 0; transform: translateY(-4px) scale(0.94); }
  60% { opacity: 1; transform: translateY(2px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-strong); }

*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

button { font-family: inherit; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: var(--color-panel);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 30px; height: 30px;
  object-fit: contain;
  display: block;
  flex: none;
  filter: drop-shadow(0 2px 4px rgba(23, 23, 26, 0.35));
}

.brand-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.brand-sep { color: var(--color-border); margin: 0 4px; }

.brand-page { font-size: 13px; color: var(--color-muted); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  color: #45454D;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.nav-links a[aria-current="page"] {
  background: var(--color-accent-tint);
  color: var(--color-accent-strong);
  font-weight: 700;
}
.nav-links a[aria-current="page"]:hover {
  background: var(--color-accent-tint);
  color: var(--color-accent-strong);
}

.lang-switch {
  position: relative;
  border-left: 1px solid var(--color-border);
  padding-left: 12px;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: var(--color-black);
  color: #fff;
}

.lang-trigger .caret { font-size: 10px; }

.lang-menu {
  position: absolute;
  top: 100%; right: 0;
  padding-top: 6px;
  z-index: 20;
  display: none;
}

.lang-menu.open { display: block; }

.lang-menu-inner {
  background: var(--color-black);
  border-radius: 10px;
  padding: 6px;
  min-width: 110px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  animation: dropdown-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: top right;
}

.lang-menu-inner button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.lang-menu-inner button.active { background: rgba(255, 255, 255, 0.14); }

/* ---------- Page shell ---------- */

.page-body { padding-top: 64px; }

.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--color-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -1px;
}

.hero p {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 32px;
  color: var(--color-body);
}

.site-footer {
  background: var(--color-panel);
  border-top: 1px solid var(--color-border);
  padding: 32px 24px;
}

.footer-inner {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 640px;
  color: var(--color-muted);
}

.footer-inner a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--color-muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.footer-links a:hover {
  background: var(--color-accent-tint);
  color: var(--color-accent-strong);
}

.footer-links a svg {
  width: 18px;
  height: 18px;
}

@media print {
  [data-print-hide] { display: none !important; }
  [data-print-show-full] { padding-top: 0 !important; grid-template-columns: 1fr !important; }
  body { background: #fff !important; }
}

/* ==================================================================
   Terms of Use page
   ================================================================== */

.terms-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 24px 36px;
}

.mobile-toc { padding: 0 24px 16px; display: none; }

.mobile-toc-toggle {
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  background: var(--color-black);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-toc-toggle .glyph { color: var(--color-accent); }

.mobile-toc-list {
  display: none;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-top: 8px;
  max-height: 50vh;
  overflow-y: auto;
  background: var(--color-panel);
}

.mobile-toc-list.open { display: block; }

.mobile-toc-list a {
  display: block;
  padding: 11px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.mobile-toc-list a:last-child { border-bottom: none; }

.mobile-toc-list a .num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--color-accent);
  margin-right: 8px;
}

.terms-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 80px;
  align-items: start;
}

.toc-sidebar {
  position: sticky;
  top: 84px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-panel);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.toc-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
  text-transform: uppercase;
}

.toc-sidebar-head .count {
  background: var(--color-bg);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--color-muted);
  font-weight: 700;
}

.toc-sidebar-list { padding: 6px; }

.toc-sidebar-list a {
  display: block;
  padding: 8px 10px;
  font-size: 13.5px;
  line-height: 1.4;
  border-radius: 10px;
  margin-bottom: 2px;
  color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease;
}

.toc-sidebar-list a .num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin-right: 8px;
  color: var(--color-accent);
}

.toc-sidebar-list a.active {
  background: var(--color-accent-tint);
  color: var(--color-accent-strong);
}
.toc-sidebar-list a.active .num { color: var(--color-accent-strong); }

.clause-main { min-width: 0; }

.clause-card {
  scroll-margin-top: 84px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: 16px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.clause-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: #D8D8D8;
}

.clause-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--color-border);
}

.clause-num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--color-accent-tint);
  color: var(--color-accent-strong);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12.5px;
  display: flex; align-items: center; justify-content: center;
}

.clause-card-head h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.2px;
  flex: 1;
}

.clause-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--color-accent-tint);
  color: var(--color-accent-strong);
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
  white-space: nowrap;
}

.clause-tag .dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--color-accent-strong);
}

.clause-card-body { padding: 20px 22px 22px; }

.clause-card-body p {
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 14px;
  color: var(--color-body-2);
}
.clause-card-body p:last-child { margin-bottom: 0; }

.clause-quote {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--color-bg);
  color: #4A4A52;
  border-left: 3px solid var(--color-accent);
}

.clause-card-body ul {
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
}
.clause-card-body ul:last-child { margin-bottom: 0; }

.clause-card-body li {
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  color: var(--color-body-2);
}
.clause-card-body li:last-child { margin-bottom: 0; }

.clause-card-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
}

.clause-card-body li strong { color: var(--color-text); }

@media (max-width: 900px) {
  .mobile-toc { display: block; }
  .toc-sidebar { display: none; }
  .terms-layout { grid-template-columns: 1fr; }
}

/* ==================================================================
   Download page
   ================================================================== */

.hero-band {
  position: relative;
  overflow: hidden;
  padding: 40px 24px;
}

.hero-band video,
.hero-band .video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.95);
  opacity: 0.25;
  z-index: 0;
  background: var(--color-bg);
}

.hero-band-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
}

.download-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

.requirements-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--color-border);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 20px;
  white-space: nowrap;
}

.requirements-pill .label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.requirements-pill .value {
  font-size: 13px;
  font-weight: 400;
  color: #6A6A72;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.plan-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--color-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.plan-price {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-price .suffix {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--color-muted);
}

.plan-action { position: relative; }

.plan-btn {
  background: var(--color-black);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.plan-btn:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.plan-dropdown {
  position: absolute;
  top: 100%; right: 0;
  padding-top: 6px;
  z-index: 10;
  display: none;
}
.plan-dropdown.open { display: block; }

.plan-dropdown-inner {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 8px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: dropdown-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: top right;
}

.plan-dropdown-inner a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
}
.plan-dropdown-inner a:hover { background: var(--color-bg); }
.plan-dropdown-inner a .arrow { color: var(--color-accent); font-size: 12px; }

.info-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 22px;
}

.info-card .title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-body-2);
}

.footnote {
  font-size: 12.5px;
  color: var(--color-muted);
  margin-top: 16px;
  line-height: 1.7;
}
.footnote a { font-weight: 600; }

/* ==================================================================
   Guide page
   ================================================================== */

.guide-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.guide-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.guide-title-row h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -1px;
  flex: 1 1 auto;
  white-space: nowrap;
}

.segmented {
  display: flex;
  gap: 2px;
  flex: none;
  background: var(--color-border);
  border-radius: 11px;
  padding: 3px;
}

.segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  background: transparent;
  color: #45454D;
}

.segmented button:hover { background: rgba(0, 0, 0, 0.06); }

.segmented button.active {
  background: var(--color-accent);
  color: #fff;
}
.segmented button.active:hover { background: var(--color-accent); }

.guide-intro {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 36px;
  color: var(--color-body);
}

.step-list, .video-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.video-list { display: none; }
.video-list.active { display: flex; }
.step-list.hidden { display: none; }

.step-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
}

.step-num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--color-accent-tint);
  color: var(--color-accent-strong);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

.step-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.step-desc { font-size: 13.5px; color: var(--color-body-2); line-height: 1.75; }

.video-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 13px;
}

.video-card-body { padding: 16px 18px; }
.video-card-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.video-card-desc { font-size: 13.5px; color: var(--color-body-2); line-height: 1.7; }

/* Precision pass: hierarchy, responsive behavior, accessibility */
.hero h1, .guide-title-row h1 { letter-spacing: -0.035em; text-wrap: balance; }
.hero p, .guide-intro, .footer-inner p, .info-card p { text-wrap: pretty; }
.hero-band video, .hero-band .video-fallback { filter: blur(10px) brightness(0.98); opacity: 0.18; background: var(--color-bg); }
.hero-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(255,255,255,.54); z-index: 0; }
.plan-card { min-height: 92px; transition: border-color .18s ease, transform .18s ease; }
.plan-card:hover { border-color: #cbc6f6; transform: translateY(-2px); }
.plan-btn:focus-visible, .lang-trigger:focus-visible, .segmented button:focus-visible, .mobile-toc-toggle:focus-visible { outline-offset: 3px; }
.video-placeholder { background: var(--color-bg); }
@media (max-width: 700px) {
  .site-header { height: auto; min-height: 64px; padding: 12px 16px; align-items: flex-start; gap: 12px; }
  .site-nav { gap: 6px; align-items: flex-start; }
  .nav-links { display: none; }
  .brand-page { display: none; }
  .page-body { padding-top: 64px; }
  .hero-band, .terms-hero, .guide-hero { padding-top: 40px; }
  .hero h1, .guide-title-row h1 { font-size: clamp(34px, 12vw, 48px); }
  .plan-card { align-items: flex-start; gap: 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { align-self: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

.brand-link:hover { color: inherit; }


/* Feature overview panel */
.feature-list { margin-bottom: 36px; }
.feature-list[hidden] { display: none; }
.feature-intro {
  max-width: 680px;
  margin: 0 0 20px;
  color: var(--color-body);
  font-size: 15px;
  line-height: 1.8;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.feature-card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.feature-index {
  color: var(--color-accent-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  padding-top: 2px;
}
.feature-card h2 { margin: 0 0 6px; font-size: 15px; line-height: 1.4; }
.feature-card p { margin: 0; color: var(--color-body-2); font-size: 13.5px; line-height: 1.75; }
.feature-availability {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-accent-tint);
  color: var(--color-body-2);
  font-size: 13px;
  line-height: 1.75;
}
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }


/* Feedback sits with the footer destinations, keeping the primary navigation calm. */
.footer-feedback-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: 34px !important;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--color-accent-strong) !important;
  background: var(--color-accent-tint);
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.footer-feedback-link:hover {
  color: var(--color-accent-strong) !important;
  background: rgba(139, 127, 232, 0.2);
  transform: translateY(-1px);
  text-decoration: none;
}


.feature-version-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.feature-version-card {
  padding: 18px 20px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.feature-version-card:hover { transform: translateY(-1px); border-color: #cbc6f6; }
.feature-version-card:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.feature-version-card.active { border-color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.feature-version-card--full { border-color: #cbc6f6; background: rgba(139, 127, 232, 0.06); }
.feature-version-label {
  margin-bottom: 8px;
  color: var(--color-accent-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
}
.feature-version-card h2 { margin: 0 0 6px; font-size: 17px; }
.feature-version-card p { margin: 0; color: var(--color-body-2); font-size: 13.5px; line-height: 1.75; }
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.feature-scope {
  display: inline-flex;
  margin-top: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
}
.feature-scope--trial { color: #69636f; background: #f0eff2; }
.feature-scope--full { color: var(--color-accent-strong); background: var(--color-accent-tint); }
@media (max-width: 640px) {
  .feature-version-grid, .feature-detail-grid { grid-template-columns: 1fr; }
}


/* Version filtering must win over the card grid display rule. */
.feature-card[hidden],
.feature-version-card[hidden] { display: none !important; }


.feature-detail-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.feature-detail-heading h2 { margin: 0 0 3px; font-size: 16px; letter-spacing: -.2px; }
.feature-detail-heading p { margin: 0; color: var(--color-muted); font-size: 12.5px; line-height: 1.5; }
.feature-detail-rule { flex: 1; height: 1px; background: var(--color-border); }
@keyframes feature-card-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
.feature-card.is-revealing {
  animation: feature-card-in .34s cubic-bezier(.22,.61,.36,1) both;
  animation-delay: calc(var(--feature-order, 0) * 28ms);
}
.feature-version-card:active { transform: translateY(1px) scale(.99); }
@media (prefers-reduced-motion: reduce) {
  .feature-card.is-revealing { animation: none; }
}


/* Feature list: an index panel distinct from the larger version selectors above. */
.feature-detail-heading {
  margin: 32px 0 12px;
  padding-top: 0;
  border-top: 0;
}
.feature-detail-rule { display: none; }
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 8px;
  background: #faf9fc;
  border: 1px solid #eeecf3;
  border-radius: 16px;
}
.feature-detail-grid .feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  min-height: 142px;
  padding: 18px 16px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature-detail-grid .feature-card:hover {
  background: var(--color-panel);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(80, 72, 120, .08);
}
.feature-detail-grid .feature-index {
  position: relative;
  padding-top: 2px;
  color: var(--color-accent-strong);
}
.feature-detail-grid .feature-index::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 28px;
  background: #d8d4ec;
}
.feature-detail-grid .feature-card h2 { font-size: 15px; }
.feature-detail-grid .feature-card p { max-width: 42ch; }
@media (max-width: 640px) {
  .feature-detail-grid { grid-template-columns: 1fr; }
}


/* Download page consistency pass: reuse the guide and terms visual language. */
.hero-band {
  padding: 56px 24px 36px;
  background: var(--color-bg);
}
.download-section { padding: 28px 24px 40px; }
.download-spec {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: auto;
  padding: 8px 16px;
  margin: 0 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--color-border);
  white-space: nowrap;
}
.download-spec .label {
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  color: var(--color-text);
}
.download-spec .value { font-size: 13px; color: #6A6A72; }
.plan-grid { gap: 14px; margin-bottom: 36px; }
.plan-card {
  min-height: 0;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 18px;
}
.plan-card + .plan-card { border-left: 1px solid var(--color-border); }
.plan-btn { border-radius: 9px; }
.about-editorial {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.8fr);
  gap: 30px;
  padding: 24px 26px 26px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.about-editorial-head { padding-top: 0; }
.about-kicker {
  margin: 2px 0 16px;
  color: var(--color-accent-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700;
}
.about-editorial-head h2 {
  max-width: 280px;
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.about-editorial-copy { padding-top: 0; }
.about-body {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--color-body-2);
  font-size: 15px;
  line-height: 1.85;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
}
.about-fact {
  display: flex;
  gap: 10px;
  padding: 16px 14px 0 0;
}
.about-fact + .about-fact { border-left: 1px solid var(--color-border); padding-left: 14px; }
.about-fact-index { color: var(--color-accent); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.about-fact h3 { margin: 0 0 7px; font-size: 13px; line-height: 1.35; }
.about-fact p { margin: 0; color: var(--color-muted); font-size: 12px; line-height: 1.65; }
@media (max-width: 720px) {
  .download-spec { max-width: 100%; white-space: normal; }
  .plan-card { min-height: 96px; padding: 16px 18px; }
  .plan-card + .plan-card { border-left: 1px solid var(--color-border); }
  .about-editorial { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .about-editorial-head h2 { max-width: 560px; }
  .about-facts { grid-template-columns: 1fr; }
  .about-fact, .about-fact + .about-fact { border-left: 0; border-bottom: 1px solid var(--color-border); padding: 14px 0; }
  .about-fact:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .about-editorial, .plan-card { transition: none; }
}


/* Primary action zone and secondary release reference zone. */
.download-primary { padding: 24px 20px 30px; border-radius: 16px; background: var(--color-panel); box-shadow: 0 10px 28px rgba(23, 23, 26, .045); }
.download-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.download-meta .download-spec { margin-bottom: 0; }
.version-spec { display: inline-flex; align-items: baseline; gap: 8px; color: var(--color-body-2); font-size: 13px; white-space: nowrap; }
.version-spec .label { color: var(--color-muted); font-size: 12px; }
.version-spec strong { color: var(--color-accent-strong); font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.version-spec time { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--color-body-2); }
.version-sep { color: var(--color-border); margin: 0 3px; }
.download-primary .about-editorial { margin-top: 46px; box-shadow: none; }
.release-section-heading { display: flex; align-items: center; gap: 14px; margin: 38px 0 12px; color: var(--color-muted); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
.release-section-heading span:last-child { height: 1px; flex: 1; background: var(--color-border); }
.release-notes { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 0; margin: 0 0 20px; overflow: hidden; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-panel); }
.release-panel { min-width: 0; padding: 24px 26px; border: 0; border-radius: 0; }
.release-panel--overview { background: var(--color-accent-tint); border-right: 1px solid var(--color-border); }
.release-panel-label { margin: 0 0 16px; color: var(--color-accent-strong); font-family: 'JetBrains Mono', monospace; font-size: 18px; letter-spacing: -.04em; font-weight: 700; }
.release-panel h2 { margin: 0 0 9px; font-size: 17px; }
.release-panel h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 14px; }
.release-panel--log h3::before { content: ''; width: 7px; height: 7px; flex: none; border-radius: 999px; background: var(--color-accent); box-shadow: 0 0 0 4px var(--color-accent-tint); }
.release-panel p { margin: 0; color: var(--color-body-2); font-size: 13px; line-height: 1.75; }
.release-log-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 13px; margin-bottom: 15px; border-bottom: 1px solid var(--color-border); }
.release-log-head h2 { margin: 0; }
.release-log-head time { color: var(--color-muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
@media (max-width: 720px) {
  .download-primary { padding: 20px 16px 24px; }
  .download-meta { align-items: flex-start; flex-direction: column; gap: 10px; }
  .version-spec { flex-wrap: wrap; white-space: normal; }
  .download-primary .about-editorial { margin-top: 32px; }
  .release-notes { grid-template-columns: 1fr; }
  .release-panel--overview { border-right: 0; border-bottom: 1px solid var(--color-border); }
}


/* Quiet animated hero background: atmosphere only, never competes with the copy. */
.hero-band { isolation: isolate; background: #fbfbfd; }
.hero-band .video-fallback {
  opacity: .46;
  filter: blur(26px) saturate(.9);
  background:
    radial-gradient(ellipse at 18% 25%, rgba(139, 127, 232, .22), transparent 38%),
    radial-gradient(ellipse at 82% 68%, rgba(190, 183, 247, .18), transparent 42%),
    linear-gradient(118deg, rgba(255,255,255,.94), rgba(248,247,255,.76));
  transform: scale(1.08);
  animation: hero-atmosphere 18s ease-in-out infinite alternate;
}
.hero-band::after {
  background: linear-gradient(110deg, rgba(255,255,255,.78), rgba(255,255,255,.58) 52%, rgba(255,255,255,.76));
}
@keyframes hero-atmosphere {
  0% { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.12) translate3d(1.5%, 1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-band .video-fallback { animation: none; }
}


.hero-brand-watermark {
  position: absolute;
  z-index: 0;
  width: clamp(180px, 25vw, 320px);
  height: auto;
  right: 11%;
  top: 50%;
  opacity: .075;
  filter: grayscale(1) saturate(.55) blur(.2px);
  transform: translateY(-50%) rotate(-8deg);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 700px) {
  .hero-brand-watermark { right: 5%; width: 180px; opacity: .055; }
}
