:root {
  --bg: #060403;
  --bg-soft: #0c0807;
  --card: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f6f2ee;
  --muted: #8c8178;
  --muted-2: #c4b9af;
  --orange: #ff7a14;
  --amber: #ff9438;
  --ember: #ff5a1f;
  --red: #a22904;
  --blue: #0098f3;
  --blue-soft: #38b6ff;
  --radius: 22px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

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

h1, h2, h3, .banner__title, .section__title, .hero__title, .cta__title {
  font-family: var(--font-head);
  letter-spacing: -.025em;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: linear-gradient(100deg, var(--orange), var(--ember) 34%, var(--red) 56%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.page-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 10% 8%, rgba(255,137,24,.14), transparent 60%),
    radial-gradient(55% 45% at 92% 4%, rgba(0,152,243,.16), transparent 60%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; font-weight: 600; font-size: 14px;
  padding: 11px 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn svg { display: block; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--orange), var(--ember));
  box-shadow: 0 10px 28px rgba(255,90,31,.28);
}
.btn--primary:hover { box-shadow: 0 14px 34px rgba(255,90,31,.42); }
.btn--outline { color: var(--text); border-color: var(--card-border); background: rgba(255,255,255,.02); }
.btn--outline:hover { border-color: rgba(255,122,20,.45); color: var(--orange); }
.btn--ghost { color: var(--muted-2); }
.btn--ghost:hover { color: var(--text); }
.btn--github { color: var(--text); border-color: var(--card-border); background: rgba(255,255,255,.03); }
.btn--github:hover { border-color: rgba(255,255,255,.22); }
.btn__star { display: inline-flex; align-items: center; gap: 5px; padding-left: 9px; margin-left: 3px; border-left: 1px solid var(--card-border); color: var(--muted-2); font-weight: 500; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--card-border); background: rgba(255,255,255,.03);
}
.pill--mini { font-size: 10.5px; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(6,4,3,.6); border-bottom: 1px solid rgba(255,255,255,.05); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__logo {
  width: 26px; height: 26px; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0,152,243,.35));
}
.brand__name { font-size: 16px; letter-spacing: -.01em; font-family: var(--font-head); }
.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a { color: var(--muted-2); font-size: 14px; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 78px 0 0; z-index: 1; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -10% 0 auto 0; height: 820px; z-index: -2;
  background:
    radial-gradient(40% 55% at 6% 30%, rgba(255,137,24,.20), transparent 60%),
    radial-gradient(38% 48% at 22% 12%, rgba(162,41,4,.16), transparent 60%),
    radial-gradient(46% 60% at 92% 6%, rgba(0,152,243,.18), transparent 58%);
  filter: blur(2px);
}
.hero__beams {
  position: absolute; top: -140px; right: -120px; width: 820px; height: 860px; z-index: -1; pointer-events: none;
  background:
    linear-gradient(116deg, transparent 45%, rgba(56,182,255,.55) 46.4%, transparent 48%),
    linear-gradient(116deg, transparent 50%, rgba(0,152,243,.45) 51.3%, transparent 53%),
    linear-gradient(116deg, transparent 56%, rgba(255,138,40,.5) 57.4%, transparent 59%),
    linear-gradient(116deg, transparent 61%, rgba(255,137,24,.4) 62%, transparent 64%),
    linear-gradient(116deg, transparent 67%, rgba(56,182,255,.32) 68%, transparent 70%);
  filter: blur(3px);
  -webkit-mask: radial-gradient(78% 78% at 100% 0%, #000 28%, transparent 76%);
  mask: radial-gradient(78% 78% at 100% 0%, #000 28%, transparent 76%);
}
.hero__inner { text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.hero__title { font-size: clamp(40px, 6.4vw, 76px); font-weight: 600; line-height: 1.02; margin: 22px 0 0; }
.hero__sub { color: var(--muted-2); max-width: 540px; margin: 22px 0 0; font-size: 17px; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; justify-content: flex-start; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero__note b { color: var(--muted-2); font-weight: 600; }

/* hero mock */
.mock { position: relative; width: 100%; max-width: 960px; margin: 72px auto 0; min-height: 400px; }
.mock--center { min-height: 0; margin-top: 40px; }
.mock__app {
  border-radius: 16px; overflow: hidden; text-align: left;
  width: 62%; margin-left: 0;
  box-shadow: 0 40px 90px rgba(0,0,0,.7);
  outline: 1px solid rgba(255,255,255,.04); outline-offset: -1px;
}
.mock--center .mock__app { width: 100%; max-width: 760px; margin: 0 auto; }
.mock__app--wide { width: 100%; }
.mock__titlebar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl--r { background: #ff5f57; } .tl--y { background: #febc2e; } .tl--g { background: #28c840; }
.mock__appname { margin-left: 8px; font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-family: "Fragment Mono", "JetBrains Mono", monospace; }
.mock__newchat { margin: 12px; padding: 8px 12px; font-size: 12px; color: var(--muted-2); border: 1px dashed rgba(255,255,255,.12); border-radius: 10px; }
.mock__list { list-style: none; padding: 0 12px 14px; display: grid; gap: 7px; }
.mock__list li { font-size: 12px; color: var(--muted); padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.025); }
.mock__prompt {
  position: absolute; right: 0; bottom: 8%; width: 52%; z-index: 3;
  border-radius: 14px; padding: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,.7);
  outline: 1px solid rgba(255,255,255,.05); outline-offset: -1px;
}
.mock__promptbar { display: flex; align-items: center; justify-content: space-between; }
.mock__model { font-size: 12px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 6px; }
.mock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .5; }
.mock__type { margin: 16px 0; font-size: 14px; font-family: "Fragment Mono", "JetBrains Mono", monospace; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--orange); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 11px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--muted-2); }
.chip--send { margin-left: auto; background: linear-gradient(180deg,var(--orange),var(--ember)); color: #fff; font-weight: 600; }
.mock__chatpane { padding: 16px; display: grid; gap: 12px; }

/* ---------- Trusted ---------- */
.trusted { padding: 72px 0; text-align: center; position: relative; z-index: 1; overflow: hidden; }
.trusted__label { color: var(--muted); font-size: 13px; }
.logos-track {
  display: flex; gap: 56px; width: max-content; margin-top: 30px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: marquee 30s linear infinite;
}
.trusted:hover .logos-track { animation-play-state: paused; }
.logos { display: flex; align-items: center; gap: 56px; flex: 0 0 auto; }
.logo { font-size: 20px; font-weight: 700; color: rgba(255,255,255,.32); letter-spacing: -.02em; white-space: nowrap; transition: color .25s; }
.logo:hover { color: rgba(255,255,255,.6); }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .logos-track { animation: none; }
}

/* ---------- Section ---------- */
.section { padding: 84px 0; position: relative; z-index: 1; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section__title { font-size: clamp(28px, 4vw, 46px); font-weight: 700; line-height: 1.08; }
.section__lead { color: var(--muted-2); font-size: 16px; max-width: 560px; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px; transition: border-color .25s, transform .25s var(--ease);
}
.card:hover { border-color: rgba(255,122,20,.30); transform: translateY(-3px); }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted-2); font-size: 14.5px; }
.card--media .card__visual { height: 200px; border-radius: 16px; margin-bottom: 22px; position: relative; overflow: hidden; }

.visual--integrations { background: radial-gradient(circle at 30% 40%, rgba(0,152,243,.22), transparent 55%), radial-gradient(circle at 70% 60%, rgba(255,137,24,.18), #0c0807 70%); }
.visual--flow { background: radial-gradient(circle at 50% 50%, rgba(255,90,31,.18), #0c0807 70%); }
.visual--chat { background: linear-gradient(160deg, #101418, #0c0807); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 20px; }
.visual--multi { background: radial-gradient(circle at 30% 120%, rgba(0,152,243,.30), transparent 55%), radial-gradient(circle at 70% 120%, rgba(162,41,4,.30), #0c0807 70%); }

/* orbit */
.orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit::before, .orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.orbit::before { width: 130px; height: 130px; }
.orbit::after { width: 210px; height: 210px; }
.orbit__core { width: 46px; height: 46px; border-radius: 50%; background:
    radial-gradient(130% 130% at 80% 50%, var(--orange), transparent 46%),
    radial-gradient(130% 130% at 20% 50%, var(--blue), transparent 46%),
    radial-gradient(circle at 48% 40%, #11151a, #05070a 72%);
  box-shadow: inset 0 0 8px rgba(0,0,0,.8), 0 0 30px rgba(0,152,243,.4); animation: spin 8s linear infinite; }
.orbit--alt .orbit__core { animation-direction: reverse; }
.orbit__node { position: absolute; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--card-border); }
.n1 { transform: translate(-95px,0); } .n2 { transform: translate(95px,-30px); }
.n3 { transform: translate(70px,55px); } .n4 { transform: translate(-70px,55px); }
.n5 { transform: translate(0,-95px); }
@keyframes spin { to { transform: rotate(360deg); } }

.bubble { font-size: 12.5px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); max-width: 80%; }
.bubble--ai { background: rgba(0,152,243,.12); border: 1px solid rgba(0,152,243,.3); align-self: flex-end; display: grid; gap: 5px; }
.bubble--user { background: rgba(255,255,255,.06); justify-self: start; }
.bubble__row { display: flex; justify-content: space-between; font-size: 11px; }
.bubble__row em { color: var(--muted); font-style: normal; }
.bubble__note { font-size: 11px; color: var(--muted); }
.wave { position: absolute; inset: auto 0 0 0; height: 60%; background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,137,24,.20) 10px 11px); mask: radial-gradient(120% 100% at 50% 100%, #000 40%, transparent 75%); }

/* ---------- Banner ---------- */
.banner { padding: 64px 0 44px; text-align: center; position: relative; z-index: 1; }
.banner__title { font-size: clamp(48px, 9vw, 124px); font-weight: 700; }
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.tab { font-size: 13px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--card-border); color: var(--muted-2); }
.tab--on { background: rgba(255,137,24,.14); border-color: rgba(255,137,24,.42); color: var(--amber); }

/* ---------- Rows ---------- */
.rows { display: grid; gap: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.row--rev .row__text { order: 2; }
.row__text h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin-bottom: 14px; }
.row__text p { color: var(--muted-2); font-size: 16px; margin-bottom: 20px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted-2); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(180deg,var(--orange),var(--ember)); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.row__media { border-radius: var(--radius); padding: 14px; display: flex; }
.mini {
  flex: 1; min-height: 290px; border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
  position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.05);
}
.mini--cmd { justify-content: flex-start; gap: 14px; background: radial-gradient(120% 90% at 20% 0%, rgba(255,137,24,.16), transparent 60%), #0b0706; }
.mini--trig { justify-content: center; gap: 10px; background: radial-gradient(120% 90% at 80% 0%, rgba(0,152,243,.16), transparent 60%), #0b0706; }
.mini--chat { justify-content: center; gap: 10px; background: radial-gradient(120% 90% at 50% 110%, rgba(255,90,31,.16), transparent 60%), #0b0706; }

/* command mock */
.mini__bar { display: flex; align-items: center; justify-content: space-between; }
.mini__model { font-size: 12px; color: var(--muted-2); }
.mini__cmd { font-family: "Fragment Mono", "JetBrains Mono", monospace; font-size: 13.5px; line-height: 1.5; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--card-border); }
.mini__result { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 12px; background: rgba(45,198,83,.10); border: 1px solid rgba(45,198,83,.30); }
.mini__result b { font-size: 13px; display: block; }
.mini__result span { font-size: 11px; color: var(--muted); }
.mini__check { width: 22px; height: 22px; border-radius: 50%; background: #2dc653; position: relative; flex: 0 0 auto; }
.mini__check::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* triggers mock */
.trig { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--card-border); }
.trig__ico { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: rgba(255,137,24,.14); border: 1px solid rgba(255,137,24,.30); color: var(--amber); }
.trig__ico svg { width: 19px; height: 19px; }
.trig__meta { display: flex; flex-direction: column; margin-right: auto; min-width: 0; }
.trig__meta b { font-size: 13px; font-weight: 600; }
.trig__meta span { font-size: 11px; color: var(--muted); }
.switch { width: 36px; height: 21px; flex: 0 0 auto; border-radius: 999px; background: rgba(255,255,255,.13); position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s var(--ease); }
.switch--on { background: linear-gradient(180deg, var(--orange), var(--ember)); }
.switch--on::after { left: 17.5px; }

/* chat mock */
.mini--chat .bubble { max-width: 84%; font-size: 13px; }
.mini--chat .bubble--user { align-self: flex-start; }
.mini--chat .bubble--ai { align-self: flex-end; display: block; }

/* ---------- Integrations ---------- */
.section--int .section__head a { margin-top: 6px; }
.int-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.int-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 26px 10px; background: var(--card); border: 1px solid var(--card-border); border-radius: 18px;
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.int-cell:hover { border-color: rgba(255,122,20,.4); transform: translateY(-4px); background: rgba(255,255,255,.05); }
.int-cell__icon { width: 46px; height: 46px; display: block; }
.int-cell__icon svg { width: 100%; height: 100%; border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.int-cell__name { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.int-cell:hover .int-cell__name { color: var(--text); }

/* ---------- Carousel ---------- */
.carousel { display: flex; align-items: stretch; gap: 16px; }
.carousel__track { flex: 1; min-width: 0; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel__track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; min-width: 360px; max-width: 360px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-size: 16px; color: var(--muted-2); }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__ava { width: 42px; height: 42px; border-radius: 50%; background:
    radial-gradient(130% 130% at 80% 50%, var(--orange), transparent 46%),
    radial-gradient(130% 130% at 20% 50%, var(--blue), transparent 46%),
    radial-gradient(circle at 48% 40%, #11151a, #05070a 72%); }
.quote__name { font-weight: 600; font-size: 14px; }
.quote__role { font-size: 12px; color: var(--muted); }
.carousel__btn { flex: 0 0 46px; width: 46px; border-radius: 50%; border: 1px solid var(--card-border); background: rgba(255,255,255,.03); color: var(--text); font-size: 22px; cursor: pointer; align-self: center; transition: .2s; }
.carousel__btn:hover { border-color: rgba(255,122,20,.4); color: var(--orange); }

/* ---------- Steps ---------- */
.steps .step { text-align: center; padding-top: 36px; }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px; font-weight: 700; background: linear-gradient(180deg, rgba(255,137,24,.22), rgba(162,41,4,.12)); border: 1px solid rgba(255,137,24,.42); color: var(--amber); font-family: var(--font-head); }

/* ---------- Download center ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 880px; margin: 0 auto; }
.dl-card { position: relative; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 22px; transition: border-color .25s, transform .25s var(--ease); }
.dl-card--active { background: linear-gradient(180deg, rgba(255,122,20,.06), rgba(0,152,243,.05)); border-color: rgba(255,122,20,.28); }
.dl-card--active:hover { transform: translateY(-4px); border-color: rgba(255,122,20,.5); }
.dl-card--soon { opacity: .82; }
.dl-card__top { display: flex; align-items: center; gap: 16px; }
.dl-card__logo { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--card-border); color: var(--text); }
.dl-card__logo svg { width: 26px; height: 26px; }
.dl-card__top h3 { font-size: 22px; font-weight: 700; font-family: var(--font-head); }
.dl-card__meta { font-size: 13px; color: var(--muted); }
.dl-card__specs { list-style: none; display: grid; gap: 11px; }
.dl-card__specs li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted-2); }
.dl-card__specs li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 5px; background: linear-gradient(180deg, var(--orange), var(--ember)); }
.dl-card__specs li::after { content: ""; position: absolute; left: 4.5px; top: 8.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dl-card--soon .dl-card__specs li::before { background: rgba(255,255,255,.14); }
.dl-card--soon .dl-card__specs li::after { display: none; }
.dl-card__cta { margin-top: auto; width: 100%; }
.dl-card__cta:disabled { cursor: not-allowed; opacity: .7; }
.dl-card__cta:disabled:hover { transform: none; border-color: var(--card-border); color: var(--text); }
.dl-card__mirror { font-size: 13px; color: var(--muted); text-align: center; transition: color .2s; }
.dl-card__mirror:hover { color: var(--orange); }
.dl-badge { position: absolute; top: 18px; right: 18px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-soft); background: rgba(0,152,243,.12); border: 1px solid rgba(0,152,243,.32); padding: 5px 11px; border-radius: 999px; }

/* ---------- Open source band ---------- */
.oss { padding: 24px 0 0; position: relative; z-index: 1; }
.oss__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; border-radius: var(--radius); padding: 36px 40px; position: relative; overflow: hidden; }
.oss__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 12% 0%, rgba(255,137,24,.18), transparent 55%), radial-gradient(55% 120% at 92% 100%, rgba(0,152,243,.22), transparent 55%); }
.oss__text h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; }
.oss__text p { color: var(--muted-2); margin-top: 10px; max-width: 520px; }
.oss__stats { display: flex; gap: 16px; margin-top: 18px; }
.oss__stat { font-size: 13px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 7px; }
.oss__stat b { color: var(--text); }
.oss__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__aside { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; text-align: left; }
.faq__aside .section__title { text-align: left; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--card-border); border-radius: 14px; background: var(--card); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); font-size: 16px; font-weight: 500; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__q span { color: var(--muted); font-size: 22px; transition: transform .25s; }
.faq__item.open .faq__q span { transform: rotate(45deg); color: var(--amber); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a p { padding: 0 22px 20px; color: var(--muted-2); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { padding: 44px 0 100px; position: relative; z-index: 1; }
.cta__inner { position: relative; border-radius: 32px; padding: 72px 24px; text-align: center; overflow: hidden; }
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 24% 120%, rgba(255,137,24,.30), transparent 60%), radial-gradient(55% 80% at 78% 120%, rgba(0,152,243,.26), transparent 60%), radial-gradient(50% 60% at 50% -10%, rgba(162,41,4,.24), transparent 60%); }
.cta__title { font-size: clamp(30px, 5vw, 52px); font-weight: 700; }
.cta__sub { color: var(--muted-2); max-width: 520px; margin: 16px auto 0; }
.cta .hero__cta { margin-top: 30px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255,255,255,.06); padding: 56px 0 30px; position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 240px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted-2); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); color: var(--muted); font-size: 13px; }
.footer__social { display: flex; gap: 18px; }
.footer__social a { color: var(--muted-2); }
.footer__social a:hover { color: var(--amber); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .grid--features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav__inner { gap: 16px; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; position: absolute; top: 66px; left: 12px; right: 12px;
    flex-direction: column; padding: 16px 18px; gap: 6px;
    background: rgba(10,7,6,.97); border: 1px solid var(--card-border);
    border-radius: 16px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
  }
  .nav__links.open a { padding: 11px 6px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav__links.open a:last-child { border-bottom: 0; }
  .nav__actions .btn--github { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .int-grid { grid-template-columns: repeat(4, 1fr); }
  .faq__layout { grid-template-columns: 1fr; gap: 28px; }
  .oss__inner { padding: 28px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 40px; gap: 14px; }
  .grid-2, .grid-3, .grid--features { grid-template-columns: 1fr; }
  .row, .row--rev .row__text { grid-template-columns: 1fr; order: 0; }
  .row { gap: 24px; }
  .row__media { order: -1; }
  .mini { min-height: 220px; }

  /* hero */
  .hero { padding: 52px 0 0; }
  .hero__title br { display: none; }
  .hero__sub { font-size: 16px; }
  .hero__cta { width: 100%; gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__beams { display: none; }
  .hero__bg { height: 520px; }

  /* carousel: swipe instead of arrows */
  .carousel__btn { display: none; }

  /* product mock stacks cleanly */
  .mock { display: flex; flex-direction: column; gap: 16px; margin-top: 44px; min-height: 0; }
  .mock__app, .mock__app--wide { width: 100%; }
  .mock__prompt { position: static; width: 100%; right: auto; bottom: auto; order: -1; }

  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-grid { grid-template-columns: 1fr; }
  .oss__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .oss__actions { width: 100%; }
  .oss__actions .btn { flex: 1 1 auto; }
  .quote { min-width: 84vw; max-width: 84vw; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .nav__actions { display: none; }
  .section { padding: 56px 0; }
  .pill { font-size: 10px; padding: 6px 12px; }
  .banner { padding: 40px 0 28px; }
  .tabs { gap: 8px; }
  .tab { font-size: 12px; padding: 8px 13px; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { padding: 48px 20px; border-radius: 24px; }
  .cta .hero__cta { width: 100%; }
  .cta .hero__cta .btn { flex: 1 1 100%; }
  .oss__stats { flex-wrap: wrap; gap: 12px; }
  .dl-card { padding: 24px; }
}
@media (max-width: 400px) {
  .footer__grid { grid-template-columns: 1fr; }
  .logo { font-size: 17px; }
}
