@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Russo+One&display=swap');

:root {
  --color-primary: #3eb1d6;
  --color-on-primary: #041018;
  --color-secondary: #7dd8ee;
  --color-on-secondary: #041018;
  --color-accent: #e8a63a;
  --color-on-accent: #14100a;
  --color-background: #070b12;
  --color-foreground: #e8f4fa;
  --color-card: #101826;
  --color-card-foreground: #e8f4fa;
  --color-muted: #161e2c;
  --color-muted-foreground: #9bb0c2;
  --color-border: rgba(62, 177, 214, 0.28);
  --color-destructive: #ef4444;
  --color-ring: #5ee0f5;
  --color-gold: #e8a63a;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --wrap: 1160px;
  --header: 72px;
  --radius: 12px;
  --font-display: "Russo One", system-ui, sans-serif;
  --font-body: "Chakra Petch", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--color-border);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(62, 177, 214, 0.12);
  --shadow-xl: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 80px rgba(62, 177, 214, 0.16);
  --ease: cubic-bezier(0.22, 0.65, 0.25, 1);
  --step-0: 1rem;
  --step-1: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  --step-2: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --step-4: clamp(2.3rem, 1.4rem + 3.6vw, 3.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--color-foreground);
  background: var(--color-background);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
button, a, summary, [role="button"] { cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: var(--color-secondary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; font-weight: 400; }
h1 { font-size: var(--step-4); letter-spacing: 0.02em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.9em;
  background: var(--color-muted);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  word-break: break-word;
}
:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 0.6rem 1rem;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.bg, .scan { pointer-events: none; }
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(62, 177, 214, 0.18), transparent 60%),
    radial-gradient(700px 360px at 100% 8%, rgba(232, 166, 58, 0.08), transparent 55%),
    linear-gradient(180deg, #0a1018 0%, var(--color-background) 40%);
}
.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 177, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 177, 214, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.scan {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  background: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 3px);
}
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(16px);
}
.header.is-stuck { border-bottom-color: var(--color-border); }
.header__bar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-height: 44px;
}
.logo img { width: 36px; height: 36px; }
.logo strong { display: block; font-family: var(--font-display); letter-spacing: 0.06em; }
.logo small { display: block; color: var(--color-muted-foreground); font-size: 0.75rem; }
.nav ul { display: flex; align-items: center; gap: 0.2rem; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  color: var(--color-muted-foreground);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.nav a:not(.btn):hover, .nav a:not(.btn).is-active { color: var(--color-foreground); background: rgba(62, 177, 214, 0.1); }
.nav a.btn--solid {
  color: var(--color-on-primary);
  background: var(--color-primary);
  border-color: transparent;
  font-weight: 600;
}
.nav a.btn--solid:hover,
.nav a.btn--solid:focus-visible {
  color: var(--color-on-primary);
  background: var(--color-primary);
  opacity: 0.92;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-foreground);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.lang-switch {
  position: relative;
  flex-shrink: 0;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(16, 24, 38, 0.85);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.lang-switch-btn:hover,
.lang-switch.is-open .lang-switch-btn {
  border-color: rgba(62, 177, 214, 0.55);
  background: rgba(22, 30, 44, 0.95);
}
.lang-switch__icon { color: var(--color-primary); }
.lang-switch__chev {
  opacity: 0.6;
  transition: transform 0.18s ease;
}
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }
.lang-switch-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  inset-inline-end: 0;
  min-width: 11.5rem;
  padding: 0.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: var(--shadow-lg);
  z-index: 60;
}
.lang-switch-menu a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  color: var(--color-foreground);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
}
.lang-switch-menu a:hover { background: rgba(62, 177, 214, 0.12); }
.lang-switch-menu a[aria-current="true"] {
  background: rgba(62, 177, 214, 0.22);
  color: var(--color-primary);
}

html[dir="rtl"] .header__bar { direction: rtl; }
html[dir="rtl"] .nav ul { flex-direction: row-reverse; }
html[dir="rtl"] .breadcrumb,
html[dir="rtl"] .page-layout,
html[dir="rtl"] .footer__grid { direction: rtl; }
html[dir="rtl"] .toc { text-align: start; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease), opacity 200ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--color-primary); color: var(--color-on-primary); }
.btn--solid:hover { color: var(--color-on-primary); opacity: 0.92; }
.btn--ghost { background: transparent; color: var(--color-secondary); border-color: var(--color-primary); }
.btn--ghost:hover { background: rgba(62, 177, 214, 0.12); color: var(--color-foreground); }
.btn--gold { background: var(--color-accent); color: var(--color-on-accent); }
.btn--gold:hover { color: var(--color-on-accent); opacity: 0.92; }
.btn--lg { min-height: 48px; padding: 0.85rem 1.4rem; }

.badge, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 100%;
}
.kicker { border: 0; padding: 0; }

.hero, .page-hero { position: relative; padding: var(--space-3xl) 0 var(--space-2xl); }
.hero__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
.hero__copy .lede, .page-hero .lede {
  margin-top: 1rem;
  color: var(--color-muted-foreground);
  font-size: var(--step-1);
  max-width: 40rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero__note { margin-top: 1rem; color: var(--color-muted-foreground); font-size: 0.9rem; }
.hero__stage {
  perspective: 1200px;
  min-height: 240px;
}
.device {
  transform: rotateX(12deg) rotateY(-16deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(62, 177, 214, 0.2));
  transition: transform 350ms var(--ease);
}
.device img { width: 100%; }

.block { padding: var(--space-2xl) 0; }
.block--tight { padding-top: 0; }
.block__head { margin-bottom: var(--space-xl); max-width: 40rem; }
.block__head p { margin-top: 0.6rem; color: var(--color-muted-foreground); }

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.card, .feature, .platform, .preset, .related-card, .info-card, .tip-card, .reddit-card, .platform-detail {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.feature, .platform, .related-card, .info-card, .tip-card, .preset, .platform-detail, .reddit-card { padding: 1.25rem; }
.feature:hover, .platform:hover, .related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(62, 177, 214, 0.5);
}
.feature__icon, .platform img {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}
.feature h3, .platform__name { margin: 0.7rem 0 0.35rem; }
.feature p, .platform small { color: var(--color-muted-foreground); }

.platforms {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}
.platform {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  position: relative;
}
.platform.is-you::after {
  content: "This device";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-on-primary);
  background: var(--color-primary);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; align-items: center; }
.stores a { display: block; min-height: 44px; }
.stores img { height: 40px; width: auto; }

.facts {
  display: grid;
  gap: 1rem;
}
.facts article {
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}
.facts strong { display: block; font-family: var(--font-display); margin-bottom: 0.3rem; }
.facts p { color: var(--color-muted-foreground); }

.use-grid, .teaser-grid, .related-grid, .info-grid, .tips-grid, .reddit-grid {
  display: grid;
  gap: 1rem;
}
.related-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 0.25rem; min-height: 44px; }
.related-card span { color: var(--color-primary); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.related-card small { color: var(--color-muted-foreground); }

.cta-band {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(62, 177, 214, 0.16), rgba(7, 11, 18, 0.4)),
    var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  display: grid;
  gap: 1rem;
}
.gold-band {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: var(--space-xl);
  border-radius: 16px;
  border: 1px solid rgba(232, 166, 58, 0.35);
  background: linear-gradient(135deg, rgba(232, 166, 58, 0.12), var(--color-card));
}

.page-hero__inner { max-width: 44rem; }
.page-hero__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
.page-hero--visual { overflow: hidden; }
.page-hero__media {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  background: var(--color-card);
}
.page-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(62, 177, 214, 0.12), transparent 55%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr min(44%, 420px); }
  .page-hero--visual .page-hero__inner { max-width: none; }
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; color: var(--color-muted-foreground); }
.breadcrumb a { color: var(--color-secondary); text-decoration: none; }
.page-layout {
  display: grid;
  gap: var(--space-xl);
}
.page-main > h2 { margin-bottom: 1rem; }
.platform-detail + .platform-detail { margin-top: 1rem; }
.toc {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--color-card);
  height: max-content;
}
.toc h2 { font-size: 0.85rem; font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.6rem; }
.toc ul { list-style: none; }
.toc a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 0.2rem 0.4rem;
  color: var(--color-muted-foreground);
  text-decoration: none;
  border-radius: 6px;
}
.toc a.is-active, .toc a:hover { color: var(--color-foreground); background: rgba(62, 177, 214, 0.1); }

.steps { list-style: none; display: grid; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.step__num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(62, 177, 214, 0.15);
  color: var(--color-secondary);
  font-family: var(--font-display);
}
.step p { color: var(--color-muted-foreground); margin-top: 0.4rem; }
.content-section { margin-top: var(--space-2xl); }
.content-section > p, .content-section li { color: var(--color-muted-foreground); }
.content-section__intro { max-width: 40rem; margin-bottom: 1rem; color: var(--color-muted-foreground); }
.plain-list { padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.callout {
  padding: 1.25rem;
  border-left: 3px solid var(--color-primary);
  background: rgba(62, 177, 214, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout__note { margin-top: 0.8rem; }

.table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--color-border); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.data-table th { background: var(--color-muted); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }

.presets { display: grid; gap: 1rem; }
.preset--featured { border-color: var(--color-primary); box-shadow: var(--shadow-lg); }
.preset__tag { color: var(--color-primary); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.preset ul { margin-top: 0.7rem; padding-left: 1.1rem; display: grid; gap: 0.35rem; color: var(--color-muted-foreground); }

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  margin-bottom: 0.6rem;
}
.faq__item summary {
  min-height: 48px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__body { padding: 0 1.1rem 1.1rem; color: var(--color-muted-foreground); }

.footer {
  margin-top: var(--space-3xl);
  padding: var(--space-2xl) 0 6rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted-foreground);
}
.footer__grid { display: grid; gap: var(--space-xl); }
.footer h2 { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-foreground); margin-bottom: 0.6rem; }
.footer ul { list-style: none; display: grid; gap: 0.35rem; }
.footer a { color: var(--color-muted-foreground); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer a:hover { color: var(--color-secondary); }
.footer__legal { margin-top: 2rem; font-size: 0.85rem; }
.notice {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(7, 11, 18, 0.92);
  border-top: 1px solid var(--color-border);
  transform: translateY(110%);
  transition: transform 250ms var(--ease);
}
.dock.is-visible { transform: none; }
.dock .btn { width: min(100%, 420px); margin: 0 auto; display: flex; }

[data-reveal] { opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal]:nth-child(2) { transition-delay: 60ms; }
[data-reveal]:nth-child(3) { transition-delay: 120ms; }
[data-reveal]:nth-child(4) { transition-delay: 180ms; }

.compare-yes { color: var(--color-secondary); }
.compare-no { color: var(--color-muted-foreground); }

@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .features, .teaser-grid, .related-grid, .tips-grid, .reddit-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .facts article { border-top: 0; border-left: 1px solid var(--color-border); padding: 0 0 0 1.25rem; }
  .facts article:first-child { border-left: 0; padding-left: 0; }
  .cta-band, .gold-band { grid-template-columns: 1fr auto; align-items: center; }
  .presets { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .page-layout { grid-template-columns: minmax(0, 1fr) 220px; align-items: start; }
  .toc { position: sticky; top: calc(var(--header) + 1rem); }
}
@media (max-width: 767px) {
  .nav-toggle { display: grid; }
  .header__bar .lang-switch { margin-inline-start: auto; }
  .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    background: rgba(7, 11, 18, 0.97);
    padding: 1rem;
    transform: translateX(100%);
    transition: transform 250ms var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { width: 100%; }
  .platform.is-you::after { position: static; margin-top: 0.5rem; width: max-content; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan { display: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .device, .btn, .feature, .platform, .related-card, .dock { transition: none; }
  .device { transform: none; }
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.platform-detail .download-actions .btn { margin: 0; }

/* === Homepage (page-home) === */
.page-home .scan { opacity: 0.08; }

.page-home .hero--home {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  min-height: calc(100svh - var(--header) - 1rem);
  display: flex;
  align-items: center;
  overflow: visible;
}
.page-home .hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 340px at 72% 42%, rgba(62, 177, 214, 0.16), transparent 68%);
  pointer-events: none;
}
.page-home .hero__accent { color: var(--color-secondary); }
.page-home .hero__copy .lede--short { max-width: 28rem; }
.page-home .hero__disclaimer {
  margin-top: 1.25rem;
  padding: 0.65rem 0 0 0.85rem;
  border-left: 2px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  max-width: 28rem;
}

/* Hero stage compositor */
.page-home .hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(240px, 42vw, 360px);
  isolation: isolate;
  perspective: 1200px;
}
.page-home .hero__stage-bg,
.page-home .hero__hud,
.page-home .hero__chips,
.page-home .hero__orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-home .hero__watermark {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(52%, 280px);
  translate: -50% -50%;
  opacity: 0.07;
}
.page-home .hero__rings {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(95%, 520px);
  aspect-ratio: 2.2 / 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 100% 70% at 50% 50%, rgba(62, 177, 214, 0.14), transparent 62%),
    radial-gradient(ellipse 78% 55% at 50% 50%, transparent 58%, rgba(62, 177, 214, 0.08) 59%, transparent 60%),
    radial-gradient(ellipse 56% 40% at 50% 50%, transparent 58%, rgba(94, 224, 245, 0.12) 59%, transparent 60%);
  animation: ring-pulse 6s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}
.page-home .hero__hud-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(94, 224, 245, 0.45);
}
.page-home .hero__hud-corner--tl { top: 6%; left: 4%; border-right: 0; border-bottom: 0; }
.page-home .hero__hud-corner--tr { top: 6%; right: 4%; border-left: 0; border-bottom: 0; }
.page-home .hero__hud-corner--bl { bottom: 8%; left: 4%; border-right: 0; border-top: 0; }
.page-home .hero__hud-corner--br { bottom: 8%; right: 4%; border-left: 0; border-top: 0; }

.page-home .hero__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}
.page-home .hero__chip {
  position: absolute;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(16, 24, 38, 0.82);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(62, 177, 214, 0.12);
}
.page-home .hero__chip-label {
  color: var(--color-muted-foreground);
  margin-right: 0.35rem;
}
.page-home .hero__chip--accent { border-color: rgba(232, 166, 58, 0.45); color: var(--color-accent); }
.page-home .hero__chip:nth-child(1) { top: 14%; left: 0; }
.page-home .hero__chip:nth-child(2) { top: 40%; right: -1%; }
.page-home .hero__chip:nth-child(3) { bottom: 24%; left: 2%; }
.page-home .hero__chip:nth-child(4) { bottom: 6%; right: 6%; }

.page-home .device {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  transform: rotateX(10deg) rotateY(-14deg);
  transform-style: preserve-3d;
  padding: 0.45rem;
  border: 1px solid rgba(62, 177, 214, 0.35);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(16, 24, 38, 0.55);
  box-shadow: var(--shadow-xl);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(62, 177, 214, 0.2));
  transition: transform 350ms var(--ease);
}
.page-home .device::before,
.page-home .device::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-primary);
  opacity: 0.55;
  pointer-events: none;
  z-index: 3;
}
.page-home .device::before { top: 0.3rem; left: 0.3rem; border-right: 0; border-bottom: 0; }
.page-home .device::after { bottom: 0.3rem; right: 0.3rem; border-left: 0; border-top: 0; }
.page-home .device__glow {
  position: absolute;
  inset: 15% 5% -5%;
  background: radial-gradient(ellipse at 50% 60%, rgba(62, 177, 214, 0.35), transparent 65%);
  filter: blur(24px);
  z-index: -1;
}
.page-home .device__sweep {
  position: absolute;
  left: 24%;
  top: 22%;
  width: 52%;
  height: 55%;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.22;
  background: linear-gradient(105deg, transparent 40%, rgba(125, 216, 238, 0.35) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: lcd-sweep 5s linear infinite;
  pointer-events: none;
}
@keyframes lcd-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.page-home .hero__orbit img {
  position: absolute;
  width: 28px;
  opacity: 0.55;
  filter: drop-shadow(0 0 8px rgba(62, 177, 214, 0.4));
}
.page-home .hero__orbit img:nth-child(1) { top: 4%; left: 26%; }
.page-home .hero__orbit img:nth-child(2) { top: 26%; right: 2%; }
.page-home .hero__orbit img:nth-child(3) { bottom: 16%; left: 6%; }
.page-home .hero__orbit img:nth-child(4) { bottom: 4%; right: 20%; }

/* Section rhythm */
.page-home .block--alt {
  background: var(--color-muted);
  border-block: 1px solid var(--color-border);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.page-home .block--trust { padding-block: var(--space-xl); }
.page-home .block--cta { padding-bottom: var(--space-3xl); }
.page-home .block__head--center { text-align: center; margin-inline: auto; max-width: 36rem; }

/* Features home */
.page-home .features--home .feature {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: 0.25rem;
  padding: 1.35rem;
  align-items: start;
}
.page-home .features--home .feature__icon {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(62, 177, 214, 0.12);
  border: 1px solid rgba(62, 177, 214, 0.25);
  color: var(--color-primary);
}
.page-home .features--home .feature h3 { margin: 0; }
.page-home .features--home .feature__body { display: contents; }
.page-home .features--home .feature p { grid-column: 2; margin: 0; }
.page-home .features--home .feature--lead {
  border-color: rgba(62, 177, 214, 0.55);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(62, 177, 214, 0.08);
}

/* Platforms home */
.page-home .platforms--home { gap: 1rem; }
.page-home .platforms--home .platform {
  position: relative;
  padding: 1.25rem 1rem;
  min-height: 120px;
}
.page-home .platform.is-you {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(62, 177, 214, 0.12);
}
.page-home .platform__chevron {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.page-home .platform:hover .platform__chevron { opacity: 1; }
.page-home .platform--secondary {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: auto;
  padding: 1rem 1.25rem;
}
.page-home .platform--secondary img { width: 32px; height: 32px; }
.page-home .platform--secondary .platform__name { margin: 0; }
.page-home .platform--secondary small { flex: 1 1 12rem; margin: 0; }
.page-home .platform--secondary .platform__chevron { position: static; margin-left: auto; opacity: 0.5; }
.page-home .platforms__footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.page-home .platforms__footer-note {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  max-width: 24rem;
  margin: 0;
}

/* Trust cards */
.page-home .facts--cards { gap: 1rem; }
.page-home .facts--cards article {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.page-home .facts--cards strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}
.page-home .facts--cards p { color: var(--color-muted-foreground); margin: 0; }

/* Teaser cards */
.page-home .teaser-grid--home .related-card__label {
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.page-home .teaser-grid--home .related-card__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.2;
}

/* CTA bands */
.page-home .gold-band--home { margin: 0; }
.page-home .cta-band--home {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.page-home .cta-band--home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(62, 177, 214, 0.06), transparent);
  pointer-events: none;
}

@media (min-width: 768px) {
  .page-home .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .page-home .hero__grid { overflow: visible; }
  .page-home .platforms--home { grid-template-columns: repeat(3, 1fr); }
  .page-home .facts--cards { grid-template-columns: repeat(3, 1fr); }
  .page-home .facts--cards article {
    border-left: 0;
    padding-left: 1.25rem;
  }
  .page-home .facts--cards article:not(:first-child) { border-left: 1px solid var(--color-border); }
  .page-home .facts--cards article:first-child { padding-left: 0; }
  .page-home .features--home .feature--lead { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .page-home .platforms--home { grid-template-columns: repeat(5, 1fr); }
  .page-home .platform--secondary { grid-column: 1 / -1; }
  .page-home .features--home .feature--lead { grid-column: span 2; }
}

@media (max-width: 767px) {
  .page-home .hero__grid { grid-template-columns: 1fr; }
  .page-home .hero__stage {
    order: -1;
    margin-bottom: var(--space-lg);
    min-height: clamp(200px, 55vw, 280px);
  }
  .page-home .device {
    transform: none;
    max-width: 22rem;
    margin-inline: auto;
  }
  .page-home .hero__chip:nth-child(2),
  .page-home .hero__chip:nth-child(4),
  .page-home .hero__orbit { display: none; }
  .page-home .hero__hud-corner { width: 20px; height: 20px; }
  .page-home .platforms--home { grid-template-columns: 1fr; }
  .page-home .platforms__footer { flex-direction: column; align-items: stretch; }
  .page-home .stores { justify-content: center; margin-top: 0; }
  .page-home .hero__cta .btn { flex: 1 1 calc(50% - 0.375rem); min-width: 0; }
  .page-home .features--home .feature--lead { grid-column: auto; }
}

@media (hover: hover) {
  .page-home .hero__stage:hover .device {
    transform: rotateX(8deg) rotateY(-10deg) translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__rings,
  .page-home .device__sweep { animation: none; }
  .page-home .device { transform: none; }
  .page-home .hero__stage:hover .device { transform: none; }
}

/* Quick start + fix cards (home + shared) */
.block--quick { padding-block: clamp(2rem, 4vw, 3rem); }
.quick-start {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: quick;
}
.quick-start__step {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.quick-start--media .quick-start__step {
  grid-template-columns: 1fr;
  padding: 0;
  overflow: hidden;
}
.quick-start__media {
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: #020408;
}
.quick-start__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.quick-start__step:hover .quick-start__media img { transform: scale(1.03); }
.quick-start__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
}
.quick-start__num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(62, 177, 214, 0.15);
  color: var(--color-secondary);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.quick-start__step strong { display: block; font-family: var(--font-display); margin-bottom: 0.35rem; }
.quick-start__step p { color: var(--color-muted-foreground); margin: 0; }

.fix-grid {
  display: grid;
  gap: 1rem;
}
.fix-card {
  padding: 1.25rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.fix-card:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 177, 214, 0.45);
}
.fix-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}
.fix-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-1);
  margin: 0;
}
.fix-card p {
  color: var(--color-muted-foreground);
  margin: 0;
  flex: 1;
}
.fix-card a {
  margin-top: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.fix-card a:hover { text-decoration: underline; }

.faq--home { max-width: 44rem; }
.block__foot {
  margin-top: 1.25rem;
  color: var(--color-muted-foreground);
}
.block__foot a { font-weight: 600; }

.tip-card h3 { margin: 0 0 0.35rem; font-size: var(--step-1); }
.tip-card p { color: var(--color-muted-foreground); margin: 0; }
.tip-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

/* Showcase gallery, image cards */
.block--showcase {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(62, 177, 214, 0.1), transparent 65%),
    var(--color-muted);
  border-block: 1px solid var(--color-border);
}
.showcase {
  display: grid;
  gap: 1rem;
  max-width: 60rem;
  margin-inline: auto;
}
.showcase__main {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  background: #020408;
  aspect-ratio: 16 / 9;
}
.showcase__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 250ms var(--ease);
}
.showcase__main.is-fading img { opacity: 0.55; }
.showcase__main figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(transparent, rgba(7, 11, 18, 0.94));
}
.showcase__thumbs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.6rem;
}
@media (max-width: 768px) {
  .showcase__thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .showcase__thumbs { grid-template-columns: repeat(3, 1fr); }
}
.showcase__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.showcase__thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.showcase__thumb.is-active {
  opacity: 1;
  border-color: var(--color-primary);
  box-shadow: 0 0 18px rgba(62, 177, 214, 0.22);
}
.showcase__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.related-card--media {
  padding: 0;
  overflow: hidden;
}
.related-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
  transition: transform 400ms var(--ease);
}
.related-card--media:hover .related-card__img { transform: scale(1.04); }
.related-card--media .related-card__label,
.related-card--media .related-card__title,
.related-card--media small {
  padding-inline: 1.25rem;
}
.related-card--media .related-card__label { padding-top: 1rem; }
.related-card--media small { padding-bottom: 1.25rem; display: block; }

@media (min-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .quick-start { grid-template-columns: 1fr 1fr; }
  .fix-grid { grid-template-columns: repeat(2, 1fr); }
  .page-home .quick-start { grid-template-columns: repeat(2, 1fr); }
  .quick-start--media .quick-start__step {
    grid-template-columns: minmax(140px, 38%) 1fr;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .fix-grid { grid-template-columns: repeat(3, 1fr); }
  .page-home .teaser-grid--home { grid-template-columns: repeat(3, 1fr); }
  .quick-start--media .quick-start__step { grid-template-columns: minmax(160px, 42%) 1fr; }
}
