:root {
  --paper: #f4f1e8;
  --paper-bright: #fffdf7;
  --ink: #151713;
  --ink-soft: #5c6158;
  --rule: #cac8bd;
  --lime: #d8f45b;
  --coral: #ff6d4a;
  --blue: #1f63ff;
  --panel: #e7e5dc;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;
  --sans: "Helvetica Neue", "Segoe UI", "Noto Sans SC", sans-serif;
  --display:
    "Arial Narrow", "Helvetica Neue Condensed", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 31px, rgba(21, 23, 19, 0.045) 32px) 0
      0 / 32px 100%,
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid var(--ink);
  background: var(--lime);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--ink);
}

.brand-mark::before {
  top: 5px;
  bottom: 5px;
  left: 9px;
  width: 2px;
}

.brand-mark::after {
  top: 13px;
  right: 4px;
  left: 4px;
  height: 2px;
}

.brand small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 650;
}

.nav-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lang {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.lang a,
.lang span {
  padding: 6px 9px;
  font-family: var(--mono);
  font-size: 10px;
}

.lang .active {
  color: var(--paper-bright);
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  border-bottom: 1px solid var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  padding: clamp(76px, 10vw, 140px) 0 86px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  background: var(--coral);
  content: "";
}

h1 {
  max-width: 840px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 112px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.87;
  text-transform: uppercase;
}

h1 .marker {
  position: relative;
  z-index: 0;
  display: inline-block;
}

h1 .marker::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.02em;
  left: -0.02em;
  height: 0.26em;
  background: var(--lime);
  content: "";
  transform: rotate(-1.5deg);
}

.hero-copy {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-copy strong {
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease;
}

.button:hover {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.button.primary {
  background: var(--lime);
}

.button.secondary {
  background: var(--paper-bright);
}

.edit-desk {
  position: relative;
  min-height: 510px;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(1.2deg);
}

.desk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 14px;
  border-bottom: 2px solid var(--ink);
  background: var(--panel);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.desk-head .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.desk-head .status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.preview {
  position: relative;
  overflow: hidden;
  margin: 18px;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--ink);
  background:
    radial-gradient(circle at 72% 35%, var(--lime) 0 6%, transparent 6.5%),
    linear-gradient(135deg, #d9e6ff 0 48%, #fdcfbf 48% 100%);
}

.preview::before {
  position: absolute;
  right: 11%;
  bottom: 0;
  width: 34%;
  height: 78%;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: var(--paper-bright);
  content: "";
}

.caption {
  position: absolute;
  right: 12%;
  bottom: 12%;
  left: 12%;
  padding: 7px;
  border: 1px solid var(--ink);
  color: var(--paper-bright);
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.timeline {
  position: relative;
  margin: 22px 18px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.ruler {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
}

.track {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 0.9fr;
  gap: 4px;
  height: 38px;
}

.clip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #aecaef;
}

.clip:nth-child(2) {
  background: var(--coral);
}

.clip:nth-child(3) {
  background: var(--lime);
}

.clip::after {
  position: absolute;
  right: 6px;
  bottom: 5px;
  left: 6px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 1px,
    transparent 1px 4px
  );
  content: "";
  opacity: 0.55;
}

.playhead {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: -12px;
  left: 57%;
  width: 2px;
  background: var(--blue);
}

.playhead::before {
  position: absolute;
  top: -7px;
  left: -4px;
  width: 10px;
  height: 10px;
  background: var(--blue);
  content: "";
  transform: rotate(45deg);
}

.tape-note {
  position: absolute;
  right: -22px;
  bottom: 48px;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  background: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-4deg);
}

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee span {
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee span::before {
  margin-right: 26px;
  color: var(--lime);
  content: "✦";
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(82px, 10vw, 138px) 0;
  border-bottom: 1px solid var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.section-index {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 64px;
}

.feature {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}

.feature:nth-child(1),
.feature:nth-child(4) {
  grid-column: span 7;
}

.feature:nth-child(2),
.feature:nth-child(3) {
  grid-column: span 5;
}

.feature:nth-child(1) {
  background: var(--lime);
}

.feature:nth-child(4) {
  color: var(--paper-bright);
  background: var(--ink);
}

.feature .num {
  display: block;
  margin-bottom: 70px;
  font-family: var(--mono);
  font-size: 10px;
}

.feature h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.feature p {
  max-width: 52ch;
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.62;
  opacity: 0.8;
}

.boundary {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 64px;
}

.boundary-card {
  padding: clamp(28px, 4vw, 48px);
  border: 2px solid var(--ink);
  background: var(--paper-bright);
}

.boundary-card.local {
  box-shadow: 9px 9px 0 var(--lime);
}

.boundary-card.cloud {
  box-shadow: 9px 9px 0 var(--coral);
}

.boundary-card .tag {
  display: inline-block;
  margin-bottom: 36px;
  padding: 5px 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.boundary-card h3 {
  margin: 0 0 18px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.boundary-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-card li {
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 14px;
}

.boundary-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 32px;
}

.install-panel {
  margin-top: 60px;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--coral);
}

.install-tabs {
  display: flex;
  border-bottom: 1px solid #454a42;
}

.install-tab {
  padding: 13px 18px;
  border: 0;
  border-right: 1px solid #454a42;
  color: #aeb4a8;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}

.install-tab.active {
  color: var(--ink);
  background: var(--lime);
}

.command {
  display: none;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 26px;
}

.command.active {
  display: grid;
}

.command code {
  overflow-x: auto;
  color: #f7f4e9;
  font-family: var(--mono);
  font-size: clamp(12px, 1.7vw, 16px);
  white-space: nowrap;
}

.copy {
  padding: 9px 11px;
  border: 1px solid #697065;
  color: #f7f4e9;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  cursor: pointer;
}

.copy:hover,
.copy.copied {
  color: var(--ink);
  background: var(--lime);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.platform {
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}

.platform b {
  display: block;
  margin-bottom: 9px;
  font-size: 18px;
}

.platform span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 64px;
}

.price {
  min-height: 320px;
  padding: 34px;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
}

.price.highlight {
  background: var(--lime);
}

.price .amount {
  margin: 58px 0 20px;
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.price .amount small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
}

.price p {
  max-width: 50ch;
  color: var(--ink-soft);
  line-height: 1.6;
}

.faq {
  margin-top: 52px;
}

.faq details {
  border-top: 1px solid var(--ink);
}

.faq details:last-child {
  border-bottom: 1px solid var(--ink);
}

.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 22px;
  right: 4px;
  font-family: var(--mono);
  content: "+";
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  max-width: 780px;
  margin: 0;
  padding: 0 0 26px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.footer {
  padding: 58px 0;
  color: var(--paper-bright);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}

.footer h2 {
  max-width: 760px;
  color: var(--paper-bright);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
}

.footer-links a {
  border-bottom: 1px solid #71776c;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid #454a42;
  color: #959b90;
  font-family: var(--mono);
  font-size: 10px;
}

@media (max-width: 920px) {
  .nav-links > a {
    display: none;
  }

  .hero-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .edit-desk {
    width: min(620px, 94%);
    min-height: 450px;
    margin: 0 auto;
  }

  .boundary {
    grid-template-columns: 1fr;
  }

  .boundary-arrow {
    height: 34px;
    transform: rotate(90deg);
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(100% - 26px, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 62px;
  }

  h1 {
    font-size: clamp(50px, 18vw, 76px);
  }

  .feature-grid,
  .platform-grid,
  .price-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(n) {
    grid-column: auto;
  }

  .feature {
    min-height: 230px;
  }

  .command {
    grid-template-columns: 1fr;
  }

  .copy {
    justify-self: start;
  }

  .legal {
    flex-direction: column;
  }
}

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

  .marquee-track {
    animation: none;
  }

  .button {
    transition: none;
  }
}
