/* DSG.LAB — standalone identity (not shared with 5-cylinder site) */
:root {
  --void: #050608;
  --surface: #0a0c10;
  --elevated: #0e1118;
  --panel: #12161f;
  --stroke: #2a3344;
  --steel: #6b8aa8;
  --steel-dim: #4a5f73;
  --text: #eef0f5;
  --muted: #8b95a8;
  --signal: #ff2335;
  --signal-deep: #c41e2d;
  --glow-signal: rgba(255, 35, 53, 0.35);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --r: 3px;
  --r-lg: 8px;
  --header-h: 56px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --touch: 48px;
  --page-max: 1320px;
}

@media (min-width: 900px) {
  :root {
    --header-h: 68px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body.dsg-site {
  margin: 0;
  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(255, 35, 53, 0.12);
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

#main-content {
  max-width: 100%;
  overflow-x: clip;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: var(--safe-top);
  left: var(--safe-left);
  z-index: 10080;
  padding: 0.65rem 1.1rem;
  background: var(--signal);
  color: var(--void);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.2s ease;
}

.skip-link:focus {
  clip-path: inset(0 0 0 0);
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

.accent {
  color: var(--signal);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header — technical strip */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: var(--header-h);
  padding: var(--safe-top) max(0.75rem, var(--safe-right)) 0 max(0.75rem, var(--safe-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 10050;
  background: var(--void);
  border-bottom: 1px solid var(--stroke);
  box-sizing: border-box;
}

.site-header.scrolled {
  background: rgba(5, 6, 8, 0.92);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--touch);
  min-width: 0;
  flex: 1 1 0%;
  padding: 0.25rem 0;
}

.logo-mark {
  flex-shrink: 0;
  border-radius: var(--r);
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .logo {
    flex: 0 1 auto;
    flex-grow: 0;
  }

  .logo-word {
    font-size: 1.15rem;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

.nav {
  display: none;
  gap: 1.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover {
  color: var(--steel);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--stroke);
  color: var(--steel);
  border-radius: var(--r);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nav-cta:hover {
  border-color: var(--steel);
  color: var(--text);
  background: var(--panel);
}

@media (min-width: 900px) {
  .nav-cta--desktop {
    display: inline-flex;
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch);
  height: var(--touch);
  min-width: var(--touch);
  flex: 0 0 var(--touch);
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover {
  border-color: var(--steel);
}

.menu-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

@media (max-width: 899px) {
  .menu-toggle {
    border-color: var(--steel-dim);
    background: var(--elevated);
    box-shadow: inset 0 0 0 1px rgba(107, 138, 168, 0.15);
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10060;
  pointer-events: none;
}

.mobile-menu:not([hidden]) {
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.85);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu:not([hidden]) .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 19rem);
  height: 100%;
  height: 100dvh;
  padding: calc(var(--header-h) + var(--safe-top) + 1rem) 1.25rem 1.5rem;
  padding-bottom: max(1.5rem, var(--safe-bottom));
  background: var(--elevated);
  border-left: 1px solid var(--stroke);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-menu:not([hidden]) .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-panel a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 0.85rem;
  margin: 0 -0.5rem;
  border-radius: var(--r);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.mobile-menu-panel a:active {
  background: var(--panel);
}

.mobile-menu-cta {
  margin-top: 0.75rem !important;
  justify-content: center !important;
  background: transparent !important;
  border: 2px solid var(--signal) !important;
  color: var(--signal) !important;
  font-family: var(--font-mono) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
}

/* Hero — full-bleed backdrop; .hero-content caps text + diagram width */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + var(--safe-top) + 1.25rem);
  padding-bottom: max(2rem, var(--safe-bottom));
  padding-inline: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding-inline: max(1rem, var(--safe-left)) max(1rem, var(--safe-right));
}

@media (min-width: 640px) {
  .hero-content {
    padding-inline: max(clamp(1.25rem, 4vw, 3rem), var(--safe-left)) max(clamp(1.25rem, 4vw, 3rem), var(--safe-right));
  }
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 340px;
  }
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 23px,
    rgba(42, 51, 68, 0.35) 23px,
    rgba(42, 51, 68, 0.35) 24px
  );
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.hero-beam {
  position: absolute;
  top: 15%;
  left: -20%;
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
  opacity: 0.25;
  transform: rotate(-8deg);
}

.hero-cross {
  position: absolute;
  bottom: 20%;
  right: -10%;
  width: 55%;
  height: 55%;
  border: 1px solid rgba(107, 138, 168, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 1rem;
}

.hero-title {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--signal);
}

.hero-main {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-main em {
  font-style: normal;
  color: var(--steel);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}

.hero-lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 1.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 400px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 520px) {
  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
  }
}

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--touch);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  background: transparent;
  border: 2px solid var(--signal);
  border-radius: var(--r);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--signal);
  color: var(--void);
  box-shadow: 0 0 32px var(--glow-signal);
}

@media (min-width: 480px) {
  .btn-primary {
    width: auto;
  }
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diagram-ring {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagram-ring-track {
  position: absolute;
  inset: 0;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: conic-gradient(from 210deg, transparent 40%, rgba(255, 35, 53, 0.06) 50%, transparent 60%);
}

.diagram-ring-track::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(107, 138, 168, 0.25);
  border-radius: 50%;
}

.diagram-gear {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 5rem);
  font-weight: 800;
  color: var(--text);
  text-shadow: 0 0 40px rgba(255, 35, 53, 0.2);
}

.diagram-tags {
  position: absolute;
  bottom: -0.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.diagram-tags li {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  color: var(--muted);
  background: var(--void);
}

.diagram-tags li.is-primary {
  border-color: var(--signal);
  color: var(--signal);
}

.visual-caption {
  margin: 1.75rem 0 0;
  max-width: 260px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 6.5rem) max(1rem, var(--safe-left)) clamp(3rem, 8vw, 6.5rem) max(1rem, var(--safe-right));
  position: relative;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--stroke);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-brief {
  background: var(--surface);
  border-top: 1px solid var(--stroke);
}

.section-ticker {
  background: var(--void);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .section-ticker {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

.ticker-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.fact-chip {
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  flex: 1 1 140px;
  max-width: 220px;
  min-width: 0;
}

@media (min-width: 480px) {
  .fact-chip {
    flex: 1 1 160px;
  }
}

.fact-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.fact-key {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 0.2rem;
}

.physics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .physics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-wide {
    grid-column: span 2;
  }
}

.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem;
  border-left: 3px solid var(--steel-dim);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-left-color: var(--steel);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.data-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.data-list li {
  margin-bottom: 0.45rem;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.88rem;
}

@media (min-width: 480px) {
  .metrics {
    grid-template-columns: 1fr auto;
  }

  .metrics dd {
    text-align: right;
  }
}

.metrics dt {
  color: var(--muted);
  font-weight: 500;
}

.metrics dd {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--text);
}

.section-trio {
  background: linear-gradient(180deg, var(--surface) 0%, var(--void) 100%);
}

.engine-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .engine-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.engine-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  counter-increment: none;
}

.engine-card header {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--stroke);
}

.engine-card h3 {
  font-family: var(--font-display);
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--stroke);
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
}

.badge.accent {
  color: var(--signal);
  border-color: rgba(255, 35, 53, 0.45);
}

.engine-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

.engine-card li {
  margin-bottom: 0.55rem;
  padding-left: 0.65rem;
  border-left: 2px solid var(--stroke);
}

.engine-card li strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.12rem;
}

.engine-card.featured {
  border-color: rgba(255, 35, 53, 0.35);
  background: linear-gradient(160deg, var(--panel) 0%, rgba(255, 35, 53, 0.04) 100%);
  border-left: 3px solid var(--signal);
}

.section-deep {
  background: var(--void);
  border-top: 1px solid var(--stroke);
}

.section-long {
  background: var(--surface);
  border-top: 1px solid var(--stroke);
}

.ms-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ms-card {
  padding: 1.5rem;
  background: var(--void);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
}

.ms-card h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 0.65rem;
}

.ms-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.compare {
  border-top: 1px solid var(--stroke);
  background: var(--void);
}

.table-scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .table-scroll-hint {
    display: block;
  }
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 720px;
}

.spec-table th,
.spec-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}

.spec-table th {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--panel);
}

.spec-table tbody tr:hover {
  background: rgba(107, 138, 168, 0.04);
}

.highlight-row {
  background: rgba(255, 35, 53, 0.06);
}

.highlight-row td:first-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--signal);
}

@media (max-width: 767px) {
  .table-scroll-hint {
    display: none;
  }

  .table-wrap {
    overflow-x: visible;
    border: none;
    background: transparent;
  }

  .spec-table {
    min-width: 0;
  }

  .spec-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .spec-table tbody {
    display: block;
  }

  .spec-table tr {
    display: block;
    margin-bottom: 1rem;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--r-lg);
    overflow: hidden;
  }

  .spec-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--stroke);
    font-size: 0.88rem;
  }

  .spec-table td:last-child {
    border-bottom: none;
  }

  .spec-table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--steel);
    max-width: 42%;
  }

  .spec-table td:first-child {
    background: rgba(255, 35, 53, 0.08);
    font-weight: 600;
    color: var(--text);
  }

  .spec-table td:first-child::before {
    content: "Code";
  }

  .spec-table tbody tr:hover {
    background: transparent;
  }

  .highlight-row {
    border-color: rgba(255, 35, 53, 0.3);
  }
}

.section-pulse {
  background: var(--surface);
  border-top: 1px solid var(--stroke);
}

.sound-content {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .sound-content {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.sound-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 100px;
  padding: 1.5rem;
  background: var(--void);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
}

.sound-wave span {
  width: 6px;
  background: linear-gradient(180deg, var(--steel), var(--steel-dim));
  border-radius: 2px;
  animation: dsg-wave 1.4s ease-in-out infinite;
}

.sound-wave span:nth-child(1) { height: 35%; animation-delay: 0s; }
.sound-wave span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.sound-wave span:nth-child(3) { height: 42%; animation-delay: 0.2s; }
.sound-wave span:nth-child(4) { height: 78%; animation-delay: 0.05s; }
.sound-wave span:nth-child(5) { height: 48%; animation-delay: 0.15s; }
.sound-wave span:nth-child(6) { height: 88%; animation-delay: 0.25s; }
.sound-wave span:nth-child(7) { height: 40%; animation-delay: 0.12s; }

@keyframes dsg-wave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.sound-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sound-facts li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 0.92rem;
}

.sound-facts li:last-child {
  border-bottom: none;
}

.sound-facts strong {
  color: var(--text);
  font-weight: 600;
}

.faq {
  border-top: 1px solid var(--stroke);
  background: var(--void);
}

.faq-shell {
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
}

.faq .section-head--center {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem;
  border-bottom: none;
  padding-bottom: 0;
}

.faq .section-head--center h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--signal);
  margin: 1rem auto 0;
}

.faq .section-head--center p {
  margin-top: 0.85rem;
}

.faq-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
    gap: 2.5rem;
  }
}

.faq-main {
  min-width: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  max-width: none;
}

.faq-aside {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.15rem;
}

@media (max-width: 959px) {
  .faq-aside {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 960px) {
  .faq-aside {
    position: sticky;
    top: calc(var(--header-h) + var(--safe-top) + 1rem);
  }
}

.faq-aside-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 1rem;
}

.faq-aside-list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.faq-aside-list li {
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--stroke);
}

.faq-aside-list li:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-aside-list .mono {
  display: block;
  color: var(--signal);
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.faq-aside-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  padding: 0.85rem;
  background: var(--void);
  border-radius: var(--r);
  border-left: 2px solid var(--steel);
  margin-bottom: 1.15rem;
}

.faq-aside-note strong {
  color: var(--text);
}

.faq-aside-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.faq-aside-jump-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
  margin-bottom: 0.15rem;
}

.faq-aside-jump a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  color: var(--steel);
  transition: border-color 0.2s, color 0.2s;
}

.faq-aside-jump a:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.faq-item {
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
}

.faq-item[open] {
  border-left: 3px solid var(--signal);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  padding-right: 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  position: relative;
  min-height: var(--touch);
  display: flex;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--signal);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid var(--stroke);
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.closing {
  text-align: center;
  padding: 4rem max(1rem, var(--safe-left)) 5rem max(1rem, var(--safe-right));
  padding-bottom: max(5rem, calc(3rem + var(--safe-bottom)));
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(107, 138, 168, 0.12), transparent 55%), var(--void);
}

@media (min-width: 640px) {
  .closing {
    padding: 5.5rem max(1.5rem, var(--safe-left)) 6rem max(1.5rem, var(--safe-right));
  }
}

.closing-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.85rem;
}

.closing-inner p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 0;
  font-size: 0.92rem;
}

.closing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.65rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--steel);
  color: var(--text);
}

.site-footer {
  padding: 2rem max(1rem, var(--safe-left)) max(2rem, var(--safe-bottom)) max(1rem, var(--safe-right));
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
  background: var(--void);
}

.site-footer a {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer a:hover {
  color: var(--signal);
}

.site-footer-legal {
  margin: 0.75rem 0 0;
  font-size: 0.68rem;
  opacity: 0.9;
}

@media (min-width: 1180px) {
  #main-content,
  .site-footer {
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  #main-content {
    overflow-x: visible;
  }

  .hero {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
  }

  .hero-content {
    max-width: var(--page-max);
  }

  .site-header {
    padding-left: max(1rem, calc((100vw - var(--page-max)) / 2 + var(--safe-left)));
    padding-right: max(1rem, calc((100vw - var(--page-max)) / 2 + var(--safe-right)));
  }
}

@media (max-width: 899px) {
  .site-header {
    padding-right: max(1rem, calc(var(--safe-right) + 0.5rem));
    padding-left: max(1rem, var(--safe-left));
  }

  .header-actions {
    flex-shrink: 0;
    max-width: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sound-wave span {
    animation: none;
  }

  .btn-primary:hover {
    box-shadow: none;
  }

  .mobile-menu-panel,
  .mobile-menu-backdrop {
    transition: none;
  }

  .mobile-menu:not([hidden]) .mobile-menu-panel {
    transform: translateX(0);
  }

  .faq-item summary::after {
    transition: none;
  }
}
