:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --muted: #b8b2a4;
  --dark: #0d1112;
  --dark-2: #151a1b;
  --panel: #1c2221;
  --line: rgba(245, 241, 232, 0.16);
  --header-bg: rgba(13, 17, 18, 0.76);
  --header-scrolled-bg: rgba(13, 17, 18, 0.94);
  --mobile-nav-bg: rgba(13, 17, 18, 0.98);
  --nav-text: rgba(245, 241, 232, 0.82);
  --control-bg: rgba(245, 241, 232, 0.06);
  --hero-overlay: rgba(13, 17, 18, 0.88);
  --hero-lede-color: rgba(245, 241, 232, 0.92);
  --hero-title-color: rgba(245, 241, 232, 0.95);
  --secondary-border: rgba(245, 241, 232, 0.28);
  --secondary-bg: rgba(245, 241, 232, 0.06);
  --card-bg: rgba(245, 241, 232, 0.055);
  --card-hover-bg: rgba(245, 241, 232, 0.085);
  --kicker-muted: rgba(245, 241, 232, 0.72);
  --item-text: rgba(245, 241, 232, 0.9);
  --footer-bg: #090c0d;
  --footer-text: rgba(245, 241, 232, 0.6);
  --teal: #ff2bd6;
  --amber: #ff2bd6;
  --red: #ff2bd6;
  --green: #ff2bd6;
  --blue: #ff2bd6;
  --paper: #efe9dd;
  --paper-ink: #151a1b;
  --paper-muted: #5f625d;
  --max: 1180px;
  --header-height: 76px;
  font-family:
    "Segoe UI Light", "Aptos", "Aptos Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: var(--header-scrolled-bg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  color: var(--nav-text);
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--control-bg);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span + span {
  margin-top: -12px;
}

.section-inner {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  padding: calc(var(--header-height) + 34px) 0 42px;
  overflow: clip;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background: var(--hero-overlay);
}

.hero-content {
  align-self: center;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: clamp(3.8rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 300;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 300;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.24rem, 2vw, 1.58rem);
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 400;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--hero-lede-color);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
}

.hero-subtitle {
  max-width: 1120px;
  margin-bottom: 34px;
  color: var(--hero-title-color);
  font-size: clamp(3rem, 6.2vw, 6.2rem);
  font-weight: 300;
  line-height: 0.98;
}

.hero-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible,
.doorway:hover,
.doorway:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--amber);
  color: #141718;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff6be4;
  color: #17120b;
}

.button-secondary {
  border-color: var(--secondary-border);
  background: var(--secondary-bg);
  color: var(--ink);
}

.section-band,
.area-section {
  border-top: 1px solid var(--line);
}

.section-band {
  padding: clamp(78px, 10vw, 132px) 0;
  background: var(--dark);
}

.intro-band {
  padding-top: 22px;
  background: var(--dark);
  color: var(--ink);
}

.intro-band .eyebrow {
  color: var(--amber);
}

.section-heading {
  max-width: 100%;
  margin-bottom: 46px;
}

.section-heading p,
.doorway p,
.area-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.doorway-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.doorway {
  position: relative;
  display: grid;
  grid-template-rows: 168px auto 1fr;
  min-height: 292px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--ink);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.doorway::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent, var(--amber));
  content: "";
}

.doorway:hover,
.doorway:focus-visible {
  border-color: rgba(255, 43, 214, 0.62);
  background: var(--card-hover-bg);
}

.doorway-number {
  align-self: start;
  color: var(--accent, var(--amber));
  font-size: 0.78rem;
  font-weight: 650;
}

.doorway h3 {
  align-self: start;
  margin-bottom: 12px;
}

.doorway p {
  margin-bottom: 0;
}

.doorway-networks {
  --accent: var(--green);
}

.doorway-agents {
  --accent: var(--teal);
}

.doorway-adoption {
  --accent: var(--amber);
}

.doorway-strategy {
  --accent: var(--blue);
}

.doorway-events {
  --accent: var(--red);
}

.area-section {
  padding: clamp(72px, 9vw, 122px) 0;
  background: var(--dark);
}

.area-section:nth-of-type(odd) {
  background: var(--dark-2);
}

.area-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.area-kicker {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 10px;
  color: var(--kicker-muted);
}

.area-kicker span {
  width: fit-content;
  border-bottom: 1px solid var(--accent, var(--amber));
  color: var(--accent, var(--amber));
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 300;
  line-height: 0.9;
}

.area-kicker p {
  margin-bottom: 0;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.area-copy {
  max-width: 940px;
}

.area-copy h2 {
  max-width: 100%;
}

.area-copy p {
  color: var(--muted);
}

.area-networks {
  --accent: var(--green);
}

.area-agents {
  --accent: var(--teal);
}

.area-adoption {
  --accent: var(--amber);
}

.area-strategy {
  --accent: var(--blue);
}

.area-events {
  --accent: var(--red);
}

.short-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 32px 0 30px;
  padding: 0;
  list-style: none;
}

.short-list li {
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--item-text);
  font-weight: 400;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--accent, var(--amber));
  color: var(--ink);
  font-weight: 600;
  transition:
    transform 160ms ease,
    color 160ms ease;
}

.text-link::after {
  content: "->";
  color: var(--accent, var(--amber));
}

.contact {
  background: var(--dark);
}

.contact-grid {
  grid-template-columns: minmax(340px, 0.95fr) minmax(320px, 1.05fr);
  align-items: end;
}

.contact-copy {
  max-width: 920px;
}

.contact-copy p {
  color: var(--muted);
}

.contact-link {
  display: inline-flex;
  margin-top: 14px;
  border-bottom: 1px solid var(--amber);
  color: var(--ink);
  font-weight: 600;
}

.contact-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  background: var(--card-bg);
}

.contact-panel-title {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.contact-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-panel li {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-hero {
  padding: calc(var(--header-height) + 92px) 0 84px;
  border-bottom: 1px solid var(--line);
  background: var(--dark);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.detail-hero h1 {
  max-width: 100%;
  font-size: clamp(3.4rem, 7vw, 6.9rem);
  line-height: 0.94;
}

.detail-lede {
  max-width: 920px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.22;
}

.detail-section {
  padding: clamp(72px, 10vw, 132px) 0;
  background: var(--dark);
  color: var(--ink);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 22px;
}

.detail-aside span {
  width: fit-content;
  border-bottom: 1px solid var(--accent, var(--amber));
  color: var(--accent, var(--amber));
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 300;
  line-height: 0.9;
}

.detail-aside p {
  max-width: 260px;
  color: var(--muted);
  font-weight: 400;
}

.detail-content {
  max-width: 980px;
}

.detail-content h2 {
  max-width: 100%;
}

.detail-content p {
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 56px;
}

.detail-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--card-bg);
}

.detail-card h3 {
  font-size: 1.15rem;
}

.detail-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

.detail-list,
.process-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 38px;
  padding: 0;
  list-style: none;
}

.detail-list li,
.process-list li {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: var(--item-text);
  font-size: 1.05rem;
}

.process-list {
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: baseline;
  counter-increment: process;
}

.process-list li::before {
  color: var(--accent, var(--amber));
  content: counter(process, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 650;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

@media (max-width: 1100px) {
  .doorway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doorway {
    grid-template-rows: 112px auto 1fr;
    min-height: 230px;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--mobile-nav-bg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

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

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .area-grid,
  .contact-grid,
  .detail-hero-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .area-kicker {
    position: static;
  }

  .detail-aside {
    position: static;
  }

  .area-copy h2 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand span:last-child {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-inner {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    min-height: 90svh;
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 44px;
  }

  .hero-shade {
    background: var(--hero-overlay);
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.4rem, 15vw, 5rem);
  }

  .hero-subtitle {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.35rem);
  }

  .hero-copy {
    display: none;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    width: 100%;
  }

  .doorway-grid,
  .short-list,
  .detail-card-grid {
    grid-template-columns: 1fr;
  }

  .doorway {
    grid-template-rows: 82px auto 1fr;
    min-height: 190px;
  }

  .area-section,
  .section-band {
    padding-block: 70px;
  }

  .area-copy h2 {
    max-width: none;
  }

  .detail-hero {
    padding-top: calc(var(--header-height) + 54px);
  }

  .detail-hero h1,
  .detail-content h2 {
    max-width: none;
  }

  .detail-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
