:root {
  --text-secondary: #989eae;
  --surface-card: #11141b;
  --line-subtle: rgba(255, 255, 255, 0.085);
  --radius-card: 20px;
}

body {
  background-image:
    radial-gradient(
      ellipse at 15% 10%,
      rgba(0, 229, 255, 0.035),
      transparent 45%
    ),
    url("../images/carbon-fibre.png");
}

.app-container {
  max-width: 1440px;
}
svg {
  flex-shrink: 0;
}
a {
  -webkit-tap-highlight-color: transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  top: 20px;
  gap: 24px;
  padding: 14px 22px;
  margin: 20px 0 36px;
  border-radius: 18px;
  border-color: var(--line-subtle);
  background: rgba(14, 17, 23, 0.92);
  box-shadow: 0 12px 36px #0003;
}
.brand-link {
  text-decoration: none;
  white-space: nowrap;
  gap: 10px;
  text-transform: none;
  letter-spacing: -0.5px;
  font-size: 1.3rem;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent-glow);
  border-radius: 11px;
  color: var(--accent);
  background: #ffffff04;
}
.brand-symbol svg {
  width: 23px;
  height: 23px;
}
.brand-x {
  color: var(--accent);
}
.brand-domain {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
}
.site-header nav ul {
  gap: 26px;
}
.site-header .nav-link {
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.site-header .nav-link.active {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-theme.theme-control {
  position: relative;
  inset: auto !important;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-subtle);
  border-radius: 11px;
  cursor: pointer;
  color: var(--text-secondary);
}
.header-theme:hover {
  color: var(--accent);
  border-color: var(--accent-glow);
}
.header-theme svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  gap: 10px;
  border-radius: 11px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  box-shadow: 0 6px 22px var(--accent-glow);
}
.btn-primary svg {
  width: 17px;
  height: 17px;
}
.header-download {
  padding: 11px 16px;
}
.hero {
  padding: 56px 0 74px;
  gap: 36px;
  min-height: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  padding: 7px 11px;
  background: rgba(0, 229, 255, 0.045);
  border-color: var(--accent-glow);
}
.status-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-glow);
  flex-shrink: 0;
}
.hero-text h1 {
  font-size: clamp(2.65rem, 4.4vw, 4.35rem);
  letter-spacing: -2.5px;
  margin-bottom: 24px;
  line-height: 1.04;
}
.hero-text .hero-description {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 26px;
  max-width: 470px;
}
.demo-player {
  border: 1px solid var(--line-subtle);
  border-radius: 15px;
  background: #ffffff03;
  padding: 16px;
  gap: 12px;
  margin-bottom: 22px;
}
.demo-play-button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.demo-play-button svg {
  width: 17px;
  height: 17px;
}
.demo-caption {
  font-size: 0.65rem;
  line-height: 1.6;
}
.demo-title {
  font-size: 0.8rem;
}
.hero-actions {
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-download {
  padding: 15px 20px;
  font-size: 0.85rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ced3de;
  text-decoration: none;
  font-size: 0.8rem;
}
.text-link:hover {
  color: var(--accent);
}
.text-link svg {
  width: 16px;
  height: 16px;
}
.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 23px;
  color: var(--text-secondary);
  font-size: 0.65rem;
}
.hero-meta span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.hero-meta svg {
  width: 14px;
  height: 14px;
}
.hw-logo-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.console-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6rem;
  color: #a1a6b3;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mixer-panel {
  border-color: #ffffff0c;
}
.section {
  padding: 68px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.section-kicker svg {
  width: 15px;
  height: 15px;
}
.section-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  letter-spacing: -1.1px;
  margin-bottom: 12px;
}
.section-heading .section-desc {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}
.quiet-badge {
  display: inline-flex;
  padding: 6px 9px;
  align-items: center;
  border: 1px solid var(--line-subtle);
  border-radius: 7px;
  font-size: 0.6rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.visualizer-section {
  padding: 0 0 58px;
}
.visualizer-card {
  padding: 26px 30px;
  border-radius: var(--radius-card);
  box-shadow: none;
  background: linear-gradient(135deg, #111820, #101117);
}
.visualizer-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line-subtle);
}
.spectrum-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.spectrum-heading .section-kicker {
  margin-bottom: 9px;
}
.spectrum-title {
  font-size: 1.1rem;
  font-weight: 500;
}
.visualizer-frame {
  height: 120px;
  border: 1px solid #ffffff06;
  background:
    repeating-linear-gradient(0deg, transparent 0 29px, #ffffff04 29px 30px),
    #080c12;
  box-shadow: none;
}
.spectrum-hint {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 0.6rem;
  color: #747d8c;
  pointer-events: none;
}

.preset-collection {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.preset-card {
  --preset-color: #90b4ff;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  color: var(--text-primary);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}
.preset-card--02 {
  --preset-color: #b99aff;
}
.preset-card--03 {
  --preset-color: #6bdac8;
}
.preset-card--04 {
  --preset-color: #f8b282;
}
.preset-card:hover {
  transform: translateY(-4px);
  border-color: var(--preset-color);
}
.preset-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.feature-glyph {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-subtle);
  border-radius: 15px;
  background: #ffffff04;
  color: var(--accent);
  flex-shrink: 0;
}
.feature-glyph svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.5;
}
.preset-card .feature-glyph {
  color: var(--preset-color);
}
.card-number {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: #666e80;
}
.preset-mood {
  font-size: 0.6rem;
  color: var(--preset-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.preset-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.preset-description {
  flex: 1;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.8rem;
  margin-bottom: 25px;
}
.preset-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid var(--line-subtle);
  font-size: 0.6rem;
  color: #7d8596;
}
.preset-download {
  color: var(--preset-color);
  display: inline-flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
}
.preset-download svg {
  width: 13px;
  height: 13px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.spec-card {
  --spec-color: #78d8f5;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, #151b25, #111319 75%);
}
.spec-card--performance {
  --spec-color: #ad9eff;
}
.spec-card--signal {
  --spec-color: #74dac5;
}
.spec-card .feature-glyph,
.spec-card .section-kicker {
  color: var(--spec-color);
}
.spec-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.spec-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 146px;
  margin: 16px 0;
  color: var(--spec-color);
}
.platform-illustration {
  position: relative;
}
.platform-screen {
  width: 130px;
  height: 86px;
  padding: 10px;
  border: 1px solid #78d8f54d;
  border-radius: 9px;
  background: linear-gradient(135deg, #78d8f510, transparent);
  box-shadow: 0 10px 35px #0004;
}
.platform-screen > svg {
  width: 20px;
  height: 20px;
  margin-bottom: 6px;
}
.screen-line {
  display: block;
  height: 3px;
  width: 75%;
  margin: 6px 0;
  border-radius: 2px;
  background: #78d8f53d;
}
.screen-line.short {
  width: 46%;
}
.platform-device {
  margin: 30px 0 0 -20px;
  padding: 7px 3px;
  border: 1px solid #78d8f54d;
  border-radius: 8px;
  background: #111a24;
}
.platform-device svg {
  width: 30px;
  height: 36px;
  stroke-width: 1;
}
.chip-core {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid #ad9eff66;
  outline: 8px solid #ad9eff09;
  border-radius: 15px;
  background: #ad9eff0a;
  box-shadow: 0 0 40px #ad9eff0c;
}
.chip-core svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}
.chip-trace {
  width: 40px;
  height: 25px;
  border-top: 1px solid #ad9eff33;
  border-bottom: 1px solid #ad9eff33;
  background: linear-gradient(
    transparent 49%,
    #ad9eff33 49% 53%,
    transparent 53%
  );
}
.signal-illustration > span {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 1px solid #74dac533;
  border-radius: 12px;
  background: #74dac508;
}
.signal-illustration svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}
.signal-illustration > b {
  height: 1px;
  width: 22px;
  background: #74dac54d;
}
.spec-card h3 {
  color: #f3f5fa;
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin-bottom: 16px;
}
.spec-card .spec-description {
  flex: 1;
  margin: 0 0 25px;
  line-height: 1.8;
  font-size: 0.85rem;
}
.spec-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.spec-tags span {
  padding: 5px 8px;
  border: 1px solid var(--line-subtle);
  border-radius: 6px;
  font-size: 0.6rem;
  color: #9da7b7;
}
.closing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 20px 0 76px;
  padding: 42px;
  border: 1px solid var(--accent-glow);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 90% 30%, var(--accent-glow), transparent 65%),
    #11151c;
}
.closing-card h2 {
  font-size: 2.5rem;
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin-bottom: 18px;
}
.closing-card p:not(.section-kicker) {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.closing-card .btn-primary {
  flex-shrink: 0;
  padding: 16px 22px;
}
.site-footer {
  padding: 48px 0 24px;
  gap: 38px;
}
.footer-description {
  margin: 20px 0 16px;
  font-size: 0.85rem;
  line-height: 1.9;
}
.footer-note {
  font-size: 0.65rem;
  color: #717a8b;
}
.footer-heading {
  font-size: 0.65rem;
  color: #ced2db;
  letter-spacing: 1.5px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-links svg {
  width: 15px;
  height: 15px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line-subtle);
  font-size: 0.6rem;
  color: #737d8d;
}
.footer-bottom > span {
  margin-right: auto;
}
.footer-bottom a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #9ba3b3;
  text-decoration: none;
}
.footer-bottom svg {
  width: 12px;
  height: 12px;
}
.content-wrap {
  max-width: 1100px;
  padding: 50px 0 70px;
  margin: 0 auto;
}
.page-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -2.5px;
  margin-bottom: 28px;
}
.page-intro {
  max-width: 730px;
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 40px;
}
.about-statement {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px;
  background: linear-gradient(120deg, #111e27, #12151c);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-card);
}
.about-statement > p {
  flex: 1;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.about-statement strong {
  color: #e3e9f2;
  font-weight: 500;
}
.feature-grid {
  gap: 18px;
  margin-top: 24px;
}
.feature-card {
  padding: 30px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-card);
}
.feature-card .feature-glyph {
  margin-bottom: 26px;
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 500;
}
.feature-description {
  font-size: 0.9rem;
  line-height: 1.9;
}
.download-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px;
}
.download-callout h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.download-callout p:not(.section-kicker) {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.download-callout .btn-primary {
  flex-shrink: 0;
}
.notes-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
}
.notes-nav {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 18px;
  position: sticky;
  top: 130px;
}
.notes-nav a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.notes-nav a:hover {
  color: var(--accent);
}
.notes-card {
  padding: 30px;
  margin-bottom: 18px;
  background: var(--surface-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-card);
  scroll-margin-top: 120px;
}
.notes-card .feature-glyph {
  width: 42px;
  height: 42px;
}
.notes-card .feature-glyph svg {
  width: 20px;
  height: 20px;
}
.tos-content .notes-card h2 {
  margin: 20px 0 12px;
  font-weight: 500;
}
.notes-card p {
  font-size: 0.9rem;
  line-height: 1.9;
}

@media (max-width: 1240px) {
  .hero {
    gap: 40px;
  }
  .hero-text {
    max-width: 760px;
  }
  .hero-text h1 {
    font-size: 4rem;
  }
  .hero-text .hero-description {
    max-width: 650px;
  }
  .hero .demo-player {
    max-width: 480px;
  }
  .preset-collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-card {
    padding: 22px;
  }
  .spec-card-top {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  .site-header {
    gap: 16px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
  }
  .site-header nav ul {
    justify-content: space-between;
  }
  .header-actions {
    margin-left: auto;
  }
  .specs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .spec-card {
    position: relative;
    padding: 28px;
  }
  .spec-card-top {
    flex-direction: row;
  }
  .spec-illustration {
    height: 130px;
  }
  .notes-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .notes-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  .site-header {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
  }
  .brand-link {
    font-size: 1.15rem;
    gap: 7px;
  }
  .brand-symbol {
    width: 30px;
    height: 30px;
  }
  .brand-domain {
    font-size: 0.7rem;
  }
  .header-actions {
    gap: 7px;
  }
  .header-theme.theme-control {
    width: 32px;
    height: 32px;
  }
  .header-download {
    padding: 9px 10px;
    font-size: 0.7rem;
  }
  .header-download svg {
    width: 14px;
    height: 14px;
  }
  .site-header nav ul {
    gap: 10px;
  }
  .site-header .nav-link {
    font-size: 0.7rem;
  }
  .hero {
    padding: 30px 0 44px;
    gap: 32px;
  }
  .hero-text h1 {
    font-size: 3.2rem;
    letter-spacing: -2px;
  }
  .hero-text .hero-description {
    font-size: 0.95rem;
  }
  .demo-player {
    padding: 13px !important;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-download {
    padding: 14px 16px;
    font-size: 0.8rem;
  }
  .text-link {
    font-size: 0.75rem;
  }
  .console-label {
    font-size: 0.45rem;
    letter-spacing: 0.5px;
  }
  .hw-logo {
    font-size: 1.5rem;
  }
  .hw-logo span {
    font-size: 1.9rem;
  }
  .hw-logo-section {
    padding-right: 0;
  }
  .section {
    padding: 44px 0;
  }
  .visualizer-section {
    padding-top: 0;
  }
  .spectrum-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .spectrum-title {
    font-size: 1rem;
  }
  .section-heading {
    display: block;
  }
  .section-heading > .quiet-badge {
    margin-top: 14px;
  }
  .preset-collection {
    grid-template-columns: minmax(0, 1fr);
  }
  .preset-card {
    padding: 24px;
  }
  .spec-card {
    padding: 24px;
  }
  .spec-card h3 {
    font-size: 1.5rem;
  }
  .spec-card .quiet-badge {
    font-size: 0.55rem;
  }
  .closing-card {
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 44px;
  }
  .closing-card h2 {
    font-size: 2rem;
  }
  .closing-card .btn-primary {
    width: 100%;
    padding: 14px;
  }
  .site-footer {
    padding: 34px 0 24px !important;
  }
  .footer-bottom {
    gap: 18px;
    line-height: 1.7;
  }
  .footer-bottom > span {
    width: 100%;
  }
  .content-wrap {
    padding: 28px 0 !important;
  }
  .page-title {
    letter-spacing: -1.5px;
  }
  .page-intro {
    font-size: 0.95rem;
  }
  .about-statement {
    padding: 24px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .about-statement > p {
    font-size: 1.05rem;
  }
  .feature-card {
    padding: 24px;
  }
  .download-callout {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .download-callout .btn-primary {
    width: 100%;
  }
  .notes-card {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preset-card:hover {
    transform: none;
  }
}

body:has(#audio-play-btn[aria-pressed="true"]) .spectrum-hint {
  opacity: 0;
}
@media (max-width: 540px) {
  .about-statement > .quiet-badge {
    display: none;
  }
}

:root {
  --accent-contrast: #071015;
  --accent-readable: var(--accent);
}
html {
  scroll-padding-top: var(--header-offset, 120px);
}
.btn-primary,
.demo-play-button,
.toggle-btn.active,
.hw-scribble {
  color: var(--accent-contrast);
}
.text-accent,
.brand-x,
.hero-text h1 span,
.section-kicker,
.hero-badge,
.status-dot + span,
.feature-glyph,
.site-header .nav-link.active,
.header-theme:hover {
  color: var(--accent-readable);
}
.mixer-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line-subtle);
  border-radius: 8px;
  background: #ffffff04;
  color: #aab4c4;
  cursor: pointer;
  font-size: 0.65rem;
}
.mixer-reset svg {
  width: 13px;
  height: 13px;
}
.mixer-reset:hover {
  border-color: var(--accent-glow);
  color: var(--accent-readable);
}
.hw-logo-section .mixer-reset {
  order: 2;
  margin-left: auto;
}
.hw-logo-section .hw-logo {
  order: 3;
}
.notes-card {
  scroll-margin-top: var(--header-offset, 120px);
}
@media (max-width: 540px) {
  .brand-link {
    font-size: 1rem;
  }
  .header-actions {
    gap: 6px;
  }
  .mixer-reset {
    padding: 6px;
  }
  .mixer-reset span {
    display: none;
  }
}

.hw-knob-pointer {
  background: var(--accent-readable);
}
.hw-knob-ring {
  background: conic-gradient(
    from 225deg,
    var(--accent-readable) 0deg,
    var(--accent-readable) 270deg,
    transparent 270deg
  );
}
.hw-leds span:nth-child(n + 11).active {
  background: var(--accent-readable);
}

.site-header nav ul {
  gap: 4px;
}
.site-header nav li {
  min-width: 0;
}
.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
  touch-action: manipulation;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}
.site-header .nav-link:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--accent-readable);
}
.site-header .nav-link.active {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--accent-glow);
}
.site-header .nav-link:focus-visible {
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .site-header nav ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
  }
  .site-header .nav-link {
    display: flex;
    width: 100%;
    padding: 10px 4px;
  }
}

:root {
  --page-background:
    radial-gradient(
      circle at 10% 20%,
      rgba(0, 229, 255, 0.05),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 15% 10%,
      rgba(0, 229, 255, 0.035),
      transparent 45%
    ),
    url("../images/carbon-fibre.png");
}
body {
  background-image: var(--page-background);
  background-attachment: fixed;
  background-position: center top;
}
body::before {
  display: none;
}
.site-masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  padding-top: 20px;
  margin-bottom: 36px;
}
.site-masthead::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -1;
  background-color: var(--bg-deep);
  background-image: var(--page-background);
  background-attachment: fixed;
  background-position: center top;
  pointer-events: none;
}
.site-masthead .site-header {
  position: relative;
  top: auto;
  margin: 0;
}
@media (max-width: 800px) {
  .site-masthead {
    position: relative;
    padding-top: 12px;
    margin-bottom: 24px;
  }
  .site-masthead::before {
    display: none;
  }
}

.presets-section .preset-help {
  max-width: 640px;
  margin: 24px auto 0;
  padding: 0 12px;
  color: #929baa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  text-align: center;
  text-wrap: pretty;
}
