:root {
  --ink: #151a22;
  --ink-soft: #252c36;
  --blue: #2764ff;
  --blue-dark: #1647c8;
  --white: #ffffff;
  --paper: #f4f6f9;
  --muted: #626d7c;
  --line: #d9dee6;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.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; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.scrolled { background: rgba(21, 26, 34, .96); box-shadow: 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 47px; height: 36px; }
.brand-name { display: flex; gap: 9px; font-size: 17px; line-height: 1; letter-spacing: .16em; }
.brand-name b { font-weight: 800; }
.brand-name span { font-weight: 440; color: #9eb7ff; }
.primary-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; letter-spacing: .025em; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.nav-cta) { opacity: .8; }
.primary-nav a:not(.nav-cta):hover, .primary-nav a:not(.nav-cta):focus-visible { opacity: 1; }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.55); }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--white); color: var(--ink); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 760px; height: 92vh; max-height: 920px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-image { position: absolute; inset: 0; background: url("distribution-hero.png") center center / cover no-repeat; transform: scale(1.015); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,21,.94) 0%, rgba(11,15,21,.78) 44%, rgba(11,15,21,.25) 75%, rgba(11,15,21,.18) 100%), linear-gradient(0deg, rgba(11,15,21,.5), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 62px; }
.eyebrow { margin: 0 0 24px; color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.light { color: #89a9ff; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(58px, 7.2vw, 104px); line-height: .93; letter-spacing: -.058em; font-weight: 760; }
.hero h1 em { color: #6f96ff; font-style: normal; font-weight: 400; }
.hero-copy { max-width: 650px; margin: 32px 0 0; color: rgba(255,255,255,.78); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 54px; padding: 13px 22px; border: 1px solid transparent; text-decoration: none; font-weight: 750; font-size: 15px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: #3971ff; }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; text-decoration: none; }
.light-link { color: var(--white); }
.hero-foot { position: absolute; z-index: 2; inset: auto 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); padding-top: 17px; color: rgba(255,255,255,.58); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-foot span:not(:first-child) { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.2); }

.section { padding: 112px 0; }
.split-intro, .section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: start; }
h2 { margin: 0; font-size: clamp(40px, 4.8vw, 66px); line-height: 1.03; letter-spacing: -.045em; font-weight: 710; }
.intro-copy, .section-heading > p { color: var(--muted); font-size: 19px; line-height: 1.7; }
.intro-copy p:first-child { margin-top: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 76px; background: var(--line); border: 1px solid var(--line); }
.capability-card { min-height: 280px; padding: 34px; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; transition: background .2s ease; }
.capability-card:hover { background: var(--white); }
.capability-card.feature-card { background: var(--blue); color: var(--white); }
.card-number { color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.feature-card .card-number { color: #c9d6ff; }
.capability-card h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.15; }
.capability-card p { max-width: 460px; margin: 0; color: var(--muted); }
.feature-card p { color: rgba(255,255,255,.75); }

.dark-section { color: var(--white); background: var(--ink); }
.inverse-heading h2 span { color: #7d9fff; font-weight: 400; }
.inverse-heading > p { color: #aeb7c4; }
.channel-list { margin-top: 72px; border-top: 1px solid #39414d; }
.channel-list article { display: grid; grid-template-columns: 70px minmax(220px, .8fr) 1fr; gap: 24px; align-items: center; min-height: 118px; border-bottom: 1px solid #39414d; }
.channel-list article > span { color: #7194f3; font-size: 13px; font-weight: 800; }
.channel-list h3 { margin: 0; font-size: 24px; }
.channel-list p { margin: 0; color: #aeb7c4; }

.process { background: var(--paper); }
.section-heading > p { margin-top: 0; }
.process-grid { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.process-grid li { position: relative; padding: 30px 26px 0; border-top: 2px solid #bbc2cc; }
.process-grid li::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: -6px; left: 0; background: var(--blue); }
.process-grid span { color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.process-grid h3 { margin: 34px 0 10px; font-size: 25px; }
.process-grid p { margin: 0; color: var(--muted); }

.partnerships { background: var(--white); }
.partnership-panel { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 570px; color: var(--white); background: var(--blue); overflow: hidden; }
.partnership-copy { padding: 72px; }
.partnership-copy h2 { max-width: 620px; }
.partnership-copy > p:not(.eyebrow) { max-width: 610px; margin: 28px 0 38px; color: rgba(255,255,255,.8); font-size: 19px; }
.partnership-copy .eyebrow { color: #d1dcff; }
.button-white { background: var(--white); color: var(--ink); }
.service-list { list-style: none; margin: 0; padding: 48px; background: var(--ink); display: grid; align-content: center; }
.service-list li { padding: 16px 4px; border-bottom: 1px solid #39414d; font-size: 17px; font-weight: 650; }
.service-list li::before { content: "↗"; display: inline-block; width: 32px; color: #7194f3; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12%; }
.contact-grid > div:first-child > p:last-child { max-width: 630px; margin-top: 30px; color: var(--muted); font-size: 19px; }
.contact-details { display: grid; gap: 30px; }
.contact-details > div { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.contact-details span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-details a:not(.button), .contact-details address { font-size: 20px; font-style: normal; text-decoration: none; }
.button-dark { justify-self: start; background: var(--ink); color: var(--white); }

.site-footer { padding: 70px 0 28px; color: var(--white); background: #0d1117; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid #303741; }
.footer-top p { max-width: 390px; margin: 0; color: #9ba5b3; text-align: right; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 25px; color: #8791a0; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 25px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--white); }

.legal-page { background: var(--paper); }
.legal-header { color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); }
.legal-header .brand-name span { color: #5277d8; }
.legal-main { max-width: 820px; padding-top: 160px; padding-bottom: 100px; }
.legal-main h1 { margin: 0 0 30px; font-size: clamp(46px, 7vw, 74px); line-height: 1; letter-spacing: -.05em; }
.legal-main h2 { margin: 45px 0 12px; font-size: 26px; letter-spacing: -.02em; }
.legal-main p { color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 35px; color: var(--blue-dark); font-weight: 700; text-decoration: none; }

@media (max-width: 860px) {
  :root { --shell: min(100% - 34px, 680px); }
  .header-inner { min-height: 76px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; padding: 12px 9px; border: 0; background: transparent; align-content: center; gap: 7px; color: inherit; }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 22px 17px 28px; background: rgba(21,26,34,.98); flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 13px 8px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: 720px; height: 100svh; max-height: 880px; }
  .hero-image { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(11,15,21,.94), rgba(11,15,21,.58)), linear-gradient(0deg, rgba(11,15,21,.65), transparent 45%); }
  .hero-content { padding-top: 30px; }
  .hero h1 { font-size: clamp(54px, 14vw, 76px); }
  .hero-copy { max-width: 580px; font-size: 18px; }
  .hero-foot { grid-template-columns: 1fr 1fr; gap: 7px 18px; }
  .hero-foot span:not(:first-child) { padding-left: 0; border-left: 0; }
  .section { padding: 82px 0; }
  .split-intro, .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .capability-grid { margin-top: 55px; }
  .channel-list article { grid-template-columns: 45px 1fr; padding: 22px 0; }
  .channel-list p { grid-column: 2; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 46px 0; }
  .partnership-panel { grid-template-columns: 1fr; }
  .partnership-copy { padding: 56px 44px; }
  .service-list { padding: 38px 44px 46px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 36px); }
  .brand-mark { width: 41px; }
  .brand-name { font-size: 14px; gap: 7px; }
  .hero { min-height: 690px; }
  .hero-content { padding-top: 20px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; margin-top: 32px; }
  .button { width: 100%; }
  .hero-foot { bottom: 22px; font-size: 11px; letter-spacing: .065em; }
  .section { padding: 68px 0; }
  h2 { font-size: 41px; }
  .intro-copy, .section-heading > p { font-size: 17px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 235px; padding: 28px; }
  .channel-list article { grid-template-columns: 32px 1fr; gap: 12px; }
  .channel-list h3 { font-size: 21px; }
  .process-grid { grid-template-columns: 1fr; gap: 38px; }
  .process-grid li { padding-left: 0; }
  .partnership-copy, .service-list { padding: 42px 28px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-top p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
