:root {
  /* softer, eye-friendly palette */
  --bg: #f6f7fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface2: rgba(255, 255, 255, 0.92);
  --alt: rgba(255, 255, 255, 0.52);

  --text: #101224;
  --muted: #5c6171;
  --border: rgba(16, 18, 36, 0.1);

  --shadow: 0 18px 50px rgba(16, 18, 36, 0.1);
  --shadow-soft: 0 12px 28px rgba(16, 18, 36, 0.08);
  --radius: 18px;

  --brand: #2d6bff;
  --brand2: #6a5bff;
  --ok: #1aa86b;

  --max: 1120px;

  /* layout */
  --container-pad: 18px;
  --tap: 44px;
}

/* ===== Base / Reset ===== */
* { box-sizing: border-box; }
html, body { height: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family:
    "Plus Jakarta Sans",
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(1200px 700px at 10% -20%, rgba(45, 107, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(106, 91, 255, 0.12), transparent 55%),
    radial-gradient(1000px 700px at 50% 115%, rgba(26, 168, 107, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg), #eef1fb);
}

/* subtle background pattern (no images) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .7;
  background:
    linear-gradient(to right, rgba(16, 18, 36, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 18, 36, 0.05) 1px, transparent 1px),
    radial-gradient(800px 400px at 30% 10%, rgba(45, 107, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(106, 91, 255, 0.09), transparent 55%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - (var(--container-pad) * 2)));
  margin: 0 auto;
}

:focus-visible {
  outline: 3px solid rgba(45, 107, 255, 0.35);
  outline-offset: 2px;
  border-radius: 12px;
}

.skip{
  position:absolute; left:-999px; top:10px;
  background:#000; color:#fff;
  padding:10px 12px; border-radius:12px;
}
.skip:focus{ left:10px; z-index:1000; }

/* ===== Motion safety ===== */
@media (prefers-reduced-motion: reduce){
  * { scroll-behavior: auto !important; }
  .reveal { transition: none !important; }
  .card--float { animation: none !important; }
}

/* ===== Progress bar ===== */
.progress{
  position: fixed;
  top:0; left:0; right:0;
  height: 3px;
  z-index: 80;
  background: transparent;
}
.progress__bar{
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}

/* ===== Typography ===== */
.h2{
  font-size: clamp(24px, 4.8vw, 42px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.h2--sm{ font-size: clamp(18px, 3.6vw, 28px); }
.h3{
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.p{
  margin: 0;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
}
.sub{
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
  font-family: Inter, system-ui, sans-serif;
}
.sub--sm{ font-size: 14px; }

/* ===== Sections ===== */
.section{ padding: 54px 0; }            /* mobile-first tighter */
.section--alt{
  background: rgba(255, 255, 255, 0.40);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--cta{ padding: 64px 0; }
.section--fineprint{ padding: 18px 0 54px; }
.section--tight{ padding: 22px 0 10px; }
.section__head{ margin-bottom: 18px; }

.link{ color: var(--brand); font-weight: 800; }
.link:hover{ text-decoration: underline; }

/* ===== Header ===== */
.hdr{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(246, 247, 251, 0.70);
  border-bottom: 1px solid var(--border);
}
.hdr__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0; /* mobile: allow shrink */
}
.brand__mark{
  width: 38px; height: 38px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  box-shadow: var(--shadow-soft);
  font-weight: 900;
  flex: 0 0 38px;
}
.brand__mark svg{ color:#fff; }
.brand__text{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.brand__name{
  font-weight: 900;
  letter-spacing:-.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 36vw;
}
.brand__tag{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}
.brand--compact .brand__tag{ display:none; }

.nav{ display:none; } /* mobile-first */
.nav__link{
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  font-family: Inter, system-ui, sans-serif;
}
.nav__link:hover{ background: rgba(45, 107, 255, 0.08); color: var(--text); }

.hdr__actions{ display:flex; align-items:center; gap:10px; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: var(--tap);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface2);
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.05);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
}
.btn--ghost{ background: rgba(255, 255, 255, 0.60); }
.btn--block{ width:100%; }
.btn--lg{ padding: 14px 16px; border-radius: 16px; }

/* Hide one header button on very small screens */
@media (max-width: 420px){
  .hdr__actions .btn.btn--ghost{ display:none; }
}

/* ===== Mobile drawer ===== */
.burger{
  display:inline-block; /* mobile-first */
  width: var(--tap);
  height: var(--tap);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.05);
  cursor:pointer;
}
.burger span{
  display:block;
  width: 18px; height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
}
.backdrop{
  position: fixed;
  inset:0;
  background: rgba(16, 18, 36, 0.45);
}
.backdrop[hidden]{ display:none; }

.drawer{
  position: fixed;
  top:0; right:0;
  width: min(380px, 92vw);
  max-width: 100vw;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform .22s ease;
  padding: 18px;
  padding-right: calc(18px + env(safe-area-inset-right));
  will-change: transform;
}
.drawer.is-open{ transform: translateX(0); }
.drawer__top{
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.drawer__close{
  width: var(--tap); height: var(--tap);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  cursor:pointer;
}
.drawer__nav{ display:flex; flex-direction:column; padding: 14px 0; gap: 6px; }
.drawer__link{
  padding: 12px 12px;
  border-radius: 14px;
  font-weight: 900;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}
.drawer__link:hover{ background: rgba(45, 107, 255, 0.08); }
.drawer__cta{ padding-top: 6px; }
.drawer__note{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-family: Inter, system-ui, sans-serif;
}

/* ===== Hero ===== */
.hero{ padding: 44px 0 22px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 18px;
  align-items: center;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
  font-family: Inter, system-ui, sans-serif;
}
.pill--mini{ padding: 8px 10px; font-size: 12px; }

.dot{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.dot--blue{ background: var(--brand); }
.dot--green{ background: var(--ok); }

.hero__title{
  font-size: clamp(30px, 7.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 12px 0 10px;
}
.hero__lead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 72ch;
  font-family: Inter, system-ui, sans-serif;
}
.hero__actions{ display:flex; gap: 10px; flex-wrap:wrap; margin-bottom: 14px; }
.hero__actions .btn{ width: 100%; } /* phones */
.hero__meta{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.meta-card{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  padding: 12px;
}
.meta-card__k{
  display:block;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  font-family: Inter, system-ui, sans-serif;
}
.meta-card__v{
  display:block;
  font-weight: 950;
  letter-spacing:-.01em;
  margin-top:4px;
}

.hero__right{ position: relative; min-height: 0; }
.card{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.card--soft{ background: rgba(255, 255, 255, 0.66); }
.card--float{ animation: floaty 5.5s ease-in-out infinite; }
@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}
.card__badge{
  display:inline-block;
  font-weight: 950;
  font-size: 12px;
  background: rgba(45, 107, 255, 0.10);
  border: 1px solid rgba(45, 107, 255, 0.18);
  padding: 8px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-family: Inter, system-ui, sans-serif;
}
.card__foot{ margin-top: 10px; }

.steps{ margin:0; padding-left: 18px; }
.steps__item{ margin: 10px 0; }
.steps__n{
  display:inline-grid;
  place-items:center;
  width: 26px; height: 26px;
  border-radius: 10px;
  background: rgba(106, 91, 255, 0.12);
  border: 1px solid rgba(106, 91, 255, 0.22);
  font-weight: 950;
  margin-right: 8px;
  font-family: Inter, system-ui, sans-serif;
}
.steps__t{ font-weight: 950; letter-spacing:-.01em; }
.steps__d{
  display:block;
  color: var(--muted);
  font-size: 13px;
  margin-left: 34px;
  margin-top: 2px;
  font-family: Inter, system-ui, sans-serif;
}

.mini__title{ font-weight: 950; letter-spacing:-.02em; margin-bottom: 10px; }
.mini{ border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; }
.mini__row{ display:flex; justify-content:space-between; gap: 10px; padding: 8px 0; }
.mini__k{ color: var(--muted); font-weight: 800; font-size: 13px; font-family: Inter, system-ui, sans-serif; }
.mini__v{ font-weight: 950; font-size: 13px; font-family: Inter, system-ui, sans-serif; }

.blob{
  position:absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: .55;
  pointer-events:none;
}
.blob--1{ width: 190px; height: 190px; background: rgba(45, 107, 255, 0.18); top: -20px; right: 10px; }
.blob--2{ width: 230px; height: 230px; background: rgba(26, 168, 107, 0.14); bottom: -40px; left: -30px; }

/* ===== Stats ===== */
.stats{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.stat{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.60);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
}
.stat__v{ font-size: 26px; font-weight: 950; letter-spacing:-.03em; }
.stat__k{
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  font-family: Inter, system-ui, sans-serif;
  margin-top: 6px;
}

/* ===== Grids / Cards ===== */
.grid3{ display:grid; grid-template-columns: 1fr; gap: 14px; }
.grid2{ display:grid; grid-template-columns: 1fr; gap: 14px; }
.grid2--dense{ gap: 10px; }

.feature{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
}
.feature__icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(45, 107, 255, 0.10);
  border: 1px solid rgba(45, 107, 255, 0.16);
  margin-bottom: 10px;
  color: var(--brand);
}

/* ===== Lists ===== */
.list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
}
.list li{ margin: 6px 0; }

.checks{ list-style:none; padding:0; margin: 16px 0 0; }
.checks li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin: 10px 0;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
}
.checks--compact li{ margin: 8px 0; }
.check{
  width: 22px; height: 22px;
  border-radius: 10px;
  display:inline-grid;
  place-items:center;
  background: rgba(26, 168, 107, 0.12);
  border: 1px solid rgba(26, 168, 107, 0.22);
  color: var(--ok);
  font-weight: 950;
  flex: 0 0 22px;
}

/* ===== Split (Safety) ===== */
.split{
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 14px;
  align-items: start;
}
.note{
  margin-top: 14px;
  border: 1px solid rgba(255, 176, 32, 0.30);
  background: rgba(255, 176, 32, 0.10);
  border-radius: 16px;
  padding: 12px;
  color: #6a4b00;
  font-family: Inter, system-ui, sans-serif;
}

/* Exchanges */
.exchanges{ margin-top: 22px; }
.chips{ display:flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
}
.chip--soft{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
  font-weight: 900;
  font-size: 12px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
}

/* ===== Tabs ===== */
.tabs{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.60);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
  overflow:hidden;
}
.tabs__nav{
  display:flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}
.tabs__btn{
  flex: 1;
  min-height: var(--tap);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  border-radius: 16px;
  padding: 12px 10px;
  font-weight: 950;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: Inter, system-ui, sans-serif;
}
.tabs__btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.tabs__btn.is-active{
  border-color: rgba(45, 107, 255, 0.28);
  background: rgba(45, 107, 255, 0.10);
}
.tabs__panel{ padding: 16px 16px 18px; }

.tagrow{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 12px; }
.tag{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  font-family: Inter, system-ui, sans-serif;
}
.tag--strong{
  border-color: rgba(45, 107, 255, 0.28);
  background: rgba(45, 107, 255, 0.10);
  color: var(--text);
}

/* ===== Preset ===== */
.preset{
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
}
.preset__left{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  padding: 12px;
}
.preset__tabs{
  display:flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  flex-wrap: wrap; /* phones */
}
.preset__btn{
  flex: 1 1 140px;
  min-height: var(--tap);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  border-radius: 16px;
  padding: 12px 10px;
  font-weight: 950;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: Inter, system-ui, sans-serif;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
}
.preset__btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.preset__btn.is-active{
  border-color: rgba(45, 107, 255, 0.28);
  background: rgba(45, 107, 255, 0.10);
}
.preset__copy{ padding: 12px 10px 6px; }

.preset__right{ position: relative; }
.preset__preview{ position: relative; overflow:hidden; }
.preset__preview::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(45, 107, 255, 0.16), transparent 60%),
    radial-gradient(500px 240px at 80% 10%, rgba(106, 91, 255, 0.14), transparent 60%);
  pointer-events:none;
}
.pi{ font-size: 14px; }

/* Decorative illustration */
.illu{
  position: relative;  /* mobile: flow */
  height: 180px;
  margin-top: 10px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
  overflow:hidden;
}
.illu__orb{
  position:absolute;
  width: 220px; height: 220px;
  border-radius: 999px;
  left: -40px; bottom: -60px;
  background: radial-gradient(circle at 30% 30%, rgba(45, 107, 255, 0.32), rgba(106, 91, 255, 0.18), transparent 70%);
  filter: blur(6px);
}
.illu__grid{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to right, rgba(16, 18, 36, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 18, 36, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .45;
}
.illu__line{
  position:absolute;
  left: 22px; right: 22px; top: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(45, 107, 255, 0.65), rgba(106, 91, 255, 0.65), transparent);
  opacity: .8;
}

/* ===== Comparison ===== */
.compare{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  overflow:hidden;
}
.compare__row{
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
}
.compare__head{
  background: rgba(255, 255, 255, 0.70);
  border-bottom: 1px solid var(--border);
}
.compare__row > div{
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.compare__col{ font-weight: 950; font-family: Inter, system-ui, sans-serif; }
.compare__k{ font-weight: 950; letter-spacing:-.01em; }
.compare__v{ color: var(--muted); font-family: Inter, system-ui, sans-serif; }
.ok{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 168, 107, 0.12);
  border: 1px solid rgba(26, 168, 107, 0.22);
  color: #0a6b42;
  font-weight: 950;
}

/* Trust badges */
.trust{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.trust__item{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  padding: 14px;
}
.trust__icon{ font-size: 18px; }
.trust__t{ font-weight: 950; margin-top: 6px; }
.trust__d{ color: var(--muted); font-family: Inter, system-ui, sans-serif; margin-top: 6px; }

/* ===== Use cases ===== */
.usecases{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.uc{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
}
.uc__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}
.uc__pill{
  font-weight: 950;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(45, 107, 255, 0.10);
  border: 1px solid rgba(45, 107, 255, 0.18);
  font-family: Inter, system-ui, sans-serif;
}
.uc__icon{ font-size: 20px; }

/* ===== Insights / Mockup ===== */
.kpis{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
}
.kpi{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.60);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
}
.kpi__top{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.kpi__label{ font-weight: 900; color: var(--muted); font-family: Inter, system-ui, sans-serif; font-size: 12px; }
.kpi__chip{
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  font-weight: 950; font-size: 12px;
  font-family: Inter, system-ui, sans-serif;
}
.kpi__value{ font-size: 22px; font-weight: 950; letter-spacing:-.02em; margin-top: 10px; }
.kpi__desc{ margin-top: 8px; color: var(--muted); font-family: Inter, system-ui, sans-serif; }

.mock{
  margin-top: 14px;
  border: 1px solid rgba(16, 18, 36, 0.12);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 26px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.mock__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
}
.mock__dots{ display:flex; gap: 8px; }
.md{ width: 10px; height:10px; border-radius: 999px; display:inline-block; }
.md--r{ background: rgba(255, 95, 86, 0.95); }
.md--y{ background: rgba(255, 189, 46, 0.95); }
.md--g{ background: rgba(39, 201, 63, 0.95); }
.mock__title{
  font-weight: 950;
  letter-spacing:-.02em;
  font-family: Inter, system-ui, sans-serif;
  color: rgba(16, 18, 36, 0.85);
  text-align: center;
  flex: 1;
}
.mock__right{ display:none; } /* mobile: hide pills */

.mock__pill{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  font-weight: 900;
  font-size: 12px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
}

.mock__body{
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  min-height: auto;
}
.mock__side{ display:none; } /* mobile */
.mock__main{ padding: 14px; }

.mock__cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.mcard{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  border-radius: 18px;
  padding: 12px;
}
.mcard__k{ color: var(--muted); font-weight: 900; font-size: 12px; font-family: Inter, system-ui, sans-serif; }
.mcard__v{ font-weight: 950; margin-top: 6px; letter-spacing:-.02em; }
.mcard__s{ color: var(--muted); margin-top: 6px; font-size: 12px; font-family: Inter, system-ui, sans-serif; }

.mock__grid{
  margin-top: 10px;
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 10px;
}
.panel{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 20px;
  padding: 12px;
}
.panel__head{ display:flex; justify-content:space-between; gap:10px; align-items:flex-end; }
.panel__t{ font-weight: 950; letter-spacing:-.02em; }
.panel__m{ color: var(--muted); font-size: 12px; font-family: Inter, system-ui, sans-serif; }
.panel__foot{ margin-top: 10px; display:flex; flex-wrap:wrap; gap: 8px; }

.chart, .bars{ width: 100%; height: auto; margin-top: 10px; }
.chart__grid{ stroke: rgba(16, 18, 36, 0.10); stroke-width: 1; fill: none; }
.chart__axis{ stroke: rgba(16, 18, 36, 0.18); stroke-width: 1.5; fill: none; }
.chart__area{ fill: rgba(45, 107, 255, 0.10); }
.chart__line{
  stroke: url(#g1);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 12px rgba(45, 107, 255, 0.12));
}
.bars__g rect{
  fill: rgba(106, 91, 255, 0.22);
  stroke: rgba(106, 91, 255, 0.35);
  stroke-width: 1;
}
.bars__labels text{
  font-size: 12px;
  fill: rgba(16, 18, 36, 0.55);
  font-family: Inter, system-ui, sans-serif;
  text-anchor: middle;
}

.mock__note{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-family: Inter, system-ui, sans-serif;
}

/* ===== Testimonials slider (stable: scroll-snap) ===== */
.slider{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.60);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
}
.slider__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.slider__hint{ display:flex; align-items:center; gap: 10px; }
.slider__count{ font-weight: 950; font-family: Inter, system-ui, sans-serif; color: var(--muted); }
.slider__controls{ display:flex; gap: 8px; }

.iconbtn{
  width: var(--tap); height: var(--tap);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  cursor:pointer;
  font-weight: 950;
  transition: transform .15s ease, box-shadow .15s ease;
}
.iconbtn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }

.slider__viewport{
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
}
.slider__viewport::-webkit-scrollbar{ height: 8px; }
.slider__viewport::-webkit-scrollbar-thumb{
  background: rgba(16, 18, 36, 0.12);
  border-radius: 999px;
}

.slider__track{
  display:flex;
  gap: 12px;
  padding: 12px;
  /* no transform here — stable */
}

.review{
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: calc(100% - 56px); /* “peek” next card on larger phones */
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  padding: 14px;
}
.review__head{ display:flex; align-items:center; gap: 10px; }
.avatar{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 18px rgba(45, 107, 255, 0.15);
  font-family: Inter, system-ui, sans-serif;
}
.review__meta{ line-height:1.1; }
.review__name{ font-weight: 950; }
.review__role{ color: var(--muted); font-size: 12px; font-family: Inter, system-ui, sans-serif; margin-top: 3px; }
.stars{ margin-left:auto; color: rgba(255, 176, 32, 0.95); font-weight: 950; letter-spacing: 1px; }
.review__title{ margin: 12px 0 8px; font-size: 18px; letter-spacing:-.02em; }
.review__text{ margin:0; color: var(--muted); font-family: Inter, system-ui, sans-serif; }
.review__foot{ margin-top: 12px; display:flex; flex-wrap:wrap; gap: 8px; }

.slider__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding-top: 10px;
  flex-wrap: wrap;
}
.slider__dots{ display:flex; gap: 8px; align-items:center; }
.sldot{
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  cursor:pointer;
}
.sldot.is-active{
  width: 26px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border-color: transparent;
}
.slider__bar{
  flex: 1;
  min-width: 180px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  overflow:hidden;
}
.slider__barFill{
  display:block;
  height:100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}

/* phones: full width card */
@media (max-width: 520px){
  .review{ width: 100%; }
  .hero__actions .btn{ width: 100%; }
}

/* ===== Deep dive ===== */
.deep{
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 14px;
  align-items: start;
}
.deep__kicker{ display:flex; gap: 10px; flex-wrap:wrap; margin-bottom: 12px; }
.deep__blocks{ margin-top: 12px; display:grid; gap: 10px; }
.deep__block{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.62);
  border-radius: 18px;
  padding: 14px;
}
.deep__visual{ position: relative; }
.deep__glow{
  position:absolute;
  inset: -20px;
  background:
    radial-gradient(520px 320px at 20% 10%, rgba(45,107,255,.16), transparent 60%),
    radial-gradient(520px 320px at 80% 30%, rgba(106,91,255,.12), transparent 60%);
  filter: blur(12px);
  opacity: .9;
  z-index: 0;
  pointer-events:none;
}
.deep__visual > *{ position: relative; z-index: 1; }

/* Mac-style screen mock */
.screen{
  border: 1px solid rgba(16,18,36,.14);
  background: rgba(255,255,255,.62);
  border-radius: 26px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.screen__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.72);
  flex-wrap: wrap;
}
.screen__dots{ display:flex; gap: 8px; align-items:center; }
.screen__title{
  font-weight: 950;
  font-family: Inter, system-ui, sans-serif;
  letter-spacing:-.02em;
  color: rgba(16,18,36,.82);
}
.screen__tags{ display:flex; gap: 8px; flex-wrap:wrap; }

.screen__body{
  display:grid;
  grid-template-columns: 1fr; /* mobile */
  min-height: auto;
}
.screen__left{ display:none; }
.screen__main{ padding: 14px; }

.tiles{
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 10px;
}
.tile{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.72);
  border-radius: 18px;
  padding: 12px;
}
.tile__k{ color: var(--muted); font-weight: 900; font-size: 12px; font-family: Inter, system-ui, sans-serif; }
.tile__v{ margin-top: 6px; font-weight: 950; letter-spacing:-.02em; }
.tile__s{ margin-top: 6px; color: var(--muted); font-size: 12px; font-family: Inter, system-ui, sans-serif; }

.log{
  margin-top: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.66);
  border-radius: 20px;
  padding: 12px;
}
.log__row{
  display:grid;
  grid-template-columns: 12px 1fr 46px;
  gap: 10px;
  align-items:start;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(16,18,36,.06);
}
.log__row:last-child{ border-bottom:none; }

.log__dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: rgba(92,97,113,.35);
  box-shadow: 0 0 0 4px rgba(92,97,113,.12);
}
.log__dot--blue{ background: rgba(45,107,255,.85); box-shadow: 0 0 0 4px rgba(45,107,255,.12); }
.log__dot--green{ background: rgba(26,168,107,.85); box-shadow: 0 0 0 4px rgba(26,168,107,.12); }
.log__dot--amber{ background: rgba(255,176,32,.90); box-shadow: 0 0 0 4px rgba(255,176,32,.14); }
.log__txt{ color: rgba(16,18,36,.84); font-family: Inter, system-ui, sans-serif; }
.log__m{ margin-top: 4px; color: var(--muted); font-size: 12px; }
.log__t{ text-align:right; color: var(--muted); font-weight: 900; font-size: 12px; font-family: Inter, system-ui, sans-serif; }

/* ===== Pricing ===== */
.pricing{
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 14px;
}
.price{
  position:relative;
  border:1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(16, 18, 36, 0.04);
}
.price__tag{
  margin: 0;
  color: var(--muted);
  font-weight: 900;
  font-family: Inter, system-ui, sans-serif;
}
.price__foot{ margin-top: 14px; }
.price--featured{
  border-color: rgba(45, 107, 255, 0.28);
  box-shadow: var(--shadow);
}
.badge{
  position:absolute;
  top: 14px; right: 14px;
  background: rgba(45, 107, 255, 0.12);
  border: 1px solid rgba(45, 107, 255, 0.22);
  font-weight: 950;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  font-family: Inter, system-ui, sans-serif;
}

.fine{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
}
.fine--muted{ color: rgba(92, 97, 113, 0.92); }

/* ===== FAQ ===== */
.faq{ display:grid; gap: 10px; }
.faq__item{
  border:1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.faq__q{
  cursor:pointer;
  font-weight: 950;
  letter-spacing:-.01em;
  list-style:none;
}
.faq__q::-webkit-details-marker{ display:none; }
.faq__a{ color: var(--muted); margin-top: 8px; font-family: Inter, system-ui, sans-serif; }

/* ===== CTA ===== */
.cta{
  border: 1px solid rgba(45, 107, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.52));
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px;
  display:grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 14px;
  align-items:start;
}
.form{
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 14px;
}
.field{ display:block; margin-bottom: 12px; }
.field__label{
  display:block;
  font-weight: 950;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: Inter, system-ui, sans-serif;
}
.input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  outline: none;
  font-family: Inter, system-ui, sans-serif;
}
.input:focus{
  border-color: rgba(45, 107, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(45, 107, 255, 0.12);
}
.field__hint{
  display:block;
  font-size: 12px;
  color: #a11;
  margin-top: 6px;
  min-height: 16px;
  font-family: Inter, system-ui, sans-serif;
}

/* Honeypot hidden */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Sticky CTA */
.sticky{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

/* ===== Footer ===== */
.ftr{
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  padding: 18px 0;
}
.ftr__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  font-family: Inter, system-ui, sans-serif;
  flex-wrap: wrap;
}
.sep{ margin: 0 8px; opacity: .5; }

/* ===== Reveal ===== */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Breakpoints (mobile-first)
   ========================================================= */

/* >= 600px: buttons inline in hero, stats 2 columns */
@media (min-width: 600px){
  :root{ --container-pad: 20px; }
  .hero__actions .btn{ width: auto; }
  .hero__meta{ grid-template-columns: repeat(3, 1fr); }
  .stats{ grid-template-columns: repeat(2, 1fr); }
  .grid2{ grid-template-columns: repeat(2, 1fr); }
  .mock__cards{ grid-template-columns: repeat(3, 1fr); }
  .tiles{ grid-template-columns: repeat(3, 1fr); }
  .review{ width: calc(100% - 56px); }
}

/* >= 980px: desktop layout */
@media (min-width: 980px){
  .section{ padding: 66px 0; }
  .section--cta{ padding: 74px 0; }

  .nav{ display:flex; align-items:center; gap: 6px; }
  .burger{ display:none; }

  .hero{ padding: 58px 0 34px; }
  .hero__grid{ grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
  .hero__right{ min-height: 290px; }
  .hero__meta{ grid-template-columns: repeat(3, 1fr); }

  .stats{ grid-template-columns: repeat(4, 1fr); }

  .grid3{ grid-template-columns: repeat(3, 1fr); }
  .pricing{ grid-template-columns: repeat(3, 1fr); }
  .split{ grid-template-columns: 1.1fr 0.9fr; gap: 18px; }
  .preset{ grid-template-columns: 1.2fr 0.8fr; }
  .illu{ position:absolute; inset:auto 0 0 0; height: 220px; }

  .compare__row{ grid-template-columns: 1.2fr 1fr 1fr; }
  .compare__row > div:not(:first-child){ border-left: 1px solid var(--border); }
  .trust{ grid-template-columns: repeat(3, 1fr); }
  .usecases{ grid-template-columns: repeat(3, 1fr); }

  .kpis{ grid-template-columns: repeat(3, 1fr); }
  .mock__body{ grid-template-columns: 220px 1fr; }
  .mock__side{ display:block; border-right: 1px solid var(--border); padding: 14px; background: rgba(255, 255, 255, 0.60); }
  .mock__right{ display:flex; gap: 8px; }
  .mock__grid{ grid-template-columns: 1.1fr 0.9fr; }

  .deep{ grid-template-columns: 1.05fr 0.95fr; }
  .screen__body{ grid-template-columns: 190px 1fr; min-height: 420px; }
  .screen__left{ display:block; border-right: 1px solid var(--border); background: rgba(255,255,255,.60); padding: 14px; }

  .cta{ grid-template-columns: 1.1fr 0.9fr; }
}

/* >= 1200px: a bit more breathing room */
@media (min-width: 1200px){
  :root{ --container-pad: 22px; }
}
/* --- FIX: drawer + backdrop stacking --- */
.backdrop{
  position: fixed;
  inset: 0;
  z-index: 90;               /* нижче ніж drawer */
  background: rgba(16,18,36,.45);
}

.drawer{
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;              /* вище backdrop */
  width: min(380px, 92vw);
  height: 100%;
  max-width: 100vw;
  background: rgba(255,255,255,.92);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform .22s ease;
  padding: 18px;
  padding-right: calc(18px + env(safe-area-inset-right));
  will-change: transform;
}

.drawer.is-open{ transform: translateX(0); }

/* header хай буде нижче модалки */
.hdr{ z-index: 50; }
/* =========================
   FIX: Mobile drawer stacking
   ========================= */

/* Не даємо "body > *" ламати оверлеї */
body > .backdrop,
body > .drawer{
  position: fixed !important;
  z-index: 9998 !important;
}

/* backdrop під drawer */
body > .backdrop{
  inset: 0;
  background: rgba(16,18,36,.55);
  z-index: 9998 !important;
}

/* drawer над backdrop */
body > .drawer{
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 92vw);
  max-width: 100vw;
  background: rgba(255,255,255,.92);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform .22s ease;
  padding: 18px;
  padding-right: calc(18px + env(safe-area-inset-right));
  will-change: transform;
  z-index: 9999 !important;
}

body > .drawer.is-open{ transform: translateX(0); }

/* щоб точно кліки працювали */
.backdrop,
.drawer{
  pointer-events: auto;
}

/* заборона горизонтального "смикання" */
html.drawer-open,
html.drawer-open body{
  overflow: hidden;
}

/* OPTIONAL: якщо хочеш, можна трохи "ізолювати" header */
.hdr{
  isolation: isolate;
}
html.drawer-open,
html.drawer-open body{
  overflow: hidden;
}
@media (max-width: 980px) {
  .hdr__pricingBtn { display: none; }
}
/* PRESETS: keep decorative grid behind the preview and never block clicks */
.preset__right { position: relative; }

.preset__preview{
  position: relative;
  z-index: 2; /* above illu */
}

.illu{
  z-index: 1;          /* behind preview */
  pointer-events: none; /* never intercept clicks */
}
@media (max-width: 980px){
  .preset__right { padding-bottom: 6px; }
}
