:root {
  color-scheme: dark;
  --bg: #07111e;
  --bg-deep: #040a13;
  --panel: rgba(9, 18, 32, 0.82);
  --panel-strong: rgba(13, 25, 43, 0.96);
  --panel-soft: rgba(12, 21, 35, 0.62);
  --border: rgba(147, 177, 213, 0.18);
  --text: #eef4fb;
  --muted: #a1b5cb;
  --accent: #ffaf45;
  --accent-soft: rgba(255, 175, 69, 0.16);
  --accent-cool: #79d3ff;
  --success: #7af0b6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --content-width: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(255, 175, 69, 0.18), transparent 32%),
    radial-gradient(circle at 82% 14%, rgba(121, 211, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #091120 0%, #050b14 54%, #f4efe6 54.1%, #f8f4ee 100%);
}

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

button,
code,
pre {
  font-family: var(--font-mono);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: #08101c;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  overflow: clip;
}

.hero {
  position: relative;
  padding: 24px 0 72px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.7;
}

.hero::before {
  width: 380px;
  height: 380px;
  top: 80px;
  right: -120px;
  background: rgba(255, 175, 69, 0.24);
  animation: drift 13s ease-in-out infinite;
}

.hero::after {
  width: 280px;
  height: 280px;
  left: -80px;
  top: 220px;
  background: rgba(121, 211, 255, 0.18);
  animation: drift 16s ease-in-out infinite reverse;
}

.section,
.trust-strip {
  width: var(--content-width);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-inline: clamp(24px, 4vw, 48px);
  padding-bottom: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 175, 69, 0.95), rgba(121, 211, 255, 0.65));
  color: #08101c;
  box-shadow: 0 10px 30px rgba(255, 175, 69, 0.28);
}

.topbar-links {
  display: inline-flex;
  gap: 20px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.92fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  padding-inline: clamp(24px, 4vw, 48px);
}

.hero-copy,
.hero-visual {
  animation: rise 700ms ease both;
}

.hero-visual {
  animation-delay: 100ms;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--accent-cool);
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 12ch;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #091321;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.08;
  color: inherit;
}

.hero-summary,
.section-heading p,
.tab-label,
.install-note,
.boundary-grid p,
.feature-card p:last-child,
.trust-strip p,
.workflow-node p {
  color: var(--muted);
  line-height: 1.62;
  font-size: 1rem;
}

.hero-summary {
  max-width: 34rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #ffb552, #ffd18d);
  color: #08101c;
  box-shadow: 0 20px 48px rgba(255, 175, 69, 0.3);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.visual-panel,
.trust-strip,
.workflow-section,
.narrative-section,
.feature-section,
.install-section,
.boundaries-section,
.final-cta {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.install-chooser {
  max-width: 34rem;
  margin-top: 10px;
}

.chooser-lead {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.96rem;
}

.tablist {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.tab {
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.tab.is-active {
  background: rgba(255, 175, 69, 0.14);
  color: var(--text);
}

.tab-panels {
  margin-top: 14px;
}

.hero-command-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-command-row pre {
  min-width: 0;
  margin: 0;
  white-space: pre-wrap;
}

.tab-panel code {
  display: block;
  min-width: 0;
  font-size: 0.95rem;
  color: #ffe0af;
  overflow-wrap: anywhere;
}

.copy-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background-color
    180ms ease;
}

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

.copy-icon-button:hover,
.copy-icon-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 175, 69, 0.32);
  color: #f6d39a;
}

.copy-icon-button.is-copied {
  border-color: rgba(122, 240, 182, 0.36);
  color: var(--success);
  background: rgba(122, 240, 182, 0.08);
}

.copy-button-hero {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px 16px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-signals li {
  position: relative;
  padding-left: 16px;
  color: #dce8f5;
  font-size: 0.92rem;
}

.hero-signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 175, 69, 0.4);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(12, 22, 39, 0.94), rgba(7, 14, 25, 0.98));
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 175, 69, 0.08);
  filter: blur(8px);
}

.visual-panel header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.visual-panel header p {
  margin: 0 auto 0 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.window-dot.amber {
  background: #ffb552;
}

.window-dot.steel {
  background: #86a7c8;
}

.window-dot.teal {
  background: #7af0b6;
}

.terminal-body p,
.result-line,
.product-panel li {
  margin-bottom: 12px;
  font-size: 0.94rem;
}

.prompt,
.accent {
  color: var(--accent-cool);
}

.success {
  color: var(--success);
}

.muted {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(122, 240, 182, 0.12);
  color: var(--success);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.mini-card,
.result-stream {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.result-stream {
  grid-column: 1 / -1;
}

.mini-label,
.feature-kicker,
.install-label,
.trust-title {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  color: var(--accent-cool);
}

main {
  position: relative;
  z-index: 1;
  color: #091321;
}

.section {
  margin-top: 28px;
  padding: 52px;
  border-radius: 36px;
  background: rgba(255, 250, 244, 0.74);
  backdrop-filter: blur(12px);
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.section-heading p,
.narrow p,
.workflow-node p,
.boundary-grid p {
  color: #526073;
}

.narrow {
  max-width: 42rem;
}

.workflow-stage {
  position: relative;
  display: grid;
  gap: 18px;
}

.workflow-rail {
  position: absolute;
  left: 22px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 175, 69, 0.2), rgba(121, 211, 255, 0.44));
}

.workflow-node {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 18px 18px 0;
}

.step-index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: 0;
  border-radius: 999px;
  background: #0d1a2c;
  color: #f2f7fb;
  font-size: 0.84rem;
  box-shadow: 0 12px 24px rgba(11, 19, 33, 0.18);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px auto;
  padding: 24px;
  border-radius: 28px;
  background: rgba(11, 21, 37, 0.92);
  color: var(--text);
}

.feature-rows,
.install-grid,
.boundary-grid {
  display: grid;
  gap: 18px;
}

.feature-rows {
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(12, 24, 39, 0.12);
}

.feature-row:first-child {
  border-top: 0;
  padding-top: 6px;
}

.feature-lead {
  max-width: 28rem;
}

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

.install-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 0 0;
  color: #091321;
  border-top: 1px solid rgba(12, 24, 39, 0.14);
}

.install-best-for {
  color: #526073;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: #0b1627;
  color: #f0d7a9;
}

.copy-button {
  align-self: start;
  padding: 10px 14px;
  border: 1px solid rgba(12, 24, 39, 0.14);
  border-radius: 999px;
  background: transparent;
  color: #091321;
  cursor: pointer;
}

.copy-button.is-copied {
  border-color: rgba(45, 130, 92, 0.42);
  color: #1b7a55;
}

.install-links,
.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.install-links a,
.support-links a {
  font-weight: 600;
  color: #0c5c91;
}

.boundary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.boundary-grid article {
  padding-left: 20px;
  border-left: 1px solid rgba(12, 24, 39, 0.14);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 980px) {
  body {
    background: radial-gradient(circle at top left, rgba(255, 175, 69, 0.18), transparent 34%),
      linear-gradient(180deg, #091120 0%, #050b14 48%, #f4efe6 48.1%, #f8f4ee 100%);
  }

  .hero-grid,
  .trust-strip,
  .feature-row,
  .install-grid,
  .boundary-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-bottom: 54px;
  }

  .section {
    padding: 36px 24px;
  }

  .workflow-rail {
    left: 21px;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: min(100vw - 28px, 1000px);
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .topbar-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .install-chooser,
  .visual-panel,
  .section,
  .trust-strip {
    border-radius: 22px;
  }

  .hero-signals {
    grid-template-columns: 1fr;
  }

  .tablist {
    width: 100%;
  }

  .tab {
    flex: 1;
  }

  .hero-command-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .copy-icon-button {
    justify-self: end;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
