/* ===== Tokens ===== */
:root {
  --bg: #010a12;
  --bg-alt: #040d12;
  --accent: #FBCB2D;
  --accent-rgb: 251, 203, 45;
  --gold: var(--accent);
  --teal: #19ac9b;
  --card: #0a161d;
  --panel-a: #0b1620;
  --panel-b: #070f16;
  --inset: #0e1c25;
  --text: #f3f4f6;
  --text-soft: #cad9dd;
  --text-mut: #8ba2a8;
  --text-dim: #6f8a90;
  --text-faint: #54696e;
  --line: rgba(140, 180, 190, 0.12);
  --line-strong: rgba(140, 180, 190, 0.24);
  --line-soft: rgba(130, 170, 180, 0.07);
  --gold-soft: rgba(var(--accent-rgb), 0.5);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Spectral', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ===== Base ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
}

.accent {
  color: var(--gold);
}

.accent-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

@keyframes kallamo-cue {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }

  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

@keyframes kl-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes kl-twinkle {

  0%,
  100% {
    opacity: 0.25;
  }

  50% {
    opacity: 0.9;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(.2, .7, .2, 1), transform 0.85s cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ===== Shared bits ===== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow__line {
  width: 30px;
  height: 1px;
}

.eyebrow__line--l {
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow__line--r {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.kicker__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker__line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f1f5f5;
}

.btn-pill {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-pill--gold {
  background: var(--gold);
  color: #05121a;
  font-weight: 700;
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: 0 8px 26px -10px rgba(var(--accent-rgb), 0.7);
}

.btn-pill--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -8px rgba(var(--accent-rgb), 0.85);
}

.btn-pill--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #e7eeef;
  border: 1px solid rgba(140, 180, 190, 0.26);
  padding: 8px 16px;
}

.btn-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(140, 180, 190, 0.45);
  transform: translateY(-2px);
}

.btn-pill--lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-pill--gold.btn-pill--lg {
  box-shadow: 0 14px 40px -12px rgba(var(--accent-rgb), 0.7);
}

.btn-pill--gold.btn-pill--lg:hover {
  transform: translateY(-2px);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 52px);
}

.site-header__bg {
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(130, 170, 180, 0.12);
  pointer-events: none;
  transition: opacity 0.45s ease;
  opacity: 0;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand__mark {
  height: 38px;
  width: auto;
}

.brand__type {
  height: 25px;
  width: auto;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.site-nav__link {
  text-decoration: none;
  color: #aec2c7;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav__link:hover {
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 150vh;
  background: var(--bg);
}

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(125% 95% at 50% 32%, #0a1c2c 0%, #05121d 48%, #010a12 100%);
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 1300px;
  max-width: 130vw;
  height: 760px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0) 70%);
  pointer-events: none;
  transform: translateX(-50%);
}

.hero__twinkle {
  position: absolute;
  border-radius: 50%;
  background: #cfe3ea;
}

.hero__twinkle--a {
  left: 22%;
  top: 26%;
  width: 4px;
  height: 4px;
  opacity: 0.6;
  animation: kl-twinkle 3.4s ease-in-out infinite;
}

.hero__twinkle--b {
  left: 78%;
  top: 20%;
  width: 3px;
  height: 3px;
  opacity: 0.5;
  animation: kl-twinkle 4.2s ease-in-out infinite 0.6s;
}

.hero__twinkle--c {
  left: 64%;
  top: 34%;
  width: 3px;
  height: 3px;
  opacity: 0.5;
  animation: kl-twinkle 3.8s ease-in-out infinite 1.1s;
}

.hero__mockwrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.hero__mock {
  transform: scale(1);
  transform-origin: center center;
  will-change: transform, opacity;
}

.device {
  width: min(1020px, 90vw);
}

.device__screen {
  position: relative;
  background: linear-gradient(#11181e, #070d12);
  padding: 13px 13px 14px;
  border-radius: 18px 18px 5px 5px;
  border: 1px solid rgba(150, 185, 195, 0.18);
  box-shadow: 0 60px 150px -34px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 120px -22px rgba(var(--accent-rgb), 0.16);
}

.device__screen img {
  width: 100%;
  height: auto;
  border-radius: 7px;
}

.device__cam {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1c2a33;
}

.device__base {
  position: relative;
  height: 22px;
  width: 120%;
  margin-left: -10%;
  background: linear-gradient(#27343b, #0c161b 72%);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 44px 64px -26px rgba(0, 0, 0, 0.8);
}

.device__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 8px;
  background: #05090b;
  border-radius: 0 0 11px 11px;
}

.hero__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  pointer-events: none;
  transform: scale(1);
  will-change: transform, opacity;
}

.hero__textinner {
  position: relative;
  padding: 24px;
}

.hero__veil {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  max-width: 96vw;
  height: 560px;
  background: radial-gradient(closest-side, rgba(1, 8, 14, 0.82), rgba(1, 8, 14, 0) 72%);
  filter: blur(8px);
  pointer-events: none;
}

.hero__content {
  position: relative;
}

.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(48px, 8.4vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: #f6f8f8;
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.7);
}

.hero__title .accent-italic {
  color: var(--gold);
}

.hero__lede {
  max-width: 600px;
  margin: 30px auto 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--text-soft);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  pointer-events: auto;
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(1, 10, 18, 0), var(--bg));
  pointer-events: none;
  z-index: 6;
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 7;
}

.hero__cue-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.hero__cue-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: kallamo-cue 1.8s ease-in-out infinite;
}

/* ===== Statement ===== */
.statement {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: clamp(96px, 15vh, 190px) clamp(24px, 5vw, 40px);
  border-top: 1px solid var(--line-soft);
}

.statement__inner {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.statement__head {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #eef3f4;
}

.statement__head em {
  font-style: italic;
}

.statement__sub {
  max-width: 660px;
  margin: 30px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mut);
}

/* ===== Features ===== */
.features {
  position: relative;
  z-index: 2;
  background: var(--bg-alt);
  padding: clamp(90px, 13vh, 160px) clamp(24px, 5vw, 40px);
  border-top: 1px solid var(--line-soft);
}

.features__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.features__head {
  max-width: 760px;
  margin-bottom: 54px;
}

.features__head .section-title {
  font-weight: 500;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 22px;
}

.carousel__track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.5, 0, .15, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 6px;
}

.slide__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 18px;
}

.slide__title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.06;
  color: #eef3f4;
}

.slide__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mut);
  max-width: 440px;
}

.panel {
  position: relative;
  background: linear-gradient(var(--panel-a), var(--panel-b));
  border: 1px solid rgba(140, 180, 190, 0.14);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 40px 80px -44px rgba(0, 0, 0, 0.8);
  min-height: 322px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel--workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.wf-step {
  position: relative;
  width: 88%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(150, 185, 195, 0.16);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  image-rendering: -webkit-optimize-contrast;
}

.wf-step--1 {
  align-self: flex-start;
  margin-left: 2%;
}

.wf-step--2 {
  align-self: flex-end;
  margin-right: 2%;
}

.wf-step--3 {
  align-self: flex-start;
  margin-left: 6%;
}

.panel--kb-manager {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.kb-manager-screenshot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(150, 185, 195, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  image-rendering: -webkit-optimize-contrast;
  transition: width 0.2s ease, margin 0.2s ease;
}

@media (min-width: 768px) {
  .kb-manager-screenshot {
    width: 114%;
    margin-left: -14%;
  }
}

.panel--memory-screenshot {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.memory-screenshot {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 240px;
  border-radius: 12px;
  border: 1px solid rgba(150, 185, 195, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  image-rendering: -webkit-optimize-contrast;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .memory-screenshot {
    max-height: 300px;
  }
}

.portable-screenshot {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 280px;
  border-radius: 12px;
  border: 1px solid rgba(150, 185, 195, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  image-rendering: -webkit-optimize-contrast;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .portable-screenshot {
    max-height: 380px;
  }
}

.panel--rag {
  gap: 16px;
}

.panel--agent {
  gap: 13px;
}

.panel--memory {
  gap: 14px;
}

.panel--portable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.portable-tags-box {
  background: linear-gradient(var(--panel-a), var(--panel-b));
  border: 1px solid rgba(140, 180, 190, 0.14);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.portable-tags-box .pkg__ext {
  font-size: 9.5px;
  padding: 4px 10px;
  border-color: rgba(140, 180, 190, 0.15);
}

.panel--keys {
  gap: 11px;
}

.rag__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rag__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  background: var(--inset);
  border-radius: 11px;
}

.rag__row--blue {
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.rag__row--teal {
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.rag__name {
  font-size: 14px;
  color: #dbe6e9;
  font-weight: 600;
}

.rag__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.rag__fuse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.rag__rule {
  height: 1px;
  flex: 1;
  background: rgba(140, 180, 190, 0.25);
}

.rag__out {
  display: flex;
  justify-content: center;
}

.rag__chip {
  padding: 13px 22px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  border-radius: 11px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
}

.agent__line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.agent__kind {
  font-family: var(--font-mono);
  font-size: 11px;
}

.agent__kind--gold {
  color: var(--gold);
}

.agent__kind--teal {
  color: var(--teal);
}

.agent__say {
  font-size: 14px;
  color: #b8c8cc;
}

.agent__tools {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.agent__tool {
  font-size: 12.5px;
  color: #cdd9dc;
  padding: 8px 14px;
  background: rgba(140, 180, 190, 0.08);
  border: 1px solid rgba(140, 180, 190, 0.16);
  border-radius: 999px;
}

.agent__loop {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}

.mem__meter-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.mem__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--inset);
  overflow: hidden;
}

.mem__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.mem__blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mem__block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.mem__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.mem__name {
  font-size: 13.5px;
  color: #b8c8cc;
  flex: 1;
}

.mem__state {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
}

.kb__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: var(--inset);
  border: 1px solid rgba(140, 180, 190, 0.14);
  border-radius: 11px;
  font-size: 13px;
  color: var(--text-dim);
}

.kb__search-ic {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dim);
  flex: none;
}

.kb__file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.kb__type {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 5px;
}

.kb__type--pdf {
  color: #ff8c42;
  background: rgba(255, 140, 66, 0.12);
}

.kb__type--docx {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
}

.kb__type--txt {
  color: #93a9ae;
  background: rgba(147, 169, 174, 0.12);
}

.kb__name {
  font-size: 13.5px;
  color: #c8d6d9;
  flex: 1;
}

.kb__chunks {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--teal);
}

.pkg {
  border: 1px dashed rgba(var(--accent-rgb), 0.4);
  border-radius: 14px;
  padding: 20px;
  background: rgba(var(--accent-rgb), 0.04);
}

.pkg__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pkg__file {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
}

.pkg__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
}

.pkg__items {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pkg__item {
  font-size: 13px;
  color: #c8d6d9;
  padding: 9px 13px;
  background: var(--inset);
  border-radius: 9px;
}

.pkg__exts {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
}

.pkg__ext {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #93a9ae;
  padding: 7px 13px;
  border: 1px solid rgba(140, 180, 190, 0.2);
  border-radius: 999px;
}

.key__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.key__name {
  font-size: 13.5px;
  color: #dbe6e9;
  font-weight: 600;
  flex: 1;
}

.key__val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.key__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.key__note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 4px;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
}

.carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: #dbe6e9;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-soft);
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(150, 180, 190, 0.3);
  transition: width 0.3s ease, background 0.3s ease;
}

.carousel__dot.is-active {
  width: 24px;
  background: var(--gold);
}

/* ===== Providers marquee ===== */
.marquee-section {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: clamp(70px, 10vh, 120px) 0;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.marquee-section__head {
  max-width: 1180px;
  margin: 0 auto 38px;
  padding: 0 clamp(24px, 5vw, 40px);
}

.marquee-section__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__row {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: kl-marquee 38s linear infinite;
}

.marquee__row:hover {
  animation-play-state: paused;
}

.prov {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  white-space: nowrap;
}

.prov__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prov__name {
  font-size: 15px;
  font-weight: 600;
  color: #cdd9dc;
}

.prov__logo--oa {
  background: rgba(16, 185, 129, 0.16);
  color: #10b981;
}

.prov__logo--an {
  background: rgba(217, 119, 87, 0.16);
  color: #d97757;
}

.prov__logo--go {
  background: rgba(59, 130, 246, 0.16);
  color: #3b82f6;
}

.prov__logo--vx {
  background: rgba(25, 172, 155, 0.16);
  color: var(--teal);
}

.prov__logo--br {
  background: rgba(255, 140, 66, 0.16);
  color: #ff8c42;
}

.prov__logo--or {
  background: rgba(156, 39, 176, 0.18);
  color: #c264d4;
}

.prov__logo--ol {
  background: rgba(207, 227, 234, 0.14);
  color: #cfe3ea;
}

.prov__logo--lm {
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--gold);
}

.prov__ico {
  width: 20px;
  height: 20px;
  display: block;
}

.prov__logo svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* ===== Single download CTA (home) ===== */
.download__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.dlbtn-main {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--accent);
  color: #05121a;
  padding: 16px 30px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 16px 44px -14px rgba(var(--accent-rgb), 0.7);
  transition: transform 0.2s ease;
}

.dlbtn-main:hover {
  transform: translateY(-3px);
}

.dlbtn-main__os {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-left: 16px;
  border-left: 1px solid rgba(5, 18, 26, 0.25);
}

.os-ico {
  width: 22px;
  height: 22px;
  display: block;
}

.os-ico--win {
  fill: #05121a;
}

.download__github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aebfc3;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.download__github:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(140, 180, 190, 0.45);
  color: #fff;
}

/* ===== Download page ===== */
.dlpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dlpage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 52px);
  border-bottom: 1px solid var(--line-soft);
}

.dlpage__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aec2c7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.dlpage__back:hover {
  color: #fff;
}

.dlpage__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 10vh, 110px) clamp(24px, 5vw, 40px);
  position: relative;
  overflow: hidden;
}

.dlpage__glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 900px;
  max-width: 120vw;
  height: 600px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.12), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.dlpage__logo {
  height: 60px;
  width: auto;
  margin: 0 auto 26px;
  position: relative;
}

.dlpage__title {
  position: relative;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #f4f7f7;
}

.dlpage__sub {
  position: relative;
  max-width: 540px;
  margin: 22px auto 44px;
  font-size: 17px;
  line-height: 1.6;
  color: #9bb0b5;
}

.dlpicker {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
  text-align: left;
}

.dlpicker__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dlpicker__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  color: #dbe6e9;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dlpicker__item:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.dlpicker__item.is-active {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.07);
}

.dlpicker__item-ic {
  width: 28px;
  height: 28px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.dlpicker__item-ic svg,
.dlpicker__item-ic img {
  width: 22px;
  height: 22px;
  display: block;
}

.dlpicker__item-tx {
  display: flex;
  flex-direction: column;
}

.dlpicker__item-tx b {
  font-size: 15px;
  font-weight: 600;
}

.dlpicker__item-tx small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.dlpicker__panel {
  background: linear-gradient(var(--panel-a), var(--panel-b));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
}

.dlpicker__os-ico {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.dlpicker__os-ico svg,
.dlpicker__os-ico img {
  width: 44px;
  height: 44px;
  display: block;
}

.dlpicker__os-name {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  color: #f1f5f5;
}

.dlpicker__os-desc {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mut);
  max-width: 440px;
  min-height: 48px;
}

.dlpicker__cta {
  align-self: flex-start;
}

.dlpicker__meta {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.dlpicker__warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(var(--accent-rgb), 0.07);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 11px;
  max-width: 440px;
}

.dlpicker__warn[hidden] {
  display: none;
}

.dlpicker__warn svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

.dlpicker__warn span {
  font-size: 13px;
  line-height: 1.55;
  color: #c7d3d7;
}

@media (max-width: 620px) {
  .dlpicker {
    grid-template-columns: 1fr;
  }

  .dlpicker__menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dlpicker__item {
    flex: 1 1 140px;
  }
}

/* ===== Customize ===== */
.customize {
  position: relative;
  z-index: 2;
  background: var(--bg-alt);
  padding: clamp(90px, 13vh, 160px) clamp(24px, 5vw, 40px);
  border-top: 1px solid var(--line-soft);
}

.customize__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.customize__media {
  transition-delay: 0.12s;
}

.customize__text {
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mut);
  max-width: 500px;
}

.customize__copy .section-title {
  margin-bottom: 22px;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.swatch__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.swatch__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93a9ae;
}

.swatches__hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin: 24px 0 0;
  opacity: 70%;
  letter-spacing: 0.05em;
}

.customize__media {
  position: relative;
}

.customize__glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.22), transparent 70%);
  pointer-events: none;
  transition: background 0.5s ease;
}

.customize__frame {
  position: relative;
  background: linear-gradient(#0c171c, #060e11);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.85);
  transition: border-color 0.5s ease;
}

.customize__frame img {
  width: 100%;
  height: auto;
  border-radius: 9px;
}

/* ===== Download CTA ===== */
.download {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: clamp(100px, 16vh, 200px) clamp(24px, 5vw, 40px);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}

.download__rainbow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #9c27b0, #3b82f6, #19ac9b, #10b981, #fbca2d, #ff8c42, #ff5f56);
  opacity: 0.8;
}

.download__glow {
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 1000px;
  max-width: 120vw;
  height: 700px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.12), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.download__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.download__logo {
  height: 66px;
  width: auto;
  margin: 0 auto 30px;
  opacity: 0.97;
}

.download__head {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #f4f7f7;
}

.download__sub {
  max-width: 560px;
  margin: 26px auto 40px;
  font-size: 17px;
  line-height: 1.6;
  color: #9bb0b5;
}

.download__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.dlbtn {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 26px;
  border-radius: 14px;
  min-width: 150px;
  background: rgba(255, 255, 255, 0.05);
  color: #eef3f4;
  border: 1px solid var(--line-strong);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dlbtn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.dlbtn__pre {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.dlbtn__os {
  font-size: 18px;
  font-weight: 700;
}

.dlbtn--primary {
  background: var(--gold);
  color: #05121a;
  border: none;
  box-shadow: 0 16px 44px -14px rgba(var(--accent-rgb), 0.7);
}

.dlbtn--primary .dlbtn__pre {
  opacity: 0.7;
}

.dlbtn--primary:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.download__meta {
  margin: 28px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.download__testers {
  margin: 18px 0 0;
  font-size: 14px;
  color: #9bb0b5;
}

.download__testers a {
  color: var(--gold);
  text-decoration: none;
}

.download__testers a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: clamp(56px, 8vh, 90px) clamp(24px, 5vw, 40px) 44px;
  border-top: 1px solid rgba(130, 170, 180, 0.1);
}

.site-footer__top {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__brand {
  max-width: 320px;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.site-footer__logo img:first-child {
  height: 34px;
  width: auto;
}

.site-footer__logo img:last-child {
  height: 18px;
  width: auto;
  margin-top: 3px;
}

.site-footer__tag {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

.site-footer__cols {
  display: flex;
  gap: clamp(40px, 8vw, 90px);
  flex-wrap: wrap;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.site-footer__col a {
  text-decoration: none;
  font-size: 14px;
  color: #aebfc3;
  transition: color 0.2s ease;
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__bottom {
  max-width: 1180px;
  margin: 44px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(130, 170, 180, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--text-faint);
}

.site-footer__built {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ===== Community / founding members ===== */
.community {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: clamp(90px, 13vh, 170px) clamp(24px, 5vw, 40px);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.community__glow {
  position: absolute;
  left: 50%;
  top: -10%;
  width: 1000px;
  max-width: 120vw;
  height: 600px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.10), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  transition: background 0.5s ease;
}

.community__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.community__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f1f5f5;
}

.community__sub {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mut);
}

.community__counter {
  max-width: 520px;
  margin: 54px auto 0;
}

.counter__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.counter__now {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.counter__goal {
  font-size: 16px;
  color: var(--text-mut);
}

.counter__bar {
  height: 10px;
  border-radius: 999px;
  background: var(--inset);
  overflow: hidden;
  border: 1px solid var(--line);
}

.counter__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #9c27b0, #3b82f6, #19ac9b, #10b981, #fbca2d, #ff8c42, #ff5f56);
  background-size: 520px 100%;
  background-position: left center;
  background-repeat: no-repeat;
  border-radius: 999px;
  transition: width 1.1s cubic-bezier(.2, .7, .2, 1);
}

.counter__hint {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.community__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 58px 0 0;
  text-align: left;
}

.ccard {
  background: linear-gradient(var(--panel-a), var(--panel-b));
  border: 1px solid rgba(140, 180, 190, 0.14);
  border-radius: 16px;
  padding: 24px 22px;
}

.ccard__ic {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
  margin-bottom: 16px;
}

.ccard__ic svg {
  width: 21px;
  height: 21px;
}

.ccard__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #eef3f4;
}

.ccard__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-mut);
}

.community__invite {
  text-align: center;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-soft);
  max-width: 620px;
  margin: 48px auto 0px;
  line-height: 1.6;
}

.community__cta {
  margin: 24px 0 0;
}

/* ===== Responsive Header ===== */
@media (max-width: 767px) {
  .brand__type {
    display: none;
  }

  .site-header .btn-pill {
    padding: 6px 12px;
    font-size: 13px;
    gap: 6px;
  }

  .site-nav {
    gap: 8px;
  }
}

/* ===== Motion preferences ===== */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__cue-dot,
  .hero__twinkle,
  .marquee__row {
    animation: none;
  }
}