:root {
  color-scheme: dark;
  --black: #050505;
  --surface: #0b0b0c;
  --surface-raised: #111113;
  --text: #f4f4f5;
  --muted: #a2a2a8;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --red: #ed1c24;
  --red-dark: #a70f15;
  --focus: #ff6368;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: var(--text); text-underline-offset: 0.2em; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.shell { width: min(1280px, calc(100% - 3rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(158px, 16vw, 220px);
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.product-brand {
  gap: 0.78rem;
  color: var(--text);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1;
}

.product-brand > span:last-child { display: grid; gap: 0.05rem; }
.product-brand strong { font-size: 1rem; letter-spacing: -0.02em; }
.product-brand small {
  color: #8f8f96;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.nav-links { display: flex; flex-wrap: wrap; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-actions { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-links a {
  color: #d3d3d7;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--red); }

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
  color: #696970;
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}
.language-switch a { color: #8f8f96; text-decoration: none; }
.language-switch a:hover, .language-switch a[aria-current="page"] { color: var(--red); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(860px, calc(100svh - 78px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle at 82% 38%, rgba(237, 28, 36, 0.2), transparent 22%),
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.96) 46%, rgba(5, 5, 5, 0.72) 100%);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 44%, black 100%);
}

.hero-content { padding-block: clamp(6rem, 13vh, 9rem); }
.hero-copy { max-width: 760px; }

h1, h2, h3 {
  line-height: 1.07;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.1rem, 5vw, 4.8rem);
  font-weight: 480;
}

h2 { margin-top: 2.8rem; font-size: clamp(1.75rem, 3vw, 2.7rem); }
h3 { margin-top: 2rem; font-size: 1.22rem; }

.lead {
  max-width: 720px;
  margin: 1.8rem 0 0;
  color: #bebec3;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.3rem; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.15rem;
  border: 1px solid var(--red);
  border-radius: 2px;
  background: var(--red);
  color: white;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button:hover { border-color: #ff333a; background: #ff333a; color: white; }
.button.secondary { border-color: var(--line-strong); background: rgba(5,5,5,.7); color: white; }
.button.secondary:hover { border-color: var(--red); color: var(--red); }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  min-height: 300px;
  padding: 3.2rem clamp(1.5rem, 3vw, 3rem);
}
.principle + .principle { border-left: 1px solid var(--line); }
.principle svg { width: 42px; height: 42px; color: var(--red); }
.principle h2 { margin: 1.7rem 0 0.9rem; font-size: 1.6rem; }
.principle p { max-width: 31rem; margin: 0; color: var(--muted); }

.capability-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: 1rem 7rem;
  scroll-margin-top: 110px;
}

.section-heading h2 { margin: 0 0 1rem; }
.section-heading p { margin: 0; color: var(--muted); }
.capability-list { border-top: 1px solid var(--line); }
.capability-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.8rem 0 2rem;
  border-bottom: 1px solid var(--line);
}
.capability-list article > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.capability-list h3 { margin: 0 0 0.65rem; }
.capability-list p { max-width: 52rem; margin: 0; color: var(--muted); }

.language-note {
  position: relative;
  margin-bottom: 7rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(237, 28, 36, 0.12), transparent 50%), var(--surface);
  padding: clamp(2rem, 5vw, 4rem);
}
.language-note::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  content: "";
  background: var(--red);
}
.language-note .eyebrow { margin: 0; }
.language-note h2 { max-width: 780px; margin: 0 0 1rem; }
.language-note p:last-child { max-width: 850px; margin-bottom: 0; color: var(--muted); }

.eyebrow {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal {
  width: min(860px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 7rem;
}
.legal h1 { max-width: 820px; font-size: clamp(2.7rem, 6vw, 5.2rem); font-weight: 500; }
.legal h2 { padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: clamp(1.55rem, 3vw, 2.2rem); }
.legal h3 { color: #ececef; }
.legal p, .legal li { color: #b5b5bb; }
.legal li + li { margin-top: 0.45rem; }
.legal section { scroll-margin-top: 104px; }
.legal a:not(.button) { color: #ff5c62; }
.meta { margin: 1.2rem 0 2.8rem; color: var(--muted); font-size: 0.92rem; }
.notice {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--red);
  background: linear-gradient(90deg, rgba(237,28,36,.14), rgba(237,28,36,.03));
}

form { display: grid; gap: 1.1rem; }
label { display: grid; gap: 0.4rem; color: #dedee1; font-weight: 650; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface-raised);
  color: var(--text);
  font: inherit;
  padding: 0.82rem 0.9rem;
}
input::placeholder, textarea::placeholder { color: #73737a; }
textarea { min-height: 180px; resize: vertical; }
button { cursor: pointer; }
.consent-check { display: flex; grid-template-columns: auto 1fr; align-items: start; font-weight: 400; }
.consent-check input { width: auto; margin-top: 0.35rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0;
  background: #020202;
  color: #818187;
  font-size: 0.86rem;
}
.footer-row { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: #a8a8ad; }

@media (max-width: 860px) {
  .shell { width: min(100% - 2rem, 1280px); }
  .nav { min-height: auto; align-items: flex-start; flex-direction: column; padding: 0.85rem 0 0.9rem; gap: 0.6rem; }
  .brand img { width: 154px; max-height: 40px; }
  .nav-actions { width: 100%; align-items: flex-start; justify-content: space-between; }
  .nav-links { width: 100%; gap: 0.75rem 1.2rem; }
  .nav-links a { font-size: 0.66rem; }
  .language-switch { flex: 0 0 auto; padding-left: 0.9rem; font-size: 0.68rem; }
  .hero { min-height: 720px; }
  .hero::before {
    background-image:
      radial-gradient(circle at 80% 30%, rgba(237, 28, 36, 0.18), transparent 28%),
      linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.9) 100%);
    background-position: center, center;
  }
  .hero-content { padding-block: 5rem; }
  .principles { grid-template-columns: 1fr; margin-bottom: 4.5rem; }
  .principle { min-height: 0; padding: 2.5rem 1.2rem; }
  .principle + .principle { border-top: 1px solid var(--line); border-left: 0; }
  .capability-section { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 5rem; }
}

@media (max-width: 520px) {
  .nav-actions { gap: 0.8rem; }
  .product-brand strong { font-size: 0.95rem; }
  .nav-links { display: grid; grid-template-columns: repeat(2, max-content); }
  .hero { min-height: 680px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .legal { width: min(100% - 2rem, 860px); }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
