/* ===== Design tokens ===== */
:root {
  --bg: #070b14;
  --bg-soft: #0c1220;
  --panel: #0f1626;
  --panel-2: #131c30;
  --border: #1e2a42;
  --border-soft: #18233a;

  --white: #f2f5fb;
  --text: #c6d0e0;
  --muted: #8a97ad;
  --dim: #5b6678;

  --green: #4ade80;
  --green-deep: #22c55e;
  --purple: #8b7cf6;
  --red: #f87171;
  --amber: #fbbf24;

  --radius: 8px;
  --maxw: 1180px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

svg {
  max-width: 100%;
}

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

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

.t-white { color: var(--white); }
.t-green { color: var(--green); }
.t-purple { color: var(--purple); }
.t-red { color: var(--red); }
.t-gray { color: var(--muted); }
.t-dim { color: var(--dim); }
.t-mono { font-family: var(--mono); }

/* ===== Background FX ===== */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 246, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.bg-glow--green {
  width: 520px;
  height: 520px;
  background: rgba(34, 197, 94, 0.22);
  top: -160px;
  right: -120px;
}
.bg-glow--purple {
  width: 480px;
  height: 480px;
  background: rgba(139, 124, 246, 0.18);
  top: 320px;
  left: -160px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--green);
  color: #04210f;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
}
.btn--primary:hover {
  background: #5bea90;
  box-shadow: 0 8px 26px -8px rgba(74, 222, 128, 0.6);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--white);
}
.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}
.badge--free {
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-right: auto;
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background:
    linear-gradient(135deg, rgba(74, 222, 128, 0.16), rgba(139, 124, 246, 0.12)),
    var(--bg-soft);
  color: var(--green);
  box-shadow: 0 0 22px rgba(74, 222, 128, 0.14);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 800;
}
.brand__prompt { color: var(--green); }
.brand__accent { color: var(--green); }
.brand__text { letter-spacing: 0; }

.nav__links {
  display: flex;
  gap: 1.6rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
}
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--green); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
}
.mobile-menu:not([hidden]) {
  display: flex;
}
.mobile-menu a {
  padding: 0.6rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu .btn { margin-top: 0.6rem; justify-content: center; }

/* ===== Layout ===== */
main {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 4.5rem 0; }

.section-head {
  text-align: center;
  margin-bottom: 2.6rem;
}
.section-head--left { text-align: left; }
.kicker {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--purple);
  letter-spacing: 0.04em;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  letter-spacing: -0.03em;
  margin-top: 0.4rem;
  font-weight: 800;
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin-top: 0.8rem;
}

/* ===== Ticker ===== */
.ticker {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(15, 22, 38, 0.6);
  margin-bottom: 2.5rem;
}
.ticker__track {
  display: flex;
  gap: 2.5rem;
  padding: 0.7rem 1rem;
  width: max-content;
  animation: scroll-ticker 30s linear infinite;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.ticker__note {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0;
  margin: 0;
  padding: 0.45rem 1rem 0.55rem;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes scroll-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tk {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tk__sym { color: var(--white); font-weight: 700; }
.tk__price { color: var(--text); }
.tk__up { color: var(--green); }
.tk__down { color: var(--red); }

/* ===== Hero ===== */
.hero { padding-top: 3rem; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 22, 38, 0.5);
}
.tagline-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 1.4rem 0;
}
.hero__sub {
  font-family: var(--mono);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin-bottom: 1rem;
}
.hero__desc {
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 1.8rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.hero__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.hero__points li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

/* Terminal window */
.hero__visual {
  position: relative;
}
.terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0d1424, #0a101d);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(74, 222, 128, 0.06);
  overflow: hidden;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.015);
}
.tdot { width: 12px; height: 12px; border-radius: 50%; }
.tdot--red { background: #ff5f56; }
.tdot--yellow { background: #ffbd2e; }
.tdot--green { background: #27c93f; }
.terminal__title {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.terminal__body {
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.7;
  padding: 1.1rem 1.2rem;
  min-height: 270px;
  white-space: pre-wrap;
  color: var(--text);
}
.term-prompt { color: var(--green); }
.term-user { color: var(--purple); }
.term-ok { color: var(--green); }
.term-info { color: var(--muted); }
.cursor {
  color: var(--green);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Pillars ===== */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.pillar {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.pillar:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 222, 128, 0.4);
  background: var(--panel-2);
}
.pillar__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
  margin-bottom: 1rem;
}
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 {
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pillar p { font-size: 0.9rem; color: var(--muted); }
.pillar code {
  color: var(--green);
  font-size: 0.85rem;
}

/* ===== Commands ===== */
.commands__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.cmd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.cmd-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  transition: transform 0.18s, border-color 0.2s;
}
.cmd-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 124, 246, 0.45);
}
.cmd-card--accent {
  border-color: rgba(74, 222, 128, 0.4);
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.07), var(--panel));
}
.cmd-card__name {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}
.cmd-card p { font-size: 0.82rem; color: var(--muted); }

/* ===== Orb ===== */
.orb__card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.orb__card::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.18), transparent 70%);
  left: 40px; top: -60px;
  filter: blur(20px);
}
.orb__visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.orb__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 1.6rem;
  border-radius: 8px;
  background: linear-gradient(140deg, #2a3a34, #1c2622);
  border: 1px solid rgba(74, 222, 128, 0.25);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.25);
  animation: float 6s ease-in-out infinite;
}
.orb__spark {
  width: 30px; height: 30px;
  color: #8be9c0;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.7));
}
.orb__chip-text {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: #8be9c0;
}
.orb__copy { position: relative; z-index: 1; }
.orb__models {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.45rem;
}
.orb__models-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.orb__cmd {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
.orb__copy h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--white);
  font-weight: 800;
  margin: 0.3rem 0 0.8rem;
}
.orb__copy p { color: var(--muted); max-width: 520px; }
.orb__list {
  list-style: none;
  margin-top: 1.2rem;
  display: grid;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--text);
}

/* ===== Install ===== */
.install__panel {
  max-width: 760px;
  margin: 0 auto;
}
.install__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: -1px;
}
.tab {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.tab--active {
  color: var(--green);
  background: var(--panel-2);
}
.install__body {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 0 8px 8px 8px;
  padding: 1.2rem;
}
.codeblock {
  position: relative;
}
.codeblock pre {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding-right: 4.5rem;
}
.copy-btn {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.copy-btn:hover { color: var(--green); border-color: var(--green); }
.install__note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--dim);
  margin-top: 1.2rem;
}

/* ===== CTA banner ===== */
.cta-banner {
  padding-top: 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 2.5rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(74, 222, 128, 0.12), transparent 50%),
    var(--panel);
}
.cta-banner__title {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  line-height: 1.1;
}
.cta-banner__sub {
  font-family: var(--mono);
  color: var(--muted);
  margin-top: 0.6rem;
}

/* ===== Footer ===== */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--white);
}
.brand__mark--footer {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 0.78rem;
}
.footer__tag {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green);
  color: #04210f;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
}
.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--in {
  opacity: 1;
  transform: none;
}

.section-sub--center { margin-left: auto; margin-right: auto; }

/* ===== Feature detail sections ===== */
.feature-detail__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-detail__inner--reverse .feature-detail__copy { order: 2; }
.feature-detail__inner--reverse .feature-detail__visual { order: 1; }
.feature-detail__copy h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  color: var(--white);
  letter-spacing: -0.03em;
  margin-top: 0.4rem;
  font-weight: 800;
}

.feat-list {
  margin-top: 1.8rem;
  display: grid;
  gap: 1.2rem;
}
.feat-list__item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.feat-list__mark {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--green);
  margin-top: 0.1rem;
}
.feat-list__item h4 {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
}
.feat-list__item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Mini terminal */
.mini-term {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.mini-term__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.mini-term__title {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--dim);
  margin-left: 0.5rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-term__body {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--text);
  padding: 1.1rem 1.2rem;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ===== Security band ===== */
.security__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.security__card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.6rem;
  text-align: center;
}
.security__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.security__icon svg { width: 24px; height: 24px; }
.security__card h3 {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
}
.security__card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Footer copyright */
.footer__copy {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--dim);
  margin-top: 0.4rem;
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .nav__menu-btn { display: flex; }
  .mobile-menu {
    position: sticky;
    top: 67px;
    z-index: 45;
  }
  .hero__grid { grid-template-columns: 1fr; }
  .commands__inner { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .orb__card { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.4rem; }
  .orb__list { justify-items: center; }
  .feature-detail__inner { grid-template-columns: 1fr; gap: 2rem; }
  .feature-detail__inner--reverse .feature-detail__copy { order: 1; }
  .feature-detail__inner--reverse .feature-detail__visual { order: 2; }
  .security__grid { grid-template-columns: 1fr; }
}
@media (min-width: 921px) {
  .mobile-menu:not([hidden]) { display: none; }
}
@media (max-width: 720px) {
  main { padding: 0 1rem; }
  .nav {
    gap: 0.7rem;
    padding: 0.75rem 1rem;
  }
  .brand {
    min-width: 0;
    font-size: 0.94rem;
  }
  .brand__mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 0.78rem;
  }
  .brand__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero { padding-top: 1.5rem; }
  .ticker {
    margin-right: -1rem;
    margin-left: -1rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .hero__title {
    font-size: clamp(2.4rem, 14vw, 3.6rem);
    line-height: 1.02;
  }
  .hero__cta {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero__cta .btn,
  .cta-banner__inner .btn {
    width: 100%;
    white-space: normal;
  }
  .hero__points {
    display: grid;
    gap: 0.5rem;
  }
  .terminal__body {
    min-height: 230px;
    overflow-x: auto;
    font-size: 0.76rem;
  }
  .install__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
  }
  .tab {
    flex: 0 0 auto;
    border-bottom: 1px solid var(--border);
    border-radius: 8px;
  }
  .install__body { border-radius: 8px; }
  .codeblock pre {
    padding-top: 2.1rem;
    padding-right: 0;
    font-size: 0.78rem;
  }
  .copy-btn {
    top: 0;
    left: 0;
    right: auto;
  }
  .cta-banner__inner {
    align-items: stretch;
  }
}
@media (max-width: 560px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .cmd-grid { grid-template-columns: 1fr; }
  .nav__actions { display: none; }
  .nav__actions .badge { display: none; }
  .cta-banner__inner { padding: 1.8rem; }
  section { padding: 3.2rem 0; }
  .mini-term__body { font-size: 0.74rem; }
  .orb__card {
    padding: 1.4rem 1rem;
    text-align: left;
  }
  .orb__visual { justify-content: flex-start; }
  .orb__list { justify-items: start; }
  .mobile-menu { top: 59px; }
}
@media (max-width: 380px) {
  .brand__text {
    max-width: 170px;
  }
  .hero__title {
    font-size: 2.3rem;
  }
  .tagline-pill {
    width: 100%;
    border-radius: 8px;
  }
}

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