/* Vajrra — site styles. Storm-indigo ground, electric violet/blue light,
   gold used sparingly (the vajra's grip). Editorial serif for display,
   Geist for everything else. */

:root {
  --bg: #06041a;
  --bg-2: #0a0724;
  --bg-3: #110c33;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eeebff;
  --muted: #a7a2cc;
  --faint: #6f6a96;
  --violet: #8b6cff;
  --violet-2: #b7a6ff;
  --blue: #5aa9ff;
  --cyan: #74e4ff;
  --gold: #e9b45f;
  --cream: #f6f1e7;
  --cream-ink: #1b1530;
  --cream-muted: #5f5876;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 18px;
  --radius-lg: 28px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 10px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet-2);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7.4vw, 96px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 18px 0 0;
}
.display em, .h2 em { font-style: italic; color: transparent; background: linear-gradient(100deg, var(--violet-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.015em;
  margin: 14px 0 0;
}
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 620px; margin: 22px 0 0; }
.section-head { max-width: 760px; }
.section-head .lede { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--text); color: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 40px -10px rgba(139, 108, 255, 0.7);
}
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 14px 50px -10px rgba(116, 228, 255, 0.7); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.3); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(6, 4, 26, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(6, 4, 26, 0.82); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.02em; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14.5px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 900px; z-index: -1;
  background:
    radial-gradient(600px 400px at 72% 38%, rgba(139, 108, 255, 0.32), transparent 70%),
    radial-gradient(500px 360px at 90% 10%, rgba(90, 169, 255, 0.18), transparent 70%),
    radial-gradient(700px 500px at 10% 0%, rgba(139, 108, 255, 0.12), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy .lede { max-width: 560px; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--faint); font-family: var(--mono); letter-spacing: 0.02em; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-art {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: float 9s ease-in-out infinite; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(closest-side at 55% 45%, rgba(116, 228, 255, 0.18), transparent 70%);
  mix-blend-mode: screen; animation: pulse 4.5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: scale(1.12) translate(0, 0); } 50% { transform: scale(1.12) translate(-6px, -10px); } }
@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }


/* ---------- works-with strip ---------- */
.works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.works-inner { display: flex; align-items: center; gap: 28px; }
.works-label { flex: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 36s linear infinite; }
.marquee-track span { font-size: 19px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 56px; }
.stat { background: var(--bg); padding: 30px 26px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 58px); line-height: 1; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* industries */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  color: var(--muted); font-size: 14.5px; cursor: pointer; transition: all 0.2s ease;
}
.tab:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.panel {
  margin-top: 22px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.panel[hidden] { display: none; }
.panel-copy { padding: clamp(28px, 4vw, 48px); }
.panel-copy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 12px 0 0; letter-spacing: -0.01em; }
.panel-copy > p { color: var(--muted); margin: 14px 0 0; }
.uses { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.uses li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; }
.uses li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 4px; background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 0 12px rgba(116, 228, 255, 0.5); }
.panel-visual { position: relative; border-left: 1px solid var(--line); padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 12px; background:
  radial-gradient(400px 300px at 80% 20%, rgba(139, 108, 255, 0.18), transparent 70%); }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line); }
.msg.user { align-self: flex-end; background: var(--surface-2); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: rgba(139, 108, 255, 0.12); border-color: rgba(139, 108, 255, 0.3); border-bottom-left-radius: 6px; }
.msg .tag { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--violet-2); margin-bottom: 4px; }
.approval { align-self: flex-start; width: 88%; border: 1px solid rgba(233, 180, 95, 0.35); background: rgba(233, 180, 95, 0.08); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; }
.approval b { color: var(--gold); font-weight: 600; }
.approval .row { display: flex; gap: 8px; margin-top: 10px; }
.approval .row span { padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.approval .row span:first-child { background: var(--text); color: var(--bg); }
.approval .row span:last-child { border: 1px solid var(--line-2); color: var(--muted); }

/* products */
.products { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; margin-top: 52px; }
.product {
  position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden;
  padding: clamp(28px, 4vw, 44px); background: var(--bg-2); min-height: 420px; display: flex; flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.product:hover { border-color: var(--line-2); }
.product.flagship {
  background:
    radial-gradient(500px 360px at 90% 0%, rgba(139, 108, 255, 0.35), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, rgba(90, 169, 255, 0.16), transparent 70%),
    var(--bg-2);
}
.pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); }
.pill .live { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 60px); line-height: 1; margin: 22px 0 0; letter-spacing: -0.015em; }
.product .sub { color: var(--muted); margin: 8px 0 0; font-size: 15px; font-family: var(--mono); letter-spacing: 0.02em; }
.product > p { color: var(--muted); margin: 18px 0 0; max-width: 520px; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.feature-chips span { padding: 7px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; }
.product .btn { margin-top: auto; align-self: flex-start; }
.product .spacer { flex: 1; min-height: 28px; }
.product.soon { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 12px, transparent 12px 24px), var(--bg-2); }
.product.soon h3 { color: var(--muted); }
.forge { display: grid; gap: 10px; margin-top: 22px; }
.forge div { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--faint); font-size: 14px; }
.forge div span:last-child { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }

/* principles bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 52px; }
.tile { grid-column: span 2; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg-2); position: relative; overflow: hidden; }
.tile.wide { grid-column: span 3; }
.tile .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(139, 108, 255, 0.25), rgba(90, 169, 255, 0.15)); border: 1px solid rgba(139, 108, 255, 0.35); color: var(--violet-2); }
.tile h3 { font-size: 18px; font-weight: 600; margin: 18px 0 0; letter-spacing: -0.01em; }
.tile p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 240px; height: 240px; background: radial-gradient(closest-side, rgba(139, 108, 255, 0.16), transparent); pointer-events: none; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; counter-reset: step; }
.step { padding: 28px; border-top: 1px solid var(--line-2); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 13px; color: var(--violet-2); letter-spacing: 0.1em; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; margin: 16px 0 0; }
.step p { color: var(--muted); margin: 10px 0 0; }

/* origin (light) */
.origin { background: var(--cream); color: var(--cream-ink); }
.origin .eyebrow { color: #6a4fe0; }
.origin .h2 em { background: linear-gradient(100deg, #6a4fe0, #2f7fe0); -webkit-background-clip: text; background-clip: text; }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.origin p { color: var(--cream-muted); font-size: 17.5px; line-height: 1.7; margin: 0 0 18px; }
.origin .quote { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; color: var(--cream-ink); margin: 28px 0 0; padding-left: 20px; border-left: 2px solid #6a4fe0; }
.glossary { display: grid; gap: 14px; margin-top: 8px; }
.glossary div { padding: 18px 20px; border: 1px solid rgba(27, 21, 48, 0.12); border-radius: 16px; background: rgba(255, 255, 255, 0.6); }
.glossary dt { font-family: var(--serif); font-size: 26px; color: var(--cream-ink); }
.glossary dt small { font-family: var(--sans); font-size: 16px; color: #6a4fe0; margin-left: 10px; }
.glossary dd { margin: 4px 0 0; color: var(--cream-muted); font-size: 15px; }

/* final CTA */
.final { text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 300px at 50% 100%, rgba(139, 108, 255, 0.35), transparent 70%),
  radial-gradient(400px 200px at 50% 110%, rgba(116, 228, 255, 0.25), transparent 70%); }
.final .h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
.final .lede { margin-left: auto; margin-right: auto; }
.contact-form { display: flex; gap: 10px; max-width: 520px; margin: 36px auto 0; padding: 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); }
.contact-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 15px; padding: 0 18px; }
.contact-form input::placeholder { color: var(--faint); }
.contact-form input:focus { outline: none; }
.contact-form:focus-within { border-color: var(--violet-2); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--faint); min-height: 20px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer p { color: var(--muted); font-size: 14.5px; max-width: 320px; margin: 14px 0 0; }
.footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 6px 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.wordmark { font-family: var(--serif); font-size: clamp(90px, 20vw, 280px); line-height: 0.8; letter-spacing: -0.03em; text-align: center; margin-top: 56px; color: transparent; background: linear-gradient(180deg, rgba(183, 166, 255, 0.35), rgba(183, 166, 255, 0)); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* product page */
.page-hero { padding: clamp(64px, 10vw, 120px) 0 clamp(40px, 6vw, 70px); text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -10% 0 auto; height: 700px; z-index: -1; background:
  radial-gradient(640px 380px at 50% 30%, rgba(139, 108, 255, 0.3), transparent 70%); }
.page-hero .lede { margin-left: auto; margin-right: auto; }
.page-hero .cta-row { justify-content: center; }
.app-frame {
  margin: clamp(48px, 7vw, 80px) auto 0; max-width: 1040px; border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); box-shadow: 0 40px 120px -40px rgba(139, 108, 255, 0.55); overflow: hidden; text-align: left;
}
.app-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.app-bar b { margin-left: 12px; font-size: 12.5px; font-weight: 500; color: var(--faint); }
.app-body { display: grid; grid-template-columns: 250px 1fr; min-height: 420px; }
.app-side { border-right: 1px solid var(--line); padding: 12px; display: grid; align-content: start; gap: 4px; }
.contact { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; font-size: 13.5px; }
.contact.active { background: var(--surface-2); }
.contact .av { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--bg); }
.contact small { display: block; color: var(--faint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.app-chat { padding: 22px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.feature-grid .tile { grid-column: auto; }
.platforms { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; }
.platforms th, .platforms td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.platforms th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.platforms td:first-child { color: var(--text); }
.platforms td { color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }


/* downloads */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.download-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.download-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); }
.download-card.primary {
  background: radial-gradient(360px 200px at 100% 0%, rgba(139, 108, 255, 0.3), transparent 70%), var(--bg-2);
  border-color: rgba(139, 108, 255, 0.5);
}
.download-card strong { display: block; font-size: 17px; font-weight: 600; }
.download-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.download-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.download-icon svg { width: 22px; height: 22px; }
.download-card .arrow { font-size: 20px; color: var(--violet-2); }
.download-note { margin: 16px 0 0; color: var(--faint); font-size: 14px; }
.download-note b { color: var(--muted); font-weight: 500; }
.install-steps { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: install; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.install-steps li { counter-increment: install; padding: 22px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 15px; }
.install-steps li::before { content: "0" counter(install); display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--violet-2); }
.install-steps b { color: var(--text); font-weight: 600; }
.btn svg { flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .origin-grid, .products, .panel { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; }
  .panel-visual { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .steps, .feature-grid, .install-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu.open { display: grid; gap: 4px; padding: 8px var(--gutter) 18px; border-top: 1px solid var(--line); }
  .mobile-menu a { padding: 12px 4px; font-size: 17px; color: var(--muted); border-bottom: 1px solid var(--line); }
  .works-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .downloads { grid-template-columns: 1fr; }
  .contact-form { flex-direction: column; border-radius: 20px; }
  .contact-form input { height: 46px; }
  .contact-form .btn { width: 100%; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-primary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
