@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Nunito+Sans:opsz,wght@6..12,400;6..12,600;6..12,700;6..12,800&display=swap");

:root {
  --cream: #fffdf7;
  --ink: #24231f;
  --soft-ink: #69665e;
  --blue: #4868f2;
  --blue-soft: #e8edff;
  --peach: #ffb98f;
  --lime: #ccefa8;
  --line: #dfdbd0;
  --terminal: #282925;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }

.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: flex; align-items: center; gap: 9px; font-weight: 800; text-decoration: none; }
.mini-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 15px;
}
nav { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 700; }
nav a { text-decoration: none; }
.nav-button { padding: 9px 15px; border-radius: 11px; background: var(--ink); color: white; }

.hero { min-height: 840px; position: relative; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; margin-top: -35px; }
.app-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 25px;
  border-radius: 23px;
  background: var(--blue);
  box-shadow: 0 13px 30px rgba(72, 104, 242, .22), inset 0 1px rgba(255, 255, 255, .35);
  transform: rotate(-3deg);
}
.app-icon svg { width: 100%; fill: none; stroke: white; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.app-icon circle { fill: white; stroke: none; }
.hello, .scribble {
  color: var(--blue);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 14px 0 24px;
  font-size: clamp(58px, 8vw, 100px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 800;
}
.intro { margin-bottom: 30px; color: var(--soft-ink); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 51px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 0 #cbc5b7;
  transition: transform .18s ease, box-shadow .18s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #cbc5b7; }
.compatibility { display: block; margin-top: 18px; color: #918d83; font-size: 11px; }

.floating-link, .profile-floater {
  position: absolute;
  z-index: 1;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .87);
  box-shadow: 0 12px 28px rgba(60, 54, 43, .08);
  text-align: left;
  animation: settle .8s cubic-bezier(.2, .8, .2, 1) both;
}
.floating-link { display: grid; grid-template-columns: 25px auto; column-gap: 9px; min-width: 190px; }
.floating-link > span { grid-row: 1 / 3; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: var(--lime); }
.floating-link small, .profile-floater small { color: #928e84; font: 9px "DM Mono", monospace; }
.floating-link strong { margin-top: 3px; font-size: 12px; }
.link-slack { top: 165px; left: 2%; transform: rotate(-5deg); }
.link-mail { right: 0; bottom: 165px; transform: rotate(4deg); animation-delay: .12s; }
.profile-floater { display: grid; grid-template-columns: 34px auto; column-gap: 10px; align-items: center; min-width: 145px; }
.profile-floater > span { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.profile-floater strong { font-size: 13px; }
.profile-work { right: 5%; top: 150px; transform: rotate(5deg); animation-delay: .2s; }
.profile-work > span { background: var(--blue-soft); color: var(--blue); }
.profile-home { left: 5%; bottom: 145px; transform: rotate(-3deg); animation-delay: .3s; }
.profile-home > span { background: #ffe7d8; color: #a94f24; }
@keyframes settle { from { opacity: 0; translate: 0 18px; scale: .96; } }

.routing-playground {
  padding: 100px 70px;
  border-radius: 38px;
  background: #f0f3ff;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 70px;
}
.section-intro h2, .tiny > h2, .setup h2, .config-note h2, .closing h2 {
  margin: 13px 0 22px;
  font-size: clamp(42px, 5vw, 65px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 800;
}
.section-intro > p:last-child, .setup-copy > p, .config-note > p { color: var(--soft-ink); line-height: 1.65; }
.route-card { min-height: 350px; padding: 28px; border-radius: 24px; background: white; box-shadow: 0 18px 45px rgba(54, 67, 122, .11); }
.incoming-link { padding: 16px; border: 1px solid #e6e3da; border-radius: 14px; display: flex; flex-direction: column; gap: 4px; }
.incoming-link small { color: #8a867e; font: 10px "DM Mono", monospace; }
.incoming-link strong { font-size: 14px; overflow-wrap: anywhere; }
.route-track { height: 65px; margin-left: 42px; border-left: 2px dashed #aebaf5; position: relative; }
.traveller { position: absolute; left: -14px; top: 18px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; animation: travel 2.4s ease-in-out infinite; }
@keyframes travel { 50% { translate: 0 22px; } }
.profile-stack { display: grid; gap: 10px; }
.browser-profile { min-height: 68px; padding: 11px 14px; border: 1px solid #e5e2da; border-radius: 15px; display: flex; align-items: center; gap: 11px; }
.browser-profile.active { border-color: #9db0ff; box-shadow: 0 0 0 3px #edf0ff; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.avatar.blue { background: var(--blue-soft); color: var(--blue); }
.avatar.peach { background: #ffe8dc; color: #a74c27; }
.browser-profile div { display: flex; flex-direction: column; }
.browser-profile small { color: #8a867e; font-size: 10px; }
.check { margin-left: auto; color: var(--blue); font-weight: 800; }

.tiny { padding: 150px 0; text-align: center; }
.scribble.centered { margin-bottom: 12px; }
.tiny > h2 { max-width: 720px; margin-inline: auto; }
.tiny-things { margin-top: 65px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.tiny-things article { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.tiny-things article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--lime); font: 15px "DM Mono", monospace; }
.tiny-things article:nth-child(2) > span { background: var(--blue-soft); color: var(--blue); }
.tiny-things article:nth-child(3) > span { background: #ffe6d7; color: #b3512b; }
.tiny-things h3 { margin: 22px 0 8px; font-size: 17px; }
.tiny-things p { margin: 0; color: var(--soft-ink); font-size: 14px; line-height: 1.55; }

.setup { padding: 110px 80px; border-radius: 38px; background: #eef7e5; display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; align-items: center; }
.browser-list { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.browser-list span { padding: 7px 11px; border: 1px solid #cbd8bf; border-radius: 999px; background: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; }
.terminal { overflow: hidden; border-radius: 19px; background: var(--terminal); color: #f6f4ed; box-shadow: 0 18px 40px rgba(51, 60, 43, .18); }
.terminal-top { height: 42px; padding: 0 15px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #454641; }
.terminal-top i { width: 8px; height: 8px; border-radius: 50%; background: #71736c; }
.terminal-top span { margin-left: auto; color: #888a83; font: 9px "DM Mono", monospace; }
.terminal-body { padding: 23px; min-height: 245px; font: 11px/1.8 "DM Mono", monospace; }
.terminal-body p { margin-bottom: 7px; overflow-wrap: anywhere; }
.terminal-body b { color: #9db0ff; }
.terminal-body .success { color: #aee286; }
.terminal-body .muted { color: #8d8f88; }
.copy-button { width: 100%; height: 48px; border: 0; border-top: 1px solid #454641; background: #31322e; color: #bdc8ff; cursor: pointer; font: 11px "DM Mono", monospace; }
.copy-button:hover { background: #393a35; }
.notarize-note { margin: 15px 8px 0; color: #6f7d65; font-size: 11px; line-height: 1.5; }

.config { padding: 150px 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 85px; align-items: center; }
.config-window { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 18px 48px rgba(61, 55, 44, .09); }
.config-top { height: 48px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font: 11px "DM Mono", monospace; }
.config-top small { color: #99958b; }
pre { margin: 0; padding: 27px; overflow-x: auto; color: #55534d; font: 12px/1.75 "DM Mono", monospace; }
.key { color: var(--blue); }
.string { color: #ae5b33; }
.bool { color: #3d8652; }
.config-note a { display: inline-block; margin-top: 13px; color: var(--blue); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }

.closing { padding: 125px 0; background: var(--blue); color: white; text-align: center; }
.closing-mark { width: 64px; height: 64px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 20px; background: white; color: var(--blue); font-size: 28px; transform: rotate(-4deg); }
.closing h2 { margin-inline: auto; font-size: clamp(55px, 7vw, 88px); }
.closing p { color: #dbe1ff; }
.primary-button.light { margin-top: 18px; background: white; color: var(--blue); box-shadow: 0 4px 0 #2949c5; }
footer { min-height: 90px; display: flex; justify-content: space-between; align-items: center; color: #77736a; font-size: 12px; }
footer a { text-underline-offset: 3px; }

a:focus-visible, button:focus-visible { outline: 3px solid #ef8f55; outline-offset: 4px; }

@media (max-width: 780px) {
  .shell { width: min(100% - 32px, 1100px); }
  .nav { height: 66px; }
  nav a:not(.nav-button) { display: none; }
  .hero { min-height: 760px; }
  .hero-copy { margin-top: -60px; }
  h1 { font-size: clamp(53px, 16vw, 78px); }
  .floating-link, .profile-floater { scale: .82; }
  .link-slack { top: 90px; left: -30px; }
  .profile-work { top: 95px; right: -24px; }
  .profile-home { left: -22px; bottom: 55px; }
  .link-mail { right: -42px; bottom: 70px; }
  .routing-playground, .setup { width: min(100% - 24px, 1100px); padding: 70px 25px; border-radius: 28px; grid-template-columns: 1fr; gap: 45px; }
  .tiny { padding: 100px 0; }
  .tiny-things, .config { grid-template-columns: 1fr; }
  .tiny-things { gap: 12px; }
  .config { padding: 100px 0; gap: 55px; }
  .config-window { order: 2; }
  footer { padding: 25px 0; align-items: flex-start; flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-link, .profile-floater, .traveller { animation: none; }
  .primary-button { transition: none; }
}
