@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #0046ff;
  --deep: #0e3ca5;
  --white: #ffffff;
  --ink: #111111;
  --mist: #f8f8f8;
  --line: rgb(17 17 17 / .16);
  --muted: #555555;
  --gutter: clamp(20px, 5.5vw, 88px);
  --band: clamp(72px, 10vw, 160px);
  --radius: 20px;
  --head-h: 72px;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 clamp(16px, 1.15vw, 19px)/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 50;
  padding: 10px 16px; background: var(--ink); color: var(--white);
  border-radius: 8px; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.h-xl, .h-lg, .h-md, .statement, .hero-title {
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1;
}
.h-xl { font-size: clamp(40px, 5.6vw, 98px); line-height: .98; }
h2.h-xl { font-size: clamp(35px, 4.9vw, 86px); }
h2.h-lg { font-size: clamp(28px, 3.5vw, 61px); }
.h-lg { font-size: clamp(32px, 4vw, 70px); }
.h-md { font-size: clamp(24px, 2.2vw, 36px); letter-spacing: -.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 8px;
  font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.action-icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; vertical-align: -.2em; }
.guide-link .action-icon { margin-left: .25em; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--deep); }

.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--head-h); padding: 0 var(--gutter);
  background: var(--mist);
}
.brand { display: block; border-radius: 4px; }
.brand img { width: 104px; }
.site-nav ul { display: flex; gap: clamp(18px, 2.6vw, 44px); }
.site-nav a {
  display: block; padding: 8px 0;
  font-weight: 600; font-size: 15px; text-decoration: none;
  background: linear-gradient(var(--blue), var(--blue)) left 100% / 0 2px no-repeat;
  transition: background-size .2s ease;
}
.site-nav a:hover { background-size: 100% 2px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--head-h) + clamp(16px, 2.4vw, 40px)) var(--gutter) clamp(28px, 3vw, 48px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(28px, 3vw, 48px);
  overflow: clip;
}
.hero-title {
  position: relative; z-index: 2;
  font-size: min(9.1vw, 19.4svh);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .93;
}
.hero-title > span { display: block; }
.hero-title .l2 { padding-left: 1.05em; }
.hero-title .nb { white-space: nowrap; }
.hero-sphere {
  position: absolute; z-index: 1;
  top: calc(var(--head-h) + 24px); right: 7%;
  width: min(30vw, 60svh);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-ring {
  position: absolute; z-index: 0;
  top: calc(var(--head-h) + 12px); right: -5%;
  width: min(56vw, 112svh);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
.hero-foot {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: end;
}
.hero-lede { font-size: clamp(18px, 1.7vw, 28px); line-height: 1.3; font-weight: 500; letter-spacing: -.01em; max-width: 34em; }
.hero-foot .btn { justify-self: end; }
@keyframes drift {
  from { transform: translate3d(0, -1.2%, 0) rotate(-1.2deg); }
  to   { transform: translate3d(0, 1.2%, 0) rotate(1.2deg); }
}

.network {
  background: var(--white);
  padding: clamp(64px, 8vw, 128px) var(--gutter);
}
.statement { font-size: clamp(28px, 4.65vw, 81px); max-width: 15em; }
.statement em { font-style: normal; color: var(--blue); }
.duo {
  display: grid; grid-template-columns: 7fr 5fr; gap: 16px;
  margin-top: clamp(40px, 5vw, 80px);
}
.panel {
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(48px, 6vw, 104px);
  padding: clamp(24px, 3vw, 48px);
  background: var(--mist); border-radius: var(--radius);
  font-size: clamp(18px, 1.55vw, 26px); line-height: 1.35;
}
.panel-deep { background: var(--deep); color: var(--white); }

.use { padding: var(--band) var(--gutter); }
.use-head {
  display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end;
}
.use-head p { max-width: 26em; font-size: 1.15em; line-height: 1.35; }
.tile { border-radius: var(--radius); width: 100%; object-fit: cover; }
.use-body {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px);
  margin-top: clamp(40px, 5vw, 80px);
}
.use-image { position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); }
.use-body .tile { position: absolute; inset: 0; height: 100%; object-position: 50% 100%; }
.tasks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4.4vw, 72px) clamp(24px, 3.4vw, 56px); align-content: start; }
.tasks h3 { font-size: clamp(32px, 3.6vw, 64px); font-weight: 850; letter-spacing: -.035em; line-height: 1; }
.tasks p { margin-top: 12px; color: #2b2b2b; }

.part {
  position: relative; overflow: clip;
  background: var(--blue); color: var(--white);
  padding: var(--band) var(--gutter);
}
.part .h-xl { position: relative; z-index: 2; max-width: 10.5em; }
.steps-wrap { position: relative; }
.part-stair {
  position: absolute; z-index: 1;
  top: 262px; right: calc(var(--gutter) * -.4);
  width: clamp(250px, 24vw, 420px);
  animation: drift 20s ease-in-out infinite alternate;
}
.steps {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: clamp(40px, 5vw, 80px);
  align-items: start;
}
.steps li:nth-child(1) { margin-top: 225px; }
.steps li:nth-child(2) { margin-top: 150px; }
.steps li:nth-child(3) { margin-top: 75px; }
.steps h3 { margin: 0 0 10px; font-size: clamp(32px, 3.2vw, 56px); font-weight: 850; letter-spacing: -.035em; line-height: 1; }

.guide {
  position: relative; z-index: 2;
  margin-top: var(--band);
  display: grid; grid-template-columns: 3fr 9fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(16px, 1.6vw, 24px);
  padding-right: clamp(20px, 4vw, 64px);
  background: var(--white); color: var(--ink);
  border-radius: calc(var(--radius) + 8px);
}
.guide .tile { height: 100%; min-height: 300px; object-position: 50% 70%; }
.guide > div { padding-block: clamp(16px, 2.4vw, 40px); }
.qa {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 48px) clamp(24px, 4vw, 64px);
  margin-top: clamp(28px, 3vw, 48px);
}
.qa article { scroll-margin-top: calc(var(--head-h) + 24px); }
.qa h4 { margin: 0 0 8px; font-size: clamp(20px, 1.6vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; transition: color .2s ease; }
.qa p { color: #2b2b2b; }
.qa strong { font-weight: 700; color: var(--ink); }
.qa article:target h4 { color: var(--blue); }
.guide-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 650; text-underline-offset: 4px; }
.guide-link:hover { color: var(--deep); }

.tools {
  background: var(--ink); color: var(--white);
  padding: clamp(56px, 6vw, 96px) var(--gutter);
  display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px);
}
.tools-head p { margin-top: 18px; color: #cfcfcf; max-width: 26em; }
.tool-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-groups h3 { color: #bdbdbd; font-size: 1em; font-weight: 500; }
.tool-groups ul + h3 { margin-top: 32px; }
.tool-groups li { margin-top: 10px; font-weight: 650; font-size: clamp(18px, 1.5vw, 24px); letter-spacing: -.01em; line-height: 1.2; }
.tool-groups a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left 100% / 0 2px no-repeat; transition: background-size .2s ease; }
.tool-groups a:hover { background-size: 100% 2px; }
.tools :focus-visible, .community :focus-visible, .site-foot :focus-visible { outline-color: var(--white); }

.downloads {
  position: relative; overflow: clip;
  padding: var(--band) var(--gutter);
}
.dl-plate {
  position: absolute; z-index: 0; top: -6%; right: 3%;
  width: min(25vw, 400px);
  animation: drift 16s ease-in-out infinite alternate-reverse;
}
.dl-head { position: relative; z-index: 1; max-width: 42em; }
.dl-head p { margin-top: 18px; max-width: 30em; font-size: 1.15em; line-height: 1.35; }
.platforms {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: clamp(40px, 5vw, 72px);
}
.platforms li {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(20px, 2vw, 32px);
  background: var(--white); border-radius: var(--radius);
  min-height: clamp(220px, 20vw, 320px);
}
.platforms h3 { font-size: clamp(32px, 3.4vw, 60px); font-weight: 850; letter-spacing: -.035em; line-height: 1; }

.os-icon { filter: brightness(0); width: clamp(48px, 4.5vw, 72px); height: clamp(48px, 4.5vw, 72px); object-fit: contain; align-self: center; margin: auto 0; }
.platforms li { gap: 28px; }

.community {
  background: var(--deep); color: var(--white);
  padding: var(--band) var(--gutter) clamp(48px, 5vw, 72px);
}
.community .h-lg { max-width: 15em; }
.community-lede { margin-top: 20px; max-width: 34em; }
.channels {
  display: flex; flex-wrap: wrap; justify-content: center; text-align: center;
  margin-top: clamp(28px, 3.5vw, 56px);
  font-weight: 750; font-size: clamp(23px, 2.7vw, 46px); letter-spacing: -.025em; line-height: 1.2;
}
.channels a { text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .12em; }
.channels a:hover { text-decoration-color: rgb(255 255 255 / .5); }
.channels .soon { opacity: .62; }
.channels li:not(:last-child)::after { content: "/"; margin: 0 .22em; font-weight: 300; opacity: .55; }
.site-foot {
  background: var(--ink); color: var(--white);
  padding: 0 var(--gutter) clamp(40px, 4vw, 64px);
}
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 40px; padding-top: clamp(48px, 5vw, 80px); }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(18px, 2.6vw, 44px); }
.foot-nav a { display: block; padding: 6px 0; font-weight: 600; font-size: 15px; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; margin-top: clamp(40px, 4vw, 64px); font-size: 14px; color: #cfcfcf; }
.foot-docs { display: flex; flex-wrap: wrap; gap: 6px 24px; }

.foot-logo { justify-self: center; }
.foot-legal { justify-content: flex-end; }
.foot-logo img { filter: brightness(0) invert(1); width: 104px; }
.foot-docs a { text-decoration: none; }
.foot-docs a:hover { text-decoration: underline; }
.document-page { padding: calc(var(--head-h) + 64px) var(--gutter) var(--band); min-height: 80svh; }
.document-page p { margin-top: 24px; }
.topic-document { max-width: 760px; margin-inline: auto; }
.topic-lede { font-size: 1.15em; }
.topic-document section { margin-top: 36px; }
.topic-document section { scroll-margin-top: calc(var(--head-h) + 28px); }
.topic-document section h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
.topic-document section p { margin-top: 12px; }
.topic-document > .guide-link { margin-top: 36px; }
.document-page + .site-foot { margin-top: 0; }

@media (max-width: 1000px) {
  .use-head, .use-body { grid-template-columns: 1fr; }
  .use-image { aspect-ratio: 16 / 10; }
  .guide { grid-template-columns: 1fr; padding-right: clamp(16px, 1.6vw, 24px); }
  .guide .tile { height: auto; min-height: 0; aspect-ratio: 16 / 7; }
  .guide > div { padding-inline: 8px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(n) { margin-top: 0; }
  .steps li:nth-child(even) { margin-top: 56px; }
  .part .h-xl { max-width: 8.5em; }
  .steps-wrap { position: static; }
  .part-stair { top: clamp(24px, 4vw, 72px); right: -2vw; width: 36vw; }
  .tools { grid-template-columns: 1fr; }
  .hero { min-height: min(72svh, 760px); }
  .hero-foot .btn { align-self: end; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .platforms li:last-child { grid-column: 1 / -1; min-height: 0; }
}

@media (max-width: 760px) and (scripting: enabled) {
  .menu-toggle {
    display: inline-flex; align-items: center;
    min-height: 44px; padding: 0 18px;
    background: var(--ink); color: var(--white);
    border: 0; border-radius: 8px; font-weight: 650; font-size: 15px;
  }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { padding: 14px 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; background: none; }
}
@media (max-width: 760px) and (not (scripting: enabled)) {
  .site-head { height: auto; flex-wrap: wrap; padding-block: 12px; position: static; }
  .site-nav ul { flex-wrap: wrap; gap: 2px 16px; }
}

@media (max-width: 640px) {
  .hero { min-height: 0; justify-content: flex-start; gap: 0; padding-top: calc(var(--head-h) + 58vw); }
  .hero-title { font-size: 16.7vw; line-height: .9; }
  .hero-title .l2 { padding-left: .6em; }
  .hero-title .nb { display: block; }
  .hero-sphere { top: calc(var(--head-h) + 4vw); right: 14vw; width: 60vw; }
  .hero-ring { top: calc(var(--head-h) + 2vw); right: -18vw; width: 96vw; }
  .hero-foot { grid-template-columns: 1fr; margin-top: 28px; gap: 16px; }
  .hero-foot .btn { justify-self: start; }
  .duo { grid-template-columns: 1fr; }
  .panel { gap: 40px; }
  .tasks { grid-template-columns: 1fr; gap: 28px; }
  .qa { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li:nth-child(n) { margin-top: 0; }
  .steps li:nth-child(2) { margin-left: 8%; }
  .steps li:nth-child(3) { margin-left: 16%; }
  .steps li:nth-child(4) { margin-left: 24%; }
  .part-stair { top: 28px; right: -14vw; width: 46vw; opacity: 1; }
  .part .h-xl { max-width: 7.2em; }
  .guide { padding: 12px 12px 8px; }
  .guide .tile { aspect-ratio: 16 / 10; }
  .tool-groups { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .tool-groups > div:first-child { grid-column: 1 / -1; }
  .tool-groups > div:first-child ul { columns: 2; column-gap: 20px; }
  .tool-groups > div:first-child li { break-inside: avoid; }
  .dl-plate { top: -16vw; right: -20vw; width: 38vw; }
  .platforms { grid-template-columns: 1fr; }
  .platforms li, .platforms li:last-child { min-height: 0; }
  .foot-bottom { grid-template-columns: 1fr; text-align: center; }
  .foot-docs { justify-content: center; }
  .foot-logo { justify-self: center; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
