:root {
  --navy: #07111f;
  --navy-2: #0d1b2f;
  --blue: #0878ff;
  --blue-soft: #58a7ff;
  --gold: #d8b45a;
  --paper: #f5f8fc;
  --text: #07111f;
  --muted: #5f6f85;
  --line: #dce8f7;
  --white: #ffffff;
  --hero-end: rgba(8, 120, 255, 0.34);
  --hero-glow: rgba(216, 180, 90, 0.28);
  --header-bg: rgba(7, 17, 31, 0.96);
  --header-line: rgba(216, 180, 90, 0.28);
  --panel-bg: rgba(255, 255, 255, 0.1);
  --panel-border: rgba(216, 180, 90, 0.32);
  --button-hover: #006ce8;
}

[data-theme="clean"] {
  --navy: #10243f;
  --navy-2: #18375f;
  --blue: #0a68d8;
  --blue-soft: #7cc6ff;
  --gold: #2fbf9b;
  --paper: #eef7fb;
  --text: #10243f;
  --muted: #596b7b;
  --line: #cfe3ee;
  --white: #ffffff;
  --hero-end: rgba(47, 191, 155, 0.28);
  --hero-glow: rgba(124, 198, 255, 0.3);
  --header-bg: rgba(16, 36, 63, 0.96);
  --header-line: rgba(47, 191, 155, 0.3);
  --panel-bg: rgba(255, 255, 255, 0.14);
  --panel-border: rgba(124, 198, 255, 0.35);
  --button-hover: #075ab9;
}

[data-theme="graphite"] {
  --navy: #111111;
  --navy-2: #242424;
  --blue: #c49a49;
  --blue-soft: #e0c47b;
  --gold: #c49a49;
  --paper: #f3f0ea;
  --text: #181818;
  --muted: #66615a;
  --line: #ded8cd;
  --white: #ffffff;
  --hero-end: rgba(196, 154, 73, 0.26);
  --hero-glow: rgba(255, 255, 255, 0.13);
  --header-bg: rgba(17, 17, 17, 0.96);
  --header-line: rgba(196, 154, 73, 0.34);
  --panel-bg: rgba(255, 255, 255, 0.11);
  --panel-border: rgba(196, 154, 73, 0.36);
  --button-hover: #aa8339;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(22px, 5vw, 64px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 76px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  color: var(--gold);
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.theme-option {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.theme-option:hover,
.theme-option.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.theme-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.swatch {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.premium-swatch {
  background: linear-gradient(135deg, #07111f 0 45%, #0878ff 45% 72%, #d8b45a 72%);
}

.clean-swatch {
  background: linear-gradient(135deg, #ffffff 0 45%, #0a68d8 45% 72%, #2fbf9b 72%);
}

.graphite-swatch {
  background: linear-gradient(135deg, #111111 0 45%, #c49a49 45% 72%, #f3f0ea 72%);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(22px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(2, 8, 20, 0.98) 0%, rgba(7, 17, 31, 0.86) 48%, var(--hero-end) 100%),
    radial-gradient(circle at 76% 24%, var(--hero-glow), transparent 30%),
    var(--navy);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(4rem, 10vw, 7.2rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.lead {
  max-width: 720px;
  color: var(--blue-soft);
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 800;
}

.intro {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.button,
.contact-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  margin-top: 14px;
  padding: 0 26px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(8, 120, 255, 0.28);
}

.button:hover,
.contact-form button:hover {
  background: var(--button-hover);
}

.hero-panel {
  padding: 22px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

@supports not ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
  .hero-panel {
    background: rgba(16, 36, 63, 0.82);
  }
}

.hero-panel > div {
  display: flex;
  gap: 18px;
  padding: 20px 6px;
}

.hero-panel > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-panel p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.icon,
.card-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 900;
}

.section,
.split-section {
  padding: clamp(58px, 8vw, 104px) clamp(22px, 5vw, 64px);
}

.alt {
  background: var(--paper);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
}

.section p,
.split-section p {
  color: var(--muted);
}

.stats {
  display: grid;
  gap: 14px;
}

.stats div,
.contact-card,
.value-grid article,
.split-section article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--blue);
}

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

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.split-section article {
  min-height: 320px;
}

.card-icon {
  margin-bottom: 20px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article {
  min-height: 185px;
}

.value-grid h3 {
  color: var(--blue);
}

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

.contact-card strong,
.contact-card a,
.contact-card p {
  display: block;
  margin: 0;
}

.contact-card strong {
  margin-bottom: 8px;
  color: var(--blue);
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}

.contact-form label {
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea,
.contact-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

footer {
  padding: 38px clamp(22px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

footer .brand {
  margin-bottom: 18px;
}

footer a {
  color: var(--white);
}

@media (max-width: 900px) {
  .site-header,
  .header-actions,
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
  }

  .theme-switcher {
    overflow-x: auto;
  }

  .hero,
  .two-column,
  .split-section,
  .contact-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand img {
    width: 62px;
  }

  .nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .theme-switcher {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .swatch {
    width: 12px;
    height: 12px;
  }

  .theme-option {
    justify-content: center;
    min-height: 32px;
    padding: 0 4px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 4.4rem);
  }

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