﻿:root {
  color-scheme: dark;
  --bg: #070b12;
  --panel: #101722;
  --text: #f5f1e8;
  --muted: #aeb9ce;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #e3c47c;
  --cyan: #48c7d8;
  --max: 1180px;
  --font-ui: Bahnschrift, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-family: var(--font-ui);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: inherit; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.hd-icon { width: 22px; height: 22px; flex: 0 0 auto; color: var(--gold); filter: none; }

.topbar {
  position: fixed; z-index: 50; inset: 0 0 auto; min-height: 72px;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7,11,18,.9); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; text-transform: uppercase; }
.brand img { height: 42px; width: auto; max-width: 132px; object-fit: contain; border: 1px solid rgba(227,196,124,.24); border-radius: 8px; background: rgba(7,11,18,.54); }
.nav { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.nav a, .lang-toggle, .primary-action, .secondary-action, .download-link {
  min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px;
  color: var(--muted); background: rgba(16,23,34,.72); font-size: 12px; font-weight: 900; text-transform: uppercase;
}
.nav a .hd-icon { width: 18px; height: 18px; }
.nav a:hover, .nav a.is-active, .lang-toggle:hover, .secondary-action:hover, .download-link:hover { color: var(--gold); border-color: rgba(227,196,124,.5); }

.hero { position: relative; min-height: 94vh; display: grid; align-items: end; padding: 120px clamp(18px,5vw,72px) 58px; overflow: hidden; }
.hero-bg, .hero-shade { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(7,11,18,.96), rgba(7,11,18,.74) 52%, rgba(7,11,18,.35)), linear-gradient(0deg, var(--bg), rgba(7,11,18,0) 34%); }
.hero-copy { position: relative; z-index: 2; max-width: 980px; }
.kicker { margin: 0 0 10px; color: var(--gold); font-size: 13px; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(58px, 10vw, 132px); line-height: .86; }
h2 { margin-bottom: 14px; font-size: clamp(34px, 5vw, 66px); line-height: .95; }
h3 { margin-bottom: 8px; font-size: 22px; }
.hero-copy > p:not(.kicker), .section-head p, .card p, .footer p, blockquote { color: var(--muted); line-height: 1.55; }
.hero-copy > p:not(.kicker) { max-width: 760px; font-size: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.primary-action { color: #071019; border-color: transparent; background: linear-gradient(90deg, var(--gold), var(--cyan)); }

.facts-section, .features-section, .media-section, .copy-section, .links-section, .quote-section {
  width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 72px 0; border-top: 1px solid var(--line);
}
.facts-section, .copy-section, .links-section { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 28px; }
.facts-grid, .feature-grid, .media-grid, .copy-grid, .link-grid { display: grid; gap: 14px; }
.facts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.feature-grid { grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 24px; }
.media-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 24px; }
.copy-grid { grid-template-columns: 1fr; }
.link-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }

.card, .link-grid a, .media-card {
  border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, rgba(21,29,43,.92), rgba(16,23,34,.92));
  overflow: hidden;
}
.card, .link-grid a { padding: 18px; }
.card-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.fact-value { color: var(--text); font-size: 24px; font-weight: 900; }
.quote-section { padding-block: 56px; }
blockquote { margin: 0; max-width: 980px; color: var(--text); font-size: clamp(28px, 4.4vw, 56px); line-height: 1; font-weight: 900; }
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.media-card div { padding: 16px; }
.download-link { margin-top: 10px; width: 100%; }
.copy-card p { font-size: 18px; color: var(--text); }
.copy-label { display: inline-flex; margin-bottom: 10px; color: var(--gold); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.link-grid a { min-height: 128px; display: grid; align-content: space-between; }
.link-grid span { color: var(--muted); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px clamp(18px,5vw,72px); border-top: 1px solid var(--line); background: #05080d; }
.footer img { width: 180px; height: auto; object-fit: contain; }
.footer p { margin: 0; max-width: 560px; text-align: right; }

@media (max-width: 1080px) {
  .topbar { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .nav a { white-space: nowrap; }
  .hero { min-height: 86vh; padding-top: 150px; }
  .facts-section, .copy-section, .links-section { grid-template-columns: 1fr; }
  .feature-grid, .media-grid, .link-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .topbar { padding: 10px 12px; }
  .brand img { height: 34px; }
  .brand span, .nav a span { font-size: 12px; }
  .hero { min-height: 82vh; padding: 150px 16px 44px; }
  .hero-copy > p:not(.kicker) { font-size: 18px; }
  .facts-section, .features-section, .media-section, .copy-section, .links-section, .quote-section { width: min(100% - 24px, var(--max)); padding: 48px 0; }
  .facts-grid, .feature-grid, .media-grid, .link-grid { grid-template-columns: 1fr; }
  .footer { align-items: flex-start; flex-direction: column; }
  .footer p { text-align: left; }
}

/* HD icon color normalization: keep SVG img icons visible on dark premium surfaces. */
img[src*="assets/icons/"],
img[src*="/assets/icons/"] {
  filter: brightness(0) saturate(100%) invert(89%) sepia(31%) saturate(751%) hue-rotate(350deg) brightness(104%) contrast(102%);
}

a:hover img[src*="assets/icons/"],
a:hover img[src*="/assets/icons/"],
button:hover img[src*="assets/icons/"],
button:hover img[src*="/assets/icons/"] {
  filter: brightness(0) saturate(100%) invert(82%) sepia(35%) saturate(903%) hue-rotate(142deg) brightness(99%) contrast(98%);
}
/* HD icon surface normalization: keep SVG image icons readable on dark premium surfaces. */
img[src*="assets/icons/"],
img[src*="/assets/icons/"] {
  background: transparent !important;
  object-fit: contain;
}

img[src*="assets/icons/"]:not(.hd-icon),
img[src*="/assets/icons/"]:not(.hd-icon) {
  filter: brightness(0) saturate(100%) invert(89%) sepia(31%) saturate(751%) hue-rotate(350deg) brightness(104%) contrast(102%);
}

a:hover img[src*="assets/icons/"]:not(.hd-icon),
a:hover img[src*="/assets/icons/"]:not(.hd-icon),
button:hover img[src*="assets/icons/"]:not(.hd-icon),
button:hover img[src*="/assets/icons/"]:not(.hd-icon) {
  filter: brightness(0) saturate(100%) invert(82%) sepia(35%) saturate(903%) hue-rotate(142deg) brightness(99%) contrast(98%);
}
