/* ============================================================
   HeliosPro — Design System & Animation Engine
   V3 Light Minimal · built from Figma
   ============================================================ */

/* ---------- Fonts ---------- */
/* Inter is loaded via <link> in each page <head> */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-alt: #fafafb;
  --bg-100: #f4f5f7;
  --bg-purple: #f7f5fe;
  --bg-purple-2: #fbfafe;
  --chip-purple: #f0ecfe;

  /* text */
  --text: #0c0d12;
  --text-2: #1e2027;
  --text-secondary: #5c616e;
  --muted: #8a8f9c;
  --muted-2: #afb4bf;

  /* lines */
  --border: #ecedf0;
  --border-2: #e2e4e9;

  /* brand */
  --brand-a: #3fa0f7;
  --brand-b: #7b5cf0;
  --brand-c: #a62be8;
  --grad: linear-gradient(90deg, #3fa0f7 0%, #7b5cf0 52%, #a62be8 100%);
  --grad-soft: linear-gradient(120deg, #3fa0f7 0%, #7b5cf0 52%, #a62be8 100%);

  /* status */
  --success: #12a150;
  --amber: #d99315;
  --danger: #e5484d;
  --danger-bg: #fffbfb;
  --danger-border: #f7d7d8;

  /* elevation */
  --shadow-btn: 0 8px 24px rgba(123, 92, 240, 0.26);
  --shadow-btn-h: 0 14px 34px rgba(123, 92, 240, 0.34);
  --shadow-lg: 0 30px 80px rgba(12, 13, 18, 0.10);
  --shadow-md: 0 12px 40px rgba(12, 13, 18, 0.06);
  --shadow-sm: 0 1px 3px rgba(12, 13, 18, 0.04);
  --shadow-card-h: 0 22px 60px rgba(12, 13, 18, 0.12);

  /* radius */
  --r-pill: 999px;
  --r-2xl: 24px;
  --r-xl: 20px;
  --r-lg: 16px;
  --r-card: 11px;
  --r-sm: 9px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: var(--header-h);
  animation: pageIn 0.7s var(--ease) both;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(123, 92, 240, 0.18); }

/* ---------- Layout ---------- */
.container { width: min(1076px, 100% - 48px); margin-inline: auto; }
.container--wide { width: min(1180px, 100% - 48px); }
.section { padding-block: clamp(72px, 11vw, 132px); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; width: max-content;
}
.grad-text {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 8s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.h1 {
  font-weight: 800; font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.04; letter-spacing: -0.035em; color: var(--text);
}
.h2 {
  font-weight: 700; font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.1; letter-spacing: -0.032em; color: var(--text);
}
.h3 { font-weight: 600; font-size: 21px; line-height: 1.28; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; letter-spacing: -0.005em; color: var(--text-secondary); }
.muted { color: var(--muted); }
.tsec { color: var(--text-secondary); }

.head-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.head-left { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.head-center .h2, .head-center .lead { max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -0.003em;
  padding: 10px 18px; border-radius: var(--r-pill);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s ease, color 0.2s ease;
  will-change: transform; white-space: nowrap; position: relative; overflow: hidden;
}
.btn--lg { padding: 17px 32px; }
.btn:active { transform: translateY(0) scale(0.975); }

.btn--primary { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.38) 50%, transparent 75%);
  transform: translateX(-140%); transition: transform 0.75s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn-h); background-position: 100% 0; }
.btn--primary:hover::after { transform: translateX(140%); }

.btn--ghost { background: var(--bg); border: 1px solid var(--border-2); color: var(--text); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--brand-b); box-shadow: 0 10px 28px rgba(12,13,18,0.08); }

.btn--quiet { background: transparent; color: var(--text); }
.btn--quiet:hover { color: var(--brand-b); }

.btn--block { width: 100%; }

/* ---------- Badge / chip ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg); border: 1px solid var(--border-2);
  padding: 6px 14px 6px 7px; border-radius: var(--r-pill);
  font-size: 13.5px; color: var(--text-secondary); letter-spacing: -0.005em;
}
.badge__dot {
  width: 20px; height: 20px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 11.5px; flex: none;
  animation: pulseGlow 3.2s var(--ease) infinite;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(123,92,240,0.30); }
  50% { box-shadow: 0 0 0 6px rgba(123,92,240,0); }
}
.chip {
  display: inline-flex; align-items: center; background: var(--bg);
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em;
}
.chip--purple { background: var(--chip-purple); color: var(--brand-b); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: none;
  padding-top: 12px;
  transition: padding 0.4s var(--ease);
}
/* Dark rounded card matching the footer, held inside the grid width */
.site-header > .container {
  background: #1d1d20; border-radius: var(--r-pill);
  box-shadow: 0 12px 34px rgba(12,13,18,0.16);
  padding: 8px; border: 1px solid transparent;
  transition: background 0.4s ease, box-shadow 0.4s var(--ease),
              backdrop-filter 0.4s ease, border-color 0.4s ease;
}
/* Scrolled: bar turns to translucent frosted glass */
.site-header.scrolled { padding-top: 8px; }
.site-header.scrolled > .container {
  background: rgba(29, 29, 32, 0.62);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(12, 13, 18, 0.20);
}
.site-header .logo__img { filter: brightness(0) invert(1); }
/* Logo is not a pill, so it needs a little more optical inset from the
   rounded left cap than the button needs on the right. */
.site-header .logo { margin-left: 10px; position: relative; }
/* On hover the white logo reveals the brand gradient, like the button.
   The SVG masks a gradient layer laid over the logo. */
.site-header .logo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grad);
  -webkit-mask: url(../logo.svg) left center / auto 27px no-repeat;
          mask: url(../logo.svg) left center / auto 27px no-repeat;
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.site-header .logo:hover::after { opacity: 1; }
.site-header .logo:hover .logo__img { opacity: 0; }
.site-header .logo__img { transition: opacity 0.35s ease, transform 0.4s var(--ease); }
/* No fixed height: the bar hugs the button so its rounded cap sits
   concentrically inside the pill (equal gap top = bottom = sides). */
.nav { display: flex; align-items: center; gap: 36px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark {
  width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--grad); background-size: 160% 160%;
  display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 13px;
  animation: gradShift 7s ease infinite; transition: transform 0.4s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__name { font-weight: 600; font-size: 17px; letter-spacing: -0.014em; }
.logo__img { height: 27px; width: auto; display: block; transition: transform 0.4s var(--ease); }
.logo:hover .logo__img { transform: scale(1.04); }
.nav__links { display: flex; align-items: center; gap: 26px; flex: 1; }
.nav__link {
  position: relative; font-size: 15px; color: #a2a6af;
  transition: color 0.25s ease; padding: 4px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.site-header .btn--quiet { color: #d6d8dd; }
.site-header .btn--quiet:hover { color: #fff; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 12px; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s ease; }
.nav__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu panel */
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  background: var(--bg); box-shadow: 0 12px 30px rgba(12,13,18,0.08);
  border-bottom: 1px solid var(--border); padding: 18px 24px 26px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a:not(.btn) { padding: 14px 6px; font-size: 17px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 16px; }
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-block: clamp(60px, 9vw, 104px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.42; will-change: transform; }
.blob--1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(63,160,247,0.55), transparent 70%); animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 460px; height: 460px; top: 40px; right: 240px; background: radial-gradient(circle, rgba(166,43,232,0.40), transparent 70%); animation: float2 19s ease-in-out infinite; }
.blob--3 { width: 400px; height: 400px; top: -80px; left: -140px; background: radial-gradient(circle, rgba(123,92,240,0.34), transparent 70%); animation: float3 22s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,50px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,30px) scale(0.94); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.1); } }
.hero .container { position: relative; z-index: 1; }
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero h1 { max-width: 780px; }
.hero__sub { max-width: 600px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 14px; }
.hero__trust { display: flex; gap: 26px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; letter-spacing: -0.01em; }
.hero__trust span { position: relative; }

/* ============================================================
   Mock boards (production + planning)
   ============================================================ */
.mock {
  background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; width: 100%;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #1d1d20; border-bottom: 1px solid #000; }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: #48484d; flex: none; }
.mock__bar .mock__dot:nth-child(1) { background: #ff5f57; }
.mock__bar .mock__dot:nth-child(2) { background: #febc2e; }
.mock__bar .mock__dot:nth-child(3) { background: #28c840; }
.mock__title { flex: 1; color: #9aa0ad; font-size: 13.5px; letter-spacing: -0.01em; }
.mock__live { display: inline-flex; align-items: center; gap: 7px; color: #30d158; font-weight: 600; font-size: 13px; }
.mock__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #30d158; animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(18,161,80,0.5); } 50% { box-shadow: 0 0 0 5px rgba(18,161,80,0); } }
.mock__cols { display: flex; align-items: stretch; }
.mock__col { flex: 1 0 0; min-width: 0; padding: 16px 14px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 9px; }
.mock__col:last-child { border-right: none; }
.mock__colh { display: flex; align-items: center; gap: 8px; padding-bottom: 5px; font-weight: 600; font-size: 11.5px; letter-spacing: 0.04em; }
.mock__colh span:first-child { flex: 1; color: var(--muted); }
.mock__colh span:last-child { color: var(--text); }
.mock__card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-sm); padding: 11px 12px; display: flex; flex-direction: column; gap: 5px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); cursor: default;
}
.mock__card:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 8px 20px rgba(12,13,18,0.09); }
.mock__card--alert { background: var(--danger-bg); border-color: var(--danger-border); }
.mock__n { display: flex; align-items: center; gap: 7px; }
.mock__n b { font-weight: 600; font-size: 13px; letter-spacing: -0.01em; color: var(--text); }
.mock__meta { color: var(--muted); font-size: 11.5px; }
.mdot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.mdot--gray { background: #b6bcc7; }
.mdot--amber { background: var(--amber); }
.mdot--red { background: var(--danger); }
.mdot--purple { background: var(--brand-b); }
.mdot--green { background: var(--success); }
.mock__foot { display: flex; background: var(--bg-alt); border-top: 1px solid var(--border); }
.mock__cell { flex: 1 0 0; min-width: 0; padding: 16px 20px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.mock__cell:last-child { border-right: none; }
.mock__cell .k { color: var(--muted); font-size: 13.5px; }
.mock__cell .v { font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.mock-cap { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 22px; }

/* mock panels (tabbed) */
.mock-panels { position: relative; width: 100%; }
.mock-panel { display: none; }
.mock-panel.active { display: block; animation: panelIn 0.5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Logo wall (marquee) ---------- */
.logowall {
  overflow: hidden; padding-block: 30px; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee { display: flex; align-items: center; gap: 60px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-item { flex: none; white-space: nowrap; display: inline-flex; align-items: center; line-height: 1; }
.lw-note { color: var(--muted); font-size: 14px; letter-spacing: -0.01em; }
.lw-name { color: var(--muted-2); font-weight: 600; font-size: 15px; letter-spacing: -0.003em; transition: color 0.3s ease; }
.marquee-item:hover .lw-name { color: var(--text-secondary); }
.lw-stars { color: var(--muted); font-size: 14px; letter-spacing: -0.01em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Segmented control ---------- */
.seg { display: inline-flex; gap: 2px; padding: 4px; background: var(--bg-100); border-radius: var(--r-pill); }
.seg__opt {
  padding: 9px 20px; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px;
  color: var(--text-secondary); transition: color 0.25s ease, background 0.3s var(--ease), box-shadow 0.3s ease;
}
.seg__opt.active { background: var(--bg); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- Two-pane (before/after) ---------- */
.panes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pane { border-radius: var(--r-xl); padding: 38px; display: flex; flex-direction: column; gap: 22px; }
.pane--before { background: var(--bg-100); }
.pane--after { background: var(--bg); border: 1px solid var(--border-2); box-shadow: var(--shadow-md); }
.pane h3 { font-size: 21px; }
.pane__list { display: flex; flex-direction: column; }
.pane__item { display: flex; gap: 12px; padding-block: 11px; font-size: 15px; }
.pane__item .mk { flex: none; }
.pane--before .mk { color: var(--muted-2); }
.pane--after .mk { color: var(--brand-b); }
.pane__item p { color: var(--text-secondary); }

/* ---------- Feature triple ---------- */
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.tri { display: flex; flex-direction: column; gap: 14px; }
.tri__icon {
  width: 46px; height: 46px; flex: none; aspect-ratio: 1; border-radius: 50%; background: var(--grad); background-size: 160% 160%;
  display: grid; place-items: center; color: #fff; font-size: 18px; box-shadow: var(--shadow-btn);
  transition: transform 0.4s var(--ease); animation: gradShift 7s ease infinite;
}
.tri:hover .tri__icon { transform: translateY(-4px) rotate(-6deg); }
.tri p.tsec { font-size: 15px; }

/* ---------- Callout ---------- */
.callout {
  display: flex; gap: 14px; align-items: flex-start; background: var(--bg-purple);
  border: 1px solid #e4dcfc; border-radius: var(--r-lg); padding: 20px 24px;
}
.callout__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); flex: none; margin-top: 1px; box-shadow: 0 4px 12px rgba(123,92,240,0.3); }
.callout p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ---------- Quotes / proof ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 34px; display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-h); border-color: var(--border-2); }
.quote__stat { font-weight: 700; font-size: 38px; letter-spacing: -0.04em; line-height: 1; }
.quote p { color: var(--text-2); font-size: 16px; line-height: 1.68; letter-spacing: -0.004em; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-100); display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--text-secondary); flex: none; }
.who__n b { display: block; font-weight: 600; font-size: 14.5px; letter-spacing: -0.003em; }
.who__n span { color: var(--muted); font-size: 13.5px; }

.stats { display: flex; margin-top: 72px; }
.stat { flex: 1 0 0; min-width: 0; padding: 8px 28px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.stat:last-child { border-right: none; }
.stat .num { font-weight: 600; font-size: clamp(32px, 4vw, 42px); letter-spacing: -0.04em; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: 13.5px; }

/* ---------- Comparison table ---------- */
.cmp { width: 100%; border-collapse: collapse; }
.cmp thead th { text-align: left; padding: 18px 20px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--border-2); }
.cmp thead th.hl { color: var(--brand-b); }
.cmp tbody td { padding: 18px 20px; font-size: 15px; border-bottom: 1px solid var(--border); color: var(--text-secondary); vertical-align: top; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td.cap { color: var(--text); width: 40%; }
.cmp td.hl { background: var(--bg-purple-2); color: var(--text); font-weight: 600; font-size: 14.5px; }
.cmp .yes { color: var(--text); font-weight: 600; }
.cmp tbody tr { transition: background 0.2s ease; }
.cmp tbody tr:hover td { background: rgba(123,92,240,0.03); }
.cmp tbody tr:hover td.hl { background: var(--chip-purple); }

/* ---------- Price card ---------- */
.pricecard { width: min(620px, 100%); margin-inline: auto; background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.pricecard__top { background: var(--bg-purple-2); border-bottom: 1px solid var(--border); padding: 44px 44px 36px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.pricecard__ey { font-weight: 500; font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); }
.pricecard__price { font-weight: 700; font-size: clamp(56px, 8vw, 72px); letter-spacing: -0.05em; line-height: 1; }
.pricecard__note { color: var(--muted); font-size: 13.5px; }
.pricecard__btm { padding: 36px 44px 44px; display: flex; flex-direction: column; gap: 30px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.feat { display: flex; gap: 10px; font-size: 15px; color: var(--text-secondary); }
.feat .mk { color: var(--brand-b); flex: none; }
.pricecard__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: transparent; border-top: none; padding: 32px 0 44px; }
.site-footer--alt { background: var(--bg-alt); }
.site-footer > .container { background: #1d1d20; border-radius: 28px; padding: 60px clamp(24px, 4vw, 56px) 44px; }
.site-footer .logo__img { filter: brightness(0) invert(1); }
.footer__cols { display: grid; grid-template-columns: 300px repeat(4, 1fr); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand p { color: #a2a6af; font-size: 15px; max-width: 280px; }
.footer__phone { font-weight: 600; font-size: 17px; letter-spacing: -0.014em; color: #fff; }
.footer__hours { color: #7c808a; font-size: 13.5px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 { font-weight: 600; font-size: 14.5px; letter-spacing: -0.003em; color: #fff; }
.footer__col a { color: #a2a6af; font-size: 15px; transition: color 0.2s ease, transform 0.2s ease; width: max-content; }
.footer__col a:hover { color: #fff; transform: translateX(2px); }
.footer__bottom { display: flex; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 64px; padding-top: 26px; color: #7c808a; font-size: 13.5px; }
.footer__bottom p:first-child { flex: 1; min-width: 240px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.45s; }

/* hero load-in */
.hero__inner > * { opacity: 0; transform: translateY(24px); animation: heroUp 0.9s var(--ease) forwards; }
.hero__inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero__inner > *:nth-child(2) { animation-delay: 0.14s; }
.hero__inner > *:nth-child(3) { animation-delay: 0.23s; }
.hero__inner > *:nth-child(4) { animation-delay: 0.32s; }
.hero__inner > *:nth-child(5) { animation-delay: 0.41s; }
.hero__inner > *:nth-child(6) { animation-delay: 0.50s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
.hero__figure { opacity: 0; transform: translateY(40px) scale(0.98); animation: heroFig 1.1s var(--ease) 0.5s forwards; }
@keyframes heroFig { to { opacity: 1; transform: none; } }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.pagehero { position: relative; padding-block: clamp(56px, 8vw, 96px); overflow: hidden; }
.pagehero .container { position: relative; z-index: 1; }
.pagehero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 760px; }
.pagehero--center .pagehero__inner { align-items: center; text-align: center; margin-inline: auto; }
.pagehero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -0.032em; }

/* ============================================================
   Generic cards / grids reused across pages
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-h); border-color: var(--border-2); }
.card__icon { width: 46px; height: 46px; aspect-ratio: 1; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 18px; box-shadow: var(--shadow-btn); flex: none; }
.card--soft { background: var(--bg-alt); border-color: transparent; }
.card__k { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }

.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* big final CTA block */
.finalcta {
  position: relative; overflow: hidden; border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #12121a 0%, #1c1830 55%, #2a1840 100%);
  padding: clamp(48px, 7vw, 80px); text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.finalcta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -260px; right: -120px; background: radial-gradient(circle, rgba(123,92,240,0.5), transparent 70%); animation: float2 18s ease-in-out infinite; }
.finalcta::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; bottom: -240px; left: -100px; background: radial-gradient(circle, rgba(63,160,247,0.4), transparent 70%); animation: float1 20s ease-in-out infinite; }
.finalcta > * { position: relative; z-index: 1; }
.finalcta h2 { color: #fff; }
.finalcta p { color: rgba(255,255,255,0.7); max-width: 560px; font-size: 18px; }

/* ---------- FAQ / accordion ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; text-align: left; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--text); transition: color 0.2s ease; }
.faq__q:hover { color: var(--brand-b); }
.faq__ico { flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.35s var(--ease); }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; background: var(--brand-b); border-radius: 2px; }
.faq__ico::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq__ico::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: transform 0.35s var(--ease); }
.faq__item.open .faq__ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 4px 24px; color: var(--text-secondary); font-size: 15.5px; line-height: 1.65; max-width: 760px; }

/* ---------- Contact / forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: 13.5px; color: var(--text); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; color: var(--text); background: var(--bg);
  border: 1px solid var(--border-2); border-radius: 12px; padding: 13px 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-b); box-shadow: 0 0 0 4px rgba(123,92,240,0.12); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { display: flex; flex-direction: column; gap: 14px; transition: transform 0.4s var(--ease); }
.post:hover { transform: translateY(-4px); }
.post__thumb { aspect-ratio: 16/10; border-radius: var(--r-lg); background: var(--grad); position: relative; overflow: hidden; }
.post__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%); }
.post__thumb.alt1 { background: linear-gradient(135deg, #3fa0f7, #7b5cf0); }
.post__thumb.alt2 { background: linear-gradient(135deg, #7b5cf0, #a62be8); }
.post__thumb.alt3 { background: linear-gradient(135deg, #a62be8, #3fa0f7); }
.post__cat { color: var(--brand-b); font-weight: 600; font-size: 12.5px; letter-spacing: 0.02em; }
.post h3 { font-size: 18px; line-height: 1.32; }
.post__meta { color: var(--muted); font-size: 13px; margin-top: auto; }

/* prose (blog post / legal) */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 28px; letter-spacing: -0.02em; margin-top: 44px; }
.prose h3 { font-size: 20px; margin-top: 32px; }
.prose p, .prose li { color: var(--text-secondary); font-size: 16.5px; line-height: 1.72; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--brand-b); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--brand-b); padding-left: 20px; color: var(--text-2); font-size: 19px; line-height: 1.6; }

/* pill row */
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 16px; border-radius: var(--r-pill); background: var(--bg-alt); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: all 0.25s ease; }
.pill:hover, .pill.active { background: var(--chip-purple); border-color: transparent; color: var(--brand-b); }

/* ---------- Pricing plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: var(--bg); border: 1px solid var(--border-2); border-radius: 22px; padding: 34px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan--featured { border: 1.5px solid var(--brand-b); box-shadow: var(--shadow-lg); }
.plan__badge { display: inline-flex; align-self: flex-start; background: var(--grad); color: #fff; padding: 5px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; }
.plan__name { font-weight: 600; font-size: 14.5px; color: var(--muted); }
.plan__price { font-weight: 700; font-size: clamp(52px, 7vw, 72px); letter-spacing: -0.05em; line-height: 1; }
.plan__note { color: var(--muted); font-size: 13.5px; }
.plan__desc { color: var(--text-secondary); font-size: 15px; }
.plan__feats { display: flex; flex-direction: column; gap: 11px; }
.plan__feats .feat { font-size: 15px; }
.price-trust { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: center; color: var(--muted); font-size: 13.5px; }

/* ---------- ROI calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 420px; background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.calc__in { padding: 44px; display: flex; flex-direction: column; gap: 26px; }
.calc__field { display: flex; flex-direction: column; gap: 10px; }
.calc__field .l { display: flex; gap: 6px; }
.calc__field .l span:first-child { flex: 1; color: var(--muted); font-size: 13.5px; }
.calc__field .l span:last-child { font-weight: 600; font-size: 14.5px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--bg-100); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-b); box-shadow: 0 2px 8px rgba(123,92,240,0.35); cursor: pointer; transition: transform 0.2s ease; }
.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-b); box-shadow: 0 2px 8px rgba(123,92,240,0.35); cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; }
.calc__out { background: var(--bg-alt); border-left: 1px solid var(--border); padding: 44px; display: flex; flex-direction: column; }
.calc__row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.calc__row .rl { flex: 1; color: var(--text-secondary); font-size: 15px; }
.calc__row .rv { font-weight: 600; font-size: 14.5px; }
.calc__net { padding-top: 24px; display: flex; flex-direction: column; gap: 6px; }
.calc__net .nl { color: var(--muted); font-size: 13.5px; }
.calc__net .nv { font-weight: 600; font-size: clamp(34px, 5vw, 42px); letter-spacing: -0.04em; line-height: 1; }

/* ---------- Case study card ---------- */
.cs { background: var(--bg); border: 1px solid var(--border-2); border-radius: 22px; box-shadow: var(--shadow-md); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.cs:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cs__head { padding: 38px; display: flex; flex-direction: column; gap: 14px; }
.cs__head h3 { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.1; letter-spacing: -0.032em; }
.cs__head p { color: var(--text-secondary); font-size: 16px; line-height: 1.68; }
.cs__metrics { display: flex; background: var(--bg-alt); border-top: 1px solid var(--border); text-align: center; }
.cs__metric { flex: 1 0 0; min-width: 0; padding: 28px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.cs__metric:last-child { border-right: none; }
.cs__metric .m { font-weight: 700; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.04em; line-height: 1; }
.cs__metric .ml { color: var(--muted); font-size: 13.5px; }
.cs__body { padding: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.cs__blk h4 { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.cs__blk p { color: var(--text-secondary); font-size: 15px; }
.cs__quote { margin: 0 38px 38px; background: var(--bg-alt); border-radius: var(--r-xl); padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.cs__quote > p { color: var(--text-2); font-size: 16px; line-height: 1.68; }

/* ---------- Support hub ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease; }
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.support-card__links { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.support-card__links a { color: var(--text-secondary); font-size: 14.5px; transition: color 0.2s, transform 0.2s; width: max-content; }
.support-card__links a:hover { color: var(--brand-b); transform: translateX(3px); }

/* ---------- About ---------- */
.about-figure { width: 100%; max-width: 720px; margin: 10px auto 0; }
.about-visual { background: var(--bg-100); border-radius: var(--r-xl); box-shadow: var(--shadow-md); height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 48px; text-align: center; position: relative; overflow: hidden; }
.about-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(123,92,240,0.14), transparent 60%); }
.about-visual .emoji { font-size: 46px; position: relative; }
.about-visual .cap { color: var(--text-secondary); font-size: 15px; position: relative; }
.about-visual .sub { color: var(--muted-2); font-size: 13.5px; position: relative; }
.about-caption { color: var(--muted); font-size: 13.5px; text-align: center; margin-top: 14px; }
/* Real team photo filling the visual card */
.about-visual--photo { padding: 0; background: none; height: auto; aspect-ratio: 1000 / 698; }
.about-visual--photo::before { display: none; }
.about-visual--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.timeline { max-width: 760px; margin-inline: auto; }
.tl-item { display: flex; gap: 40px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--border); }
.tl-item:last-child { border-bottom: none; }
.tl-year {
  flex: none; width: 160px;
  font-weight: 800; font-size: clamp(38px, 5vw, 60px);
  line-height: 1; letter-spacing: -0.03em;
  transform-origin: left center;
  /* Re-reveals every time the row scrolls into view (toggled by JS) */
  transform: scale(0.68); opacity: 0.4;
  transition: transform 0.65s var(--ease), opacity 0.55s ease;
}
.tl-item.tl-in .tl-year { transform: scale(1); opacity: 1; }
.tl-c { opacity: 0; transform: translateY(12px); transition: opacity 0.55s ease 0.06s, transform 0.6s var(--ease) 0.06s; }
.tl-item.tl-in .tl-c { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tl-year, .tl-c { transform: none; opacity: 1; transition: none; }
}
.tl-c h4 { font-weight: 600; font-size: 14.5px; margin-bottom: 5px; }
.tl-c p { color: var(--text-secondary); font-size: 15px; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.team-m { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.team-av { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 17px; box-shadow: var(--shadow-btn); transition: transform 0.4s var(--ease); }
.team-m:hover .team-av { transform: translateY(-4px) scale(1.05); }
.team-m b { font-weight: 600; font-size: 17px; letter-spacing: -0.014em; }
.team-m p { color: var(--text-secondary); font-size: 15px; }

/* ---------- FAQ contacts + end card ---------- */
.faq-contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.faq-contact { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; display: flex; gap: 12px; align-items: flex-start; transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.faq-contact:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.faq-contact .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.faq-contact b { display: block; font-weight: 600; font-size: 14.5px; }
.faq-contact span { color: var(--muted); font-size: 13.5px; }
.faq-end { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 22px; padding: 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 16px; }

/* ---------- Contact ---------- */
.contact-card { display: grid; grid-template-columns: 1fr 440px; background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-form { padding: 48px; display: flex; flex-direction: column; gap: 22px; }
.progress { display: flex; gap: 6px; }
.progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--border-2); }
.progress span.on { background: var(--grad); }
.step-label { font-weight: 500; font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); }
.contact-side { background: var(--bg-alt); border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.contact-info { display: flex; gap: 14px; align-items: flex-start; padding: 24px 32px; border-bottom: 1px solid var(--border); }
.contact-info .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; }
.contact-info b { display: block; font-weight: 600; font-size: 14.5px; }
.contact-info span { color: var(--muted); font-size: 13.5px; }
.contact-book { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.tabs-2 { display: flex; gap: 2px; padding: 4px; background: var(--bg-100); border-radius: var(--r-pill); }
.tabs-2 button { flex: 1; padding: 9px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: 14.5px; color: var(--text-secondary); transition: all 0.25s var(--ease); }
.tabs-2 button.active { background: var(--bg); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- Support hub ---------- */
.support-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.search-box { display: flex; gap: 12px; align-items: center; background: var(--bg); border: 1px solid var(--border-2); border-radius: 12px; padding: 15px 16px; color: var(--muted-2); font-size: 15px; }
.articles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.article { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s; cursor: pointer; }
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.article .k { font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
.article h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.014em; }
.article p { color: var(--muted); font-size: 15px; }
.article .role { color: var(--muted-2); font-size: 13.5px; margin-top: auto; }
.side-card { background: var(--bg); border: 1px solid var(--border-2); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.side-card--soft { box-shadow: var(--shadow-md); }
.side-card--purple { background: var(--chip-purple); border-color: #e4dcfc; }
.side-card h3 { font-size: 21px; letter-spacing: -0.02em; }
.side-card p { color: var(--text-secondary); font-size: 15px; }
.progress-bar { height: 6px; background: var(--bg-100); border-radius: 3px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; background: var(--grad); border-radius: 3px; }
.checklist { display: flex; flex-direction: column; }
.check { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.check:last-child { border-bottom: none; }
.check .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-2); flex: none; display: grid; place-items: center; }
.check .box.on { background: var(--grad); border-color: transparent; color: #fff; font-size: 13px; font-weight: 600; }
.check.done p { color: var(--muted); }
.check p { flex: 1; color: var(--text-2); font-size: 15px; }

/* ---------- Blog post ---------- */
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.post-article { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.post-article h1 { font-weight: 600; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.04; letter-spacing: -0.035em; }
.post-article > h2 { font-weight: 600; font-size: 21px; letter-spacing: -0.02em; margin-top: 8px; }
.post-article > p { color: var(--text-secondary); font-size: 16px; line-height: 1.72; letter-spacing: -0.004em; }
.post-article > p.intro { font-size: 19px; line-height: 1.6; letter-spacing: -0.005em; }
.byline { display: flex; gap: 12px; align-items: center; border-block: 1px solid var(--border); padding: 22px 0; }
.byline b { display: block; font-weight: 600; font-size: 14.5px; }
.byline span { color: var(--muted); font-size: 13.5px; }
.toc { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 9px; }
.toc .k { font-weight: 600; font-size: 13px; color: var(--muted); }
.toc a, .toc p { color: var(--text-secondary); font-size: 15px; transition: color 0.2s; }
.toc a:hover { color: var(--brand-b); }
.bullet { display: flex; gap: 12px; align-items: flex-start; }
.bullet .b { color: var(--brand-b); font-weight: 700; }
.bullet p { color: var(--text-secondary); font-size: 16px; line-height: 1.72; }
.upgrade { background: var(--chip-purple); border: 1px solid #e4dcfc; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.upgrade h3 { font-size: 21px; letter-spacing: -0.02em; }
.upgrade p { color: var(--text-secondary); font-size: 15px; }
.upgrade form { display: flex; gap: 10px; }
.upgrade input { flex: 1; }
.bars { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.bars .bl { font-weight: 600; font-size: 14.5px; }
.bar-row { display: flex; gap: 12px; align-items: center; }
.bar-row .name { width: 100px; flex: none; color: var(--text-secondary); font-size: 15px; }
.bar-track { flex: 1; height: 24px; background: var(--bg-100); border-radius: 6px; overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 6px; background: var(--border-2); }
.bar-track i.grad { background: var(--grad); }
.bar-row .val { width: 50px; text-align: right; font-weight: 600; font-size: 14.5px; }
.post-sidebar { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.post-sidebar h3 { font-size: 21px; letter-spacing: -0.02em; }
.post-sidebar p { color: var(--text-secondary); font-size: 15px; }
.post-sidebar .nl { border-top: 1px solid var(--border); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.share { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 16px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(12,13,18,0.5); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s ease; }
.modal.open .modal__scrim { opacity: 1; }
.modal__card { position: relative; background: var(--bg); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); width: min(520px, 100%); padding: 40px; transform: translateY(20px) scale(0.97); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s ease; }
.modal.open .modal__card { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--bg-alt); transition: background 0.2s, color 0.2s; }
.modal__close:hover { background: var(--bg-100); color: var(--text); }

/* ---------- utilities ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; } .mt-56 { margin-top: 56px; }
.center { text-align: center; }
.gap-56 { gap: 56px; } .flex-col { display: flex; flex-direction: column; }
.divider { height: 1px; background: var(--border); border: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .nav__links, .nav__cta .btn--quiet { display: none; }
  .nav__toggle { display: block; }
  .nav { justify-content: space-between; }
  .nav__cta { flex: 1; justify-content: flex-end; }
  .triple, .quotes, .grid-3, .grid-4, .posts { grid-template-columns: 1fr 1fr; }
  .panes { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .mock__cell .v { font-size: 18px; }
  .stats { flex-wrap: wrap; }
  .stat { flex: 1 0 40%; padding: 28px 20px 0; border-right: none; }
}
@media (max-width: 720px) {
  .mock-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mock-scroll .mock__cols { min-width: 640px; }
  .mock-scroll .mock__foot { min-width: 640px; }
  .grid-3, .grid-4, .triple, .quotes, .posts, .grid-2 { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__trust { gap: 14px 20px; }
  .cmp { font-size: 13px; display: block; overflow-x: auto; white-space: nowrap; }
  .pane { padding: 28px; }
  .stat { flex: 1 0 100%; }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
  .btn--lg { padding: 15px 26px; }
  .modal__card { padding: 28px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > *, .hero__inner > *, .hero__figure { opacity: 1 !important; transform: none !important; }
}
