:root {
  --bg0: #06191e;
  --bg1: #082a31;
  --bgmid: #0b3540;
  --bg2: #004455;
  --nav: #06191e;
  --ink: #152033;
  --muted: #5d6b7e;
  --paper: #f5f8fb;
  --panel: #ffffff;
  --line: #dce5ef;
  --deep: var(--bg0);
  --pine: #006070;
  --pine-2: #0d313b;
  --amber: #ffd21f;
  --amber-2: #f3b900;
  --clay: #006070;
  --sky: #e3f2f5;
  --white: #ffffff;
  --maptools-gradient: radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.24), transparent 32%), linear-gradient(135deg, var(--bg0) 0%, var(--bg1) 42%, var(--bg2) 100%);
  --page-gradient: radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.28), transparent 32%), radial-gradient(circle at 100% 100%, rgba(0, 68, 85, 0.34), transparent 46%), linear-gradient(135deg, var(--bg0) 0%, var(--bg1) 36%, var(--bgmid) 62%, var(--bg2) 100%);
  --shadow: 0 24px 80px rgba(3, 16, 20, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-gradient);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body,
button,
input,
select {
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.wrap {
  width: calc(100vw - 40px);
  max-width: var(--max);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  color: #000000;
  background: var(--amber);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--nav);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-bar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
}

.brand-copy,
.brand-wordmark,
.brand-subtitle {
  display: block;
}

.brand-copy {
  min-width: 0;
}

.brand-wordmark-image {
  width: min(220px, 36vw);
  height: auto;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.logo-wordmark {
  display: inline-block;
  color: var(--white);
  font-family: "BankGothic Md BT", "Bahnschrift SemiBold", "Arial Black", "Segoe UI Black", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.42);
}

.logo-gold,
.logo-silver {
  display: inline;
  color: var(--white);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-gold {
  background-image: linear-gradient(180deg, #fff4bd 0%, #f4c76a 28%, #c77d18 68%, #ffd36b 100%);
}

.logo-silver {
  background-image: linear-gradient(180deg, #ffffff 0%, #d9e1e2 28%, #7f8c8d 72%, #f5fbfa 100%);
}

.brand-wordmark {
  font-size: 1.2rem;
}

.brand-subtitle {
  color: #c8d5df;
  font-size: 0.98rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.primary-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #eaf2f5;
  text-decoration: none;
  font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a:focus {
  background: var(--pine-2);
}

.hero {
  position: relative;
  min-height: 660px;
  height: auto;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--maptools-gradient);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.52) 44%, rgba(0, 0, 0, 0.15) 78%, rgba(0, 0, 0, 0.02) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), rgba(0, 68, 85, 0.08));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 710px;
  padding: 70px 0 86px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: 4.75rem;
  font-weight: 850;
  text-wrap: balance;
}

.hero-title {
  max-width: min(520px, 100%);
  margin-bottom: 22px;
  line-height: 1;
}

.hero-wordmark-image {
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
}

h2 {
  margin-bottom: 14px;
  font-size: 2.7rem;
  font-weight: 820;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: #e6f0f2;
  font-size: 1.22rem;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  white-space: normal;
}

.btn.primary {
  color: #061012;
  background: var(--amber);
}

.btn.primary:hover,
.btn.primary:focus {
  background: #ffe36b;
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: rgba(255, 255, 255, 0.16);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 34px;
}

.hero-signals div {
  min-width: 0;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(0, 68, 85, 0.22));
}

.hero-signals strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.hero-signals span {
  display: block;
  color: #c9d8dc;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.section {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 76px 0;
}

.section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.section.light {
  background: transparent;
}

.section.light::before {
  background: var(--paper);
}

.section.white {
  background: transparent;
}

.section.white::before {
  background: var(--paper);
}

.section.dark {
  color: var(--white);
  background: transparent;
}

.section.dark::before {
  background: var(--maptools-gradient);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0.4rem 0.72rem;
  border: 1px solid rgba(0, 68, 85, 0.2);
  border-radius: 999px;
  background: #e3f2f5;
  color: var(--pine);
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
}

.dark .section-kicker {
  color: #d6fbff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .section-head p {
  color: #c9d8dc;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.intro-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.image-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 68, 85, 0.16);
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: auto;
}

.image-frame figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.feature-grid,
.usecase-grid,
.data-grid {
  display: grid;
  gap: 18px;
}

.feature-grid > *,
.usecase-grid > *,
.data-grid > *,
.screen-grid > * {
  min-width: 0;
}

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

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

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

.card {
  padding: 22px;
  border: 1px solid rgba(0, 68, 85, 0.16);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(3, 16, 20, 0.06);
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(0, 68, 85, 0.22));
  box-shadow: none;
}

.card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.dark .card p {
  color: #d7e4e7;
}

.card .tag {
  display: block;
  margin-bottom: 12px;
  color: var(--pine);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.dark .card .tag {
  color: #d6fbff;
}

.product-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}

.product-copy p {
  color: #d7e4e7;
}

.light .product-copy p,
.white .product-copy p {
  color: var(--muted);
}

.product-copy ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.product-copy li {
  position: relative;
  margin-top: 12px;
  padding-left: 24px;
  color: #edf6f7;
}

.light .product-copy li,
.white .product-copy li {
  color: var(--ink);
}

.product-copy li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--amber);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.screen-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(0, 68, 85, 0.22));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.light .screen-frame,
.white .screen-frame {
  border-color: var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.screen-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

.screen-frame figcaption {
  padding: 12px 14px;
  color: #d7e4e7;
  font-size: 0.92rem;
}

.light .screen-frame figcaption,
.white .screen-frame figcaption {
  color: var(--muted);
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card h3 {
  margin-bottom: 0;
}

.app-card .app-link {
  align-self: flex-start;
  margin-top: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--white);
  background: var(--nav);
  font-size: 0.92rem;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: 18px;
  background: var(--sky);
  border: 1px solid rgba(0, 68, 85, 0.16);
  box-shadow: 0 8px 22px rgba(3, 16, 20, 0.06);
}

.contact-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 74px;
  color: var(--white);
  background: var(--maptools-gradient);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.52)),
    url("assets/arxsilex-neutral-map-bg.png") center / cover;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #d7e4e7;
  font-size: 1.12rem;
}

.page-hero .section-kicker {
  color: #d6fbff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

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

.text-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(0, 68, 85, 0.16);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(3, 16, 20, 0.06);
}

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

.text-card p + p {
  margin-top: 14px;
}

.text-card a {
  color: var(--pine);
  font-weight: 800;
}

.text-card code {
  overflow-wrap: anywhere;
}

.site-footer {
  color: #dbe8ec;
  background: var(--nav);
  padding: 42px 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-grid p {
  margin: 6px 0 0;
  color: #c8d5df;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #dbe8ec;
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--amber);
}

@media (max-width: 980px) {
  .hero {
    min-height: 650px;
  }

  h1 {
    font-size: 3.45rem;
  }

  .hero-title {
    max-width: min(470px, 100%);
  }

  h2 {
    font-size: 2.15rem;
  }

  .intro-grid,
  .product-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .wrap {
    width: calc(100vw - 28px);
    max-width: var(--max);
  }

  .header-bar {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-subtitle {
    font-size: 0.88rem;
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .hero {
    min-height: 520px;
    height: auto;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.62) 56%, rgba(0, 0, 0, 0.18) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 42%);
  }

  .hero-content {
    width: calc(100vw - 56px);
    max-width: 330px;
    margin-inline: auto;
    padding: 34px 0 40px;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.82rem;
    overflow-wrap: anywhere;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-wordmark-image {
    width: min(320px, 100%);
  }

  .lead {
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 280px;
  }

  .btn {
    min-width: 0;
    padding: 0 10px;
    font-size: 0.94rem;
  }

  .hero-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-signals div {
    min-height: 54px;
    padding: 10px 8px;
  }

  .hero-signals strong {
    font-size: 0.85rem;
  }

  .hero-signals span {
    display: none;
  }

  .feature-grid,
  .usecase-grid,
  .data-grid,
  .screen-grid,
  .text-grid,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .section-head,
  .text-grid {
    width: min(100%, 300px);
    margin-inline: auto;
  }

  .page-hero .wrap {
    width: min(calc(100vw - 56px), 330px);
    margin-inline: auto;
  }

  .screen-frame img {
    height: 420px;
  }
}
