/* ============================================================
   KORE — marketing site
   Aesthetic: "soft gradient minimal" — white into lavender wash,
   huge friendly grotesk type, pill buttons, product-led mockups.
   (Reference direction: clean typographic fintech, light theme.)
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg:          #ffffff;
  --bg-soft:     #fbfaff;
  --wash-1:      #f3f1fd;
  --wash-2:      #e2dcfa;
  --wash-3:      #d5cdf7;
  --surface:     #ffffff;
  --tint:        #efedfc;
  --line:        rgba(16, 14, 40, 0.08);
  --line-strong: rgba(16, 14, 40, 0.14);
  --ink:         #101017;
  --ink-dim:     #5c5b6b;
  --ink-faint:   #9391a3;
  --accent:      #6a5ae0;
  --accent-deep: #5646cf;
  --accent-soft: #a99cff;
  --dark:        #101014;
  --shadow-soft: 0 24px 60px -24px rgba(60, 48, 130, 0.18);
  --display:     "Gabarito", "Segoe UI", sans-serif;
  --sans:        "Onest", "Segoe UI", sans-serif;
  --ease:        cubic-bezier(0.2, 0.65, 0.2, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

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

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* small uppercase label */
.mono {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- reveal-on-scroll ----------
   Hidden state only applies when JS is running (html.js),
   so content is never invisible without it. */
.reveal {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js .reveal.in-view { opacity: 1; transform: none; }
.d-1 { transition-delay: 0.1s; }
.d-2 { transition-delay: 0.2s; }
.d-3 { transition-delay: 0.3s; }
.d-4 { transition-delay: 0.42s; }
.d-5 { transition-delay: 0.55s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(106, 90, 224, 0.55);
}
.btn-solid:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(106, 90, 224, 0.6);
}
.btn-ghost {
  background: var(--tint);
  color: var(--accent-deep);
}
.btn-ghost:hover {
  background: #e6e2fb;
  transform: translateY(-2px);
}
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }
.btn-full { width: 100%; }
.btn-arrow { display: inline-block; transition: transform 0.22s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- eyebrow chip ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px -8px rgba(60, 48, 130, 0.15);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-dim);
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: 27px; height: 27px; color: var(--ink); }
.brand-core { fill: var(--accent); }
.brand-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: 14px;
}
.nav-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color 0.22s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-actions .btn { padding: 11px 20px; font-size: 0.88rem; }
.nav-actions .btn-ghost {
  background: transparent;
  color: var(--ink-dim);
}
.nav-actions .btn-ghost:hover { background: var(--tint); color: var(--accent-deep); }
.nav-actions .btn-solid {
  background: var(--dark);
  box-shadow: none;
}
.nav-actions .btn-solid:hover {
  background: #26262e;
  box-shadow: 0 10px 24px -10px rgba(16, 16, 20, 0.5);
}

.nav-burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  padding: 170px 24px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--wash-1) 46%, var(--wash-2) 78%, var(--wash-3) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 26px 0 22px;
}
.hero-title em,
.section-title em,
.cta-title em,
.big-quote em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 52ch;
}
.hero-sub a, .hero-sub u {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: var(--accent-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.hero-platforms {
  margin-top: 26px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-faint);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-platforms .mono { color: var(--accent); }

/* --- product mockup (light) --- */
.hero-visual {
  position: relative;
  max-width: 760px;
  margin: 70px auto 0;
  perspective: 1400px;
}
.app-window {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(16, 14, 40, 0.07);
  background: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 60px 120px -40px rgba(50, 40, 110, 0.35);
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
.aw-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.aw-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6e4f2;
}
.aw-dot:first-child { background: var(--accent-soft); }
.aw-title { margin-left: auto; text-transform: none; letter-spacing: 0.06em; }
.aw-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 320px;
}
.aw-sidebar {
  border-right: 1px solid var(--line);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-soft);
  border-radius: 0 0 0 18px;
}
.aw-nav-item {
  height: 10px;
  border-radius: 5px;
  background: #ecebf5;
}
.aw-nav-item.active {
  background: var(--accent);
  height: 12px;
}
.aw-content { padding: 22px 24px; text-align: left; }
.aw-line {
  height: 10px;
  border-radius: 5px;
  background: #efeef6;
  margin: 12px 0;
}
.aw-line.strong { background: #dddcea; height: 14px; margin-top: 0; }
.w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; }
.w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; } .w-90 { width: 90%; }
.aw-card-row { display: flex; gap: 12px; margin: 16px 0; }
.aw-card {
  flex: 1;
  height: 68px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 20px -12px rgba(50, 40, 110, 0.14);
  padding: 12px;
}
.aw-card.done { border-color: rgba(106, 90, 224, 0.35); background: var(--tint); }
.aw-card.mini { height: 52px; margin-top: 14px; box-shadow: none; }
.aw-chip {
  display: block;
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent-soft);
}
.aw-sync {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0.06em;
}
.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: breathe 2.2s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.7); opacity: 0.55; }
}
.phone-window {
  position: absolute;
  right: -26px;
  bottom: -40px;
  width: 158px;
  border-radius: 28px;
  border: 1px solid rgba(16, 14, 40, 0.08);
  background: #ffffff;
  box-shadow: 0 50px 90px -30px rgba(50, 40, 110, 0.4);
  padding: 16px 14px 20px;
  transform: rotate(4deg);
  animation: float 9s ease-in-out 0.8s infinite;
}
.pw-notch {
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: #e6e4f2;
  margin: 0 auto 16px;
}

/* --- hero stats --- */
.hero-stats {
  position: relative;
  max-width: 1080px;
  margin: 90px auto 0;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 14px 34px -20px rgba(50, 40, 110, 0.28);
}
.stat strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat .unit { color: var(--accent); font-size: 1.3rem; }
.stat span:not(.unit) {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  white-space: nowrap;
  width: max-content;
  animation: slide 36s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink-faint);
}
.marquee-track i {
  font-style: normal;
  color: var(--accent-soft);
  font-size: 0.85rem;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding: 130px 24px 0;
  max-width: 1248px;
  margin: 0 auto;
}
.section-tight { padding-top: 70px; }
.section-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 20px 0 16px;
}
.section-sub {
  color: var(--ink-dim);
  font-size: 1.06rem;
  max-width: 54ch;
}
.section-narrow { max-width: 900px; }

/* subpage header */
.page-hero {
  position: relative;
  max-width: 1248px;
  margin: 0 auto;
  padding: 180px 24px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}
.page-title { font-size: clamp(2.7rem, 6vw, 4.6rem); }
.page-hero .section-sub { margin: 0 auto; }
.page-hero-glow .hero-core {
  position: absolute;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  width: min(860px, 100vw);
  height: min(860px, 100vw);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(160, 145, 255, 0.28), rgba(160, 145, 255, 0.1) 48%, transparent 72%);
  pointer-events: none;
}
.section-more {
  max-width: 1200px;
  margin: 44px auto 0;
  display: flex;
  justify-content: center;
}

/* ============================================================
   BENTO FEATURES
   ============================================================ */
.bento {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tile:hover {
  transform: translateY(-5px);
  border-color: rgba(106, 90, 224, 0.28);
  box-shadow: var(--shadow-soft);
}
.tile-wide { grid-column: span 2; }
.tile h3 {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}
.tile p {
  font-size: 0.96rem;
  color: var(--ink-dim);
  line-height: 1.62;
  max-width: 52ch;
}
.tile-visual {
  position: relative;
  height: 108px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid rgba(16, 14, 40, 0.05);
  padding: 0 20px;
}

/* sync visual */
.sync-visual .sv-device {
  width: 62px;
  height: 44px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: #fff;
}
.sync-visual .sv-device.phone { width: 27px; border-radius: 8px; }
.sv-path {
  flex: 1;
  height: 0;
  border-top: 2px dashed rgba(106, 90, 224, 0.35);
  position: relative;
}
.sv-pulse {
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(106, 90, 224, 0.18);
  animation: travel 2.6s var(--ease) infinite;
}
@keyframes travel {
  0%   { left: 0; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* offline visual */
.offline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 6px;
  animation: sonar 2.8s ease-out infinite;
}
@keyframes sonar {
  0%   { box-shadow: 0 0 0 0 rgba(106, 90, 224, 0.3), 0 0 0 0 rgba(106, 90, 224, 0.18); }
  70%  { box-shadow: 0 0 0 20px rgba(106, 90, 224, 0), 0 0 0 40px rgba(106, 90, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 90, 224, 0), 0 0 0 0 rgba(106, 90, 224, 0); }
}

/* command keys */
.keys { gap: 10px; }
.keys kbd {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 11px;
  background: #fff;
  transition: transform 0.15s, border-bottom-width 0.15s;
}
.tile:hover .keys kbd {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* gauge */
.gauge-arc {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--accent-soft), var(--accent) 270deg, #e6e4f2 270deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
  mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
}
.gauge-label {
  margin-left: 16px;
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* avatars */
.avatars .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -12px;
  box-shadow: 0 4px 10px -4px rgba(50, 40, 110, 0.25);
}
.avatars .av:first-child { margin-left: 0; }
.av.a1 { background: linear-gradient(140deg, #8f7ff5, var(--accent)); }
.av.a2 { background: linear-gradient(140deg, #ffc9a3, #ff9e6b); }
.av.a3 { background: linear-gradient(140deg, #c3c1d4, #8f8da3); }
.av-cursor {
  margin-left: 14px;
  padding: 5px 10px;
  border-radius: 8px 8px 8px 2px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  animation: nudge 3.4s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translate(0, 0); }
  40%      { transform: translate(8px, -6px); }
  70%      { transform: translate(3px, 3px); }
}

/* lock */
.lock { width: 44px; height: 44px; color: var(--accent); margin-left: 4px; }

/* ============================================================
   PLATFORMS
   ============================================================ */
.platforms {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.platform-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(106, 90, 224, 0.28);
  box-shadow: var(--shadow-soft);
}
.platform-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.platform-card > p {
  color: var(--ink-dim);
  font-size: 0.98rem;
  max-width: 46ch;
}
.pc-note { margin-top: 22px; }
.pc-visual {
  height: 176px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-soft), var(--wash-1));
  border: 1px solid rgba(16, 14, 40, 0.05);
  overflow: hidden;
  padding-top: 20px;
}
.pc-desktop { display: flex; flex-direction: column; align-items: center; }
.pc-screen {
  position: relative;
  width: 200px;
  height: 118px;
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--line-strong);
  border-bottom: none;
  background: #fff;
  overflow: hidden;
}
.pc-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 108%, rgba(133, 115, 250, 0.5), rgba(133, 115, 250, 0.12) 55%, transparent 78%);
}
.pc-stand { width: 10px; height: 20px; background: #dddcea; }
.pc-base  { width: 70px; height: 6px; border-radius: 3px 3px 0 0; background: #dddcea; }
.pc-phone {
  position: relative;
  width: 92px;
  height: 156px;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--line-strong);
  border-bottom: none;
  background: #fff;
  overflow: hidden;
}

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section { text-align: center; }
.big-quote {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding-top: 34px;
}
.big-quote::before {
  content: "\201C";
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-weight: 800;
  font-size: 7.5rem;
  line-height: 1;
  color: rgba(106, 90, 224, 0.16);
}
.big-quote p {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.big-quote footer {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.q-name { font-weight: 600; }
.q-role { color: var(--ink-faint); }

/* ============================================================
   PRICING
   ============================================================ */
.plans {
  max-width: 1140px;
  margin: 68px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  padding: 32px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.plan > h3 { color: var(--accent-deep); margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price span { color: var(--ink-faint); font-size: 0.9rem; font-weight: 500; }
.plan-blurb { color: var(--ink-dim); font-size: 0.95rem; margin: 10px 0 22px; }
.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan li {
  font-size: 0.93rem;
  color: var(--ink-dim);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.plan li::before {
  content: "\2713";
  font-weight: 700;
  color: var(--accent);
  font-size: 0.82rem;
}
.plan .btn { margin-top: auto; }

/* featured plan = dark card */
.plan.featured {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  box-shadow: 0 30px 70px -28px rgba(16, 16, 20, 0.55);
}
.plan.featured > h3 { color: var(--accent-soft); }
.plan.featured .price span,
.plan.featured .plan-blurb,
.plan.featured li { color: #b6b5c2; }
.plan.featured li::before { color: var(--accent-soft); }
.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 52px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 12px;
  transition: box-shadow 0.25s var(--ease);
}
.faq-list details[open] { box-shadow: var(--shadow-soft); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-deep); }
.faq-x {
  position: relative;
  flex: 0 0 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
}
.faq-x::before { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-x::after  { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-list details[open] .faq-x { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 24px 22px;
  color: var(--ink-dim);
  max-width: 64ch;
  font-size: 0.97rem;
}

/* ============================================================
   FINAL CTA — soft gradient panel
   ============================================================ */
.cta-section {
  position: relative;
  max-width: 1200px;
  margin: 130px auto 0;
  padding: 96px 24px 90px;
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--wash-1), var(--wash-3));
  overflow: hidden;
}
.cta-core {
  position: absolute;
  left: 50%;
  bottom: -420px;
  width: min(900px, 100vw);
  height: min(900px, 100vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.25) 55%, transparent 75%);
  pointer-events: none;
}
.cta-title {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-section .section-sub { position: relative; margin: 0 auto; }
.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.cta-fineprint {
  position: relative;
  margin-top: 26px;
}

/* ============================================================
   DOWNLOAD PAGE EXTRAS
   ============================================================ */
.dl-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.steps {
  list-style: none;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.steps li {
  display: flex;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-align: left;
}
.step-num {
  color: var(--accent);
  font-weight: 700;
  padding-top: 5px;
}
.steps h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.steps p { color: var(--ink-dim); font-size: 0.96rem; max-width: 58ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  margin-top: 130px;
  border-top: 1px solid var(--line);
  padding: 76px 24px 44px;
  overflow: hidden;
  background: var(--bg-soft);
}
.footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 0.93rem;
  line-height: 1.55;
}
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col h4 { margin-bottom: 4px; }
.footer-col a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-dim);
  width: fit-content;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-deep); }
.footer-fine {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.36em;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(150px, 26vw, 360px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(86, 70, 207, 0.05);
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .plan.featured { order: -1; }
  .platforms { grid-template-columns: 1fr; max-width: 560px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}

@media (max-width: 759px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .nav.menu-open {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(50, 40, 110, 0.2);
  }
  .nav-links.open a {
    padding: 15px 0;
    font-size: 1.12rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav-links.open a.active::after { display: none; }

  .hero { padding-top: 136px; }
  .hero-visual { margin-top: 54px; }
  .phone-window { right: -6px; bottom: -24px; width: 128px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 60px; }
  .stat { padding: 18px 20px; }

  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
  .section { padding-top: 96px; }
  .marquee-track span { font-size: 0.98rem; }
  .cta-section { margin: 96px 16px 0; padding: 70px 22px 66px; }
  .steps li { flex-direction: column; gap: 8px; padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   COMING-SOON COVER
   To unveil the site: delete this block AND the
   <div class="soon-overlay"> at the top of each HTML file.
   ============================================================ */
.soon-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f1fd 50%, #d5cdf7 100%);
  text-align: center;
  padding: 24px;
}
.soon-mark { width: 46px; color: var(--ink); margin-bottom: 10px; }
.soon-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.5rem, 17vw, 12rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.soon-sub { color: var(--ink-dim); font-size: 1.06rem; }
html:has(.soon-overlay), body:has(.soon-overlay) { overflow: hidden !important; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
