:root {
  color-scheme: dark;
  --bg: #050a12;
  --panel: rgba(10, 20, 35, 0.76);
  --panel-strong: #0b1627;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #9ba9bd;
  --blue: #38bdf8;
  --blue-deep: #2563eb;
  --orange: #f97316;
  --yellow: #facc15;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.16), transparent 34rem),
    linear-gradient(180deg, #07111f 0%, var(--bg) 44%, #060b13 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.12;
  pointer-events: none;
}

.ambient-one { top: 8rem; left: -18rem; background: var(--blue); }
.ambient-two { top: 22rem; right: -21rem; background: var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(5, 10, 18, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.08rem; font-weight: 780; letter-spacing: -0.03em; }
.brand img { display: block; }

nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 0.92rem; font-weight: 620; }
nav a { transition: color 160ms ease, background 160ms ease; }
nav a:hover { color: var(--text); }
.nav-cta { padding: 8px 15px; color: var(--text); background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 999px; }

main { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 72px;
  min-height: 760px;
  padding: 96px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 13px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12); }

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
  font-weight: 860;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--blue) 4%, #60a5fa 42%, var(--orange) 76%, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead { max-width: 680px; margin-bottom: 32px; color: #b8c4d5; font-size: clamp(1.05rem, 1.7vw, 1.24rem); }

.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 750;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #03101c; background: linear-gradient(135deg, #7dd3fc, var(--blue)); box-shadow: 0 14px 38px rgba(56, 189, 248, 0.2); }
.button-secondary { background: rgba(15, 23, 42, 0.72); border-color: var(--line); }
.button-secondary:hover { border-color: rgba(148, 163, 184, 0.42); }

.trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; color: #8493a8; font-size: 0.82rem; font-weight: 650; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--blue); }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.mark-shell {
  width: min(78%, 390px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.11), rgba(8, 15, 26, 0.3) 64%, transparent 65%);
}
.mark-shell img { width: 74%; filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.45)); }

.terminal {
  position: absolute;
  right: -22px;
  bottom: 20px;
  width: min(105%, 520px);
  overflow: hidden;
  background: rgba(3, 9, 17, 0.93);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--line); background: rgba(15, 23, 42, 0.78); }
.terminal-bar span { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.terminal-bar span:nth-child(2) { background: #facc15; }
.terminal-bar span:nth-child(3) { background: #22c55e; }
.terminal-bar strong { margin-left: auto; color: #718096; font: 600 0.72rem ui-monospace, SFMono-Regular, Menlo, monospace; }
pre { margin: 0; overflow-x: auto; }
.terminal pre { padding: 21px; color: #cad5e4; font: 500 0.78rem/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prompt { color: var(--orange); }
.blue { color: var(--blue); font-weight: 700; }

.link-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 138px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 18, 31, 0.64);
  overflow: hidden;
}
.link-strip a { min-width: 0; padding: 24px; border-right: 1px solid var(--line); transition: background 160ms ease; }
.link-strip a:last-child { border-right: 0; }
.link-strip a:hover { background: rgba(56, 189, 248, 0.06); }
.link-strip strong { display: block; overflow: hidden; color: #dce8f8; font-size: 0.9rem; text-overflow: ellipsis; white-space: nowrap; }
.link-label { display: block; margin-bottom: 5px; color: var(--blue); font-size: 0.72rem; font-weight: 740; letter-spacing: 0.08em; text-transform: uppercase; }

.section { padding: 0 0 138px; }
.section-heading { display: grid; grid-template-columns: 0.42fr 1fr; gap: 40px; align-items: start; margin-bottom: 48px; }
.section-heading p { color: var(--blue); font-size: 0.75rem; font-weight: 760; letter-spacing: 0.12em; text-transform: uppercase; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -0.055em; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article { min-height: 300px; padding: 28px; background: linear-gradient(160deg, rgba(13, 27, 47, 0.88), rgba(7, 14, 24, 0.72)); border: 1px solid var(--line); border-radius: 18px; }
.feature-number { display: inline-block; margin-bottom: 74px; color: var(--orange); font: 700 0.78rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.feature-grid h3 { margin-bottom: 13px; font-size: 1.26rem; letter-spacing: -0.025em; }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: 0.94rem; }

.install-section { padding-top: 12px; }
.install-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.install-card { padding: 28px; background: rgba(9, 18, 31, 0.7); border: 1px solid var(--line); border-radius: 18px; }
.install-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.install-title span { padding: 4px 8px; color: #03101c; background: var(--blue); border-radius: 6px; font: 800 0.66rem ui-monospace, monospace; }
.install-title strong { font-size: 1.08rem; }
.install-card pre { margin-bottom: 18px; padding: 17px; background: #030912; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 10px; color: #d8e4f4; font: 500 0.78rem/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
.install-card a { color: var(--blue); font-size: 0.86rem; font-weight: 680; }

.final-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; margin-bottom: 100px; padding: 32px 36px; background: linear-gradient(110deg, rgba(37, 99, 235, 0.14), rgba(249, 115, 22, 0.1)); border: 1px solid rgba(96, 165, 250, 0.22); border-radius: 22px; }
.final-cta p { margin-bottom: 3px; color: var(--orange); font-size: 0.75rem; font-weight: 760; letter-spacing: 0.1em; text-transform: uppercase; }
.final-cta h2 { margin-bottom: 0; font-size: clamp(1.45rem, 3vw, 2.45rem); letter-spacing: -0.04em; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 32px 0 42px; color: #718096; border-top: 1px solid var(--line); font-size: 0.82rem; }
footer p { margin: 0; text-align: center; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 20px; }
.footer-brand { color: var(--text); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 74px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { min-height: 560px; }
  .terminal { right: 3%; }
  .link-strip { grid-template-columns: 1fr; }
  .link-strip a { border-right: 0; border-bottom: 1px solid var(--line); }
  .link-strip a:last-child { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 760px) {
  .site-header { width: min(calc(100% - 28px), var(--max)); }
  nav a:not(.nav-cta) { display: none; }
  main, footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; padding: 68px 0 78px; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .hero-visual { min-height: 440px; }
  .terminal { right: 0; bottom: 0; width: 100%; }
  .feature-grid, .install-grid { grid-template-columns: 1fr; }
  .feature-number { margin-bottom: 42px; }
  .final-cta { grid-template-columns: 1fr; padding: 28px; }
  .final-cta img { width: 64px; height: 64px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer p { text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
