:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #0b1f3a;
  --ink-soft: #3d5166;
  --line: #e4eaf2;
  --navy: #0b3d91;
  --blue: #1f6fff;
  --blue-soft: #e8f0ff;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(11, 61, 145, 0.08);
  --shell: min(1180px, calc(100% - 40px));
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); min-width: 320px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: 96px; }

.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
/* Brand lockup: larger, clear mark; position unchanged (left header / footer brand) */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
  opacity: 0.98;
  transition: opacity .22s ease;
}
.brand:hover { opacity: 1; }
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left center;
}
.brand-footer .brand-logo {
  height: 32px;
  max-width: 210px;
  opacity: 0.96;
}
.nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.nav a:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 14px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(180deg, var(--blue), var(--navy));
  color: #fff; box-shadow: 0 10px 24px rgba(11, 61, 145, 0.22);
}
.btn-primary:hover { box-shadow: 0 14px 28px rgba(11, 61, 145, 0.28); }
.btn-ghost {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.btn-ghost:hover { border-color: #c5d2e4; }

.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 8px 20px 16px;
  border-top: 1px solid var(--line); background: #fff;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-weight: 700; color: var(--ink-soft); }
.mobile-nav .btn { margin-top: 8px; }

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding: 56px 0 48px;
}
.kicker {
  margin: 0 0 14px; font: 500 12px/1 "IBM Plex Mono", monospace;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.hero h1 {
  margin: 0 0 18px; font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.05; letter-spacing: -.04em; font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.lede {
  margin: 0 0 24px; max-width: 48ch; font-size: 1.05rem;
  line-height: 1.65; color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero-stats dt {
  font: 500 11px/1.2 "IBM Plex Mono", monospace; letter-spacing: .06em;
  text-transform: uppercase; color: #7a8ea3; margin-bottom: 6px;
}
.hero-stats dd { margin: 0; font-weight: 700; font-size: 14px; }
.hero-media { position: relative; min-width: 0; }
.hero-media img {
  width: 100%; border-radius: 20px; aspect-ratio: 16/10; object-fit: cover;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,0.96); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; max-width: 260px;
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.1);
}
.hero-badge strong { display: block; font-size: 13px; margin-bottom: 4px; }
.hero-badge span { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }

.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip-inner {
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between;
  padding: 18px 0; font-size: 13px; font-weight: 700; color: var(--navy);
}

/* Brand cases: right-to-left marquee, restrained B2B logo strip */
.brand-cases {
  padding: 56px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.brand-cases-head {
  max-width: 640px;
  margin-bottom: 28px;
}
.brand-cases-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
}
.brand-cases-head p:not(.kicker) {
  margin: 0;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.brand-marquee {
  position: relative;
  margin-top: 8px;
}
.brand-marquee::before,
.brand-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(72px, 10vw);
  z-index: 2;
  pointer-events: none;
}
.brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}
.brand-marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brand-marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: brand-marquee-rtl 48s linear infinite;
  will-change: transform;
}
.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused;
}
.brand-marquee-group {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0 9px;
  flex: none;
}
.brand-case {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 220px;
  height: 100px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(11, 61, 145, 0.05);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.brand-case:hover {
  border-color: #c5d2e4;
  background: #fff;
  box-shadow: 0 12px 28px rgba(11, 61, 145, 0.1);
}
.brand-case img {
  width: auto;
  max-width: 176px;
  height: 52px;
  object-fit: contain;
  image-rendering: auto;
  filter: grayscale(.18) opacity(.92);
  transition: filter .22s ease;
}
.brand-case:hover img {
  filter: grayscale(0) opacity(1);
}
@keyframes brand-marquee-rtl {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.section { padding: 88px 0; }
.section-muted { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-light { color: #fff; }
.section-head h2, .section-head-light h2 {
  margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -.03em; line-height: 1.15;
}
.section-head p, .section-head-light p {
  margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--ink-soft);
}
.section-head-light p { color: rgba(255,255,255,0.78); }

.split {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: center;
}
.split-copy h3 {
  margin: 0 0 12px; font-size: 1.35rem; letter-spacing: -.02em;
}
.split-copy p { margin: 0 0 18px; color: var(--ink-soft); line-height: 1.65; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 28px; font-weight: 600; font-size: 14px;
  color: var(--ink);
}
.check-list li:before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--blue-soft);
  box-shadow: inset 0 0 0 5px var(--blue);
}
.split-media img, .wide-media img {
  width: 100%; border-radius: var(--radius); object-fit: cover;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.split-media img { aspect-ratio: 4/3; }
.wide-media img { aspect-ratio: 16/9; max-height: 420px; }
.wide-media-mt { margin-top: 36px; }

.feature-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-bottom: 28px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; min-width: 0; box-shadow: 0 8px 24px rgba(11, 31, 58, 0.04);
}
.feature-num {
  display: inline-block; margin-bottom: 14px;
  font: 500 12px/1 "IBM Plex Mono", monospace; color: var(--blue); letter-spacing: .08em;
}
.feature h3 { margin: 0 0 10px; font-size: 1.1rem; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.network-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.network-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: #fff; min-width: 0;
}
.network-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.network-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.member-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.member-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 24px; min-width: 0;
}
.member-card h3 { margin: 0 0 10px; font-size: 1.05rem; color: #fff; }
.member-card p { margin: 0; color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.6; }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step;
}
.steps li {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
  background: #fff; min-width: 0; counter-increment: step;
}
.steps li:before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font: 500 12px/1 "IBM Plex Mono", monospace; color: var(--blue); letter-spacing: .08em;
}
.steps strong { display: block; margin-bottom: 8px; font-size: 15px; }
.steps span { display: block; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }

.section-cta { padding-bottom: 100px; }
.cta-panel {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start;
  border: 1px solid var(--line); border-radius: 24px; padding: 36px;
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  box-shadow: var(--shadow);
}
.cta-panel h2 {
  margin: 0 0 12px; font-size: clamp(1.7rem, 2.8vw, 2.2rem); letter-spacing: -.03em;
}
.cta-panel > div > p { margin: 0; color: var(--ink-soft); line-height: 1.65; max-width: 40ch; }
.join-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.join-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; min-width: 0; }
.join-form .full { grid-column: 1 / -1; }
.join-form input, .join-form select, .join-form textarea {
  min-height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; padding: 0 12px; width: 100%;
}
.join-form textarea { min-height: 96px; padding: 12px; resize: vertical; }
.join-form input:focus, .join-form select:focus, .join-form textarea:focus {
  outline: 2px solid rgba(31, 111, 255, 0.25); border-color: var(--blue);
}
.full-btn { width: 100%; grid-column: 1 / -1; min-height: 48px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 600; color: var(--navy); min-height: 1.2em; }

.site-footer {
  border-top: 1px solid var(--line); background: #fff; padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}
.footer-grid p { margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; max-width: 40ch; }
.footer-grid h4 {
  margin: 0 0 12px; font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: .08em; text-transform: uppercase; color: #7a8ea3;
}
.footer-grid a { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--navy); }
.footer-address {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  max-width: 28ch;
}
.footer-address-label {
  display: block;
  margin-bottom: 6px;
  font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a8ea3;
  font-weight: 500;
}
.footer-offices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-offices li {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
}
.footer-locations {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 28px 40px;
  align-items: start;
}
.footer-locations h4 {
  margin: 0 0 12px;
  font: 500 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a8ea3;
}
.footer-hq-line {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  max-width: 42ch;
}
.footer-office-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-office-cities li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12px; color: #7a8ea3;
}

@media (max-width: 980px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero, .split, .cta-panel, .footer-grid { grid-template-columns: 1fr; }
  .feature-row, .member-grid, .steps { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .section { padding: 64px 0; }
  .cta-panel { padding: 24px; }
  .join-form { grid-template-columns: 1fr; }
  .join-form .full, .full-btn { grid-column: auto; }
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .header-actions .btn-primary { display: none; }
  .brand-logo { height: 28px; max-width: 180px; }
  .brand-footer .brand-logo { height: 28px; max-width: 180px; }
  .header-inner { min-height: 62px; }
  .brand-cases { padding: 40px 0 48px; }
  .brand-case {
    width: 176px;
    height: 84px;
    padding: 14px 16px;
    border-radius: 14px;
  }
  .brand-case img {
    max-width: 140px;
    height: 42px;
  }
  .brand-marquee-track { animation-duration: 42s; }
  .footer-locations { grid-template-columns: 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .brand-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 12px;
  }
  .brand-marquee-group[aria-hidden="true"] { display: none; }
  .brand-marquee-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .brand-marquee::before,
  .brand-marquee::after { display: none; }
}
