@font-face {
  font-family: Fredoka;
  src: url('./assets/fredoka-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('./assets/nunito-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #19191b;
  --muted: #626268;
  --line: #c8c8cb;
  --orange: #ffb62d;
  --purple: #a88adf;
  --mint: #75dba0;
  --display: Fredoka, ui-rounded, sans-serif;
  --body: Nunito, sans-serif;
  --gutter: clamp(28px, 6vw, 96px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: #19191b18;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 5px; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
.arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--paper); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
header { max-width: 1440px; height: 100px; margin: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.small-brand { font: 650 25px/1 var(--display); letter-spacing: -.025em; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.mini-socket { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; }
.header-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 14px; font-weight: 750; }
main { position: relative; }
#plug-overlay, #cables { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#cables { z-index: 2; }
#plug-overlay { z-index: 5; }
.hero { max-width: 1440px; padding: 44px var(--gutter) 0; margin: auto; }
.wordmark { display: block; width: 100%; overflow: visible; }
.hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: 22px; margin-top: 12px; }
.hero-caption > span:first-child { font: 500 clamp(18px, 2.1vw, 28px)/1.2 var(--display); letter-spacing: -.02em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 13px; }
.project-stage { max-width: 48ch; margin: 19px 22px 0; color: var(--muted); font-size: 14px; }
h2 { margin: 0; font: 600 clamp(36px, 5vw, 66px)/1.07 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.intro { position: relative; z-index: 3; padding: 100px max(var(--gutter), 12%) 76px; text-align: center; }
.intro h2 { max-width: 29ch; margin-inline: auto; font: 500 clamp(24px, 2.8vw, 39px)/1.3 var(--display); letter-spacing: -.015em; text-wrap: initial; }
.joke-line { display: block; }
.joke-line:nth-child(2) { white-space: nowrap; }
.service { display: inline-block; text-align: center; vertical-align: bottom; transition: opacity .18s ease, transform .18s ease; white-space: nowrap; }
.service.changing { opacity: 0; transform: translateY(-5px); }
.localhost { white-space: nowrap; position: relative; display: inline-block; }
.localhost svg { position: absolute; bottom: -8px; left: 0; width: 100%; height: 13px; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.punchline { position: relative; margin: 42px auto 24px; max-width: 21ch; font: 650 clamp(36px, 4.7vw, 64px)/1.08 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.punchline > span { display: inline-block; margin-left: 3px; vertical-align: super; font-size: .5em; }
.explanation { margin: 24px auto 0; font-size: 20px; line-height: 1.6; }
.footnote { max-width: 49ch; margin: 24px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.connection { max-width: 1180px; padding: 40px var(--gutter) 0; margin: auto; text-align: center; }
.connection h2 { max-width: 20ch; margin: auto; }
.concept-label { max-width: 45ch; margin: 20px auto 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.network-stage { position: relative; height: calc(var(--diagram-height, 70vw) + 75svh); margin-top: 32px; }
.network-frame { position: sticky; top: 24px; }
.scene { display: block; width: min(100%, calc((100svh - 48px) * var(--network-ratio, 1.265823))); height: auto; margin: 0 auto; position: relative; z-index: 3; overflow: visible; pointer-events: none; isolation: isolate; }
.network-device > text { fill: var(--ink); text-anchor: middle; font: 700 21px var(--body); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.zone-labels { font: 600 25px var(--display); }
.link-labels { font: 600 18px var(--body); }
.phone-halo { stroke-dasharray: 3 7; }
.mobile-topology .network-device > text { font-size: 27px; }
.mobile-topology .zone-labels { font-size: 27px; }
.mobile-topology .link-labels { font-size: 25px; }
html:not(.js) .network-stage { height: auto; }
html:not(.js) .network-frame { position: static; }
.topology-links { pointer-events: none; }
.js .app-icon { opacity: 0; transition: opacity .3s ease; }
.js .app-icon.is-visible { opacity: 1; }
.js .fallback-cables { display: none; }
.connection-marks { opacity: 0; }
.connected .connection-marks { opacity: 1; }
.under-scene { position: relative; z-index: 3; max-width: 48ch; margin: 32px auto 0; font-size: 20px; line-height: 1.6; }
.under-scene span { display: inline-block; color: var(--muted); font-size: 14px; margin-top: 12px; }
.waitlist { position: relative; z-index: 4; padding: 110px var(--gutter) 88px; text-align: center; scroll-margin-top: 36px; }
.waitlist h2 { display: inline-block; position: relative; font-size: clamp(40px, 6vw, 78px); }
.waitlist h2 svg { position: absolute; width: 35px; right: -43px; top: -18px; fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.waitlist p { margin: 24px auto 28px; font-size: 18px; }
.button { display: inline-flex; align-items: center; gap: 34px; min-height: 60px; padding: 15px 27px; border: 2px solid var(--ink); border-radius: 100px; background: var(--ink); color: var(--paper); font-weight: 800; transition: transform .18s ease; }
.button:hover { transform: translateY(-3px); text-decoration: none; }
.button:active { transform: translateY(0); }
.waitlist small { display: block; margin: 15px auto 9px; max-width: 32ch; color: var(--muted); font-size: 13px; }
.say-hi { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
footer { max-width: 1248px; margin: 0 auto; padding: 26px var(--gutter); border-top: 1px solid #e5e5e7; min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
footer p { color: var(--muted); font-size: 13px; }
footer > a:last-child { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.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; }
@media (max-width: 700px) {
  header { height: 80px; }
  .small-brand { font-size: 22px; }
  .mini-socket { width: 22px; height: 22px; }
  .header-link { font-size: 13px; gap: 10px; }
  .hero { padding-top: 32px; }
  .wordmark { width: 106%; margin-left: -3%; }
  .hero-caption { padding-inline: 10px; align-items: start; margin-top: 24px; gap: 16px; }
  .hero-caption > span:first-child { font-size: 20px; white-space: nowrap; }
  .scroll-cue { padding-top: 4px; font-size: 10px; gap: 6px; }
  .scroll-cue .arrow { width: 16px; }
  .project-stage { margin: 16px 10px 0; font-size: 13px; max-width: 33ch; }
  .intro { padding: 72px var(--gutter) 48px; }
  .intro h2 { font-size: clamp(20px, 5.5vw, 27px); line-height: 1.4; }
  .joke-line:nth-child(2) { white-space: nowrap; font-size: .94em; }
  .punchline { margin-top: 32px; font-size: clamp(35px, 9.5vw, 48px); }
  .explanation { font-size: 17px; }
  .footnote { font-size: 13px; max-width: 34ch; }
  .connection { padding: 28px 22px 0; }
  .connection h2 { font-size: clamp(32px, 8.8vw, 44px); max-width: 90%; }
  .concept-label { font-size: 14px; max-width: 32ch; margin-top: 18px; }
  .network-stage { margin-top: 26px; height: calc(var(--diagram-height, 180vw) + 62svh); }
  .network-frame { top: 18px; }
  .under-scene { padding-inline: 10px; font-size: 17px; margin-top: 26px; }
  .under-scene span { font-size: 13px; }
  .waitlist { padding-top: 88px; padding-bottom: 60px; }
  .waitlist h2 { font-size: clamp(35px, 9.8vw, 52px); white-space: nowrap; }
  .waitlist h2 svg { width: 23px; right: -23px; top: -17px; }
  .waitlist p { font-size: 17px; }
  .button { font-size: 16px; }
  footer { flex-wrap: wrap; gap: 8px 20px; }
  footer .small-brand { width: 100%; }
  footer p { order: 3; margin: 0; font-size: 12px; }
  footer > a:last-child { font-size: 14px; }
  #cables > g:first-child { stroke-width: 7px; }
}
@media (max-width: 360px) {
  .header-link { gap: 5px; font-size: 12px; }
  .hero-caption { flex-direction: column; gap: 14px; }
  .hero-caption > span:first-child { max-width: none; }
  .scroll-cue { font-size: 12px; }
  .waitlist h2 svg { display: none; }
}
@media (min-width: 700px) and (max-height: 500px) {
  .network-device > text { font-size: 28px; }
  .zone-labels { font-size: 32px; }
  .link-labels { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .network-stage { height: auto; }
  .network-frame { position: static; }
  .js .app-icon { opacity: 1; }
  .js .fallback-cables { display: block; }
}
