@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --ink: #edf8f0;
  --muted: #91a197;
  --muted-2: #647169;
  --line: rgba(174, 231, 193, 0.13);
  --line-strong: rgba(174, 231, 193, 0.24);
  --surface: #0a100d;
  --surface-2: #0d1511;
  --surface-3: #111b16;
  --green: #49e58a;
  --green-bright: #63f4a0;
  --green-deep: #13723e;
  --amber: #f4bd39;
  --red: #fb6f68;
  --radius: 24px;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #060907;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 5%, rgba(38, 174, 91, 0.08), transparent 30rem),
    linear-gradient(180deg, #070b09 0%, #070b09 44%, #080d0a 100%);
  color: var(--ink);
  font-family: "Quicksand", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 45%);
  mask-image: linear-gradient(to bottom, black, transparent 45%);
  pointer-events: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

::selection {
  background: rgba(73, 229, 138, 0.28);
  color: white;
}

.shell {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--green);
  color: #041108;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(6, 9, 7, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand img {
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 26px rgba(24, 186, 85, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #aab7ae;
  font-size: 0.91rem;
  font-weight: 700;
}

.site-nav > a {
  transition: color 160ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.site-nav > a[aria-current="page"] {
  color: white;
}

.nav-github {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-github svg {
  width: 17px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  min-height: 840px;
  padding-top: 152px;
  padding-bottom: 90px;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(580px, 1.3fr);
  gap: 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #8fbc9e;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.live-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(73, 229, 138, 0.45);
  border-radius: 50%;
  animation: ping 2s ease-out infinite;
  content: "";
}

@keyframes ping {
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  line-height: 1.04;
}

.hero h1 {
  max-width: 630px;
  margin: 0;
  color: #f2faf4;
  font-size: clamp(3.5rem, 5.2vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.07em;
}

.hero h1 span,
.section-heading h2 span,
.remote-copy h2 span,
.workflow h2 span {
  color: var(--green);
}

.hero-lede {
  max-width: 610px;
  margin: 30px 0 0;
  color: #a1afa6;
  font-size: 1.16rem;
  line-height: 1.65;
}

.hero-actions,
.remote-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

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

.button-primary {
  background: var(--green);
  color: #041108;
  box-shadow: 0 12px 36px rgba(73, 229, 138, 0.16);
}

.button-primary:hover {
  background: var(--green-bright);
  box-shadow: 0 16px 45px rgba(73, 229, 138, 0.22);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #dce8df;
}

.button-secondary:hover {
  border-color: rgba(73, 229, 138, 0.32);
  background: rgba(73, 229, 138, 0.055);
}

.quick-install {
  display: flex;
  width: min(100%, 430px);
  min-width: 0;
  height: 52px;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-left: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #090e0b;
  color: #c7d4ca;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.quick-install .prompt {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.quick-install code,
.mini-command code {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
}

.quick-install > code {
  min-width: 0;
  overflow: hidden;
  opacity: 1;
  text-overflow: ellipsis;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.quick-install.switching > code {
  opacity: 0;
  transform: translateY(4px);
}

.quick-install button {
  display: grid;
  width: 48px;
  height: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 12px 12px 0;
  background: transparent;
  color: #89968e;
  cursor: pointer;
  place-items: center;
}

.quick-install button:hover {
  background: rgba(73, 229, 138, 0.06);
  color: var(--green);
}

.quick-install button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.quick-install.copied::after {
  margin-right: 13px;
  color: var(--green);
  content: "copied";
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  color: #69776e;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-proof i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3c4940;
}

.product-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  transform: perspective(1200px) rotateY(-2deg) rotateX(0.8deg);
  transform-origin: center left;
}

.stage-glow {
  position: absolute;
  z-index: -1;
  top: 7%;
  left: 6%;
  width: 90%;
  height: 78%;
  border-radius: 50%;
  background: rgba(37, 197, 103, 0.18);
  filter: blur(95px);
  opacity: 0.55;
}

.terminal-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 229, 187, 0.2);
  border-radius: 18px;
  background: #090d0b;
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.055);
}

.window-bar {
  display: grid;
  height: 43px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0f1511;
  color: #78867d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  grid-template-columns: 1fr auto 1fr;
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #26312a;
}

.traffic i:first-child { background: #eb675e; }
.traffic i:nth-child(2) { background: #dbaa38; }
.traffic i:last-child { background: #3fc178; }

.window-live {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #6f8176;
}

.window-live b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.vmux-ui {
  display: grid;
  height: 490px;
  grid-template-columns: 168px 1fr;
}

.workspace-rail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px 9px 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  background: #0b110e;
}

.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 7px 10px;
  color: #65736a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-title b {
  display: grid;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #718078;
  font-size: 0.55rem;
  place-items: center;
}

.workspace {
  display: grid;
  min-width: 0;
  height: 58px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #99a69e;
  grid-template-columns: 15px minmax(0, 1fr) 7px;
}

.workspace.active {
  border-color: rgba(73, 229, 138, 0.14);
  background: rgba(73, 229, 138, 0.065);
  color: #e2eee5;
}

.workspace .folder {
  color: #526259;
  font-size: 0.72rem;
}

.workspace div {
  min-width: 0;
}

.workspace strong,
.workspace small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace strong {
  font-size: 0.67rem;
}

.workspace small {
  margin-top: 2px;
  color: #5e6c63;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.49rem;
}

.status,
.status-demo i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.busy { background: #49b9f2; box-shadow: 0 0 8px rgba(73, 185, 242, 0.45); }
.waiting { background: var(--amber); box-shadow: 0 0 8px rgba(244, 189, 57, 0.45); }
.done { background: var(--green); box-shadow: 0 0 8px rgba(73, 229, 138, 0.45); }

.rail-footer {
  display: flex;
  margin-top: auto;
  padding: 8px 7px 2px;
  align-items: center;
  justify-content: space-between;
  color: #526058;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.48rem;
}

.terminal-main {
  display: grid;
  min-width: 0;
  grid-template-rows: 33px 1fr 24px;
}

.tab-bar {
  display: flex;
  align-items: end;
  gap: 2px;
  padding: 0 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: #0c120f;
}

.tab {
  display: grid;
  height: 28px;
  padding: 0 13px;
  color: #526158;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.56rem;
  place-items: center;
}

.tab.active {
  border-top: 1px solid rgba(73, 229, 138, 0.32);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px 6px 0 0;
  background: #090d0b;
  color: #b8c6bc;
}

.new-tab {
  padding: 0 6px 5px;
  color: #46534b;
  font-size: 0.66rem;
}

.pane-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr 1fr;
}

.terminal-pane {
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  background: #080b09;
}

.terminal-pane:last-child {
  border-right: 0;
}

.pane-head {
  display: flex;
  height: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #66736b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.5rem;
}

.pill {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.43rem;
}

.pill-busy { background: rgba(73, 185, 242, 0.1); color: #64c8f8; }
.pill-waiting { background: rgba(244, 189, 57, 0.11); color: #ebbd51; }

.terminal-lines {
  padding: 17px 11px;
  color: #b3c0b7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.52rem;
  line-height: 1.62;
}

.terminal-lines p {
  margin: 0;
  white-space: nowrap;
}

.terminal-lines .muted,
.terminal-lines .dim { color: #58675e; }
.prompt-mark, .plus, .success, .choice { color: var(--green); }
.minus { color: var(--red); }
.question { color: #e8f2ea; }

.cursor-line {
  margin-top: 9px !important;
  color: #7d8d83;
}

.cursor-line i {
  display: inline-block;
  width: 5px;
  height: 9px;
  margin-left: 2px;
  animation: blink 1s steps(2, start) infinite;
  background: var(--green);
  vertical-align: -1px;
}

@keyframes blink { 50% { opacity: 0; } }

.status-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 9px;
  background: #111b15;
  color: #5f7567;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.45rem;
}

.status-attention {
  margin-left: auto;
  color: var(--amber);
}

.floating-alert {
  position: absolute;
  right: -18px;
  bottom: -28px;
  display: grid;
  width: 320px;
  min-height: 70px;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid rgba(244, 189, 57, 0.24);
  border-radius: 15px;
  background: rgba(15, 20, 17, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  grid-template-columns: 34px 1fr auto;
}

.alert-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(244, 189, 57, 0.12);
  color: var(--amber);
  font-weight: 700;
  place-items: center;
}

.floating-alert strong,
.floating-alert small {
  display: block;
}

.floating-alert strong { font-size: 0.67rem; }
.floating-alert small { color: #66746b; font-size: 0.52rem; }
.floating-alert kbd { padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; color: #7b8b81; font: 0.48rem ui-monospace, monospace; }

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.trust-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.trust-inner > span {
  color: #65736a;
  font-size: 0.75rem;
  font-weight: 700;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  color: #8e9d93;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
}

.section {
  padding-top: 150px;
  padding-bottom: 150px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 62px;
}

.section-heading h2,
.remote-copy h2,
.workflow h2,
.architecture h2,
.final-cta h2,
.page-hero h1,
.content-page h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  letter-spacing: -0.065em;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 400px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% -10%, rgba(73, 229, 138, 0.07), transparent 48%),
    var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.feature-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(73, 229, 138, 0.018);
  content: "";
  pointer-events: none;
}

.feature-wide {
  min-height: 430px;
  grid-column: span 2;
}

.feature-card h3 {
  max-width: 530px;
  margin: 15px 0 13px;
  font-size: clamp(1.65rem, 2.3vw, 2.65rem);
  letter-spacing: -0.05em;
}

.feature-card p {
  max-width: 540px;
  margin: 0;
  color: #89978e;
}

.feature-number {
  color: #3e5044;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
}

.status-demo {
  display: grid;
  width: min(550px, 50%);
  margin: 0 0 42px auto;
  gap: 8px;
}

.status-demo > div {
  display: grid;
  min-height: 68px;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
  background: #0c130f;
  color: #9ba89f;
  grid-template-columns: 8px 1fr auto;
}

.status-demo > div.selected {
  border-color: rgba(244, 189, 57, 0.23);
  background: rgba(244, 189, 57, 0.035);
}

.status-demo strong,
.status-demo small { display: block; }
.status-demo strong { font-size: 0.78rem; }
.status-demo small { margin-top: 2px; color: #58655d; font: 0.57rem ui-monospace, monospace; }
.status-demo b { padding: 4px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.045); color: #69776e; font-size: 0.55rem; }
.status-demo .selected b { background: rgba(244, 189, 57, 0.1); color: var(--amber); }

.daemon-orbit {
  position: relative;
  display: grid;
  width: 190px;
  height: 190px;
  margin: 0 auto 26px;
  border: 1px dashed rgba(73, 229, 138, 0.23);
  border-radius: 50%;
  place-content: center;
  text-align: center;
}

.daemon-orbit::before,
.daemon-orbit::after {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(73, 229, 138, 0.08);
  border-radius: 50%;
  content: "";
}

.daemon-orbit::after { inset: 45px; background: rgba(73, 229, 138, 0.04); }
.daemon-orbit i { position: absolute; z-index: 2; top: 16px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); transform-origin: 0 79px; animation: orbit 8s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.daemon-orbit b { position: relative; z-index: 3; font: 700 1rem ui-monospace, monospace; }
.daemon-orbit span { position: relative; z-index: 3; color: #637269; font-size: 0.58rem; }

.hierarchy-demo {
  display: flex;
  min-height: 165px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.hierarchy-demo span {
  display: grid;
  min-width: 68px;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #98a79d;
  font: 0.62rem ui-monospace, monospace;
  place-items: center;
}

.hierarchy-demo i { width: 20px; height: 1px; background: var(--line-strong); }

.native-card {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}

.native-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.native-metrics > div {
  display: grid;
  min-height: 145px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
  text-align: center;
}

.native-metrics strong { color: var(--green); font: 700 clamp(1.5rem, 3vw, 2.8rem) ui-monospace, monospace; }
.native-metrics small { color: #5e6c63; font-size: 0.62rem; }

.remote-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 73% 50%, rgba(39, 214, 105, 0.17), transparent 26rem),
    linear-gradient(135deg, #07110c, #070a08 55%, #07110c);
}

.remote-noise {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(73, 229, 138, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(73, 229, 138, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 70%, transparent);
}

.remote-grid {
  position: relative;
  display: grid;
  min-height: 820px;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.remote-copy h2 { font-size: clamp(3rem, 5vw, 5.4rem); }
.remote-copy > p:not(.eyebrow) { max-width: 530px; margin: 26px 0 0; color: #93a49a; font-size: 1.05rem; }

.check-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  gap: 9px;
  color: #b6c5bb;
  list-style: none;
}

.check-list li::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 1px solid rgba(73, 229, 138, 0.2);
  border-radius: 50%;
  background: rgba(73, 229, 138, 0.06);
  color: var(--green);
  content: "✓";
  font-size: 0.65rem;
  place-items: center;
}

.remote-actions > span { color: #5f6e65; font-size: 0.72rem; font-weight: 700; }

.phone-gallery {
  position: relative;
  height: 690px;
}

.phone-shot {
  position: absolute;
  width: 310px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(132, 219, 161, 0.26);
  border-radius: 45px;
  background: #060907;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.62), 0 0 70px rgba(37, 201, 96, 0.08);
}

.phone-shot::after {
  position: absolute;
  inset: 0;
  border: 9px solid #0c120f;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  content: "";
  pointer-events: none;
}

.phone-shot img { width: 100%; height: auto; }
.phone-front { z-index: 2; right: 4%; bottom: -180px; transform: rotate(2deg); }
.phone-back { z-index: 1; top: -165px; left: 4%; transform: rotate(-5deg) scale(0.9); opacity: 0.76; }

.tailnet-chip {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 70px;
  display: grid;
  width: 226px;
  min-height: 70px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(73, 229, 138, 0.22);
  border-radius: 14px;
  background: rgba(9, 15, 11, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(15px);
  grid-template-columns: 36px 1fr;
}

.tailnet-chip > span { display: grid; width: 32px; height: 32px; border-radius: 9px; background: rgba(73, 229, 138, 0.09); color: var(--green); place-items: center; grid-row: 1 / 3; }
.tailnet-chip strong { font-size: 0.7rem; }
.tailnet-chip small { color: #607067; font: 0.55rem ui-monospace, monospace; }

.centered { margin-inline: auto; text-align: center; }
.centered .eyebrow { justify-content: center; }

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: step;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.steps > li {
  min-height: 320px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.steps > li > span { color: #496052; font: 0.65rem ui-monospace, monospace; }
.steps h3 { margin: 60px 0 17px; font-size: 1.8rem; letter-spacing: -0.045em; }
.steps p { color: #77867d; font-size: 0.88rem; }

.mini-command {
  overflow-x: auto;
  padding: 12px 13px;
  border: 1px solid rgba(73, 229, 138, 0.13);
  border-radius: 10px;
  background: #080c09;
  color: #a9c8b3;
  white-space: nowrap;
}

.architecture {
  display: grid;
  min-height: 480px;
  margin-bottom: 150px;
  padding: 58px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 50%, rgba(73, 229, 138, 0.07), transparent 28rem),
    #09100c;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.architecture h2 { font-size: clamp(2.1rem, 3.5vw, 3.6rem); }
.architecture-copy > p:not(.eyebrow) { color: #829087; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--green); font-weight: 700; }
.text-link span { transition: transform 150ms ease; }
.text-link:hover span { transform: translateX(4px); }

.architecture-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.node {
  display: grid;
  min-width: 108px;
  min-height: 92px;
  align-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.node-accent { border-color: rgba(73, 229, 138, 0.32); background: rgba(73, 229, 138, 0.055); box-shadow: 0 0 30px rgba(73, 229, 138, 0.05); }
.node b { font: 700 0.82rem ui-monospace, monospace; }
.node small { color: #637169; font-size: 0.56rem; }

.connection {
  display: grid;
  width: 116px;
  color: #526158;
  font: 0.47rem ui-monospace, monospace;
  text-align: center;
}

.connection i { position: relative; height: 1px; margin-top: 8px; background: linear-gradient(90deg, rgba(73, 229, 138, 0.12), rgba(73, 229, 138, 0.55), rgba(73, 229, 138, 0.12)); }
.connection i::after { position: absolute; top: -2px; right: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); content: ""; animation: packet 2s linear infinite; }
@keyframes packet { from { transform: translateX(-110px); } to { transform: translateX(0); } }
.connection.short { width: 88px; }
.connection.short i::after { animation-delay: 0.8s; }

.final-cta {
  display: flex;
  min-height: 360px;
  margin-bottom: 130px;
  padding: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(73, 229, 138, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 120%, rgba(73, 229, 138, 0.13), transparent 25rem),
    linear-gradient(135deg, #0b1710, #080d0a);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.final-cta h2 { font-size: clamp(2.3rem, 4.2vw, 4.2rem); }
.final-cta p:not(.eyebrow) { margin-bottom: 0; color: #829087; }
.final-cta .cta-actions { margin-top: 0; justify-content: flex-end; }

.site-footer {
  padding: 64px 0 24px;
  border-top: 1px solid var(--line);
  background: #060907;
}

.footer-grid {
  display: grid;
  padding-bottom: 58px;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.footer-grid > div:first-child p { color: #65736a; font-size: 0.8rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 5px; color: #b8c5bc; font-size: 0.73rem; }
.footer-links a { color: #637168; font-size: 0.74rem; }
.footer-links a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  padding-top: 22px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #455149;
  font-size: 0.67rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 120ms; }

/* Inner pages */
.page-main { min-height: 70vh; }

.page-hero {
  padding-top: 180px;
  padding-bottom: 90px;
  text-align: center;
}

.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { max-width: 920px; margin-inline: auto; font-size: clamp(3.2rem, 6vw, 6rem); }
.page-hero h1 span { color: var(--green); }
.page-hero > p:not(.eyebrow) { max-width: 680px; margin: 24px auto 0; color: var(--muted); font-size: 1.08rem; }

.page-hero code,
.content-page code,
.setup-flow code,
.install-layout code {
  color: #b9d8c2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hero-actions-centered {
  justify-content: center;
}

.availability {
  color: #647269;
  font-size: 0.75rem;
  font-weight: 700;
}

.content-page {
  width: min(860px, calc(100% - 44px));
  margin: 0 auto 140px;
}

.content-page h2 { margin-top: 74px; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.content-page h3 { margin-top: 40px; font-size: 1.3rem; letter-spacing: -0.035em; }
.content-page p,
.content-page li { color: #93a198; }
.content-page a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(73, 229, 138, 0.3); text-underline-offset: 3px; }
.content-page ul,
.content-page ol { padding-left: 22px; }
.content-page li + li { margin-top: 8px; }
.content-page .policy-date { color: #607067; font-size: 0.75rem; }

.info-card,
.support-card,
.install-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.info-card { margin-top: 34px; }
.info-card strong { color: var(--ink); }

.support-grid {
  display: grid;
  margin-top: 42px;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.support-card h2 { margin: 0 0 12px; font-size: 1.35rem; }
.support-card p { margin-bottom: 0; font-size: 0.88rem; }

.install-layout {
  display: grid;
  width: min(1060px, calc(100% - 44px));
  margin: 0 auto 140px;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.install-card { min-width: 0; }
.install-card h2 { margin: 0; font-size: 1.75rem; letter-spacing: -0.045em; }
.install-card > p { color: #829087; }
.install-card .quick-install { width: 100%; margin-top: 25px; }
.install-card .quick-install code { min-width: 0; overflow-x: auto; padding-block: 12px; white-space: nowrap; }
.install-card .quick-install button { width: auto; min-width: 60px; padding: 0 13px; color: #90a198; font-size: 0.67rem; font-weight: 700; }
.install-card.full { grid-column: 1 / -1; }
.requirement-list { display: grid; margin: 25px 0 0; padding: 0; grid-template-columns: repeat(4, 1fr); gap: 9px; list-style: none; }
.requirement-list li { display: grid; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.016); color: #9aa99f; font-size: 0.78rem; text-align: center; }
.requirement-list strong { color: #dce8df; }
.requirement-list small { margin-top: 3px; color: #647269; }

.command-sequence {
  display: grid;
  margin-top: 26px;
  gap: 8px;
}

.command-sequence > div {
  display: grid;
  min-height: 64px;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080d0a;
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

.command-sequence span {
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(73, 229, 138, 0.07);
  color: var(--green);
  font: 0.65rem ui-monospace, monospace;
  place-items: center;
}

.command-sequence small { color: #637169; }
.install-notes { padding-top: 10px; }

.remote-page-stage {
  position: relative;
  height: 720px;
  margin-top: 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 30%, rgba(73,229,138,.12), transparent 28rem), #07100b;
}

.remote-page-stage .phone-shot { width: 330px; }
.remote-page-stage .phone-front { right: calc(50% - 165px); bottom: -200px; }
.remote-page-stage .phone-back { top: 80px; left: calc(50% - 430px); }
.remote-page-stage .phone-third { z-index: 1; top: 80px; right: calc(50% - 430px); transform: rotate(5deg) scale(.9); opacity: .76; }

.setup-flow {
  display: grid;
  margin-top: 36px;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.setup-flow > div { padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.setup-flow span { color: var(--green); font: .65rem ui-monospace, monospace; }
.setup-flow h3 { margin: 30px 0 8px; }
.setup-flow p { margin: 0; font-size: .8rem; }

.remote-content {
  width: min(1060px, calc(100% - 44px));
  padding-top: 140px;
}

.remote-feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.remote-feature-grid .info-card {
  min-height: 240px;
  margin-top: 0;
}

.remote-feature-grid h3 {
  margin-top: 52px;
  color: var(--ink);
  font-size: 1.45rem;
}

.remote-feature-grid p { margin-bottom: 0; }
.remote-setup-heading { margin-top: 140px; }
.remote-setup-heading h2 span { color: var(--green); }
.relay-note { margin-top: 14px; }
.relay-note p { margin-bottom: 8px; }

.diagnostic-list {
  display: grid;
  margin-top: 26px;
  gap: 8px;
}

.diagnostic-list > div {
  display: grid;
  min-height: 58px;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  grid-template-columns: minmax(170px, 0.45fr) 1fr;
}

.diagnostic-list code { color: var(--green); }
.diagnostic-list span { color: #718078; font-size: 0.8rem; }
.policy-page h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
.policy-page .info-card p { margin-bottom: 0; }

.not-found {
  display: grid;
  min-height: 100vh;
  padding-block: 40px;
  align-content: space-between;
}

.not-found > div { max-width: 760px; padding: 90px 0; }
.not-found h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 7rem); letter-spacing: -0.07em; }
.not-found p:not(.eyebrow) { max-width: 500px; margin: 20px 0 30px; color: var(--muted); }

@media (max-width: 1080px) {
  .hero { min-height: auto; padding-top: 140px; grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .product-stage { width: min(820px, 100%); margin: 20px auto 0; transform: none; }
  .remote-grid { gap: 30px; }
  .phone-shot { width: 270px; }
  .phone-gallery { height: 620px; }
  .native-card { gap: 25px; }
  .architecture { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-nav {
    position: fixed;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    align-items: stretch;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(8, 13, 10, 0.97);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 5px;
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 10px; }
  .nav-toggle { display: grid; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); place-content: center; gap: 5px; }
  .nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1px; background: #b7c4bb; }
  .hero { padding-top: 125px; }
  .vmux-ui { grid-template-columns: 125px 1fr; }
  .pane-grid { grid-template-columns: 1fr; }
  .pane-codex { display: none; }
  .floating-alert { right: 12px; }
  .trust-inner { padding: 22px 0; align-items: flex-start; flex-direction: column; }
  .tool-list { justify-content: flex-start; }
  .section { padding-top: 105px; padding-bottom: 105px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .status-demo { width: 100%; margin-top: 25px; }
  .native-card { display: flex; }
  .native-metrics { order: -1; }
  .remote-grid { padding-top: 100px; grid-template-columns: 1fr; }
  .phone-gallery { height: 700px; }
  .phone-front { right: calc(50% - 120px); }
  .phone-back { left: calc(50% - 180px); }
  .steps { grid-template-columns: 1fr; }
  .steps > li { min-height: 250px; }
  .steps h3 { margin-top: 40px; }
  .architecture { padding: 36px; }
  .architecture { overflow: hidden; grid-template-columns: minmax(0, 1fr); }
  .architecture-copy { min-width: 0; }
  .architecture-map { transform: scale(.9); }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .final-cta .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .install-layout { grid-template-columns: minmax(0, 1fr); }
  .install-card.full { grid-column: auto; }
  .requirement-list { grid-template-columns: repeat(2, 1fr); }
  .remote-page-stage .phone-shot { width: 280px; }
  .remote-page-stage .phone-front { right: calc(50% - 140px); }
  .remote-page-stage .phone-back { left: calc(50% - 340px); }
  .remote-page-stage .phone-third { right: calc(50% - 340px); }
  .setup-flow { grid-template-columns: 1fr; }
  .remote-feature-grid { grid-template-columns: 1fr; }
  .command-sequence > div { align-items: start; grid-template-columns: 28px 1fr; }
  .command-sequence small { grid-column: 2; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 68px; }
  .hero { padding-top: 112px; gap: 42px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.4rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: none; }
  .product-stage { width: calc(100% + 14px); margin-left: -7px; }
  .vmux-ui { height: 380px; grid-template-columns: 104px 1fr; }
  .workspace-rail { padding-inline: 5px; }
  .workspace { height: 52px; padding-inline: 5px; gap: 5px; grid-template-columns: 10px minmax(0,1fr) 5px; }
  .workspace small { display: none; }
  .workspace strong { font-size: .57rem; }
  .window-live { display: none; }
  .window-bar { grid-template-columns: 1fr auto; }
  .terminal-lines { font-size: .45rem; }
  .floating-alert { right: 8px; bottom: -35px; width: 270px; }
  .tool-list { gap: 12px 20px; }
  .section-heading h2, .remote-copy h2, .workflow h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .feature-card { min-height: 370px; padding: 24px; }
  .feature-wide { min-height: 420px; }
  .native-metrics { grid-template-columns: 1fr; width: 100%; }
  .native-metrics > div { min-height: 78px; }
  .hierarchy-demo span { min-width: 54px; padding-inline: 5px; font-size: .5rem; }
  .hierarchy-demo i { width: 9px; }
  .remote-grid { min-height: 1100px; }
  .phone-gallery { height: 620px; }
  .phone-shot { width: 240px; }
  .phone-front { right: calc(50% - 95px); bottom: -115px; }
  .phone-back { top: -35px; left: calc(50% - 190px); }
  .tailnet-chip { right: 5px; bottom: 28px; }
  .architecture { width: calc(100% - 28px); padding: 27px 20px; }
  .architecture-map { margin-inline: -36px; transform: scale(.69); }
  .final-cta { width: calc(100% - 28px); padding: 38px 24px; }
  .final-cta .button { width: 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
  .support-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 140px; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .remote-page-stage { height: 600px; }
  .remote-page-stage .phone-shot { width: 230px; }
  .remote-page-stage .phone-front { right: calc(50% - 115px); bottom: -115px; }
  .remote-page-stage .phone-back { left: calc(50% - 265px); }
  .remote-page-stage .phone-third { right: calc(50% - 265px); }
  .page-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .install-card { padding: 22px; }
  .install-card .quick-install { height: auto; min-height: 54px; }
  .install-card .quick-install code { font-size: 0.7rem; }
  .requirement-list { grid-template-columns: 1fr; }
  .diagnostic-list > div { align-items: start; grid-template-columns: 1fr; gap: 4px; }
  .remote-content { width: min(100% - 28px, 1060px); padding-top: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
