:root {
  --ink: #050505;
  --ink-soft: #0b090c;
  --panel: #100d11;
  --panel-light: #171218;
  --paper: #f4f1f3;
  --paper-soft: #c8c0c8;
  --muted: #9c929d;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.21);
  --magenta: #db0798;
  --magenta-soft: #ff43bf;
  --orange: #f5a623;
  --cyan: #22c7e8;
  --violet: #8b5cf6;
  --success: #61d6aa;
  --content: 1180px;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% -10%, rgba(219, 7, 152, 0.11), transparent 30rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--magenta);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--magenta-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: #fff;
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 78px;
  border-bottom: 1px solid transparent;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  transition:
    height 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  border-color: var(--line);
  background: rgba(5, 5, 5, 0.92);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  position: relative;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 183px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
}

.main-nav a {
  position: relative;
  color: #c8c0c8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--magenta);
  content: "";
  transition: right 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #fff;
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-cta,
.button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--paper);
  color: var(--ink) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-cta {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.69rem !important;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff !important;
}

.button-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper) !important;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-orange:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #080808 !important;
}

.menu-toggle {
  position: relative;
  z-index: 110;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  display: none;
  place-items: center;
  background: transparent;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 18px;
  height: 1px;
  display: block;
  background: #fff;
  content: "";
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle::before {
  transform: translateY(-5px);
}

.menu-toggle::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(1px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-1px) rotate(-45deg);
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--magenta-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.eyebrow-orange {
  color: var(--orange);
}

.display-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.65rem, 7.2vw, 7.75rem);
  font-stretch: condensed;
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-wrap: balance;
}

.display-title span {
  color: #877d88;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.2vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-intro {
  max-width: 650px;
  margin: 24px 0 0;
  color: #aaa1ab;
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.7;
}

.hero {
  position: relative;
  min-height: 920px;
  padding: 190px 0 82px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px);
  background-size: 74px 74px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 70%, transparent);
  opacity: 0.5;
}

.hero::after {
  position: absolute;
  top: 5%;
  right: 4%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: rgba(219, 7, 152, 0.15);
  content: "";
  filter: blur(140px);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(410px, 0.97fr);
  gap: 7vw;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .section-intro {
  max-width: 620px;
}

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

.hero-note {
  margin: 25px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8e858f;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}

.hero-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
}

.hero-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.portal {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 0.84;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 48% 48% 4px 4px / 30% 30% 4px 4px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(165deg, rgba(219, 7, 152, 0.12), transparent 38%),
    #080708;
  box-shadow:
    inset 0 0 65px rgba(219, 7, 152, 0.09),
    0 0 70px rgba(219, 7, 152, 0.08);
}

.portal::before,
.portal::after {
  position: absolute;
  border: 1px solid rgba(219, 7, 152, 0.24);
  border-radius: inherit;
  content: "";
}

.portal::before {
  inset: 18px;
}

.portal::after {
  inset: 42px;
  border-color: rgba(255, 255, 255, 0.08);
}

.portal-logo {
  position: relative;
  z-index: 2;
  width: 63%;
  filter: drop-shadow(0 0 36px rgba(219, 7, 152, 0.3));
}

.orbit-chip {
  position: absolute;
  z-index: 4;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: rgba(8, 7, 8, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  color: #c8c0c8;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orbit-one {
  top: 11%;
  left: -6%;
}

.orbit-two {
  top: 37%;
  right: -7%;
}

.orbit-three {
  bottom: 16%;
  left: -5%;
}

.orbit-four {
  right: 3%;
  bottom: 3%;
  border-color: rgba(245, 166, 35, 0.35);
  color: var(--orange);
}

.hero-rail {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-rail div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.hero-rail div:last-child {
  border-right: 0;
}

.hero-rail strong {
  display: block;
  color: #e7e2e6;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-rail span {
  margin-top: 6px;
  display: block;
  color: #746c75;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement {
  padding: clamp(95px, 12vw, 180px) 0;
  border-bottom: 1px solid var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.statement-index {
  color: #413a42;
  font-family: var(--mono);
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 0.8;
}

.statement-copy h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.6vw, 5.8rem);
  font-weight: 450;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.statement-copy h2 span {
  color: var(--magenta);
}

.statement-copy p {
  max-width: 700px;
  margin: 36px 0 0;
  color: #aaa1ab;
  font-size: 1.08rem;
  line-height: 1.8;
}

.solutions {
  padding: clamp(90px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 70px;
  align-items: end;
}

.section-heading > p {
  margin: 0;
  color: #9e959f;
  line-height: 1.75;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-card {
  position: relative;
  min-height: 330px;
  padding: 30px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 50%);
  overflow: hidden;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.solution-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--card-accent, var(--magenta));
  content: "";
  filter: blur(80px);
  opacity: 0.18;
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.solution-number {
  color: var(--card-accent, var(--magenta));
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.15em;
}

.solution-card h3 {
  margin: auto 0 16px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.solution-card p {
  margin: 0;
  color: #918892;
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-feature {
  position: relative;
  padding: clamp(90px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-feature::before {
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.09), transparent 64%);
  content: "";
}

.product-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.product-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #0b0909;
}

.product-visual img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
}

.product-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.64), transparent 45%);
  content: "";
}

.visual-label {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(12px);
}

.visual-label strong {
  font-size: 0.82rem;
}

.visual-label span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.product-copy .section-intro {
  margin-bottom: 32px;
}

.feature-list {
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid var(--line);
  color: #d0c9d0;
  font-size: 0.83rem;
}

.feature-list li::before {
  margin-right: 10px;
  color: var(--orange);
  content: "↘";
}

.principles {
  padding: clamp(90px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.principle-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}

.principle {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 0.7fr 1.3fr;
  gap: 30px;
  align-items: center;
}

.principle > span {
  color: var(--magenta);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.principle h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.principle p {
  margin: 0;
  color: #978e98;
  font-size: 0.9rem;
  line-height: 1.65;
}

.crew {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.crew-media {
  position: absolute;
  inset: 0;
}

.crew-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.crew-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 5, 5, 0.98) 8%, rgba(5, 5, 5, 0.56) 52%, rgba(5, 5, 5, 0.24)),
    linear-gradient(to top, rgba(5, 5, 5, 0.9), transparent 65%);
  content: "";
}

.crew-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding-bottom: 80px;
}

.crew-copy p:not(.eyebrow) {
  max-width: 560px;
  color: #b9b1ba;
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact {
  padding: clamp(95px, 11vw, 170px) 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
}

.contact-card {
  padding: 29px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(219, 7, 152, 0.08), rgba(255, 255, 255, 0.015));
}

.contact-card span {
  display: block;
  color: #847b85;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card a {
  margin-top: 10px;
  display: inline-block;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--magenta-soft);
}

.contact-card .contact-block + .contact-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-main {
  padding: 66px 0 54px;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 60px;
}

.footer-brand img {
  width: 195px;
}

.footer-brand > p {
  max-width: 430px;
  margin: 28px 0 0;
  color: #8f8690;
  font-size: 0.86rem;
  line-height: 1.72;
}

.footer-column h2 {
  margin: 0 0 20px;
  color: #6f6770;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column address,
.footer-column ul {
  margin: 0;
  padding: 0;
  color: #aaa1ab;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.75;
  list-style: none;
}

.footer-column li + li {
  margin-top: 8px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #625b63;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Internal and legal pages */
.page-hero {
  position: relative;
  padding: 178px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  top: -10%;
  right: 0;
  width: 45%;
  height: 110%;
  background: radial-gradient(circle, rgba(219, 7, 152, 0.14), transparent 65%);
  content: "";
}

.page-hero-orange::after {
  background: radial-gradient(circle, rgba(245, 166, 35, 0.13), transparent 65%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  margin-bottom: 36px;
  color: #756d76;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a:hover {
  color: #fff;
}

.page-title {
  max-width: 980px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 7.1rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.91;
  text-wrap: balance;
}

.page-subtitle {
  max-width: 780px;
  margin: 31px 0 0;
  color: #aaa1ab;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.72;
}

.page-meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #817882;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-meta strong {
  color: #bbb3bc;
  font-weight: 500;
}

.legal-layout {
  padding: 70px 0 120px;
  display: grid;
  grid-template-columns: 270px minmax(0, 780px);
  gap: 80px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-toc > span {
  margin-bottom: 16px;
  display: block;
  color: #676068;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  counter-reset: toc;
  list-style: none;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: grid;
  grid-template-columns: 26px 1fr;
  color: #948b95;
  font-size: 0.72rem;
  line-height: 1.4;
}

.legal-toc a::before {
  color: #4f4850;
  font-family: var(--mono);
  content: counter(toc, decimal-leading-zero);
}

.legal-toc a:hover {
  color: #fff;
}

.legal-content {
  min-width: 0;
}

.legal-lead {
  margin: 0 0 55px;
  color: #ccc5cd;
  font-size: 1.12rem;
  line-height: 1.8;
}

.legal-section {
  padding: 0 0 44px;
  scroll-margin-top: 100px;
}

.legal-section + .legal-section {
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.legal-section h3 {
  margin: 28px 0 12px;
  font-size: 1rem;
}

.legal-section p,
.legal-section li {
  color: #aaa2ab;
  font-size: 0.93rem;
  line-height: 1.82;
}

.legal-section p {
  margin: 0 0 16px;
}

.legal-section ul,
.legal-section ol {
  margin: 18px 0 18px 20px;
  padding: 0;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section strong {
  color: #e6e1e6;
  font-weight: 650;
}

.legal-section a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--magenta);
  text-underline-offset: 4px;
}

.legal-callout {
  margin: 25px 0;
  padding: 22px 24px;
  border-left: 2px solid var(--magenta);
  background: rgba(219, 7, 152, 0.055);
}

.legal-callout.orange {
  border-color: var(--orange);
  background: rgba(245, 166, 35, 0.055);
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-table-wrap {
  margin: 25px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.legal-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 15px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #a9a0aa;
  font-size: 0.79rem;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.035);
  color: #eee9ed;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.legal-table th:last-child,
.legal-table td:last-child {
  border-right: 0;
}

.company-box {
  margin-top: 40px;
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.company-box span {
  display: block;
  color: #716972;
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-box strong {
  margin: 10px 0 7px;
  display: block;
  color: #eee9ed;
  font-size: 0.92rem;
  line-height: 1.5;
}

.company-box p {
  margin: 0;
  color: #968d97;
  font-size: 0.8rem;
  line-height: 1.7;
}

.review-note {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px dashed rgba(245, 166, 35, 0.34);
  color: #a89f9f;
  font-size: 0.76rem;
  line-height: 1.65;
}

.review-note strong {
  color: var(--orange);
}

/* Product page */
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.78fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.product-portrait {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #100d0a;
}

.product-portrait img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
}

.product-portrait::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.72), transparent 42%);
  content: "";
}

.product-portrait .visual-label {
  border-color: rgba(245, 166, 35, 0.25);
}

.relationship {
  padding: clamp(90px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.relationship-map {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.relationship-step {
  position: relative;
  min-height: 230px;
  padding: 25px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.relationship-step::after {
  position: absolute;
  top: 28px;
  right: -8px;
  z-index: 2;
  color: var(--orange);
  content: "→";
  font-family: var(--mono);
}

.relationship-step:last-child::after {
  display: none;
}

.relationship-step > span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.relationship-step strong {
  margin-top: auto;
  font-size: 0.98rem;
}

.relationship-step p {
  margin: 10px 0 0;
  color: #8e858f;
  font-size: 0.78rem;
  line-height: 1.6;
}

.capabilities {
  padding: clamp(90px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.capability-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability {
  min-height: 245px;
  padding: 28px;
  background: var(--ink);
}

.capability > span {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.capability h3 {
  margin: 58px 0 12px;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 550;
  letter-spacing: -0.04em;
}

.capability p {
  margin: 0;
  color: #918892;
  font-size: 0.83rem;
  line-height: 1.68;
}

.ai-section {
  padding: clamp(90px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.ai-rules {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.ai-rules li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  color: #a69da7;
  font-size: 0.88rem;
  line-height: 1.62;
}

.ai-rules li::before {
  color: var(--orange);
  content: "↘";
  font-family: var(--mono);
}

.cta-band {
  position: relative;
  padding: clamp(90px, 11vw, 160px) 0;
  overflow: hidden;
}

.cta-band::before {
  position: absolute;
  top: -40%;
  right: 5%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.12);
  content: "";
  filter: blur(130px);
}

.cta-band .container {
  position: relative;
}

.cta-band h2 {
  max-width: 980px;
}

.cta-band .hero-actions {
  margin-top: 40px;
}

@media (max-width: 1020px) {
  .main-nav {
    position: fixed;
    inset: 0;
    padding: 120px 28px 44px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 5, 5, 0.985);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 170ms ease,
      transform 170ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin-top: 26px;
    min-height: 52px;
    border-bottom: 1px solid var(--paper);
    font-size: 0.76rem !important;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-bottom: 120px;
  }

  .hero-shell,
  .product-shell,
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 650px;
    margin: 0 auto;
  }

  .hero-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-rail div:nth-child(2) {
    border-right: 0;
  }

  .hero-rail div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .relationship-map {
    grid-template-columns: repeat(3, 1fr);
  }

  .relationship-step:nth-child(3)::after {
    display: none;
  }

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

@media (max-width: 720px) {
  .nav-shell,
  .container {
    width: min(calc(100% - 32px), var(--content));
  }

  .brand img {
    width: 151px;
    height: 42px;
  }

  .display-title {
    font-size: clamp(3.2rem, 16.5vw, 5rem);
  }

  .section-title {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .hero {
    padding-top: 145px;
  }

  .hero-shell {
    gap: 58px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .portal {
    width: 86%;
  }

  .orbit-one,
  .orbit-three {
    left: 0;
  }

  .orbit-two {
    right: 0;
  }

  .hero-rail {
    position: relative;
    margin-top: 58px;
  }

  .hero-rail div {
    padding: 14px;
  }

  .statement-grid,
  .section-heading,
  .contact-shell,
  .ai-grid {
    grid-template-columns: 1fr;
  }

  .statement-index {
    font-size: 4.5rem;
  }

  .solution-grid,
  .feature-list,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 260px;
  }

  .product-visual,
  .product-visual img,
  .product-portrait,
  .product-portrait img {
    min-height: 490px;
  }

  .principle {
    grid-template-columns: 45px 1fr;
    gap: 15px;
  }

  .principle p {
    grid-column: 2;
  }

  .crew {
    min-height: 720px;
  }

  .crew-media img {
    object-position: 58% center;
  }

  .crew-media::after {
    background:
      linear-gradient(to top, rgba(5, 5, 5, 0.98) 20%, rgba(5, 5, 5, 0.32) 75%),
      linear-gradient(to right, rgba(5, 5, 5, 0.7), transparent);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 143px 0 65px;
  }

  .page-title {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .page-meta {
    flex-direction: column;
  }

  .legal-layout {
    padding-top: 45px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-table-wrap {
    margin-right: -16px;
    margin-left: -16px;
  }

  .relationship-map {
    grid-template-columns: 1fr;
  }

  .relationship-step {
    min-height: 190px;
  }

  .relationship-step::after,
  .relationship-step:nth-child(3)::after {
    top: auto;
    right: 26px;
    bottom: -10px;
    display: block;
    content: "↓";
  }

  .relationship-step:last-child::after {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
