:root {
  /* Logo-derived color system: black, steel, electric blue, and spark yellow/orange. */
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-muted: #e7edf2;
  --text: #0a0d10;
  --text-muted: #4b5661;
  --line: #c9d2dc;
  --brand: #047ce3;
  --brand-strong: #004db3;
  --blue-hot: #16b8ff;
  --silver: #d6dde5;
  --accent: #ffbd00;
  --accent-strong: #ff7900;
  --hero-bg: #eef3f7;
  --hero-text: #050607;
  --hero-muted: #3f4b56;
  --secondary-button-bg: rgba(4, 124, 227, 0.08);
  --secondary-button-border: rgba(4, 124, 227, 0.34);
  --secondary-button-text: #06111a;
  --shadow: 0 22px 76px rgba(7, 16, 24, 0.18);
  --radius: 8px;
  --max-width: 1160px;
  --header-height: 96px;
  --body-font: Arial, Helvetica, sans-serif;
  --display-font: "Arial Black", Impact, "Arial Narrow", Arial, Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #040506;
    --surface: #0c1014;
    --surface-muted: #151c22;
    --text: #f7fafc;
    --text-muted: #b7c1cb;
    --line: #293641;
    --brand: #22b8ff;
    --brand-strong: #80dcff;
    --blue-hot: #56d6ff;
    --silver: #f4f7fb;
    --accent: #ffd21c;
    --accent-strong: #ff8a00;
    --hero-bg: #040506;
    --hero-text: #f7fafc;
    --hero-muted: #c7d5df;
    --secondary-button-bg: rgba(255, 255, 255, 0.08);
    --secondary-button-border: rgba(255, 255, 255, 0.26);
    --secondary-button-text: #f7fafc;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #111313;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0.5rem 2.625rem;
  background: color-mix(in srgb, var(--surface) 91%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  width: 13.75rem;
}

.brand-lockup img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.24));
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 2.375rem;
  min-width: 0;
  max-width: 100%;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-family: var(--display-font);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.hero-section {
  position: relative;
  min-height: 46rem;
  overflow: hidden;
  display: grid;
  align-items: center;
  margin: 0;
  padding: 4.375rem 3rem;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 30%),
    linear-gradient(135deg, var(--hero-bg), color-mix(in srgb, var(--hero-bg) 86%, var(--surface-muted)));
  color: var(--hero-text);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(300px, 1.16fr);
  gap: 4.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  display: grid;
  justify-items: start;
  width: 100%;
  min-width: 0;
}

.hero-logo {
  width: 30rem;
  max-width: 100%;
  height: auto;
  margin: 0 0 2rem;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.hero-copy {
  width: 100%;
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--hero-muted);
  font-size: 1.25rem;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-section .eyebrow {
  color: var(--accent-strong);
}

h1,
h2,
h3,
p {
  font-family: var(--body-font);
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-family: var(--display-font);
  max-width: 11ch;
  font-size: 5.4rem;
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 3px 0 color-mix(in srgb, var(--brand) 18%, transparent);
}

h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 3.4rem;
  font-style: italic;
  line-height: 0.98;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 12px;
  font-family: var(--display-font);
  font-style: italic;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  font-weight: 800;
  font-family: var(--display-font);
  font-style: italic;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.primary-button {
  color: #111313;
  background: var(--accent);
}

.primary-button:hover {
  background: var(--accent-strong);
}

.secondary-button {
  color: var(--secondary-button-text);
  background: var(--secondary-button-bg);
  border-color: var(--secondary-button-border);
}

.secondary-button:hover {
  border-color: var(--brand);
}

.hero-visual,
.product-photo,
.product-copy {
  margin: 0;
  min-width: 0;
}

/* Product photography is static, but picture/source swaps match system theme. */
.hero-visual picture,
.product-photo picture {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual img,
.product-photo img {
  width: 100%;
  height: auto;
}

.hero-visual figcaption {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--hero-muted);
  font-size: 0.92rem;
}

.section-band {
  padding: 5.75rem 3rem;
}

.section-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.compact-heading {
  max-width: 820px;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p,
.contact-shell p {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--body-font);
  font-size: 1.03rem;
}

.problem-band,
.search-band,
.install-band,
.detail-band,
.faq-band {
  background: var(--surface);
}

.product-band {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 10%, transparent), transparent 44%),
    var(--surface);
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 1.04fr) minmax(0, 0.96fr);
  gap: 4.625rem;
  align-items: center;
}

.product-copy p {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-family: var(--body-font);
  font-size: 1.05rem;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--brand);
  font-family: var(--display-font);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--body-font);
}

.workflow-band {
  background: var(--bg);
}

.safety-band,
.tuning-band {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 44%),
    var(--bg);
}

.software-band,
.compatibility-band {
  background: var(--surface);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid,
.install-steps {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

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

.install-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-grid,
.metric-grid {
  display: grid;
  gap: 16px;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.workflow-step,
.feature-card,
.detail-item,
.metric-grid div,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(7, 16, 24, 0.06);
}

.workflow-step {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 210px;
  padding: 22px;
}

.workflow-step span {
  color: var(--accent-strong);
  font-family: var(--display-font);
  font-style: italic;
  font-weight: 900;
}

.workflow-step p,
.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--body-font);
}

.reliability-band {
  background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--surface-muted) 62%, var(--bg)));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 24px;
}

.detail-item,
.metric-grid div {
  padding: 24px;
}

.detail-item p,
.metric-grid p {
  margin: 0;
  color: var(--text-muted);
}

.metric-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-family: var(--display-font);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.risk-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.risk-copy p {
  margin: 0;
  color: var(--text-muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-family: var(--display-font);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-list p {
  margin: 14px 0 0;
  max-width: 820px;
  color: var(--text-muted);
}

.section-action {
  margin-top: 30px;
}

.contact-band {
  background:
    linear-gradient(90deg, rgba(4, 124, 227, 0.28), transparent 42%),
    #050607;
  color: #f7f8f8;
}

.contact-band .eyebrow {
  color: var(--accent);
}

.contact-band p {
  color: #dbe7ea;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
  align-items: start;
  gap: 28px;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.22);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field span {
  color: #f7f8f8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  color: #f7fafc;
  background: rgba(2, 8, 12, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  outline: 0;
}

.form-field input {
  min-height: 46px;
  padding: 0.75rem 0.85rem;
}

.form-field textarea {
  min-height: 10rem;
  padding: 0.85rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 189, 0, 0.18);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(247, 250, 252, 0.62);
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: #dbe7ea;
  font-weight: 700;
}

.form-status.is-success {
  color: #a7f3d0;
}

.form-status.is-error {
  color: #fecaca;
}

.form-trap {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 1.75rem 2.625rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

.subpage-hero {
  padding: 8rem 3rem;
  background:
    radial-gradient(circle at 86% 16%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 30%),
    linear-gradient(135deg, var(--hero-bg), color-mix(in srgb, var(--hero-bg) 86%, var(--surface-muted)));
  border-bottom: 1px solid var(--line);
}

.subpage-hero .two-column {
  grid-template-columns: 1fr;
  gap: 24px;
}

.download-page h1 {
  max-width: none;
  font-size: 5.8rem;
}

.download-page .subpage-hero .copy-stack {
  max-width: 760px;
}

.release-band,
.downloads-band {
  background: var(--bg);
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 2.375rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.release-panel p,
.downloads-band .section-heading p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-family: var(--body-font);
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.version-band {
  background: var(--surface);
}

.version-list {
  display: grid;
  gap: 12px;
}

.version-entry {
  display: grid;
  grid-template-columns: minmax(130px, 0.22fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.version-entry span {
  color: var(--brand);
  font-family: var(--display-font);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.version-entry p {
  margin: 0;
  color: var(--text-muted);
  font-family: var(--body-font);
}

.download-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.download-group {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.download-link:hover {
  border-color: var(--brand);
}

.download-link span {
  font-weight: 800;
}

.download-link small {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .brand-lockup {
    width: 11rem;
  }

  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .download-page h1 {
    font-size: 4.25rem;
  }

  .section-band,
  .hero-section,
  .subpage-hero {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .two-column,
  .hero-grid,
  .product-showcase,
  .workflow-grid,
  .feature-grid,
  .capability-grid,
  .install-steps,
  .detail-grid,
  .metric-grid,
  .risk-copy,
  .release-panel,
  .download-columns {
    grid-template-columns: 1fr;
  }

  .release-actions {
    justify-content: flex-start;
  }

  .workflow-step {
    min-height: auto;
  }

  .contact-shell {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: auto;
  }

  .site-header {
    position: relative;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 16px;
    row-gap: 10px;
    font-size: 0.78rem;
    overflow-x: visible;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-logo {
    width: 100%;
    max-width: 320px;
  }

  .hero-content,
  .hero-visual,
  .product-photo {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy {
    font-size: 1.1rem;
  }

  h1 {
    max-width: 7.8ch;
    font-size: 2.65rem;
  }

  .download-page h1 {
    font-size: 2rem;
  }

  .download-page h2 {
    font-size: 1.55rem;
    overflow-wrap: anywhere;
  }

  .download-page .section-shell {
    width: 100%;
    max-width: 100%;
  }

  .download-page p {
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 19rem;
  }

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

  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-band {
    padding: 4rem 1.25rem;
  }

  .hero-section,
  .subpage-hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .version-entry,
  .download-link {
    grid-template-columns: 1fr;
  }

  .download-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .download-link small {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }
}
