:root {
  color-scheme: dark;
  --bg: #08080c;
  --bg-soft: #0d0d13;
  --surface: #111118;
  --surface-2: #15151e;
  --surface-3: #1b1b25;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #f5f3fb;
  --muted: #a4a0ae;
  --muted-2: #75717f;
  --primary: #8d6dff;
  --primary-light: #ae98ff;
  --primary-dark: #6d4df2;
  --green: #4ade80;
  --blue: #65a8ff;
  --amber: #f4b95c;
  --container: 1180px;
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  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-feature-settings: "ss01", "cv02", "cv03", "cv04";
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 140px 0;
}

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

.site-header.scrolled,
.site-header.menu-open {
  border-color: var(--border);
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.brand img {
  filter: drop-shadow(0 0 14px rgba(141, 109, 255, 0.25));
}

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

.desktop-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 150ms ease;
}

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

.nav-actions,
.hero-actions,
.open-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition:
    transform 180ms var(--ease),
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: white;
  box-shadow:
    0 8px 30px rgba(108, 73, 242, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.25);
}

.button-primary:hover {
  box-shadow:
    0 13px 38px rgba(108, 73, 242, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.28);
}

.button-ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #e3e0e8;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.button-large {
  min-height: 52px;
  border-radius: 13px;
  padding: 0 23px;
  font-size: 15px;
}

.button-small {
  min-height: 38px;
  padding: 0 15px;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  transition: background 150ms ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  min-height: 1050px;
  padding-top: 154px;
  padding-bottom: 88px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1000px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 77, 255, 0.13), transparent 67%);
  content: "";
  transform: translate(-50%, -45%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 54%);
  content: "";
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 325px;
  left: 50%;
  width: 760px;
  height: 330px;
  border-radius: 50%;
  background: rgba(119, 79, 255, 0.13);
  filter: blur(90px);
  transform: translateX(-50%);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px 7px 9px;
  background: rgba(255, 255, 255, 0.03);
  color: #bbb7c5;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 150ms ease;
}

.eyebrow:hover {
  border-color: rgba(141, 109, 255, 0.35);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.55);
}

.eyebrow svg,
.text-link svg,
.open-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 27px 0 24px;
  font-size: clamp(66px, 8.6vw, 116px);
  font-weight: 730;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero h1 span {
  background: linear-gradient(110deg, #ece8ff 5%, #a78fff 50%, #7957f6 100%);
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
  letter-spacing: -0.018em;
  line-height: 1.6;
}

.hero-actions {
  justify-content: center;
  margin-top: 34px;
}

.platform-note {
  margin-top: 17px;
  color: var(--muted-2);
  font-size: 12px;
}

.hero-product {
  position: relative;
  z-index: 2;
  margin-top: 92px;
  perspective: 1400px;
}

.app-aura {
  position: absolute;
  inset: -30px 3% 0;
  border-radius: 100px;
  background: radial-gradient(ellipse, rgba(125, 87, 255, 0.28), transparent 64%);
  filter: blur(55px);
}

.app-window {
  position: relative;
  overflow: hidden;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: #0a0a0f;
  box-shadow:
    0 70px 120px rgba(0, 0, 0, 0.62),
    0 0 0 8px rgba(255, 255, 255, 0.018),
    inset 0 1px rgba(255, 255, 255, 0.08);
  transform: rotateX(1deg);
}

.window-bar {
  position: relative;
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  background: #111116;
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #413f48;
}

.window-title {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ccc8d2;
  font-size: 11px;
  font-weight: 600;
  transform: translateX(-50%);
}

.window-title img {
  width: 17px;
  height: 17px;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #76727f;
  font-size: 10px;
}

.window-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.app-body {
  display: flex;
  height: calc(100% - 42px);
}

.app-rail {
  display: flex;
  width: 62px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-right: 1px solid var(--border);
  padding: 14px 9px 12px;
  background: #0b0b10;
}

.rail-logo {
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
}

.rail-item {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #676370;
}

.rail-item svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.rail-item.active {
  color: #b29eff;
  background: rgba(141, 109, 255, 0.12);
}

.rail-item.active::before {
  position: absolute;
  left: -9px;
  width: 2px;
  height: 21px;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
  content: "";
}

.grid-icon {
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat;
}

.rail-spacer {
  flex: 1;
}

.avatar {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #6045c8, #8b6bfa);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.app-main {
  min-width: 0;
  flex: 1;
}

.app-toolbar {
  display: flex;
  height: 55px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--border);
  padding: 0 15px;
  background: #0d0d12;
}

.search-pill {
  display: flex;
  width: 285px;
  height: 31px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 9px;
  background: #13131a;
  color: #686471;
  font-size: 10px;
}

.search-pill svg,
.panel-title svg,
.generate-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

kbd {
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 2px 5px;
  background: #1b1b23;
  color: #7c7885;
  font: inherit;
  font-size: 9px;
}

.search-pill kbd {
  margin-left: auto;
}

.toolbar-button,
.toolbar-icon {
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #13131a;
  color: #9b97a4;
  font-size: 10px;
}

.toolbar-button {
  margin-left: auto;
  padding: 0 12px;
}

.toolbar-icon {
  width: 32px;
}

.terminal-tabs {
  display: flex;
  height: 46px;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  padding: 0 12px;
  background: #0b0b10;
}

.terminal-tab {
  display: flex;
  height: 29px;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 10px;
  color: #6f6b78;
  font-size: 9px;
}

.terminal-tab svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.terminal-tab.active {
  border-color: rgba(141, 109, 255, 0.25);
  background: rgba(141, 109, 255, 0.11);
  color: #d0cbd7;
}

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

.cube {
  color: #8cbcff;
  font-size: 15px;
}

.new-tab {
  border: 0;
  background: transparent;
  color: #6f6b78;
}

.terminal-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #676370;
  font-size: 9px;
}

.workspace-grid {
  display: grid;
  height: calc(100% - 101px);
  grid-template-columns: minmax(0, 1fr) 245px;
}

.terminal-pane {
  position: relative;
  padding: 31px 28px;
  background:
    radial-gradient(circle at 90% 90%, rgba(102, 69, 218, 0.08), transparent 37%),
    #08080d;
  color: #c8c4d1;
  font: 11px/2.05 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.terminal-line.muted,
.table-head {
  color: #5e5a67;
}

.terminal-line .prompt {
  color: #a28af7;
}

.terminal-line .path {
  color: #6aa9e9;
}

.terminal-line em {
  color: var(--green);
  font-style: normal;
}

.terminal-line b {
  color: #e5e0ea;
  font-weight: 500;
}

.terminal-line.command {
  margin-top: 12px;
}

.cursor {
  display: inline-block;
  width: 6px;
  height: 13px;
  vertical-align: -2px;
  background: #b4a1f7;
  animation: blink 1.2s step-end infinite;
}

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

.capture-chip {
  position: absolute;
  bottom: 15px;
  left: 21px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(74, 222, 128, 0.05);
  color: #6f9e7e;
  font: 8px ui-sans-serif, sans-serif;
}

.capture-chip span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.memory-panel {
  border-left: 1px solid var(--border);
  padding: 18px 17px;
  background: #0e0e14;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ddd8e4;
  font-size: 11px;
  font-weight: 650;
}

.panel-title svg {
  color: var(--primary-light);
}

.panel-title span {
  margin-left: auto;
  border-radius: 999px;
  padding: 3px 6px;
  background: rgba(74, 222, 128, 0.09);
  color: #6eae80;
  font-size: 7px;
  text-transform: uppercase;
}

.memory-panel > p {
  margin: 9px 0 19px;
  color: #6d6975;
  font-size: 9px;
  line-height: 1.5;
}

.memory-step {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 0 0 19px;
}

.memory-step:not(:last-of-type)::after {
  position: absolute;
  top: 18px;
  bottom: 2px;
  left: 10px;
  width: 1px;
  background: #2a2731;
  content: "";
}

.memory-step > i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(141, 109, 255, 0.25);
  border-radius: 50%;
  background: #181522;
  color: #9e86f4;
  font-size: 8px;
  font-style: normal;
}

.memory-step strong,
.memory-step span {
  display: block;
}

.memory-step strong {
  color: #bcb8c4;
  font-size: 9px;
  line-height: 1.4;
}

.memory-step span {
  margin-top: 3px;
  color: #5e5a66;
  font-size: 8px;
}

.memory-step.pending {
  opacity: 0.55;
}

.memory-step.pending > i::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #766e87;
  content: "";
}

.generate-button {
  display: flex;
  width: 100%;
  height: 33px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(141, 109, 255, 0.25);
  border-radius: 8px;
  background: rgba(141, 109, 255, 0.1);
  color: #b39eff;
  font-size: 9px;
  font-weight: 600;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  padding: 12px 14px;
  background: rgba(20, 20, 28, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

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

.floating-card strong {
  color: #ded9e5;
  font-size: 11px;
}

.floating-card small {
  margin-top: 4px;
  color: #777380;
  font-size: 9px;
}

.float-left {
  bottom: 68px;
  left: -52px;
  animation: hover-float 5s ease-in-out infinite;
}

.float-right {
  right: -48px;
  bottom: 124px;
  animation: hover-float 5s 1s ease-in-out infinite;
}

.float-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
}

.float-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.float-icon.green {
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
}

.float-icon.purple {
  background: rgba(141, 109, 255, 0.12);
  color: var(--primary-light);
}

@keyframes hover-float {
  50% {
    transform: translateY(-8px);
  }
}

.trust-row {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.012);
}

.trust-row .container {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
}

.trust-row .container > span {
  color: #6f6b78;
  font-size: 12px;
}

.tool-list {
  display: flex;
  align-items: center;
  gap: 38px;
}

.tool-list strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8c8895;
  font-size: 13px;
  font-weight: 550;
}

.tool-glyph {
  color: #aaa5b2;
  font: 600 15px "SFMono-Regular", Consolas, monospace;
  font-style: normal;
}

.cube-glyph {
  font-size: 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 60px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.demo-copy h2,
.privacy-copy h2,
.open-copy h2,
.final-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading h2 span,
.final-cta h2 span {
  color: #77727f;
}

.section-heading p,
.demo-copy > p,
.privacy-copy > p,
.open-copy > p,
.final-cta p {
  color: var(--muted);
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.7;
}

.problem-section {
  background:
    radial-gradient(circle at 50% 5%, rgba(111, 76, 232, 0.08), transparent 30%),
    var(--bg);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.outcome-card,
.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.outcome-card {
  min-height: 470px;
  padding: 30px;
}

.outcome-card.featured {
  border-color: rgba(141, 109, 255, 0.22);
  background: linear-gradient(145deg, rgba(141, 109, 255, 0.075), rgba(255, 255, 255, 0.012) 55%);
}

.card-number {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #45414e;
  font: 10px "SFMono-Regular", Consolas, monospace;
}

.card-icon,
.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(141, 109, 255, 0.16);
  border-radius: 11px;
  background: rgba(141, 109, 255, 0.08);
  color: var(--primary-light);
}

.card-icon svg,
.feature-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outcome-card h3,
.feature-card h3 {
  margin: 24px 0 11px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.outcome-card > p,
.feature-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.mini-server-list {
  position: absolute;
  right: 24px;
  bottom: 25px;
  left: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #0e0e14;
}

.mini-server-list > div {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--border);
  padding: 0 13px;
}

.mini-server-list > div:last-child {
  border-bottom: 0;
}

.server-symbol {
  display: inline-grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
}

.server-symbol.violet {
  background: rgba(141, 109, 255, 0.13);
  color: #ad97fd;
}

.server-symbol.blue {
  background: rgba(101, 168, 255, 0.12);
  color: #83baff;
}

.server-symbol.amber {
  background: rgba(244, 185, 92, 0.12);
  color: #e9b761;
}

.mini-server-list strong {
  min-width: 0;
  color: #c9c5d0;
  font-size: 10px;
}

.mini-server-list small {
  display: block;
  margin-top: 4px;
  color: #625e6b;
  font-size: 8px;
  font-weight: 500;
}

.mini-server-list > div > i {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: #4c4952;
}

.mini-server-list > div > i.online {
  background: var(--green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.35);
}

.code-capture {
  position: absolute;
  right: 24px;
  bottom: 25px;
  left: 24px;
  overflow: hidden;
  border: 1px solid rgba(141, 109, 255, 0.17);
  border-radius: 13px;
  padding: 17px;
  background: #0b0b11;
  color: #aaa6b1;
  font: 9px/2.25 "SFMono-Regular", Consolas, monospace;
}

.code-capture div > span {
  color: var(--primary-light);
}

.code-capture .code-output {
  color: #65616e;
}

.code-capture .code-output b {
  color: var(--green);
  font-weight: 500;
}

.code-highlight {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px -5px -5px;
  border: 1px solid rgba(141, 109, 255, 0.15);
  border-radius: 7px;
  padding: 5px 9px;
  background: rgba(141, 109, 255, 0.07);
  color: #8f7acb;
  font: 8px ui-sans-serif, sans-serif;
}

.code-highlight i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.mini-document {
  position: absolute;
  right: 24px;
  bottom: 25px;
  left: 24px;
  min-height: 180px;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 18px;
  background: #111117;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.18);
}

.mini-document > span {
  color: var(--primary-light);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mini-document h4 {
  margin: 10px 0 17px;
  color: #d0ccd5;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.mini-document p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
}

.mini-document p i {
  width: 12px;
  height: 12px;
  border: 1px solid #46424d;
  border-radius: 3px;
}

.mini-document p b {
  width: 68%;
  height: 4px;
  border-radius: 2px;
  background: #34313a;
}

.mini-document p:nth-child(5) b {
  width: 48%;
}

.mini-document small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  color: #696571;
  font-size: 8px;
}

.mini-document small svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
}

.demo-section {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: #0b0b10;
}

.demo-section::before {
  position: absolute;
  top: 40px;
  right: -250px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: rgba(114, 77, 241, 0.06);
  filter: blur(100px);
  content: "";
}

.demo-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 95px;
}

.demo-copy h2,
.privacy-copy h2 {
  font-size: clamp(40px, 4.3vw, 58px);
}

.demo-tabs {
  display: grid;
  gap: 7px;
  margin-top: 38px;
}

.demo-tab {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 13px;
  background: transparent;
  color: #74707d;
  text-align: left;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.demo-tab:hover {
  color: #aaa5b2;
}

.demo-tab.active {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.demo-tab > span {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #121219;
}

.demo-tab.active > span {
  border-color: rgba(141, 109, 255, 0.2);
  background: rgba(141, 109, 255, 0.08);
  color: var(--primary-light);
}

.demo-tab svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.demo-tab strong,
.demo-tab small {
  display: block;
}

.demo-tab strong {
  font-size: 13px;
}

.demo-tab small {
  margin-top: 4px;
  color: #6a6673;
  font-size: 10px;
}

.demo-stage {
  position: relative;
  min-height: 565px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #0d0d13;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.34);
}

.demo-stage::before {
  position: absolute;
  inset: -12px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.025);
  border-radius: 27px;
  content: "";
}

.demo-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 250ms ease,
    transform 250ms var(--ease);
}

.demo-screen.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.screen-toolbar {
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  color: #d5d1dc;
  font-size: 13px;
  font-weight: 650;
}

.screen-toolbar button,
.summary-box button {
  border: 1px solid rgba(141, 109, 255, 0.22);
  border-radius: 7px;
  padding: 7px 10px;
  background: rgba(141, 109, 255, 0.11);
  color: #b19cf8;
  font-size: 9px;
  font-weight: 600;
}

.screen-search {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 8px;
  margin: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 11px;
  background: #111118;
  color: #615d69;
  font-size: 9px;
}

.screen-search svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.screen-search kbd {
  margin-left: auto;
}

.group-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 2px 20px 12px;
  color: #97929f;
  font-size: 9px;
  font-weight: 650;
  text-transform: uppercase;
}

.group-label span {
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 5px;
  background: #181820;
  color: #66616e;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 0 20px;
}

.infra-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px;
  background: #111118;
}

.infra-card.selected {
  border-color: rgba(141, 109, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(141, 109, 255, 0.07);
}

.infra-card.faint {
  opacity: 0.48;
}

.infra-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.infra-card > div:first-child i {
  border: 1px solid rgba(141, 109, 255, 0.16);
  border-radius: 4px;
  padding: 2px 4px;
  color: #8775b5;
  font-size: 6px;
  font-style: normal;
}

.infra-card h4 {
  margin: 13px 0 5px;
  color: #cbc7d2;
  font-size: 10px;
}

.infra-card p {
  color: #605c68;
  font-size: 8px;
}

.tags {
  display: flex;
  gap: 4px;
  min-height: 44px;
  padding-top: 7px;
}

.tags span {
  height: fit-content;
  border-radius: 4px;
  padding: 3px 5px;
  background: #1a1921;
  color: #696572;
  font-size: 7px;
}

.infra-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.infra-card footer small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6b6773;
  font-size: 7px;
}

.infra-card footer small b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.infra-card footer button {
  border: 0;
  border-radius: 5px;
  padding: 5px 7px;
  background: #1c1a25;
  color: #a296c2;
  font-size: 7px;
}

.context-drawer {
  position: absolute;
  right: 15px;
  bottom: 14px;
  width: 285px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 15px;
  background: rgba(21, 21, 29, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.context-drawer > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.context-drawer strong,
.context-drawer small {
  display: block;
}

.context-drawer strong {
  color: #d2ced8;
  font-size: 10px;
}

.context-drawer small {
  margin-top: 3px;
  color: #625e69;
  font-size: 7px;
}

.context-drawer > div > button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #64606c;
}

.context-drawer dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  margin: 16px 0;
  font-size: 8px;
}

.context-drawer dt {
  color: #5e5a66;
}

.context-drawer dd {
  margin: 0;
  color: #9d98a5;
}

.drawer-connect {
  display: flex;
  width: 100%;
  height: 31px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(141, 109, 255, 0.25);
  border-radius: 7px;
  background: rgba(141, 109, 255, 0.12);
  color: #af9af8;
  font-size: 8px;
  font-weight: 600;
}

.drawer-connect svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
}

.timeline {
  margin: 34px 28px 0;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 15px;
  padding-bottom: 28px;
}

.timeline-item:not(:last-child)::after {
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: #292632;
  content: "";
}

.timeline-item > i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(74, 222, 128, 0.18);
  border-radius: 50%;
  background: #111a16;
  color: var(--green);
}

.timeline-item.current > i {
  border-color: rgba(141, 109, 255, 0.25);
  background: #191522;
  color: var(--primary-light);
}

.timeline-item svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.timeline-item small {
  color: #5d5965;
  font-size: 8px;
}

.timeline-item h4 {
  margin: 5px 0;
  color: #c8c4cf;
  font-size: 11px;
}

.timeline-item p {
  color: #6e6a76;
  font-size: 9px;
}

.timeline-item code {
  display: block;
  margin-top: 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 10px;
  background: #0a0a0f;
  color: #8b8693;
  font-size: 8px;
}

.summary-box {
  position: absolute;
  right: 25px;
  bottom: 25px;
  left: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(141, 109, 255, 0.2);
  border-radius: 10px;
  padding: 12px;
  background: rgba(141, 109, 255, 0.06);
}

.summary-box span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa3b5;
  font-size: 9px;
}

.summary-box svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--primary-light);
}

.search-results {
  margin: 0 20px;
}

.result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 13px;
}

.result.active {
  border-color: rgba(141, 109, 255, 0.2);
  background: rgba(141, 109, 255, 0.06);
}

.result > svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--primary-light);
  stroke-width: 1.6;
}

.result h4 {
  margin-bottom: 5px;
  color: #c8c4d0;
  font-size: 10px;
}

.result p {
  margin-bottom: 6px;
  color: #686471;
  font-size: 8px;
}

.result span {
  color: #514d58;
  font-size: 7px;
}

.feature-section {
  background: var(--bg);
}

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

.feature-card {
  min-height: 470px;
  padding: 30px;
}

.feature-card.wide {
  min-height: 500px;
}

.terminal-visual,
.vault-visual,
.search-visual,
.graph-visual {
  position: absolute;
  right: 25px;
  bottom: 0;
  left: 25px;
}

.terminal-visual {
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #0a0a0f;
}

.visual-tabs {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--border);
  padding: 0 10px;
  color: #5f5b67;
  font-size: 8px;
}

.visual-tabs span {
  border-radius: 5px;
  padding: 7px 10px;
}

.visual-tabs span.active {
  border: 1px solid rgba(141, 109, 255, 0.2);
  background: rgba(141, 109, 255, 0.09);
  color: #aca6b3;
}

.visual-tabs i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--green);
}

.visual-tabs b {
  font-size: 13px;
  font-weight: 400;
}

.visual-code {
  padding: 23px;
  color: #9994a0;
  font: 9px/1.9 "SFMono-Regular", Consolas, monospace;
}

.visual-code p {
  margin-bottom: 7px;
}

.visual-code i {
  color: #a58df9;
  font-style: normal;
}

.visual-code .dim {
  color: #514e58;
}

.visual-code b {
  color: var(--green);
  font-weight: 500;
}

.vault-visual {
  overflow: hidden;
  bottom: 25px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0e0e14;
}

.vault-visual > div {
  display: flex;
  height: 60px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding: 0 13px;
}

.vault-visual > div:last-child {
  border-bottom: 0;
}

.vault-visual > div > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  background: rgba(141, 109, 255, 0.1);
  color: #a48df5;
  font-size: 7px;
  font-weight: 700;
}

.vault-visual strong,
.vault-visual small {
  display: block;
}

.vault-visual strong {
  color: #bbb7c3;
  font-size: 9px;
}

.vault-visual small {
  margin-top: 4px;
  color: #5b5763;
  font-size: 7px;
  font-weight: 500;
}

.vault-visual code {
  margin-left: auto;
  color: #5e5a66;
  font-size: 9px;
}

.search-visual {
  bottom: 25px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #111118;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.3);
}

.search-visual > div {
  display: flex;
  height: 45px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding: 0 12px;
  color: #9b96a3;
  font-size: 10px;
}

.search-visual > div svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--primary-light);
}

.search-visual > div kbd {
  margin-left: auto;
}

.search-visual > small {
  display: block;
  padding: 11px 12px 5px;
  color: #504c57;
  font-size: 7px;
  font-weight: 700;
}

.search-visual > p {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 9px;
  margin: 0 7px 4px;
  border-radius: 7px;
  padding: 0 7px;
  color: #aca8b4;
  font-size: 9px;
}

.search-visual > p:first-of-type {
  background: rgba(141, 109, 255, 0.07);
}

.search-visual > p em {
  margin-left: auto;
  color: #5a5662;
  font-size: 7px;
  font-style: normal;
}

.graph-visual {
  height: 200px;
}

.graph-visual svg {
  width: 100%;
  height: 100%;
}

.edges path {
  fill: none;
  stroke: #302d39;
  stroke-width: 1.2;
}

.nodes rect {
  fill: #111118;
  stroke: #2f2b37;
}

.nodes circle {
  fill: #7660c9;
}

.nodes text {
  fill: #aaa5b1;
  font: 9px ui-sans-serif, sans-serif;
}

.nodes text.sub {
  fill: #5c5863;
  font-size: 7px;
}

.nodes .main-node rect {
  fill: #191521;
  stroke: #59458f;
}

.nodes .main-node circle {
  fill: url("#nodeGlow");
}

.privacy-section {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: #0b0b10;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.privacy-copy > p {
  max-width: 550px;
}

.privacy-copy ul {
  display: grid;
  gap: 18px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
}

.privacy-copy li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #8f8a97;
  font-size: 13px;
  line-height: 1.6;
}

.privacy-copy li > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
}

.privacy-copy li strong {
  display: block;
  color: #cbc7d2;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b3a0fa;
  font-size: 13px;
  font-weight: 600;
}

.privacy-visual {
  position: relative;
  min-height: 520px;
}

.privacy-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(115, 77, 244, 0.1);
  filter: blur(80px);
  content: "";
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(141, 109, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 330px;
  height: 330px;
}

.orbit-two {
  width: 480px;
  height: 480px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.05);
}

.shield-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 180px;
  height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(141, 109, 255, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #1b1727, #100e17);
  box-shadow:
    0 0 70px rgba(111, 76, 237, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.05);
  transform: translate(-50%, -50%);
}

.shield-ring {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 13px;
  place-items: center;
  border: 1px solid rgba(141, 109, 255, 0.24);
  border-radius: 15px;
  background: rgba(141, 109, 255, 0.1);
  color: var(--primary-light);
  box-shadow: 0 0 25px rgba(141, 109, 255, 0.12);
}

.shield-ring svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.shield-core strong {
  color: #d5d0dc;
  font-size: 12px;
}

.shield-core > span {
  margin-top: 6px;
  color: #6c6775;
  font: 8px "SFMono-Regular", Consolas, monospace;
}

.privacy-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(18, 18, 25, 0.92);
  color: #9d98a5;
  font-size: 9px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.privacy-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot.green {
  background: var(--green);
}

.dot.violet {
  background: var(--primary);
}

.dot.blue {
  background: var(--blue);
}

.dot.amber {
  background: var(--amber);
}

.pill-one {
  top: 62px;
  left: 75px;
}

.pill-two {
  top: 120px;
  right: 18px;
}

.pill-three {
  right: 22px;
  bottom: 90px;
}

.pill-four {
  bottom: 58px;
  left: 45px;
}

.open-section {
  padding-bottom: 90px;
}

.open-card {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: 70px;
  border: 1px solid rgba(141, 109, 255, 0.25);
  border-radius: 28px;
  padding: 70px;
  background:
    radial-gradient(circle at 82% 20%, rgba(153, 120, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #181126, #0f0d17 58%, #12101b);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.open-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.open-copy {
  position: relative;
  z-index: 1;
}

.open-copy h2 {
  font-size: clamp(42px, 4.7vw, 63px);
}

.open-copy > p {
  max-width: 530px;
  font-size: 15px;
}

.open-actions {
  margin-top: 31px;
}

.button-light {
  background: #eeeaf5;
  color: #17131e;
}

.open-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: #bdb7c6;
  font-size: 13px;
  font-weight: 600;
}

.repo-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  padding: 22px;
  background: rgba(11, 10, 16, 0.72);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.35),
    inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  transform: rotate(1.8deg);
}

.repo-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.repo-head img {
  width: 34px;
  height: 34px;
}

.repo-head strong {
  color: #d6d1dc;
  font-size: 12px;
}

.repo-head span {
  margin-left: 8px;
  border: 1px solid #45404d;
  border-radius: 999px;
  padding: 2px 6px;
  color: #77717f;
  font-size: 7px;
}

.repo-card > p {
  margin: 21px 0;
  color: #8a8492;
  font-size: 10px;
  line-height: 1.6;
}

.repo-meta {
  display: flex;
  gap: 19px;
  color: #77717f;
  font-size: 8px;
}

.repo-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3178c6;
}

.repo-rule {
  height: 1px;
  margin: 20px 0;
  background: var(--border);
}

.commit-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.commit-row > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(141, 109, 255, 0.1);
  color: var(--primary-light);
}

.commit-row strong,
.commit-row small {
  display: block;
}

.commit-row strong {
  color: #aaa5b1;
  font-size: 8px;
}

.commit-row small {
  margin-top: 4px;
  color: #5f5a66;
  font-size: 7px;
}

.commit-row > i {
  margin-left: auto;
  border-radius: 5px;
  padding: 4px 6px;
  background: #211b2e;
  color: #9a82e2;
  font-size: 7px;
  font-style: normal;
}

.final-cta {
  overflow: hidden;
  padding-top: 110px;
  text-align: center;
}

.final-cta::before {
  position: absolute;
  bottom: -350px;
  left: 50%;
  width: 900px;
  height: 700px;
  border-radius: 50%;
  background: rgba(112, 75, 240, 0.12);
  filter: blur(90px);
  content: "";
  transform: translateX(-50%);
}

.final-cta .container {
  position: relative;
}

.final-cta h2 {
  margin-top: 24px;
}

.final-cta p {
  font-size: 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 65px;
  background: #07070a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 70px;
  padding-bottom: 60px;
}

.footer-brand p {
  max-width: 240px;
  margin-top: 17px;
  color: #696572;
  font-size: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: #c2bdc9;
  font-size: 11px;
}

.footer-links a {
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: #5b5763;
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

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

.outcome-card:nth-child(2),
.feature-card:nth-child(2) {
  transition-delay: 90ms;
}

.outcome-card:nth-child(3),
.feature-card:nth-child(3) {
  transition-delay: 180ms;
}

.feature-card:nth-child(4) {
  transition-delay: 270ms;
}

@media (max-width: 1100px) {
  .app-window {
    height: 540px;
  }

  .workspace-grid {
    grid-template-columns: 1fr 220px;
  }

  .float-left {
    left: 15px;
  }

  .float-right {
    right: 15px;
  }

  .demo-layout {
    gap: 45px;
  }

  .open-card {
    gap: 40px;
    padding: 50px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 105px 0;
  }

  .desktop-nav,
  .desktop-download {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-toggle .close-icon {
    display: none;
  }

  .menu-open .menu-toggle .menu-icon {
    display: none;
  }

  .menu-open .menu-toggle .close-icon {
    display: block;
  }

  .mobile-nav {
    display: flex;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 3px;
    padding: 0 24px;
    opacity: 0;
    transition:
      max-height 250ms ease,
      padding 250ms ease,
      opacity 180ms ease;
  }

  .menu-open .mobile-nav {
    max-height: 390px;
    padding-top: 8px;
    padding-bottom: 24px;
    opacity: 1;
  }

  .mobile-nav > a:not(.button) {
    border-bottom: 1px solid var(--border);
    padding: 14px 3px;
    color: #c5c0cc;
    font-size: 14px;
  }

  .mobile-nav .button {
    margin-top: 11px;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
  }

  .hero-product {
    width: 960px;
    max-width: none;
    margin-left: 50%;
  }

  .hero-product.reveal {
    transform: translate(-50%, 18px);
  }

  .hero-product.reveal.visible {
    transform: translate(-50%, 0);
  }

  .floating-card {
    display: none;
  }

  .trust-row .container {
    min-height: 150px;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
  }

  .tool-list {
    width: 100%;
    justify-content: space-around;
    gap: 15px;
  }

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

  .outcome-card {
    min-height: 430px;
  }

  .demo-layout,
  .privacy-layout,
  .open-card {
    grid-template-columns: 1fr;
  }

  .demo-copy {
    max-width: 620px;
  }

  .demo-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .demo-tab {
    align-items: flex-start;
  }

  .demo-tab small {
    display: none;
  }

  .privacy-layout {
    gap: 40px;
  }

  .privacy-visual {
    order: -1;
    min-height: 500px;
  }

  .open-card {
    padding: 55px;
  }

  .repo-card {
    max-width: 470px;
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 30px;
  }
}

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

  .section {
    padding: 84px 0;
  }

  .github-button {
    display: none;
  }

  .hero {
    padding-top: 125px;
    padding-bottom: 65px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(50px, 14vw, 68px);
    line-height: 0.92;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-product {
    width: 740px;
    margin-top: 65px;
  }

  .app-window {
    height: 430px;
    transform: scale(0.88);
  }

  .memory-panel {
    display: none;
  }

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

  .trust-row .container {
    align-items: flex-start;
  }

  .tool-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .demo-copy h2,
  .privacy-copy h2,
  .open-copy h2,
  .final-cta h2 {
    font-size: 40px;
  }

  .section-heading p,
  .demo-copy > p,
  .privacy-copy > p,
  .open-copy > p,
  .final-cta p {
    font-size: 15px;
  }

  .outcome-card {
    min-height: 440px;
    padding: 24px;
  }

  .mini-server-list,
  .code-capture,
  .mini-document {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .demo-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .demo-tab {
    min-width: 135px;
  }

  .demo-stage {
    min-height: 500px;
  }

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

  .infra-card.faint {
    display: none;
  }

  .context-drawer {
    width: 250px;
  }

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

  .feature-card,
  .feature-card.wide {
    min-height: 460px;
    padding: 24px;
  }

  .terminal-visual,
  .vault-visual,
  .search-visual,
  .graph-visual {
    right: 18px;
    left: 18px;
  }

  .privacy-visual {
    min-height: 430px;
    transform: scale(0.84);
  }

  .open-card {
    width: calc(100% - 32px);
    min-height: 0;
    gap: 45px;
    border-radius: 22px;
    padding: 38px 24px;
  }

  .open-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .open-link {
    justify-content: center;
    padding: 12px;
  }

  .repo-card {
    padding: 18px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 15px;
  }
}

@media (max-width: 430px) {
  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-product {
    width: 650px;
  }

  .app-window {
    transform: scale(0.82);
  }

  .outcome-card,
  .feature-card,
  .feature-card.wide {
    min-height: 445px;
  }

  .demo-stage {
    min-height: 480px;
  }

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

  .infra-card:nth-child(2) {
    display: none;
  }

  .privacy-visual {
    margin: -35px -55px;
    transform: scale(0.72);
  }

  .footer-grid {
    gap: 35px 25px;
  }
}

@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;
  }
}
