:root {
  --black: #080808;
  --black-soft: #0e0e10;
  --panel: #121214;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #a8a8ad;
  --white: #f7f5f2;
  --red: #f42b38;
  --purple: #7a49ff;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  border-radius: 4px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled,
.access-page .site-header { background: rgba(8, 8, 8, .86); border-color: var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 145px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a,
.back-link { min-height: 44px; display: inline-flex; align-items: center; color: #d8d8db; font-size: .86rem; font-weight: 500; }
.main-nav a:hover,
.back-link:hover { color: #fff; }
.main-nav .nav-access { padding: 0 19px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; }
.main-nav .nav-access:hover { border-color: var(--red); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 23px; height: 1px; margin: 7px auto; background: var(--white); transition: transform .2s ease; }

.hero { position: relative; min-height: 800px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid,
.access-grid {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-glow { position: absolute; width: 650px; height: 650px; right: -170px; top: -120px; border-radius: 50%; background: rgba(100,46,255,.22); filter: blur(130px); }
.hero-inner { position: relative; min-height: 800px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; padding-top: 90px; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; color: #c5c5c9; font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 28px; height: 2px; background: var(--red); }
h1, h2, h3 { font-family: "Syne", sans-serif; line-height: 1.05; letter-spacing: -.04em; }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(3.6rem, 7.1vw, 6.4rem); font-weight: 600; }
.hero h1 em,
.access-intro h1 em { display: block; color: transparent; font-style: normal; -webkit-text-stroke: 1.5px var(--red); }
.hero-text { max-width: 600px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); }
.hero-actions,
.access-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 24px; border: 1px solid transparent; border-radius: 3px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: #ff3c48; }
.button-ghost { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.02); }
.button-ghost:hover { border-color: rgba(255,255,255,.5); }
.hero-mark { position: relative; z-index: 1; justify-self: end; width: min(43vw, 560px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-mark::before { content: ""; position: absolute; inset: 18%; background: radial-gradient(circle, rgba(244,43,56,.2), transparent 67%); filter: blur(25px); }
.hero-mark img { position: relative; z-index: 2; width: 63%; height: 63%; object-fit: contain; filter: drop-shadow(0 30px 45px rgba(0,0,0,.7)); }
.orbit { position: absolute; inset: 4%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; top: 13%; right: 16%; border-radius: 50%; background: var(--red); box-shadow: 0 0 20px var(--red); }
.orbit-two { inset: 20%; border-color: rgba(122,73,255,.3); }
.orbit-two::after { top: auto; right: auto; bottom: 4%; left: 28%; background: var(--purple); box-shadow: 0 0 20px var(--purple); }
.hero-index { position: absolute; left: 0; bottom: 28px; color: #67676b; font-size: .68rem; letter-spacing: .14em; }

.section { padding: 126px 0; }
.section-heading { max-width: 700px; margin-bottom: 62px; }
.section-heading h2,
.integration-copy h2,
.access-panel h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 600; }
.section-heading > p:last-child,
.integration-copy > p,
.access-copy > p { max-width: 560px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.services { background: #0b0b0c; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 330px; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.025), transparent); overflow: hidden; transition: background .25s ease; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.service-card:hover { background: rgba(255,255,255,.045); }
.service-card:hover::after { transform: scaleX(1); }
.card-number { color: var(--red); font-size: .7rem; letter-spacing: .14em; }
.service-card h3 { margin: 72px 0 22px; font-size: 1.55rem; font-weight: 600; }
.service-card p { margin: 0; color: #96969a; font-size: .92rem; }

.method { background: var(--white); color: var(--black); }
.method-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.method-heading { position: sticky; top: 140px; align-self: start; }
.method-heading .eyebrow { color: #5f5f63; }
.method-heading > p:last-child { color: #68686b; }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(0,0,0,.18); }
.method-list li { min-height: 135px; display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: center; border-bottom: 1px solid rgba(0,0,0,.18); }
.method-list > li > span { color: var(--red); font-size: .75rem; font-weight: 600; }
.method-list h3 { margin: 0 0 7px; font-size: 1.75rem; }
.method-list p { margin: 0; color: #66666a; }

.integration { position: relative; overflow: hidden; background: #0b0b0d; }
.integration::before { content: ""; position: absolute; width: 600px; height: 600px; left: 2%; bottom: -350px; border-radius: 50%; background: rgba(122,73,255,.16); filter: blur(110px); }
.integration-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 530px; border: 1px solid var(--line); background: rgba(255,255,255,.018); }
.integration-visual { position: relative; display: grid; place-items: center; min-height: 500px; border-right: 1px solid var(--line); overflow: hidden; }
.integration-visual::before,
.integration-visual::after { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.integration-visual::after { width: 83%; border-color: rgba(122,73,255,.2); }
.core { position: relative; z-index: 2; width: 126px; height: 126px; display: grid; place-items: center; border: 1px solid rgba(244,43,56,.4); border-radius: 50%; background: rgba(8,8,8,.85); box-shadow: 0 0 70px rgba(244,43,56,.18); }
.core img { width: 65px; height: 65px; object-fit: contain; }
.node { position: absolute; z-index: 3; width: 11px; height: 11px; border: 2px solid var(--black); border-radius: 50%; background: var(--red); box-shadow: 0 0 18px var(--red); }
.node-one { top: 22%; right: 29%; }
.node-two { bottom: 24%; left: 21%; background: var(--purple); box-shadow: 0 0 18px var(--purple); }
.node-three { top: 42%; left: 9%; background: #fff; box-shadow: 0 0 18px #fff; }
.integration-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.text-link { min-height: 44px; align-self: flex-start; display: inline-flex; align-items: center; gap: 24px; margin-top: 34px; color: #fff; border-bottom: 1px solid var(--red); font-weight: 600; }

.access-section { padding-top: 0; background: #0b0b0d; }
.access-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 80px; background: var(--red); }
.access-panel .eyebrow { color: rgba(255,255,255,.82); }
.access-panel .eyebrow span { background: #fff; }
.access-panel h2 { color: #fff; }
.access-copy { align-self: end; }
.access-copy > p { color: rgba(255,255,255,.78); }
.access-panel .button-primary { background: #fff; color: #121212; }
.access-panel .button-primary:hover { background: #f0efec; }
.access-panel .button-ghost { border-color: rgba(255,255,255,.6); }

.site-footer { border-top: 1px solid var(--line); background: var(--black); }
.footer-inner { min-height: 130px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: #77777c; font-size: .78rem; }
.footer-inner img { width: 126px; }
.footer-inner p { margin: 0; text-align: center; }
.footer-inner p:last-child { text-align: right; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.access-page { min-height: 100vh; }
.access-main { position: relative; min-height: 100vh; display: grid; align-items: center; overflow: hidden; padding: 150px 0 70px; }
.access-main::before { content: ""; position: absolute; width: 700px; height: 700px; right: -270px; top: -180px; border-radius: 50%; background: rgba(122,73,255,.2); filter: blur(130px); }
.access-wrap { position: relative; z-index: 2; }
.access-intro { max-width: 790px; }
.access-intro h1 { margin: 0; font-size: clamp(3.5rem, 7vw, 6.8rem); font-weight: 600; }
.access-intro > p:last-child { max-width: 540px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 62px; }
.portal-card { position: relative; min-height: 230px; display: grid; grid-template-columns: 55px 1fr auto; gap: 18px; align-items: center; padding: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.portal-card:hover { border-color: rgba(244,43,56,.65); background: rgba(255,255,255,.05); transform: translateY(-3px); }
.portal-icon { align-self: start; color: var(--red); font-size: .72rem; font-weight: 600; }
.portal-card p { margin: 0 0 10px; color: #85858a; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.portal-card h2 { margin: 0 0 13px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.portal-description { color: #9d9da2; font-size: .9rem; }
.portal-arrow { align-self: start; font-size: 1.4rem; }
.access-note { margin: 28px 0 0; color: #77777c; font-size: .82rem; }
.back-link { gap: 8px; }

.not-found-page { min-height: 100vh; display: grid; place-items: center; }
.not-found { width: min(650px, calc(100% - 48px)); text-align: center; }
.not-found > img { width: 80px; margin: 0 auto 30px; }
.not-found .eyebrow { justify-content: center; }
.not-found h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.5rem); }
.not-found > p:not(.eyebrow) { color: var(--muted); }
.not-found .button { margin-top: 20px; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); }
  /* Keep the fixed menu anchored to the viewport after the header scrolls. */
  .site-header.is-scrolled,
  .access-page .site-header { backdrop-filter: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 88px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 28px 24px; background: rgba(8,8,8,.98); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav a { min-height: 62px; justify-content: space-between; border-bottom: 1px solid var(--line); font-family: "Syne", sans-serif; font-size: 1.2rem; }
  .main-nav .nav-access { margin-top: 20px; justify-content: center; border: 1px solid var(--red); }
  .hero { min-height: 760px; }
  .hero-inner { min-height: 760px; grid-template-columns: 1fr; padding-top: 130px; padding-bottom: 70px; }
  .hero-copy { max-width: 620px; }
  .hero-mark { position: absolute; right: -120px; bottom: -90px; width: 470px; opacity: .38; }
  .hero-copy { z-index: 3; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .method-layout { grid-template-columns: 1fr; gap: 20px; }
  .method-heading { position: static; }
  .integration-card { grid-template-columns: 1fr; }
  .integration-visual { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--line); }
  .access-panel { grid-template-columns: 1fr; gap: 10px; padding: 60px 42px; }
  .portal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { min-height: 74px; }
  .brand img { width: 124px; }
  .main-nav { inset-block-start: 74px; }
  .back-link { font-size: .78rem; }
  .hero,
  .hero-inner { min-height: 730px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.5rem); }
  .hero-text { max-width: 92%; }
  .hero-actions,
  .access-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-mark { right: -155px; bottom: -60px; width: 410px; }
  .section { padding: 88px 0; }
  .section-heading { margin-bottom: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .service-card h3 { margin-top: 52px; }
  .integration-visual { min-height: 300px; }
  .integration-copy { padding: 38px 24px 44px; }
  .access-panel { padding: 46px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; justify-items: center; padding: 34px 0; }
  .footer-inner p:last-child { text-align: center; }
  .access-main { padding-top: 120px; }
  .access-intro h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .portal-grid { margin-top: 44px; }
  .portal-card { min-height: 210px; grid-template-columns: 38px 1fr auto; padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
