:root {
  color-scheme: dark;
  --bg: #06100f;
  --bg-deep: #050f10;
  --panel: #0d1b1a;
  --surface: #132523;
  --band: #0c2223;
  --text: #f4faf7;
  --muted: #c6d8d3;
  --quiet: #8ca6a0;
  --mint: #79ffb0;
  --cyan: #55d8ff;
  --lime: #d7ff63;
  --danger: #ff6f7f;
  --line: rgba(198, 226, 220, 0.2);
  --line-strong: rgba(121, 255, 176, 0.45);
  --shell: 1120px;
  --radius: 6px;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.page-shell,
.nav-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 15, 16, 0.94);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-brand img {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  object-fit: cover;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.desktop-nav a,
.mobile-nav nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] {
  color: var(--mint);
  background: rgba(121, 255, 176, 0.07);
}

.desktop-nav .nav-action,
.mobile-nav nav .nav-action {
  min-height: 46px;
  margin-left: 7px;
  padding: 0 18px;
  background: var(--mint);
  color: #04110d;
}

.desktop-nav .nav-action:hover,
.desktop-nav .nav-action:focus-visible,
.mobile-nav nav .nav-action:hover,
.mobile-nav nav .nav-action:focus-visible {
  color: #04110d;
  background: #9affc2;
  transform: translateY(-2px);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - var(--shell)) / 2));
  bottom: 0;
  width: min(46vw, 690px);
  border-right: 1px solid rgba(85, 216, 255, 0.12);
  border-left: 1px solid rgba(85, 216, 255, 0.08);
  background-image: linear-gradient(rgba(85, 216, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 216, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 72px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}

.hero-copy h1 {
  max-width: 10.5ch;
  margin: 0;
  font-size: clamp(3.4rem, 6.3vw, 5.15rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 750;
  transition: transform 170ms ease, color 170ms ease, background 170ms ease, border-color 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--mint);
  color: #04110d;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #9affc2;
}

.button.secondary {
  border-color: rgba(244, 250, 247, 0.52);
  background: rgba(4, 17, 13, 0.38);
  color: var(--text);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--mint);
  color: var(--mint);
}

.trust-line,
.browser-note {
  margin: 20px 0 0;
  color: var(--quiet);
  font-size: 0.88rem;
  line-height: 1.55;
}

.trust-line span {
  margin-right: 8px;
  color: var(--mint);
}

.browser-note {
  margin-top: 7px;
  color: var(--cyan);
}

.badge-stage {
  margin: 0;
  display: grid;
  place-items: center;
  gap: 18px;
}

.badge-device {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1.13;
  padding: 34px 84px 42px 34px;
  border: 2px solid #64716d;
  border-radius: 18px;
  background: #202827;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), inset 0 0 0 6px #121918;
  transform: rotate(1.2deg);
  animation: badge-in 700ms ease-out both, badge-float 5s ease-in-out 700ms infinite alternate;
}

.badge-device::before,
.badge-device::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid #0b1110;
  border-radius: 50%;
  background: #77827e;
  box-shadow: inset 0 0 0 2px #3a4542;
}

.badge-device::before {
  top: 13px;
  left: 13px;
}

.badge-device::after {
  right: 13px;
  bottom: 13px;
}

.badge-screen {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 13px;
  border: 2px solid #050807;
  background: #090d0c;
  box-shadow: inset 0 0 0 3px #3a4441, 0 0 26px rgba(121, 255, 176, 0.08);
}

.badge-screen canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: #050706;
  image-rendering: pixelated;
}

.badge-controls {
  position: absolute;
  top: 76px;
  right: 24px;
  display: grid;
  gap: 13px;
}

.badge-controls::before {
  content: "";
  width: 10px;
  height: 10px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(121, 255, 176, 0.72);
}

.badge-controls i {
  width: 34px;
  height: 34px;
  display: block;
  border: 2px solid #080c0b;
  border-radius: 6px;
  background: #343c3a;
  box-shadow: inset 0 0 0 2px #212826;
}

.badge-label {
  position: absolute;
  right: 20px;
  bottom: 23px;
  color: #8c9692;
  font: 800 0.95rem var(--mono);
}

.badge-stage figcaption {
  color: var(--quiet);
  font: 0.75rem/1.4 var(--mono);
}

.talk-band {
  scroll-margin-top: 80px;
  background: var(--lime);
  color: #06100f;
}

.talk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: 74px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 58px;
}

.section-kicker,
.utility-label {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.talk-band .section-kicker {
  color: #31513c;
}

.talk-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.1vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.talk-heading h2 a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  text-decoration-color: rgba(6, 16, 15, 0.28);
}

.talk-heading h2 a:hover,
.talk-heading h2 a:focus-visible {
  text-decoration-color: currentColor;
}

.talk-details {
  margin: 0;
  border-top: 1px solid rgba(6, 16, 15, 0.27);
}

.talk-details div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(6, 16, 15, 0.27);
}

.talk-details dt {
  color: #31513c;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.talk-details dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.workbench-section {
  scroll-margin-top: 80px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.workbench-section > .page-shell {
  padding-top: 104px;
  padding-bottom: 110px;
}

.section-intro {
  max-width: 790px;
}

.section-intro h2,
.quick-grid h2,
.thanks-grid h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.7vw, 3.55rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.section-intro > p:last-child {
  max-width: 66ch;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.workbench-preview {
  min-height: 470px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  margin-top: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-deep);
  overflow: hidden;
}

.job-list {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-right: 1px solid var(--line);
  background: #081514;
}

.job {
  min-height: 61px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 5px 0;
  padding: 0 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.job span {
  color: var(--quiet);
  font: 0.72rem var(--mono);
}

.job:hover,
.job:focus-visible {
  color: var(--text);
  background: rgba(121, 255, 176, 0.05);
}

.job.active {
  border-bottom-color: transparent;
  border-radius: 5px;
  background: var(--mint);
  color: #04110d;
  font-weight: 750;
}

.job.active span {
  color: #28513a;
}

.job-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  grid-template-rows: 1fr auto;
  gap: 32px 56px;
  padding: 58px 60px 50px;
  background-image: linear-gradient(rgba(85, 216, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(85, 216, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.job-detail h3 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.job-detail > div > p:last-child {
  max-width: 55ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.job-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.job-steps li {
  min-height: 68px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}

.job-steps span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font: 0.72rem var(--mono);
}

.job-steps b {
  font-size: 0.93rem;
  font-weight: 600;
}

.text-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid currentColor;
  color: var(--mint);
  font-weight: 750;
  transition: color 150ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cyan);
}

.job-detail > .text-link {
  align-self: end;
}

.quick-start {
  scroll-margin-top: 80px;
  border-bottom: 1px solid var(--line);
  background: #081514;
}

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 78px;
  padding-top: 104px;
  padding-bottom: 70px;
}

.start-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.start-steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}

.start-steps li > span {
  color: var(--mint);
  font: 0.78rem/1.7 var(--mono);
}

.start-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.start-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 100px;
}

.platform-grid article {
  padding: 36px 42px 40px 0;
  border-top: 2px solid var(--cyan);
}

.platform-grid article + article {
  padding-right: 0;
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.utility-label.cyan {
  color: var(--cyan);
}

.platform-grid h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.platform-grid article > p:not(.utility-label) {
  min-height: 82px;
  margin: 14px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.thanks-section {
  background: var(--band);
}

.thanks-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
  padding-top: 96px;
  padding-bottom: 96px;
}

.thanks-copy > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.credit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin: 34px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credit strong {
  color: var(--text);
}

.credit span {
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-grid {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--quiet);
  font-size: 0.86rem;
}

.footer-grid p {
  margin: 0;
}

.footer-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-grid a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 4px;
}

noscript {
  display: block;
  padding: 12px 24px;
  background: var(--danger);
  color: #160507;
  text-align: center;
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: translateY(16px) rotate(1.2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1.2deg);
  }
}

@keyframes badge-float {
  from {
    transform: translateY(0) rotate(1.2deg);
  }
  to {
    transform: translateY(-6px) rotate(0.7deg);
  }
}

@media (max-width: 980px) {
  .desktop-nav a:not(.nav-action) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 38px;
  }

  .talk-grid {
    gap: 44px;
  }

  .job-detail {
    grid-template-columns: 1fr;
  }

  .job-detail > .text-link {
    grid-row: 3;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 72px;
  }

  .page-shell,
  .nav-shell {
    width: min(100% - 32px, var(--shell));
  }

  .nav-shell {
    min-height: 64px;
  }

  .site-brand {
    gap: 9px;
    font-size: 0.68rem;
  }

  .site-brand img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span,
  .mobile-nav summary span::before,
  .mobile-nav summary span::after {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, background 160ms ease;
  }

  .mobile-nav summary span {
    position: relative;
  }

  .mobile-nav summary span::before,
  .mobile-nav summary span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .mobile-nav summary span::before {
    top: -6px;
  }

  .mobile-nav summary span::after {
    top: 6px;
  }

  .mobile-nav[open] summary span {
    background: transparent;
  }

  .mobile-nav[open] summary span::before {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-nav[open] summary span::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 15, 16, 0.98);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.32);
  }

  .mobile-nav nav a {
    border: 1px solid var(--line);
    background: var(--panel);
  }

  .mobile-nav nav .nav-action {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 62px;
    padding-bottom: 64px;
  }

  .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 14vw, 4rem);
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.64;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .button {
    width: 100%;
  }

  .badge-stage {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .talk-grid,
  .quick-grid,
  .thanks-grid {
    grid-template-columns: 1fr;
  }

  .talk-grid {
    gap: 32px;
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .talk-heading h2 {
    font-size: 1.75rem;
  }

  .workbench-section > .page-shell {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .section-intro h2,
  .quick-grid h2,
  .thanks-grid h2 {
    font-size: 2.45rem;
  }

  .workbench-preview {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .job-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .job {
    min-height: 55px;
    grid-template-columns: 27px minmax(0, 1fr);
    margin: 0;
    padding: 0 11px;
    font-size: 0.86rem;
  }

  .job-detail {
    gap: 30px;
    padding: 38px 28px 36px;
    background-image: none;
  }

  .job-detail h3 {
    font-size: 2.2rem;
  }

  .quick-grid {
    gap: 36px;
    padding-top: 74px;
    padding-bottom: 54px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    padding-bottom: 72px;
  }

  .platform-grid article,
  .platform-grid article + article {
    padding: 28px 0 36px;
    border-left: 0;
  }

  .platform-grid article + article {
    border-top: 2px solid var(--cyan);
  }

  .platform-grid article > p:not(.utility-label) {
    min-height: 0;
  }

  .thanks-grid {
    gap: 34px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .credit {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .footer-grid {
    min-height: 140px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .page-shell,
  .nav-shell {
    width: min(100% - 24px, var(--shell));
  }

  .site-brand span {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-copy h1 {
    font-size: 2.85rem;
  }

  .badge-device {
    padding: 26px 64px 34px 26px;
    border-radius: 14px;
  }

  .badge-controls {
    top: 61px;
    right: 16px;
    gap: 9px;
  }

  .badge-controls i {
    width: 28px;
    height: 28px;
  }

  .badge-label {
    right: 13px;
    bottom: 16px;
    font-size: 0.72rem;
  }

  .talk-details div {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
  }

  .section-intro h2,
  .quick-grid h2,
  .thanks-grid h2 {
    font-size: 2.15rem;
  }

  .job-list {
    grid-template-columns: 1fr;
  }

  .job {
    min-height: 50px;
  }

  .job-detail {
    padding-right: 20px;
    padding-left: 20px;
  }

  .start-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .footer-grid div {
    display: grid;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
