:root {
  --bg: #09090d;
  --bg-deep: #050508;
  --panel: #111116;
  --panel-strong: #17171e;
  --text: #f5f4f7;
  --text-soft: #b9b6c1;
  --text-dim: #777380;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --pink: #ec4899;
  --lime: #a3e635;
  --amber: #fbbf24;
  --green: #34d399;
  --red: #fb7185;
  --gradient: linear-gradient(120deg, var(--cyan), var(--violet) 48%, var(--pink));
  --shadow: 0 40px 110px rgba(0, 0, 0, 0.5);
  --radius: 18px;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  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: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

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

.page-aura {
  position: absolute;
  top: -520px;
  left: 50%;
  z-index: -2;
  width: 1450px;
  height: 980px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 28% 68%, rgba(34, 211, 238, 0.16), transparent 34%),
    radial-gradient(circle at 60% 60%, rgba(167, 139, 250, 0.17), transparent 37%),
    radial-gradient(circle at 80% 73%, rgba(236, 72, 153, 0.13), transparent 32%);
  filter: blur(16px);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(9, 9, 13, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  background: var(--gradient);
  box-shadow: 0 8px 22px rgba(167, 139, 250, 0.22);
  color: #08080c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.brand-mark::after {
  position: absolute;
  inset: 1px 1px auto;
  height: 45%;
  border-radius: 7px 7px 50% 50%;
  background: rgba(255, 255, 255, 0.25);
  content: "";
  pointer-events: none;
}

.brand-mark span {
  position: relative;
  z-index: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 58px;
  min-height: 700px;
  padding-block: 86px 92px;
}

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

.eyebrow,
.kicker {
  margin: 0 0 22px;
  color: #a5a1ad;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(54px, 6.6vw, 88px);
  font-weight: 790;
  letter-spacing: -0.067em;
  line-height: 0.98;
}

.hero h1 em,
.section-heading h2 em {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--gradient);
  box-shadow: 0 14px 42px -18px rgba(34, 211, 238, 0.9), inset 0 1px rgba(255, 255, 255, 0.3);
  color: #08080c;
}

.button-primary:hover {
  box-shadow: 0 18px 48px -17px rgba(167, 139, 250, 0.95), inset 0 1px rgba(255, 255, 255, 0.35);
}

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

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.27);
  background: rgba(255, 255, 255, 0.065);
}

.button:disabled {
  transform: none;
  opacity: 0.5;
  cursor: wait;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 26px 0 0;
  color: var(--text-dim);
  font-size: 12px;
  list-style: none;
}

.hero-proof span {
  margin-right: 4px;
  color: var(--green);
}

.app-preview {
  position: relative;
  width: 680px;
  margin: 0;
}

.app-glow {
  position: absolute;
  inset: -30px;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 40%, rgba(34, 211, 238, 0.18), transparent 38%),
    radial-gradient(circle at 72% 65%, rgba(236, 72, 153, 0.18), transparent 42%);
  filter: blur(35px);
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  background: rgba(12, 12, 17, 0.95);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.05);
  transform: perspective(1600px) rotateY(-5deg) rotateX(2deg);
  transform-origin: 40% 50%;
}

.app-titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 10px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4d4a54;
}

.window-dots i:first-child { background: var(--red); }
.window-dots i:nth-child(2) { background: var(--amber); }
.window-dots i:last-child { background: var(--green); }

.titlebar-state {
  justify-self: end;
}

.titlebar-state b,
.app-statusbar b {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.75);
}

.app-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 14px 10px;
}

.app-toolbar > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.app-toolbar small {
  color: var(--text-dim);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.app-toolbar > div span {
  color: #a3a0aa;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 8px;
}

.app-toolbar button {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #b9b6c1;
  font-size: 8px;
}

.app-toolbar button:last-child {
  border-color: transparent;
  background: var(--gradient);
  color: #08080c;
  font-weight: 800;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 4px 14px 14px;
}

.session-card {
  --card-accent: var(--cyan);
  min-height: 148px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-accent) 28%, transparent);
  border-radius: 10px;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--card-accent) 8%, transparent), transparent 42%),
    #101017;
  box-shadow: inset 3px 0 var(--card-accent);
}

.session-card.violet { --card-accent: var(--violet); }
.session-card.lime { --card-accent: var(--lime); }
.session-card.pink { --card-accent: var(--pink); }

.session-card header {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 8px 12px;
  border-bottom: 1px solid var(--line);
}

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

.status.waiting {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.85);
}

.status.working {
  background: var(--violet);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
  animation: pulse 1.8s ease-in-out infinite;
}

.status.done {
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.status.idle { background: #777380; }

.agent-chip {
  display: grid;
  min-width: 20px;
  min-height: 17px;
  place-items: center;
  border-radius: 4px;
  background: color-mix(in srgb, var(--card-accent) 16%, transparent);
  color: var(--card-accent);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 7px;
}

.session-card header strong {
  overflow: hidden;
  color: #d9d7dd;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-card header small {
  color: var(--card-accent);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.session-card p {
  margin: 13px 12px 6px;
  color: #b5b2bd;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 8px;
}

.session-card code {
  display: block;
  margin: 0 12px;
  color: var(--card-accent);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 7px;
}

.session-card footer {
  display: flex;
  justify-content: space-between;
  padding: 14px 12px 0;
  color: #5f5c66;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 6px;
}

.app-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  color: #65626d;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 7px;
}

.app-preview figcaption {
  margin-top: 16px;
  color: var(--text-dim);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
  text-align: center;
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

.agent-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.016);
}

.agent-strip-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  color: #716e78;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.agent-strip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #3e3c44;
}

.section-space {
  padding-block: 128px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  column-gap: 72px;
  margin-bottom: 54px;
}

.section-heading .kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.download-copy h2,
.local-copy h2,
.closing h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading > p:last-child {
  margin: 0 0 4px;
  color: var(--text-soft);
  line-height: 1.7;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.section-heading.compact .kicker {
  margin-bottom: 18px;
}

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

.feature-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.03), transparent 45%),
    var(--panel);
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.feature-card-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 70px;
  min-height: 330px;
}

.feature-number {
  position: absolute;
  top: 22px;
  right: 25px;
  color: #47444d;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
}

.feature-label {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.feature-card h3 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(26px, 3.3vw, 42px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.feature-card > p:last-of-type,
.feature-card > div > p:last-child {
  max-width: 580px;
  margin: 20px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.status-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-pill {
  --pill-color: var(--violet);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  transform: translateX(28px);
  border: 1px solid color-mix(in srgb, var(--pill-color) 28%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--pill-color) 6%, #0a0a0f);
  color: #c9c6cf;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
}

.status-pill:nth-child(2) { transform: none; }
.status-pill:nth-child(3) { transform: translateX(50px); }
.status-pill.waiting { --pill-color: var(--amber); }
.status-pill.done { --pill-color: var(--green); }

.status-pill b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pill-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--pill-color) 70%, transparent);
}

.focus-demo {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0a0f;
}

.focus-demo span {
  flex: 1;
  padding: 10px 8px;
  border-radius: 6px;
  color: #65616c;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 8px;
  text-align: center;
}

.focus-demo .active {
  background: rgba(34, 211, 238, 0.1);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.24);
  color: var(--cyan);
}

.branch-demo {
  position: absolute;
  right: 36px;
  bottom: 38px;
  left: 36px;
  display: flex;
  align-items: center;
  color: #a8a5af;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 9px;
}

.branch-demo span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0a0a0f;
}

.branch-demo i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--line-strong), var(--cyan), var(--line-strong));
}

.security-card {
  background:
    radial-gradient(circle at 82% 55%, rgba(167, 139, 250, 0.09), transparent 30%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03), transparent 45%),
    var(--panel);
}

.security-card .feature-label {
  color: var(--violet);
}

.secured-run {
  padding: 19px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 12px;
  background: rgba(5, 5, 8, 0.72);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.25);
}

.secured-run > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.secured-run > div:first-child span {
  color: var(--text-dim);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.secured-run > div:first-child b {
  color: var(--violet);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 9px;
}

.secured-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  color: #aaa7b1;
  font-size: 10px;
}

.secured-line i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.workflow {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 48%, rgba(34, 211, 238, 0.07), transparent 26%),
    var(--bg-deep);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 66px 0 0;
  list-style: none;
}

.workflow-steps li {
  position: relative;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.workflow-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.workflow-steps li:last-child {
  padding-right: 0;
}

.workflow-steps > li > span {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--cyan);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
}

.workflow-steps h3 {
  margin: 0 0 11px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.workflow-steps p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.more-grid article {
  min-height: 230px;
  padding: 31px;
  background: var(--panel);
}

.more-grid article > span {
  display: grid;
  width: 37px;
  height: 37px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0b10;
  color: var(--cyan);
  font-size: 16px;
}

.more-grid article:nth-child(2) > span,
.more-grid article:nth-child(5) > span { color: var(--violet); }
.more-grid article:nth-child(3) > span,
.more-grid article:nth-child(6) > span { color: var(--pink); }

.more-grid h3 {
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.more-grid p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
}

.local-first {
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
}

.local-first-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 110px;
}

.local-copy p:not(.kicker) {
  margin: 25px 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.local-copy a {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.local-copy a span {
  margin-left: 7px;
}

.local-facts {
  padding: 0;
  margin: 0;
  list-style: none;
}

.local-facts li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.local-facts li:last-child {
  border-bottom: 1px solid var(--line);
}

.local-facts > li > span {
  color: #4f4c55;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
}

.local-facts div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.local-facts b {
  font-size: 15px;
}

.local-facts small {
  color: var(--text-dim);
  line-height: 1.6;
}

.download {
  position: relative;
  overflow: hidden;
}

.download::before {
  position: absolute;
  inset: 20% 60% auto -20%;
  height: 620px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 64%);
  content: "";
  pointer-events: none;
}

.download-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 100px;
}

.download-copy > p:not(.kicker) {
  margin: 25px 0 22px;
  color: var(--text-soft);
  line-height: 1.75;
}

.download-copy ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  color: var(--text-dim);
  font-size: 12px;
  list-style: none;
}

.download-copy li::before {
  margin-right: 9px;
  color: var(--green);
  content: "✓";
}

.download-panel {
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.04), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
}

.release-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.release-row > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.release-row b {
  font-size: 13px;
}

.release-row small {
  color: var(--text-dim);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 8px;
  text-align: right;
}

.release-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.65);
}

.release-dot.ready {
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
}

.release-dot.offline {
  background: var(--red);
  box-shadow: 0 0 10px rgba(251, 113, 133, 0.55);
}

.license-form {
  padding-top: 23px;
}

.license-form label {
  display: block;
  margin-bottom: 8px;
  color: #aaa7b1;
  font-size: 11px;
  font-weight: 700;
}

.license-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.license-input-row input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  background: #08080c;
  color: var(--text);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.license-input-row input:focus {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.08);
}

.license-input-row input::placeholder {
  color: #4e4b54;
}

.license-form > small,
.download-actions > small,
.download-panel noscript {
  display: block;
  margin-top: 9px;
  color: var(--text-dim);
  font-size: 10px;
  line-height: 1.55;
}

.form-status {
  min-height: 19px;
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 11px;
}

.form-status.error { color: var(--red); }
.form-status.success { color: var(--green); }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
}

.download-actions[hidden] {
  display: none;
}

.download-actions > small {
  flex-basis: 100%;
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0;
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span {
  color: var(--text-dim);
  font-size: 22px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  padding: 0 0 25px;
  margin: -7px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 62px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  margin-bottom: 128px;
  background:
    radial-gradient(circle at 15% 100%, rgba(34, 211, 238, 0.13), transparent 32%),
    radial-gradient(circle at 70% 0%, rgba(167, 139, 250, 0.1), transparent 30%),
    var(--panel);
}

.closing h2 {
  max-width: 660px;
  font-size: clamp(36px, 5vw, 58px);
}

.closing .kicker {
  margin-bottom: 15px;
}

.closing .button {
  flex: 0 0 auto;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding-block: 46px;
}

.footer p {
  margin: 0;
  color: var(--text-dim);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--text-soft);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer small {
  grid-column: 1 / -1;
  color: #55525b;
  font-size: 10px;
}

.legal-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(167, 139, 250, 0.11), transparent 30%),
    var(--bg);
}

.legal-header {
  border-bottom: 1px solid var(--line);
}

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

.legal-nav > a:last-child {
  color: var(--text-soft);
  font-size: 12px;
}

.legal-main {
  width: min(calc(100% - 48px), 780px);
  padding-block: 90px 120px;
  margin-inline: auto;
}

.legal-main h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.legal-updated {
  margin: 14px 0 48px;
  color: var(--text-dim);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
}

.legal-main h2 {
  padding-top: 34px;
  border-top: 1px solid var(--line);
  margin: 48px 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.legal-main p,
.legal-main li {
  color: var(--text-soft);
  line-height: 1.8;
}

.legal-main a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.35);
  text-underline-offset: 3px;
}

.legal-main code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: #d2cfda;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .app-preview {
    width: min(100%, 780px);
    justify-self: center;
  }

  .app-window {
    transform: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading > p:last-child {
    max-width: 680px;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 54px;
  }

  .workflow-steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .download-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(12, 12, 17, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-cta {
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.045);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    gap: 54px;
    padding-block: 55px 70px;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 74px);
  }

  .hero-proof {
    gap: 9px 15px;
  }

  .app-titlebar {
    grid-template-columns: 1fr auto;
  }

  .app-titlebar > span:nth-child(2) {
    display: none;
  }

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

  .session-card:nth-child(n + 3) {
    display: none;
  }

  .app-preview figcaption {
    font-size: 8px;
  }

  .agent-strip-inner {
    justify-content: flex-start;
    overflow: hidden;
  }

  .agent-strip-inner span:nth-of-type(n + 3),
  .agent-strip-inner i:nth-of-type(n + 2) {
    display: none;
  }

  .section-space {
    padding-block: 88px;
  }

  .feature-bento,
  .feature-card-wide {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 385px;
    padding: 28px;
  }

  .feature-card-wide {
    gap: 38px;
  }

  .status-stack {
    padding-right: 30px;
  }

  .status-pill,
  .status-pill:nth-child(3) {
    transform: none;
  }

  .security-card {
    min-height: 500px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 44px;
  }

  .workflow-steps li,
  .workflow-steps li:first-child,
  .workflow-steps li:nth-child(3) {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 23px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .workflow-steps li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .workflow-steps > li > span {
    margin: 0;
  }

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

  .more-grid article {
    min-height: 210px;
  }

  .local-first-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .download-inner {
    display: block;
  }

  .download-panel {
    padding: 24px;
    margin-top: 48px;
  }

  .release-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .release-row small {
    text-align: left;
  }

  .license-input-row {
    grid-template-columns: 1fr;
  }

  .download-actions .button {
    width: 100%;
  }

  .closing {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 28px;
    margin-bottom: 88px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer small {
    grid-column: 1;
  }
}

@media (max-width: 420px) {
  .hero-actions .button {
    width: 100%;
  }

  .app-toolbar button:first-of-type {
    display: none;
  }

  .feature-card {
    min-height: 420px;
  }

  .feature-card h3 {
    font-size: 28px;
  }

  .focus-demo,
  .branch-demo {
    right: 20px;
    left: 20px;
  }

  .focus-demo {
    flex-direction: column;
  }
}

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