:root {
  color-scheme: dark;
  --bg-primary: #080b12;
  --bg-secondary: #0e1320;
  --bg-tertiary: #121826;
  --surface-glass: rgba(18, 24, 38, 0.58);
  --surface-glass-strong: rgba(12, 17, 28, 0.72);
  --surface-quiet: rgba(11, 15, 24, 0.82);
  --border-soft: rgba(180, 200, 255, 0.12);
  --border-highlight: rgba(130, 170, 255, 0.22);
  --border-bright: rgba(201, 212, 231, 0.22);
  --text-primary: #e8edf8;
  --text-secondary: #a8b3c7;
  --text-muted: #7e8798;
  --accent-blue: #5b8cff;
  --accent-blue-glow: rgba(91, 140, 255, 0.22);
  --accent-indigo: #6c63ff;
  --accent-silver: #c9d4e7;
  --shadow-panel: 0 30px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, 0.24);
  --blur-strong: 24px;
  --blur-soft: 16px;
  --radius-xs: 14px;
  --radius-sm: 20px;
  --radius-md: 28px;
  --radius-lg: 36px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --container: 1180px;
  --container-narrow: 760px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(108, 99, 255, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(91, 140, 255, 0.12), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(118, 150, 214, 0.08), transparent 35%),
    linear-gradient(180deg, #070910 0%, #080b12 38%, #0a0f18 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 6px
    );
  opacity: 0.24;
}

body::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.2'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.09;
}

::selection {
  background: rgba(91, 140, 255, 0.35);
  color: var(--text-primary);
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-color: rgba(91, 140, 255, 0.45);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: rgba(91, 140, 255, 0.72);
}

:focus-visible {
  outline: 2px solid rgba(91, 140, 255, 0.9);
  outline-offset: 3px;
}

main,
section,
article,
div,
h1,
h2,
h3,
p,
ul,
li,
figure,
figcaption {
  scroll-margin-top: 112px;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -48px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  z-index: 80;
}

.skip-link:focus {
  top: 20px;
}

.container,
.container-narrow {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.container-narrow {
  width: min(calc(100% - 32px), var(--container-narrow));
}

.section,
.page-hero,
.hero {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.section-tight {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-header {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.eyebrow,
.kicker,
.meta-row,
.footer-meta,
.site-nav a,
.button-ghost,
.caption,
.list-label {
  font-family: "SFMono-Regular", "SF Mono", "Menlo", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--accent-silver);
  font-size: 0.74rem;
}

p {
  margin: 0;
  color: var(--text-secondary);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.lede {
  max-width: 60ch;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
}

.muted {
  color: var(--text-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 1rem 0 0;
}

.header-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: calc(var(--radius-sm) + 4px);
  background: linear-gradient(180deg, rgba(16, 22, 35, 0.82), rgba(11, 15, 24, 0.72));
  backdrop-filter: blur(var(--blur-strong));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border-highlight);
  background: rgba(91, 140, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--accent-silver);
  font-size: 0.9rem;
}

.brand-text {
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
}

.site-nav a {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text-primary);
}

.site-nav a[aria-current="page"] {
  background: rgba(91, 140, 255, 0.08);
  border-color: var(--border-highlight);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem;
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-shell,
.panel,
.card,
.screenshot-frame,
.atmosphere-frame,
.list-card,
.note-card,
.legal-card,
.callout,
.footer-frame,
.quote-block,
.hero-aside {
  position: relative;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--surface-glass), var(--surface-glass-strong));
  backdrop-filter: blur(var(--blur-strong));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow-panel);
}

.hero-shell,
.footer-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-shell::before,
.panel::before,
.card::before,
.screenshot-frame::before,
.atmosphere-frame::before,
.note-card::before,
.legal-card::before,
.callout::before,
.footer-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%);
  opacity: 0.9;
}

.hero-shell {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.panel-content,
.note-stack,
.legal-stack,
.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-copy {
  align-content: center;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.hero-visual {
  align-content: stretch;
}

.hero-subgrid,
.two-up,
.three-up,
.metrics,
.info-grid,
.product-facts,
.gallery-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.hero-subgrid,
.two-up,
.metrics,
.product-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.button-row,
.inline-links,
.meta-row,
.footer-links,
.section-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.pill,
.meta-chip,
.support-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-highlight);
  background: rgba(91, 140, 255, 0.08);
  color: var(--accent-silver);
  width: fit-content;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.button {
  border: 1px solid var(--border-highlight);
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.2), rgba(91, 140, 255, 0.12));
  color: var(--text-primary);
  box-shadow: 0 0 0 1px rgba(91, 140, 255, 0.08), 0 18px 32px rgba(17, 30, 61, 0.26);
}

.button-ghost {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.button:hover,
.button-ghost:hover,
.button:focus-visible,
.button-ghost:focus-visible,
.card:hover,
.note-card:hover,
.screenshot-frame:hover {
  transform: translateY(-2px);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 0 0 1px rgba(91, 140, 255, 0.12), 0 20px 34px rgba(17, 30, 61, 0.34);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--border-highlight);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.card,
.list-card,
.note-card,
.legal-card,
.callout,
.hero-aside {
  padding: clamp(1.15rem, 2vw, 1.5rem);
  border-radius: var(--radius-md);
}

.list-card,
.legal-card {
  background: linear-gradient(180deg, rgba(14, 19, 32, 0.9), rgba(12, 17, 28, 0.9));
}

.screenshot-frame {
  padding: 0.75rem;
  border-radius: calc(var(--radius-md) + 4px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 23, 37, 0.8), rgba(9, 13, 22, 0.76));
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-md) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.screenshot-frame picture {
  display: block;
}

.atmosphere-frame {
  overflow: hidden;
  border-radius: calc(var(--radius-md) + 4px);
}

.atmosphere-frame picture {
  display: block;
  height: 100%;
}

.atmosphere-frame img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) brightness(0.72);
  transform: scale(1.01);
}

.atmosphere-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.2), rgba(7, 10, 18, 0.56)),
    radial-gradient(circle at 18% 20%, rgba(91, 140, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.atmosphere-frame .frame-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  gap: 0.5rem;
  padding: 1.2rem 1.25rem 1.1rem;
}

.atmosphere-frame .frame-copy p:not(.caption) {
  color: var(--text-primary);
  max-width: 34ch;
  font-size: 1rem;
}

.atmosphere-frame .frame-copy .caption {
  color: var(--accent-silver);
}

.atmosphere-wide {
  min-height: 320px;
}

.atmosphere-mid {
  min-height: 420px;
}

.atmosphere-crisp img {
  filter: saturate(0.72) brightness(0.68) hue-rotate(-10deg);
}

.atmosphere-nocturne img {
  filter: saturate(0.66) brightness(0.62);
}

.atmosphere-signal img {
  filter: grayscale(1) brightness(0.48) contrast(1.05);
}

.screenshot-frame.featured {
  min-height: 100%;
}

.screenshot-frame.featured img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.screenshot-frame.compact img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.frame-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.25rem 0.2rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.caption {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.glow-orb,
.glow-orb-soft {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}

.glow-orb {
  width: 220px;
  height: 220px;
  right: -40px;
  top: -40px;
  background: rgba(91, 140, 255, 0.18);
}

.glow-orb-soft {
  width: 180px;
  height: 180px;
  left: -30px;
  bottom: -50px;
  background: rgba(108, 99, 255, 0.1);
}

.metric {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.metric strong {
  font-size: 1.2rem;
  font-weight: 600;
}

.metric span {
  color: var(--text-muted);
}

.section-split,
.info-split,
.product-band,
.legal-layout,
.contact-layout,
.notes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.section-split.reversed {
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
}

.quote-block {
  padding: clamp(1.4rem, 2vw, 1.8rem);
  border-radius: var(--radius-md);
}

.quote-block p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-primary);
}

.quote-block footer {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.gallery-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.gallery-column,
.gallery-stack,
.legal-stack,
.note-stack {
  display: grid;
  gap: 1rem;
}

.product-facts ul,
.clean-list,
.legal-list,
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list,
.legal-list,
.footer-list {
  display: grid;
  gap: 0.8rem;
}

.clean-list a,
.footer-list a,
.section-links a,
.inline-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.clean-list a:hover,
.clean-list a:focus-visible,
.footer-list a:hover,
.footer-list a:focus-visible,
.section-links a:hover,
.inline-links a:hover,
.inline-links a:focus-visible {
  color: var(--text-primary);
}

.clean-list li,
.legal-list li {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.clean-list li:first-child,
.legal-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-card h2,
.note-card h2,
.callout h2 {
  margin-bottom: 1rem;
}

.prose,
.legal-prose {
  display: grid;
  gap: 1.15rem;
}

.prose h2,
.legal-prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-top: 1.4rem;
}

.prose h3,
.legal-prose h3 {
  margin-top: 0.8rem;
  font-size: 1.15rem;
}

.prose p,
.legal-prose p,
.legal-prose li {
  max-width: 70ch;
}

.legal-prose ul {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.2rem;
  margin: 0;
  color: var(--text-secondary);
}

.meta-row {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.info-card-title {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.footer {
  padding: 0 0 1.5rem;
}

.footer-frame {
  padding: 1.6rem;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: start;
}

.footer-brand {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.footer-nav,
.footer-list {
  display: grid;
  gap: 0.75rem;
}

.footer-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.center-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem 0;
}

.not-found-panel {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
}

.small {
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-split,
  .section-split.reversed,
  .info-split,
  .product-band,
  .legal-layout,
  .contact-layout,
  .notes-layout,
  .gallery-grid,
  .footer-grid,
  .three-up,
  .info-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 0.7rem;
  }

  .header-frame {
    position: relative;
    min-height: 62px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    background: linear-gradient(180deg, rgba(16, 22, 35, 0.96), rgba(11, 15, 24, 0.94));
    backdrop-filter: blur(var(--blur-strong));
    box-shadow: var(--shadow-soft);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero-shell,
  .footer-frame,
  .card,
  .list-card,
  .note-card,
  .legal-card,
  .callout,
  .hero-aside {
    border-radius: var(--radius-sm);
  }

  .hero-subgrid,
  .two-up,
  .metrics,
  .product-facts {
    grid-template-columns: 1fr;
  }

  .button,
  .button-ghost {
    width: 100%;
  }

  .button-row {
    align-items: stretch;
  }

  .frame-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
