:root {
  color-scheme: dark;
  --black: #080808;
  --panel: #141414;
  --white: #f7f7f7;
  --muted: #a2a2a2;
  --line: rgba(255, 255, 255, 0.13);
  --red: #e51924;
  --red-deep: #a90812;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 8%, rgba(229, 25, 36, 0.055), transparent 27rem),
    linear-gradient(180deg, #080808 0%, #0b0b0b 72%, #080808 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.top-accent { height: 2px; background: var(--red); }
.site-header, main, footer { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}
.brand { justify-self: start; }
.brand img { display: block; width: 164px; height: auto; filter: invert(1); }
nav { display: flex; gap: 2.25rem; }
nav a { color: #cfcfcf; font-size: 0.9rem; font-weight: 650; text-decoration: none; transition: color 160ms ease; }
nav a:hover, nav a:focus-visible { color: var(--white); }
.header-cta {
  justify-self: end;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.header-cta:hover, .header-cta:focus-visible { border-color: var(--red); background: rgba(229, 25, 36, 0.08); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  gap: clamp(3rem, 8vw, 7.5rem);
  align-items: center;
  min-height: 700px;
  padding: 5.5rem 0;
}
.eyebrow {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 1.2rem;
  color: #d0d0d0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.eyebrow > span { width: 1.75rem; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 10ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.7rem, 7.3vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}
h1 em {
  color: var(--white);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
}
.lead { max-width: 40rem; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.35rem; align-items: center; margin-top: 2.5rem; }
.primary-button, .download-button {
  color: #090909;
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 0.35rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.primary-button { display: inline-flex; gap: 1.5rem; align-items: center; padding: 1rem 1.25rem; }
.primary-button:hover, .primary-button:focus-visible,
.download-button:hover, .download-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 22px 50px rgba(229, 25, 36, 0.14);
}
.primary-button span { color: var(--red); }
.secondary-link { color: #dedede; font-size: 0.9rem; font-weight: 750; text-underline-offset: 0.38rem; }

.ecosystem-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(145deg, #181818, #0e0e0e);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5);
}
.ecosystem-panel::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ""; background: var(--red); }
.panel-brand { display: flex; gap: 1rem; align-items: center; padding: 1.45rem; border-bottom: 1px solid var(--line); }
.panel-brand img { width: 46px; height: 46px; object-fit: contain; filter: invert(1); }
.panel-brand div { display: grid; gap: 0.2rem; }
.panel-brand span { color: #888; font-size: 0.65rem; font-weight: 850; letter-spacing: 0.17em; }
.panel-brand strong { font-size: 1.08rem; }
.panel-message { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 3rem 1.45rem; }
.panel-index { color: var(--red); font-size: 0.7rem; font-weight: 850; }
.panel-message p { margin: 0; color: #aaa; font-size: 1.05rem; line-height: 1.55; }
.panel-message strong { color: var(--white); font-size: 1.35rem; }
dl { display: grid; gap: 0; margin: 0; padding: 0 1.45rem 1.45rem; }
dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); font-size: 0.8rem; }
dt { color: #777; }
dd { margin: 0; color: #cfcfcf; text-align: right; }

.platform-section { padding: 7rem 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1rem 4rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.06em; }
.section-heading > p:last-child { max-width: 31rem; margin: 0; color: var(--muted); line-height: 1.7; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principles article { min-height: 250px; padding: 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); }
.principles article > span { color: var(--red); font-size: 0.72rem; font-weight: 850; }
.principles h3 { margin: 4rem 0 0.7rem; font-size: 1.25rem; }
.principles p { margin-bottom: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.65; }

.products-section { padding: 7rem 0; border-top: 1px solid var(--line); }
.products-heading { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.products-heading > p { max-width: 32rem; margin: 0; color: var(--muted); line-height: 1.7; }
.product-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.5rem; }
.product-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--panel);
}
.product-card.available::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ""; background: var(--red); }
.product-topline { display: flex; justify-content: space-between; gap: 1rem; color: #777; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.availability { display: flex; gap: 0.55rem; align-items: center; color: #d8d8d8; }
.availability i { width: 0.48rem; height: 0.48rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(229, 25, 36, 0.1); }
.product-name { display: flex; gap: 1rem; align-items: center; margin: 3.5rem 0 1.25rem; }
.product-name img { width: 54px; height: 54px; object-fit: contain; filter: invert(1); }
.product-name div { display: grid; gap: 0.1rem; }
.product-name small { color: #777; font-size: 0.65rem; font-weight: 850; letter-spacing: 0.18em; }
.product-name h3 { margin: 0; font-size: 2rem; letter-spacing: -0.045em; }
.product-card > p { max-width: 37rem; color: var(--muted); line-height: 1.7; }
.product-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.5rem; margin: 2rem 0; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.product-card li { position: relative; padding-left: 1rem; color: #c9c9c9; font-size: 0.84rem; }
.product-card li::before { position: absolute; left: 0; color: var(--red); content: "•"; }
.download-button { display: inline-grid; gap: 0.25rem; min-width: 260px; padding: 1rem 1.25rem; }
.download-button span { color: rgba(0, 0, 0, 0.58); font-size: 0.72rem; font-weight: 650; }
.license-note { display: block; margin-top: 0.85rem; color: #777; font-size: 0.75rem; }
.upcoming { display: grid; align-content: start; background: linear-gradient(145deg, #111, #0d0d0d); }
.upcoming-mark { display: grid; width: 4.5rem; height: 4.5rem; margin: 6rem 0 2rem; place-items: center; border: 1px solid rgba(229, 25, 36, 0.45); border-radius: 50%; color: var(--red); font-size: 2rem; font-weight: 300; }
.upcoming h3 { max-width: 12ch; margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; letter-spacing: -0.055em; }
.upcoming p { margin-bottom: 2rem; }
.upcoming-label { color: #8b8b8b; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; padding: 2.6rem 0 3.5rem; border-top: 1px solid var(--line); color: #747474; font-size: 0.78rem; }
.footer-brand { color: var(--white); font-size: 1rem; font-weight: 900; letter-spacing: -0.04em; text-decoration: none; }
footer p { margin: 0; text-align: center; }
footer > span { justify-self: end; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .ecosystem-panel { width: min(100%, 520px); }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 205px; }
  .principles h3 { margin-top: 2.7rem; }
  .product-grid { grid-template-columns: 1fr; }
  .upcoming { min-height: 390px; }
  .upcoming-mark { margin-top: 4rem; }
}

@media (max-width: 640px) {
  .site-header, main, footer { width: min(100% - 2rem, 520px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 80px; }
  .brand img { width: 138px; }
  nav { display: none; }
  .header-cta { font-size: 0.78rem; }
  .hero { padding: 4.25rem 0 4.75rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .platform-section, .products-section { padding: 4.75rem 0; }
  .section-heading, .products-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-card { min-height: auto; padding: 1.5rem; }
  .product-card ul { grid-template-columns: 1fr; }
  .download-button { min-width: 100%; }
  .upcoming { min-height: 360px; }
  .upcoming-mark { margin-top: 3.5rem; }
  footer { grid-template-columns: 1fr; gap: 0.75rem; }
  footer p { text-align: left; }
  footer > span { justify-self: start; }
}
