/* ================================================================
   REMEX WEBSITE — DESIGN SYSTEM
   ================================================================ */

/* ---- TOKENS ---- */
:root {
  --surface-0: #FFFFFF;
  --surface-1: #F8F9FB;
  --surface-2: #EEF0F4;
  --border: #E4E7EC;
  --text-primary: #10142A;
  --text-secondary: #5B6072;
  --text-tertiary: #8A8FA0;
  --accent: #FE1200;
  --accent-deep: #D6280F;
  --brand-blue: #17171A;
  --accent-subtle: rgba(214,40,15,.06);
  --accent-subtle-2: rgba(214,40,15,.12);
  --success: #16A34A;
  --success-subtle: rgba(22,163,74,.08);
  --warn: #B4790A;
  --warn-subtle: rgba(180,121,10,.09);
  --info: #3A5A8C;
  --info-subtle: rgba(58,90,140,.08);
  --accent-blue: #0C5FE0;
  --accent-blue-deep: #0A4CB8;
  --accent-blue-subtle: rgba(12,95,224,.07);
  --accent-blue-subtle-2: rgba(12,95,224,.14);
  --royal: #16215E;
  --royal-deep: #0E1642;
  --royal-light: #24357D;
  --dark-gradient: linear-gradient(160deg, #16215E 0%, #0E1642 55%, #080B24 100%);
  --dark-glow: rgba(214,40,15,.10);
  --dark-glow-blue: rgba(45,98,224,.22);
  --shadow-card: 0 1px 2px rgba(16,20,42,.04), 0 1px 1px rgba(16,20,42,.02);
  --shadow-lift: 0 24px 64px rgba(16,20,42,.10);
  --radius-card: 24px;
  --radius-btn: 14px;
  --font: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Yantramanav', 'Heebo', -apple-system, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---- BASE ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--surface-0); color: var(--text-primary);
  font-size: 18px; line-height: 1.8; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; font-weight: 300;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 300; }
.s-num, .lc-card-num, .lc-card-label, .feat-slide-num, .lc-ring-pct, .fs-counter { font-family: var(--font-heading); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022; mix-blend-mode: overlay;
}
::selection { background: rgba(22,33,94,.22); color: var(--text-primary); }
footer ::selection, .hero ::selection, .section-dark ::selection { background: rgba(255,255,255,.28); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.kicker { font-size: 15px; font-weight: 500; color: var(--accent); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 18px; }
.kicker-center { text-align: center; }
.new-badge {
  display: inline-flex; align-items: center; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; vertical-align: middle;
  animation: newBadgePulse 2.4s ease-in-out infinite;
}
@keyframes newBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-subtle-2); }
  50% { box-shadow: 0 0 0 5px transparent; }
}
.section-band { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-band-top { background: var(--surface-1); border-top: 1px solid var(--border); }
.container-440 { max-width: 440px; }
.container-760 { max-width: 760px; }
.container-820 { max-width: 820px; }
.container-840 { max-width: 840px; }
.container-900 { max-width: 900px; }
.container-1200 { max-width: 1200px; }
.section-pt0 { padding-top: 0; }
.section-rounded { border-radius: 25px; }
.text-center { text-align: center; }
.tnum { font-variant-numeric: tabular-nums; }
.rx-re, .rx-maax { color: inherit; font-weight: 500; }
.foot-base .rx-re { color: var(--accent); }
.foot-base .rx-maax { color: var(--accent-blue); }

/* ---- CUSTOM CURSOR ---- */
html.custom-cursor-on, html.custom-cursor-on * { cursor: none !important; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); }
.cursor-ring { width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 1px solid var(--accent); transition: opacity .2s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s; }
.cursor-ring.on { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: var(--accent-subtle); }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--accent); width: 0; z-index: 200; transform-origin: left; }

/* page transition overlay — covers on first paint, fades to reveal;
   fades back in before an internal navigation, so page loads never hard-cut */
.page-transition {
  position: fixed; inset: 0; z-index: 9998; background: var(--surface-0);
  opacity: 1; pointer-events: none; transition: opacity .32s ease;
}
.page-transition.is-hidden { opacity: 0; }

/* ---- NAV ---- */
.nav-wrap { position: fixed; top: 20px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 16px; }
.nav {
  display: flex; align-items: center; gap: 6px; width: 100%; max-width: 1060px;
  padding: 11px 20px 11px 28px; border-radius: 999px;
  background: transparent; border: 0px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.nav.scrolled {
  background: rgba(255,255,255); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: var(--border); box-shadow: var(--shadow-card);
}
.brand { display: flex; align-items: center; }
.brand img, .brand svg { height: 22.5px; width: auto; overflow: visible; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative; font-size: 15px; font-weight: 400; color: var(--text-secondary);
  padding: 9px 15px 11px; border-radius: 999px; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px;
  border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease), background .25s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.on { color: var(--text-primary); }
.nav-links a.on::after { transform: scaleX(1); }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 999px; place-items: center; color: var(--text-primary); margin-left: 4px; transition: color .25s; }

/* homepage only: hero is dark royal blue behind the nav until scrolled past it */
body.is-home .nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,.8); }
body.is-home .nav:not(.scrolled) .nav-links a::after { background: #fff; }
body.is-home .nav:not(.scrolled) .nav-links a:hover,
body.is-home .nav:not(.scrolled) .nav-links a.on { color: #fff; }
body.is-home .nav:not(.scrolled) .menu-btn { color: #fff; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu {
  position: fixed; top: 78px; left: 16px; right: 16px; z-index: 99;
  background: var(--surface-0); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lift); padding: 10px; display: none; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--text-primary); padding: 13px 16px; border-radius: 12px; }
.mobile-menu a:hover { background: var(--surface-1); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; min-height: 46px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, opacity .25s; will-change: transform;
}
.btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-subtle-2); background: var(--accent-deep); }
.btn-primary:active { transform: translateY(0) scale(.96); box-shadow: 0 4px 14px var(--accent-subtle-2); transition-duration: .12s; }
.btn-ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--text-tertiary); }
.btn-ghost:active { transform: translateY(0) scale(.96); background: var(--surface-1); transition-duration: .12s; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; min-height: 38px; border-radius: 999px; }
.nav-cta { white-space: nowrap; flex-shrink: 0; }

/* ---- STATUS CHIPS ---- */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip .c-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.chip-red { background: var(--accent-subtle); color: var(--accent); } .chip-red .c-dot { background: var(--accent); }
.chip-ok { background: var(--success-subtle); color: var(--success); } .chip-ok .c-dot { background: var(--success); }
.chip-warn { background: var(--warn-subtle); color: var(--warn); } .chip-warn .c-dot { background: var(--warn); }
.chip-neutral { background: var(--surface-2); color: var(--text-secondary); } .chip-neutral .c-dot { background: var(--text-tertiary); }
.chip-info { background: var(--info-subtle); color: var(--info); } .chip-info .c-dot { background: var(--info); }

/* ---- SECTION SCAFFOLD (8px rhythm: 128px section padding) ---- */
section { padding: 128px 0; }
.section-head { max-width: 600px; margin: 0 auto 80px; text-align: center; }
.section-head .kicker { font-size: 15px; font-weight: 500; color: var(--accent); letter-spacing:.28em; text-transform: uppercase; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(32px, 4.3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 18px; color: var(--text-primary); letter-spacing: -0.02em;}
.section-head p { font-size: 20px; font-weight: 300; color: var(--text-secondary); line-height: 1.55; }

.section-head2 { max-width: 600px; margin: 0 auto 80px; }
.section-head2 .kicker { font-size: 15px; font-weight: 500; color: var(--accent); letter-spacing:.28em; text-transform: uppercase; margin-bottom: 18px; }
.section-head2 h2 { font-size: clamp(32px, 4.3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 18px; color: var(--text-primary); letter-spacing: -0.02em;}
.section-head2 p { font-size: 20px; font-weight: 300; color: var(--text-secondary); line-height: 1.55; }


/* page hero (white, with a quiet animated background) */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: 188px; padding-bottom: 72px; text-align: center;
  background: var(--surface-0); color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 28px -20px rgba(16,20,42,.14);
}
.page-hero::before {
  content: ""; position: absolute; inset: -10%;
  background-image:
    radial-gradient(var(--border) 1px, transparent 1.5px),
    repeating-linear-gradient(115deg, transparent 0 77px, var(--border) 77px 78px);
  background-size: 34px 34px, auto;
  opacity: .55;
  mask-image: radial-gradient(ellipse 62% 55% at 50% 30%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 62% 55% at 50% 30%, black 0%, transparent 78%);
  animation: gridDrift 40s linear infinite; pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -280px; right: -160px;
  background: radial-gradient(circle, var(--surface-2), transparent 68%); filter: blur(90px); pointer-events: none;
  animation: heroBlob1 22s ease-in-out infinite alternate;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5.8vw, 60px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 40px; color: var(--text-primary);letter-spacing: -0.02em; }
.page-hero h1 .accent { color: var(--accent); font-weight: 500;}
.page-hero .sub { font-size: 21px; font-weight: 300;  color: var(--text-secondary); max-width: 580px; margin: 0 auto; line-height: 1.75; }

/* ---- SCREENSHOT FRAME ---- */
/* App-screen frames always stay light — the product's own screens are white,
   regardless of site dark mode, so they read as real screenshots, not tinted UI. */
.ss-frame {
  position: relative; background: #FFFFFF; border: 1px solid #E8E8E8; border-radius: var(--radius-card);
  overflow: hidden;
}
.ss-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid #E8E8E8; background: #FAFAFA; }
.ss-bar .dots { display: flex; gap: 6px; }
.ss-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #F4F4F5; border: 1px solid #E8E8E8; }
.ss-bar .url { margin: 0 auto; font-size: 11.5px; color: #9B9BA0; background: #FFFFFF; border: 1px solid #E8E8E8; border-radius: 7px; padding: 3px 32px; }
.ss-frame img { width: 100%; height: auto; display: block; }

/* ---- IMAGE LENS ZOOM (hover magnifier on screenshots) ---- */
.zoom-lens {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 40;
  border: 3px solid #fff; box-shadow: 0 10px 40px rgba(0,0,0,.32), 0 0 0 1px rgba(16,20,42,.08);
  background-repeat: no-repeat; opacity: 0; transition: opacity .18s ease;
}
.zoom-lens.on { opacity: 1; }

/* ---- IMAGE LIGHTBOX (click any screenshot to pop it out, full size) ---- */
.img-lightbox {
  position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
  background: rgba(8,10,20,.84); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); padding: 60px 40px;
}
.img-lightbox.on { opacity: 1; pointer-events: auto; }
.img-lightbox img {
  max-width: min(1360px, 92vw); max-height: 86vh; width: auto; height: auto; display: block;
  border-radius: 16px; box-shadow: 0 40px 120px rgba(0,0,0,.5);
  transform: scale(.96); transition: transform .3s var(--ease);
}
.img-lightbox.on img { transform: scale(1); }
.img-lightbox-close {
  position: absolute; top: 26px; right: 30px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.img-lightbox-close:hover { background: rgba(255,255,255,.2); transform: scale(1.08); }
.img-lightbox-close svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .img-lightbox { padding: 24px; } .img-lightbox-close { top: 16px; right: 16px; } }
.ss-frame img, .window img, .feat-ss img, .lc-card-shot img, .img-lightbox img {
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
}

/* small "expand" affordance in the corner of a hovered screenshot */
.zoom-hint {
  position: absolute; top: 14px; right: 14px; z-index: 35; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(16,20,42,.55); backdrop-filter: blur(6px); color: #fff;
  display: grid; place-items: center; opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.zoom-hint.on { opacity: 1; }
.zoom-hint svg { width: 15px; height: 15px; }

/* ---- MODULE ROWS (alternating) ---- */
.mod { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; align-items: center; padding: 96px 0; }
.mod + .mod { border-top: 1px solid var(--border); }
.mod.flip .mod-visual { order: -1; }
.mod-copy .kicker { font-size: 15px; font-weight: 500; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.mod-copy h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: 14px; color: var(--text-primary); letter-spacing: -0.02em;}
.mod-copy > p { font-size: 19px; font-weight: 300; color: var(--text-secondary); margin-bottom: 22px; line-height: 1.6; }
.mod-list { display: grid; gap: 11px; list-style: none; }
.mod-list li { display: flex; gap: 10px; font-size: 18px; color: var(--text-primary); line-height: 1.65; margin-bottom: 15px; }
.mod-list li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 5px; }
.mod-list li strong { color: var(--text-primary); font-weight: 500; text-transform: capitalize; }

/* ---- HERO (dark royal blue block — cuts off partway through the
   dashboard screenshot, so the image visibly breaks out onto white) ---- */
.hero {
  position: relative; padding: 200px 0 100px; overflow: hidden;
  background: var(--surface-0); color: #F3F4FA;
  --text-primary: #F3F4FA; --text-secondary: #ABB1D4; --text-tertiary: #7178A3;
  --border: rgba(150,165,235,.18); --surface-1: #131A3E; --surface-2: #1B234E;
}
.hero-backdrop {
  position: absolute; top: 0; left: 0; right: 0; z-index: 0;
  height: clamp(760px, 88vw, 1280px);
  background: var(--dark-gradient); overflow: visible; pointer-events: none;
}
.hero-wave {
  position: absolute; left: -2%; right: -2%; bottom: -1px; height: 96px;
  background: var(--royal-deep);
  clip-path: polygon(0% 48%, 7% 62%, 14% 42%, 21% 66%, 28% 38%, 35% 62%, 42% 40%, 49% 65%, 56% 38%, 63% 62%, 70% 40%, 77% 65%, 84% 38%, 91% 60%, 100% 48%, 100% 100%, 0% 100%);
  animation: heroWaveMove 12s ease-in-out infinite alternate;
}
.hero-wave-2 {
  height: 70px; opacity: .5; background: var(--royal);
  animation: heroWaveMove 15s ease-in-out infinite alternate-reverse;
}
@keyframes heroWaveMove {
  from { clip-path: polygon(0% 48%, 7% 62%, 14% 42%, 21% 66%, 28% 38%, 35% 62%, 42% 40%, 49% 65%, 56% 38%, 63% 62%, 70% 40%, 77% 65%, 84% 38%, 91% 60%, 100% 48%, 100% 100%, 0% 100%); }
  to { clip-path: polygon(0% 58%, 7% 40%, 14% 64%, 21% 42%, 28% 66%, 35% 40%, 42% 64%, 49% 40%, 56% 66%, 63% 40%, 70% 64%, 77% 40%, 84% 62%, 91% 42%, 100% 58%, 100% 100%, 0% 100%); }
}
.hero-bg { position: absolute; top: 0; left: 0; right: 0; height: clamp(760px, 88vw, 1280px); pointer-events: none; z-index: 0; overflow: hidden; }
.hero-bg .mesh, .hero-bg .grid { display: none; }
.hero-bg .g1 {
  position: absolute; width: 620px; height: 620px; top: -320px; right: -180px; border-radius: 50%;
  background: radial-gradient(circle, var(--dark-glow-blue), transparent 68%); filter: blur(90px);
  animation: heroBlob1 22s ease-in-out infinite alternate;
}
.hero-bg .g2 {
  position: absolute; width: 520px; height: 520px; bottom: -240px; left: -180px; border-radius: 50%;
  background: radial-gradient(circle, var(--dark-glow), transparent 70%); filter: blur(80px);
  animation: heroBlob2 26s ease-in-out infinite alternate;
}
.hero-bg .g3 { display: none; }
@keyframes heroBlob1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-46px,32px) scale(1.08); } }
@keyframes heroBlob2 { from { transform: translate(0,0) scale(1); } to { transform: translate(34px,-26px) scale(1.06); } }
@keyframes gridDrift { to { background-position: 34px 68px, 0 0; } }
/* cursor-reactive spotlight */
.hero-spot {
  position: absolute; top: 0; left: 0; right: 0; height: clamp(760px, 88vw, 1280px); z-index: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 22%), rgba(255,82,56,.14), transparent 70%);
  transition: opacity .5s var(--ease);
}
.hero:hover .hero-spot { opacity: 1; }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 980px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 450; color: var(--text-secondary);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 32px;
}
.eyebrow .dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #FF5238; }
.eyebrow .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #FF5238; opacity: .5; animation: eyebrowPulse 2.4s ease-out infinite; }
@keyframes eyebrowPulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(2.4); opacity: 0; } }
.window { transition: transform .4s var(--ease); will-change: transform; }
.hero h1 { font-size: clamp(46px, 6.8vw, 60px); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 26px; color: var(--text-primary); }
.hero h1 .accent { color: #FF5238; }
.hero .sub { font-size: clamp(17px, 2vw, 19px); color: var(--text-secondary); max-width: 780px; margin: 0 auto 40px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-note { font-size: 15px; color: var(--surface-0); text-transform: uppercase;letter-spacing: 0.05em;font-weight: 400; }

/* hero screenshot showcase — the app screen stays pure white for contrast */
.hero-visual { position: relative; margin: 88px auto 0; max-width: 1080px; z-index: 1; }
.hero-visual .ss-frame,  { box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.hero-visual img { width: 100%; display: block; }

/* ---- LIVE WIDGETS (two, quiet, genuinely animating) ----
   Solid-ish white cards, not glass — on a dark hero, a barely-there frosted
   panel reads as broken transparency, not premium. Re-scope tokens locally
   so the widget's internals render as normal light-mode UI regardless of
   the dark hero wrapping it. */
.float-widget {
  position: absolute; background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16,20,42,.06); border-radius: 16px; box-shadow: 0 20px 48px rgba(0,0,0,.22);
  padding: 14px 16px; z-index: 2; will-change: transform;
  --text-primary: #10142A; --text-secondary: #5B6072; --text-tertiary: #8A8FA0;
  --border: #E4E7EC; --surface-1: #F8F9FB; --surface-2: #EEF0F4;
}
.live-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--text-tertiary); margin-bottom: 10px; }
.live-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #22C55E; opacity: .55; animation: eyebrowPulse 1.8s ease-out infinite; }
.fw-score { top: -6%; left: -64px; width: 176px; }
.fw-score-row { display: flex; align-items: center; gap: 12px; }
.fw-ring { position: relative; width: 50px; height: 50px; flex-shrink: 0; }
.fw-ring svg { width: 50px; height: 50px; transform: rotate(-90deg); display: block; }
.fw-ring .ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 5; }
.fw-ring .ring-val { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 138; stroke-dashoffset: 138; transition: stroke-dashoffset 1.2s var(--ease); }
.fw-ring .ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.fw-score-label { font-size: 13px; font-weight: 500; color: var(--text-primary); line-height: 1.4; }
.fw-score-label span { display: block; font-size: 11.5px; color: var(--text-tertiary); font-weight: 400; margin-top: 2px; }
.fw-live { bottom: -8%; right: -56px; width: 250px; }
.fw-live-msg { font-size: 13px; line-height: 1.5; color: var(--text-primary); min-height: 40px; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.fw-live-msg strong { font-weight: 500; }
.fw-live-msg.swap { opacity: 0; transform: translateY(4px); }
@media (max-width: 1180px) { .fw-score { left: 6px; } .fw-live { right: 6px; } }
@media (max-width: 720px) { .fw-score, .fw-live { display: none; } }
@media (max-width: 720px) { .hero-backdrop, .hero-bg, .hero-spot { height: 1010px; } }

/* ---- TRUST / AUDIENCE GRID (prominent cards) ---- */
.trust { padding: 144px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card {
  position: relative; overflow: hidden; text-align: left;
  padding: 34px 28px; border: 0px solid var(--border); border-radius: var(--radius-card);
  background: var(--surface-0);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.trust-card:hover { transform: translateY(-6px); border-color: var(--accent-subtle-2); box-shadow: var(--shadow-lift); }
.trust-card .t-icon {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 15px;
  background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center;
  margin-bottom: 22px; transition: transform .3s var(--ease);
}
.trust-card:hover .t-icon { transform: scale(1.08) rotate(-4deg); }
.trust-card .t-icon svg { width: 24px; height: 24px; }
.trust-card h3 { position: relative; z-index: 1; font-size: 21px; font-weight: 400; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 10px; }
.trust-card p { position: relative; z-index: 1; font-size: 17px; color: var(--text-secondary); line-height: 1.55; margin: 0; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .trust { padding: 96px 0; } .trust-grid { grid-template-columns: 1fr; } }

/* ---- KPI STAT STRIP (borderless, divided) ---- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; text-align: left; padding: 0 32px; border-left: 1px solid var(--border); overflow: hidden; }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .st-icon { display: none; }
.stat .s-num { position: relative; font-size: clamp(38px, 4.6vw, 56px); font-weight: 500; letter-spacing: normal; line-height: 1; color: var(--text-primary); }
.stat .s-num .accent { color: var(--accent); }
.stat .s-label { position: relative; font-size: 18px; color: var(--surface-0); margin-top: 14px; line-height: 1.55; }

/* ---- NAME MEANING (dictionary-entry card, about page) ---- */
.nm-card {
  position: relative; text-align: center; padding: 100px 80px; overflow: hidden;
  border-radius: 28px; background: var(--surface-1);
}
.nm-card > * { position: relative; z-index: 1; }
.nm-word { font-family: var(--font-heading); font-size: clamp(38px, 5.6vw, 60px); font-weight: 600; letter-spacing: normal; color: #0197ff; margin-bottom: 6px; }
.nm-phon { font-size: 21px; color: var(--text-primary); margin-bottom: 24px;  font-weight: 400;}
.nm-def { font-size: 20px; font-weight: 300; line-height: 1.6; color: var(--text-secondary); max-width: 640px; margin: 0 auto 44px; }
.nm-def strong { color: var(--text-primary); font-weight: 500; }
.nm-parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: left; padding-top: 36px; border-top: 1px solid var(--border); max-width: 560px; margin: 0 auto; }
.nm-tag { display: inline-block; font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 9px; }
.nm-part p { font-size: 16px; line-height: 1.75; color: var(--text-secondary); }
@media (max-width: 720px) { .nm-card { padding: 48px 24px; } .nm-parts { grid-template-columns: 1fr; gap: 22px; } }

/* ---- MODULE ORBIT (features page — 11 modules, one engine) ---- */
.orbit { position: relative; width: 560px; height: 560px; margin: 56px auto 0; --orbit-step: 32.7273deg; }
.orbit::before {
  content: ""; position: absolute; inset: 30px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
  opacity: .6; pointer-events: none;
}
.orbit-ring { position: absolute; inset: 78px; border-radius: 50%; border: 1.5px dashed var(--border); animation: orbitSpin 90s linear infinite; }
.orbit-ring::after { content: ""; position: absolute; inset: -28px; border-radius: 50%; border: 1px solid var(--border); opacity: .45; }
.orbit-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 144px; height: 144px; border-radius: 50%; background: var(--dark-gradient);
  display: grid; place-items: center; z-index: 3;
  box-shadow: 0 0 0 8px var(--accent-subtle), 0 20px 46px rgba(16,20,42,.32), var(--shadow-lift);
  animation: orbitCoreBreathe 4.5s ease-in-out infinite;
}
.orbit-core::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--accent) 0%, transparent 72%); opacity: .28; filter: blur(6px);
}
.orbit-core img { width: 92px; height: auto; display: block; }
@keyframes orbitCoreBreathe {
  0%, 100% { box-shadow: 0 0 0 8px var(--accent-subtle), 0 20px 46px rgba(16,20,42,.32), var(--shadow-lift); }
  50% { box-shadow: 0 0 0 14px var(--accent-subtle), 0 24px 56px rgba(16,20,42,.38), var(--shadow-lift); }
}
.orbit-item { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(calc(var(--i) * var(--orbit-step))) translateX(250px); z-index: 2; }
.orbit-spoke {
  position: absolute; top: 0; left: -250px; width: 250px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 40%, var(--border) 100%);
  transition: background .3s var(--ease);
}
.orbit-spoke::after {
  content: ""; position: absolute; top: 50%; left: 100%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-subtle);
  opacity: 0; animation: orbitPulse 6.6s linear infinite; animation-delay: calc(var(--i) * -0.66s);
}
@keyframes orbitPulse {
  0%   { left: 100%; opacity: 0; }
  6%   { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 0%; opacity: 0; }
}
.orbit-node {
  position: absolute; top: 0; left: 0; transform: translate(-50%,-50%) rotate(calc(var(--i) * var(--orbit-step) * -1));
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 18px 7px 7px; border-radius: 999px;
  background: var(--surface-0); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  font-size: 15px; font-weight: 400; color: var(--text-primary); white-space: nowrap;
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.orbit-node-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--surface-2); color: var(--text-tertiary); transition: background .3s var(--ease), color .3s var(--ease);
}
.orbit-node-icon svg { width: 15px; height: 15px; }
.orbit-item:nth-child(odd) .orbit-node-icon { background: var(--accent-subtle); color: var(--accent); }
.orbit-item:hover .orbit-node { transform: translate(-50%,-50%) rotate(calc(var(--i) * var(--orbit-step) * -1)) scale(1.09); border-color: var(--accent); box-shadow: var(--shadow-lift); }
.orbit-item:hover .orbit-node-icon { background: var(--accent); color: #fff; }
.orbit-item:hover .orbit-spoke { background: linear-gradient(90deg, transparent, var(--accent) 40%, var(--accent) 100%); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .orbit {
    width: auto; height: auto; max-width: 480px; margin: 40px auto 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  }
  .orbit::before, .orbit-ring { display: none; }
  .orbit-core { grid-column: 1 / -1; position: static; transform: none; margin: 0 auto 10px; animation: none; }
  .orbit-core::before { display: none; }
  .orbit-item { position: static; width: auto; height: auto; transform: none; }
  .orbit-spoke { display: none; }
  .orbit-node { position: static; transform: none; width: 100%; justify-content: flex-start; padding: 9px 16px 9px 8px; }
  .orbit-item:hover .orbit-node { transform: none; }
}
@media (max-width: 480px) {
  .orbit { grid-template-columns: 1fr; max-width: 320px; }
}

/* ---- AUTOMATION ENGINE FLOW (workflow page) ---- */
.auto-flow { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 58px 0 8px; }
.auto-flow::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 85px; height: 2px; background: var(--border);
}
.auto-flow::after {
  content: ""; position: absolute; left: 10%; top: 84px; width: 80%; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--accent) 15%, var(--accent) 25%, transparent 42%);
  background-size: 240% 100%;
  animation: autoFlowMove 4.5s linear infinite;
}
@keyframes autoFlowMove { from { background-position: 130% 0; } to { background-position: -110% 0; } }
.af-node { position: relative; z-index: 1; flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .3s var(--ease); }
.af-node:hover { transform: translateY(-4px); }
.af-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--surface-0); border: 2px solid var(--border);
  margin-bottom: 18px; animation: afPulse 4.5s ease-in-out infinite;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.af-node:nth-child(1) .af-dot { animation-delay: 0s; }
.af-node:nth-child(2) .af-dot { animation-delay: .85s; }
.af-node:nth-child(3) .af-dot { animation-delay: 1.7s; }
.af-node:nth-child(4) .af-dot { animation-delay: 2.55s; }
.af-node:nth-child(5) .af-dot { animation-delay: 3.4s; }
.af-node:hover .af-dot {
  animation-play-state: paused; border-color: var(--accent); background: var(--accent);
  box-shadow: 0 0 0 7px var(--accent-subtle);
}
@keyframes afPulse {
  0%, 88%, 100% { border-color: var(--border); background: var(--surface-0); box-shadow: none; }
  5% { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 7px var(--accent-subtle); }
  16% { border-color: var(--border); background: var(--surface-0); box-shadow: none; }
}
.af-node p { font-size: 18px; color: var(--text-secondary); max-width: 140px; line-height: 1.3; transition: color .3s var(--ease);font-weight: 500; margin-top: 15px;}
.af-node:hover p { color: var(--text-primary); font-weight: 500; }
@media (max-width: 860px) {
  .auto-flow { flex-direction: column; align-items: flex-start; gap: 30px; padding: 24px 0 0; }
  .auto-flow::before, .auto-flow::after { display: none; }
  .af-node { flex-direction: row; text-align: left; }
  .af-dot { margin-bottom: 0; margin-right: 16px; flex-shrink: 0; }
  .af-node p { max-width: none; }
}
.story-quote { position: relative; }
.story-quote .qm { display: block; text-align: center; font-family: var(--font-heading); font-size: 72px; font-weight: 700; line-height: 1; color: var(--accent); opacity: .18; margin-bottom: -6px; }
.story-lead { font-size: 21px; font-weight: 300; line-height: 1.75; color: var(--text-primary); text-align: center; }
.commitment-title { font-size: clamp(28px, 3.4vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 20px; }
.commitment-desc { font-size: 19px; font-weight: 300; color: var(--text-secondary); line-height: 1.6; }
.section-pt48 { padding-top: 48px; }
.link-accent { color: var(--accent); font-weight: 600; }
.opt-label { color: var(--text-tertiary); font-weight: 400; }
.btn-block { width: 100%; justify-content: center; }
.mt-4 { margin-top: 4px; }
.mt-56 { margin-top: 56px; }
.pb-56 { padding-bottom: 56px; }
.why-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat .s-label strong { color: var(--accent); font-weight: 500; }

/* ---- DARK CHAPTER BREAK (scoped token override, royal blue) ---- */
.section-dark {
  position: relative; overflow: hidden;
  background: var(--dark-gradient); color: #F3F3F1;
  --text-primary: #F3F3F1; --text-secondary: #A9AFDA; --text-tertiary: #6E76AC;
  --border: rgba(150,175,255,.16); --surface-1: #101A4E; --surface-2: #182662;
  --accent: #FF5238; --accent-subtle: rgba(255,82,56,.15); --accent-subtle-2: rgba(255,82,56,.24);
}
.section-dark::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; top: -300px; left: -140px;
  background: radial-gradient(circle, var(--dark-glow), transparent 65%); filter: blur(80px); pointer-events: none;
  animation: darkGlowDrift1 20s ease-in-out infinite alternate;
}
.section-dark::after {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; bottom: -260px; right: -120px;
  background: radial-gradient(circle, var(--dark-glow-blue), transparent 65%); filter: blur(80px); pointer-events: none;
  animation: darkGlowDrift2 24s ease-in-out infinite alternate;
}
@keyframes darkGlowDrift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,26px) scale(1.1); } }
@keyframes darkGlowDrift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-34px,-22px) scale(1.08); } }
.section-dark .container { position: relative; z-index: 1; }
@media (max-width: 720px) { .stat { border-left: none; border-top: 1px solid var(--border); padding: 24px 0 0; } .stat:first-child { padding-top: 0; } }

/* ---- FEATURE SLIDER (one prominent module at a time) ---- */
.feat-slider { position: relative; overflow: hidden; }
.feat-slider-track { display: flex; transition: transform .65s var(--ease); }
.feat-slide { flex: 0 0 100%; width: 100%; display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.feat-slide-copy { position: relative; }
.feat-slide-copy .feat-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.feat-slide-copy .feat-icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.feat-slide-copy h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: 14px; color: var(--accent); }
.feat-slide-copy > p { font-size: 18px; font-weight: 300; color: var(--text-primary); line-height: 1.6; margin-bottom: 24px; max-width: 440px; }
.feat-slide-visual { border-radius: var(--radius-card); overflow: hidden; perspective: 1200px; }
.feat-slide-visual .ss-frame { box-shadow: var(--shadow-lift); transition: transform .4s var(--ease); will-change: transform; }

.feat-slider-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 56px; }
.fs-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-primary); transition: border-color .25s, transform .25s var(--ease); flex-shrink: 0; }
.fs-arrow:hover { border-color: var(--text-tertiary); transform: scale(1.06); }
.fs-arrow svg { width: 17px; height: 17px; }
.fs-dots { display: flex; align-items: center; gap: 8px; }
.fs-dot { position: relative; overflow: hidden; width: 7px; height: 7px; border-radius: 999px; background: var(--border); transition: width .3s var(--ease), background .3s; }
.fs-dot.on { width: 34px; background: var(--accent-subtle-2); }
.fs-dot.on::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(0); transform-origin: left; border-radius: inherit;
}
.fs-dot.on.autoplay::after { animation: fsDotFill 5.5s linear forwards; }
.feat-slider.fs-paused .fs-dot.on.autoplay::after { animation-play-state: paused; }
@keyframes fsDotFill { to { transform: scaleX(1); } }
.fs-counter { font-size: 15px; color: var(--text-secondary); font-variant-numeric: tabular-nums; margin-left: 4px; min-width: 52px; }

@media (max-width: 860px) {
  .feat-slide { grid-template-columns: 1fr; gap: 32px; }
  .feat-slide-visual { order: -1; }
}

/* ---- FEATURE GRID (cards) ---- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.feat { background: transparent; border-top: 1px solid var(--border); border-radius: 0; padding: 32px 30px 30px; box-shadow: none; display: flex; flex-direction: column; gap: 16px; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.feat:hover { transform: translateY(-4px); border-top-color: var(--accent); }
.feat:hover .feat-icon { transform: translateY(-2px) scale(1.08); }
.feat-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; margin-left: -3px; transition: transform .3s var(--ease); }
.feat-icon svg { width: 22px; height: 22px; stroke-width: 1.75; }
.feat h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: var(--text-primary);letter-spacing: -0.02em; }
.feat > p { font-size: 17px; color: var(--text-secondary); flex: 1; line-height: 1.55; }
.feat-ss { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); margin-top: 6px; }
.feat-ss img { width: 100%; height: auto; display: block; }

/* ---- WHY GRID ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.why-card { background: transparent; border-top: 1px solid var(--border); border-radius: 0; padding: 32px 30px 30px; box-shadow: none; transition: transform .3s var(--ease), border-color .3s var(--ease); }
a.why-card { display: block; }

/* ---- SEARCH MOCKUP (workflow page) ---- */
.search-mock { padding: 22px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.search-mock-bar { display: flex; align-items: center; gap: 10px; background: var(--surface-1); border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.search-mock-icon { width: 18px; height: 18px; color: var(--text-tertiary); flex-shrink: 0; }
.search-mock-query { font-size: 15px; color: var(--text-primary); }
.search-mock-cursor { width: 2px; height: 16px; background: var(--accent); margin-left: 1px; }
.search-mock-groups { display: grid; gap: 10px; }
.search-mock-label { font-size: 11px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.search-mock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; background: var(--surface-0); border: 1px solid var(--border); border-radius: 11px; }
.search-mock-row-title { font-size: 14px; color: var(--text-primary); font-weight: 600; }

/* ---- CAPABILITY MARQUEE ---- */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; background: var(--surface-1); }
.marquee { display: flex; width: max-content; gap: 16px; align-items: center; white-space: nowrap; animation: marqueeScroll 34s linear infinite; }
.marquee span { font-size: 21px; font-weight: 400; color: var(--text-primary); }
.marquee .mq-dot { color: var(--accent); font-weight: 700; font-size: 18px; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SKYLINE LINE-ART BAND ---- */
.skyline-band { background: var(--royal-deep); padding: 120px 0; overflow: hidden; }
.skyline-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.skyline-copy .kicker { color: #FF5238; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 16px; }
.skyline-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; line-height: 1.2; color: #F3F4FA; margin-bottom: 18px; letter-spacing: -0.02em;}
.skyline-copy h2 .accent { color: #FF5238; }
.skyline-copy p { font-size: 16px; color: #ABB1D4; line-height: 1.7; max-width: 420px; }
.skyline-art svg { width: 100%; height: auto; }
.skyline-crane { animation: skylineSwing 6s ease-in-out infinite; transform-origin: 245px 60px; }
.skyline-dot { animation: skylineBlink 3s ease-in-out infinite; }
@keyframes skylineSwing { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(2.5deg); } }
@keyframes skylineBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 860px) {
  .skyline-band { padding: 80px 0; }
  .skyline-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .skyline-copy p { margin: 0 auto; }
}

/* ---- BILLBOARD STATEMENT (scroll-illuminated claim) ---- */
.billboard { background: var(--royal-deep); padding: 160px 0; text-align: center; }
.billboard-text { font-size: clamp(30px, 4.4vw, 54px); letter-spacing:-0.02em; font-weight: 300; line-height: 1.25; color: #454B6E; max-width: 900px; margin: 0 auto; transition: color .1s linear; }

/* ---- ROI CALCULATOR (demo page) ---- */
.roi-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 44px; }
.roi-inputs { display: grid; gap: 28px; margin-bottom: 40px; }
.roi-field-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.roi-field label { font-size: 15px; font-weight: 500; color: var(--text-primary);text-transform: capitalize; }
.roi-field output { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.roi-field input[type="range"] {
  width: 100%; height: 6px; border-radius: 999px; background: var(--surface-2); appearance: none; -webkit-appearance: none; outline: none;
}
.roi-field input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--surface-0); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer;
}
.roi-field input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface-0); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer;
}
.roi-outputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 32px; border-top: 1px solid var(--border); text-align: center; }
.roi-num { display: block; font-family: var(--font-heading); font-size: clamp(30px, 4vw, 42px); font-weight: 500; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.roi-stat p { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.5; }
.roi-disclaimer { font-size: 12px; color: var(--text-tertiary); margin-top: 28px; line-height: 1.6; text-align: center; }
@media (max-width: 640px) {
  .roi-card { padding: 28px 22px; }
  .roi-outputs { grid-template-columns: 1fr; gap: 22px; }
}

/* ---- 404 PAGE ---- */
.nf-ghost {
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(110px, 20vw, 260px);
  letter-spacing: normal; color: var(--text-primary); opacity: .07; line-height: 1;
  margin: 0 0 -18px; user-select: none;
}
.why-card:hover { transform: translateY(-4px); border-top-color: var(--accent); }
.why-card:hover .w-icon { transform: translateY(-2px) scale(1.08); }
.why-card .w-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; margin-left: -3px; transition: transform .3s var(--ease); }
.why-card .w-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.why-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 9px; color: var(--text-primary);line-height: 1.3; }
.why-card p { font-size: 17px; color: var(--text-secondary); line-height: 1.55; }

/* ---- SOLUTIONS TABS ---- */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 56px; flex-wrap: wrap; }
.tab-btn { font-size: 15px; font-weight: 500; padding: 11px 26px; border-radius: 999px; color: var(--text-secondary); border: 1.5px solid var(--border); background: var(--surface-0); transition: all .2s var(--ease); }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn:active { transform: scale(.95); transition-duration: .1s; }
.tab-btn.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.on { display: block; }

/* persona cards */
.scope-chart { display: flex; flex-direction: column; gap: 18px; margin: 20px 0 8px; }
.scope-row { display: grid; grid-template-columns: 140px 1fr 160px; align-items: center; gap: 18px; }
.scope-label { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.scope-track { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.f-bar { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); transition: width 1.1s cubic-bezier(.16,1,.3,1); }
.scope-desc { font-size: 13px; color: var(--text-tertiary); text-align: right; }
@media (max-width: 640px) {
  .scope-row { grid-template-columns: 84px 1fr; gap: 12px; }
  .scope-desc { display: none; }
}

/* ---- TRANSFORM LIST (without/with REMEX infographic) ---- */
.transform-head { display: grid; grid-template-columns: 48px 1fr 40px 1fr; gap: 24px; padding: 0 6px 14px; }
.transform-label { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.transform-label-without { color: var(--text-tertiary); }
.transform-label-with { color: var(--accent); }
.transform-list { border-top: 1px solid var(--border); }
.transform-row { display: grid; grid-template-columns: 48px 1fr 40px 1fr; gap: 24px; align-items: center; padding: 26px 6px; border-bottom: 1px solid var(--border); }
.transform-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--surface-1); color: var(--text-tertiary); display: grid; place-items: center; flex-shrink: 0; }
.transform-icon svg { width: 23px; height: 23px; }
.transform-without { font-size: 15.5px; color: var(--text-tertiary); line-height: 1.55; text-decoration: line-through; text-decoration-color: var(--border); text-decoration-thickness: 1.5px; }
.transform-arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.transform-arrow svg { width: 19px; height: 19px; }
.transform-with { font-size: 16.5px; font-weight: 500; color: var(--text-primary); line-height: 1.55; }
@media (max-width: 860px) {
  .transform-head { display: none; }
  .transform-row { grid-template-columns: 40px 1fr; grid-template-areas: "icon without" "arrow with"; row-gap: 12px; column-gap: 16px; padding: 22px 6px; }
  .transform-icon { grid-area: icon; }
  .transform-without { grid-area: without; }
  .transform-arrow { grid-area: arrow; transform: rotate(90deg); width: 32px; height: 32px; }
  .transform-arrow svg { width: 15px; height: 15px; }
  .transform-with { grid-area: with; }
}

/* ---- HIERARCHY PYRAMID (scope-of-visibility infographic) ---- */
.hier-pyramid { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 28px 0 8px; }
.hier-level { width: 100%; display: flex; justify-content: center; position: relative; }
.hier-level:not(:last-child)::after {
  content: ""; position: absolute; bottom: -12px; left: 50%; width: 2px; height: 12px;
  background: var(--border); transform: translateX(-50%);
}
.hier-band {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  height: 66px; border-radius: 25px; padding: 10px 24px; width: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hier-band:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.hier-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;border:3px solid #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.18);
}
.hier-role { font-size: 16px; font-weight: 400; white-space: nowrap; }
.hier-scope-tag { font-size: 15px; font-weight: 500; opacity: .8; white-space: nowrap; padding-left: 12px; border-left: 1px solid currentColor; margin-left: 2px;text-transform: uppercase; }
.hier-level-1 .hier-band { max-width: 92%; background: var(--royal-deep); color: #fff; }
.hier-level-2 .hier-band { max-width: 72%; background: var(--accent); color: #fff; }
.hier-level-3 .hier-band { max-width: 52%; background: var(--accent-subtle-2); color: var(--text-primary); }
.hier-level-3 .hier-avatar { background: var(--accent); color: #fff; }
.hier-level-4 .hier-band { max-width: 32%; background: var(--surface-2); color: var(--text-primary); border: 1px solid var(--border); }
.hier-level-4 .hier-avatar { background: var(--surface-0); color: var(--text-primary); box-shadow: 0 0 0 1px var(--border); }
@media (max-width: 640px) {
  .hier-scope-tag { display: none; }
  .hier-band { padding: 0 16px; gap: 8px; }
  .hier-role { font-size: 13.5px; }
  .hier-level-1 .hier-band { max-width: 100%; }
  .hier-level-2 .hier-band { max-width: 85%; }
  .hier-level-3 .hier-band { max-width: 68%; }
  .hier-level-4 .hier-band { max-width: 50%; }
}
.hier-pyramid-compact { gap: 8px; margin: 56px 0; }
.hier-pyramid-compact .hier-band { height: 68px; }
.hier-pyramid-compact .hier-avatar { width: 28px; height: 28px; font-size: 13px; }
.hier-pyramid-compact .hier-role { font-size: 21px; }
.hier-pyramid-compact .hier-level-1 .hier-band { max-width: 62%; }
.hier-pyramid-compact .hier-level-2 .hier-band { max-width: 48%; }
.hier-pyramid-compact .hier-level-3 .hier-band { max-width: 35%; }
.hier-pyramid-compact .hier-level-4 .hier-band { max-width: 22%; }
@media (max-width: 640px) {
  .hier-pyramid-compact .hier-level-1 .hier-band { max-width: 100%; }
  .hier-pyramid-compact .hier-level-2 .hier-band { max-width: 85%; }
  .hier-pyramid-compact .hier-level-3 .hier-band { max-width: 68%; }
  .hier-pyramid-compact .hier-level-4 .hier-band { max-width: 50%; }
}

.persona-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 80px; }
.persona { background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 22px; box-shadow: var(--shadow-card); }
.persona .p-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.persona .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; font-weight: 500; font-size: 13px; flex-shrink: 0; }
.persona h3 { font-size: 21px; font-weight: 500; color: var(--text-primary); }
.persona .p-head p { font-size: 13px; color: var(--text-tertiary); }
.persona > p { font-size: 15.5px; color: var(--text-secondary); }

/* ---- COMPARISON ---- */
.cmp-head { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 30px 14px; }
.cmp-head-label { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.cmp-head-them { color: var(--text-tertiary); }
.cmp-head-us { color: var(--accent); font-size: 15px; letter-spacing: 0; text-transform: none; }
.cmp { max-width: 900px; margin: 0 auto; display: grid; gap: 16px; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cmp-cell {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  border-radius: 20px; padding: 26px 28px; font-size: 17px; line-height: 1.75;
  border: 1px solid var(--border); background: var(--surface-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cmp-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cmp-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center;
}
.cmp-icon svg { width: 14px; height: 14px; }
.cmp-tag { display: none; }
.cmp-cell.them { color: var(--text-secondary); }
.cmp-cell.them .cmp-icon { background: var(--surface-2); color: var(--text-tertiary); }
.cmp-cell.us { border-color: var(--accent-subtle-2); background: var(--accent-subtle); font-weight: 500; color: var(--text-primary); }
.cmp-cell.us .cmp-icon { background: var(--accent); color: #fff; }
@media (max-width: 720px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-tag { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
  .cmp-cell.them .cmp-tag { color: var(--text-tertiary); }
  .cmp-cell.us .cmp-tag { color: var(--accent); }
  .cmp-cell { flex-direction: column; }
  .cmp-cell .cmp-icon { position: absolute; top: 26px; right: 26px; margin-top: 0; }
  .cmp-cell.them .cmp-tag,
  .cmp-cell.us .cmp-tag { padding-right: 34px; }
}

/* ---- MOBILE PROOF ---- */
.phone-duo { display: flex; gap: 20px; justify-content: center; align-items: flex-end; }
.phone-wrap { position: relative; }
.phone-wrap img { border-radius: 38px; box-shadow: var(--shadow-lift); border: 1px solid var(--border); display: block; }
.phone-wrap.main img { width: 240px; }
.phone-wrap.secondary img { width: 200px; opacity: .88; transform: translateY(20px); }
.phone-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ---- LIFECYCLE STEPPER ---- */
.stepper { display: flex; align-items: flex-start; justify-content: space-between; position: relative; margin-bottom: 48px; padding: 0 8px; }
.stepper::before { content: ""; position: absolute; top: 15px; left: 24px; right: 24px; height: 2px; background: var(--border); z-index: 0; }
.track-fill { position: absolute; top: 15px; left: 24px; height: 2px; background: var(--accent); z-index: 1; width: 0; transition: width .25s linear; }
.step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 1; min-width: 0; }
.step .s-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-0); border: 2px solid var(--border); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--text-tertiary); transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease); }
.step .s-dot svg { width: 14px; height: 14px; display: none; }
.step .s-label { font-size: 18px; font-weight: 500; color: var(--text-tertiary); transition: color .25s; white-space: nowrap; }
.step.active .s-dot { border-color: var(--accent); background: var(--accent); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 6px var(--accent-subtle); }
.step.active .s-label { color: var(--text-primary); }
.step.done .s-dot { border-width: 2.5px; border-color: var(--accent); background: #FFFFFF; color: var(--accent); box-shadow: 0 2px 10px rgba(254,18,0,.18); }
.step.done .s-dot .s-num { display: none; }
.step.done .s-dot svg { display: block; width: 15px; height: 15px; stroke-width: 3; }
.step.done .s-label { color: var(--text-secondary); }
.lc-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: center; min-height: 380px; }
.lc-copy { position: relative; min-height: 280px; }
.lc-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; display: flex; flex-direction: column; justify-content: center; }
.lc-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.lc-stage-icon {
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 16px;
color: var(--accent); display: grid; place-items: center;
}
.lc-stage-icon svg { width: 80px; height: 80px; stroke-width: 1.75;margin-bottom: 20px; }
.lc-slide .s-kicker { font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: .09em; text-transform: uppercase; margin-bottom:30px;margin-top: 15px; }
.lc-slide h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: 12px; color: var(--text-primary); }
.lc-slide p { font-size: 15.5px; color: var(--text-secondary); max-width: 420px; }
.lc-slide .insight { margin-top: 16px; background: var(--accent-subtle); border: 1px solid var(--accent-subtle-2); border-radius: 12px; padding: 25px 30px; display: flex; gap: 9px; align-items: flex-start; max-width: 420px; }
.lc-slide .insight svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.lc-slide .insight span { font-size: 15px; color: var(--text-primary); line-height: 1.65; }
.lc-feats { display: grid; gap: 11px; list-style: none; margin: 18px 0 0; max-width: 420px; }
.lc-feats li { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 15px;}
.lc-feat-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center;
}
.lc-feat-icon svg { width: 12px; height: 12px; stroke-width: 3; }
.lc-feats li strong { color: var(--text-primary); font-weight: 500; text-transform: capitalize; }
.lc-static { display: none; }
.lc-static .ls-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.lc-static .ls-item:last-child { border-bottom: 0; }
.ls-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-subtle); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 12px; }
.lc-static h3 { font-size: 19px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 5px; color: var(--text-primary); }
.lc-static p { font-size: 15px; color: var(--text-secondary); }

/* ---- FAQ ---- */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 17.5px; font-weight: 400; text-align: left; letter-spacing: normal; color: var(--text-primary); }
.faq-q svg { width: 18px; height: 18px; color: var(--text-tertiary); flex-shrink: 0; transition: transform .25s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--accent); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.faq-a p { font-size: 16.5px; color: var(--text-secondary); padding: 0 4px 20px; max-width: 640px; }

/* ---- DEMO FORM ---- */
.demo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; align-items: start; }
.form-card { background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 34px; scroll-margin-top: 110px; }
.form-card h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--text-primary); }
.form-card > p { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 15px; font-weight: 400; margin-bottom: 6px; }
.req-mark { color: var(--accent); font-weight: 600; }
.req-note { font-size: 12.5px; color: var(--text-tertiary); margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text-primary); background: var(--surface-0); border: 1.5px solid var(--border); border-radius: 11px; padding: 11px 13px; transition: border-color .18s, box-shadow .18s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle-2); }
.field .err { display: none; font-size: 12px; color: #B91C1C; margin-top: 5px; }
.field.invalid input, .field.invalid select { border-color: #B91C1C; }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-ok { display: none; background: var(--success-subtle); border: 1px solid var(--success); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--text-primary); margin-top: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.demo-side .side-block { margin-bottom: 26px; }
.demo-side h3 { font-size: 21px; font-weight: 400; margin-bottom: 7px; display: flex; align-items: center; gap: 15px; color: var(--text-primary);letter-spacing: -0.01em; }
.demo-side h3 svg { width: 21px; height: 21px; color: var(--accent); }
.demo-side p { font-size: 16px; color: var(--text-secondary); }

/* ---- CTA BAND ---- */
.cta-band { padding: 0 28px 104px; }
.cta-inner { max-width: 1100px; margin: 0 auto; background: var(--surface-1); color: var(--text-primary); border: 1px solid var(--border); border-radius: 28px; position: relative; overflow: hidden; }
.cta-inner .glow, .cta-inner .glow2 { display: none; }
.cta-simple { position: relative; z-index: 1; text-align: center; padding: 100px 48px; }
.cta-simple h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; color: var(--text-primary); }
.cta-simple p.cta-desc { font-size: 19px; font-weight: 300; color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; }
.cta-simple .cta-contacts { justify-content: center; margin-bottom: 28px; }
.cta-sub { font-size: 13px; color: var(--text-tertiary); margin-top: 24px; }
.cta-contacts { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-contact-btn { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface-0); border: 1px solid var(--border); color: var(--text-primary); font-size: 13.5px; font-weight: 500; transition: transform .25s var(--ease), border-color .25s; }
.cta-contact-btn:hover { border-color: var(--text-tertiary); transform: translateY(-2px); }
.cta-contact-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.cta-plain { text-align: center; padding: 0; }
.cta-plain h2 { font-size: clamp(32px, 4.4vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; color: var(--text-primary); letter-spacing: -0.02em;}
.cta-plain p.cta-desc { font-size: 19px; font-weight: 300; color: var(--text-secondary); max-width: 500px; margin: 0 auto 36px; }
.cta-inline-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.cta-inline-form .field { margin: 0; flex: 1 1 200px; max-width: 240px; text-align: left; }
.cta-inline-form .field input { width: 100%; font: inherit; font-size: 15px; color: var(--text-primary); background: var(--surface-0); border: 1.5px solid var(--border); border-radius: 12px; padding: 13px 15px; transition: border-color .18s, box-shadow .18s; }
.cta-inline-form .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle-2); }
.cta-inline-form .field .err { display: none; font-size: 11px; color: #B91C1C; margin-top: 4px; }
.cta-inline-form .field.invalid input { border-color: #B91C1C; }
.cta-inline-form .field.invalid .err { display: block; }
.cta-inline-form button { flex: 0 0 auto; }
.cta-plain .form-ok { display: none; max-width: 460px; margin: 18px auto 0; background: var(--success-subtle); border: 1px solid var(--success); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; color: var(--text-primary); }
@media (max-width: 640px) { .cta-inline-form .field { max-width: none; flex-basis: 100%; } .cta-inline-form button { width: 100%; justify-content: center; } }
.cta-form-card { position: relative; z-index: 1; background: var(--surface-0); border: 1px solid var(--border); border-radius: 22px; padding: 30px 28px 26px; box-shadow: var(--shadow-lift); display: none; }
.cta-timeline { display: none; }
.cta-steps { display: grid; gap: 18px; margin-bottom: 22px; }
.cta-step { display: flex; gap: 14px; align-items: flex-start; }
.cta-step .cs-num { font-size: 26px; font-weight: 300; letter-spacing: normal; color: var(--accent); line-height: 1; flex-shrink: 0; width: 34px; font-variant-numeric: tabular-nums; }
.cta-step h4 { font-size: 15px; font-weight: 500; color: var(--text-primary); margin-bottom: 3px; }
.cta-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.cta-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0 22px; }
.cta-form-card h3 { font-size: 16px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; }
.cta-form-card > p.form-note { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.cta-form-card .field { margin-bottom: 12px; }
.cta-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-form-card .field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 5px; }
.cta-form-card .field input, .cta-form-card .field select, .cta-form-card .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text-primary); background: var(--surface-0); border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; transition: border-color .18s, box-shadow .18s; }
.cta-form-card .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle-2); }
.cta-form-card .field .err { display: none; font-size: 11.5px; color: #B91C1C; margin-top: 4px; }
.cta-form-card .field.invalid input { border-color: #B91C1C; }
.cta-form-card .field.invalid .err { display: block; }
.cta-form-card .form-ok { display: none; background: var(--success-subtle); border: 1px solid var(--success); border-radius: 10px; padding: 11px 13px; font-size: 13px; color: var(--text-primary); }
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; padding: 48px 28px; text-align: center; }
  .cta-copy > p { margin-left: auto; margin-right: auto; }
  .cta-contacts { justify-content: center; }
}

/* ---- FOOTER (dark royal blue, red + blue accents) ---- */
footer { position: relative; background: var(--dark-gradient); border-top: 1px solid rgba(150,175,255,.14); padding: 128px 0 40px; overflow: hidden; color: #A9AFDA; --accent: #FF5238; }
footer::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; top: -340px; right: -160px;
  background: radial-gradient(circle, var(--dark-glow), transparent 65%); filter: blur(80px); pointer-events: none;
  animation: darkGlowDrift1 22s ease-in-out infinite alternate;
}
footer::after {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; bottom: -240px; left: -140px;
  background: radial-gradient(circle, var(--dark-glow-blue), transparent 65%); filter: blur(80px); pointer-events: none;
  animation: darkGlowDrift2 26s ease-in-out infinite alternate;
}
footer .container { position: relative; z-index: 1; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid rgba(150,175,255,.14); }
.foot-top h2 { font-size: clamp(26px,3.4vw,38px); font-weight: 300; letter-spacing: -0.02em; color: #F3F3F1; max-width: 480px; line-height: 1.24; }
.foot-contacts-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.foot-online { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: #9DA6D9; letter-spacing: .01em; }
.foot-online-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(74,222,128,.22); animation: footOnlinePulse 2s ease-in-out infinite;
}
@keyframes footOnlinePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,.22); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,.05); }
}
.foot-contacts { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-contact-btn {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #F0F0EF; font-size: 14px; font-weight: 500; transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.foot-contact-btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.09); }
.foot-contact-btn .fc-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.foot-contact-btn .fc-icon svg { width: 15px; height: 15px; }
.foot-contact-btn.fc-call .fc-icon { background: rgba(255,255,255,.1); color: #D5D5D8; }
.foot-contact-btn.fc-wa .fc-icon { background: rgba(34,197,94,.18); color: #4ADE80; }
.foot-contact-btn.fc-mail .fc-icon { background: rgba(255,82,56,.18); color: #FF7A63; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.foot-brand p { font-size: 14px; color:#ccc; margin-top: 16px; max-width: 280px; line-height: 1.65; }
.foot-brand .logo { height: 22px; width: auto; }
.foot-col {
  padding: 4px 0 4px 32px; margin-left: -1px; border-left: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; transition: background .3s var(--ease);
}
.foot-col:hover { background: rgba(255,255,255,.025); }
.foot-col h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 400; text-transform: uppercase; letter-spacing: .14em;
  color:var(--accent); margin-bottom: 18px;
}
.foot-h-icon {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,82,56,.16); color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.foot-h-icon svg { width: 13px; height: 13px; color: var(--accent); }
.foot-col a { display: block; font-size: 15px; color: #ccc; padding: 5px 0; transition: color .2s, transform .2s; }
.foot-col a:hover { color: #F3F3F1; transform: translateX(3px); }
.foot-base { position: relative; border-top: 1px solid rgba(150,175,255,.14); padding-top: 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: #ccc;  text-transform: capitalize;}

/* ---- FLOATING WHATSAPP CTA ---- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 32px rgba(37,211,102,.35); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }

/* ---- BACK TO TOP ---- */
.back-top {
  position: fixed; left: 22px; bottom: 22px; z-index: 150; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-0); border: 1px solid var(--border); color: var(--text-primary);
  display: grid; place-items: center; box-shadow: var(--shadow-card); cursor: pointer; padding: 0;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); color: var(--accent); }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .foot-top { align-items: flex-start; }
  .foot-contacts-wrap { align-items: flex-start; }
  .back-top { display: none; }
}
/* on mobile the sticky CTA bar covers WhatsApp/Call/Demo, so the floating bubble would duplicate it */
@media (max-width: 720px) { .wa-float { display: none; } footer { padding-bottom: 76px; } }

/* ---- REVEALS ---- */
.reveal, .reveal-scale { opacity: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .feat-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .stat { border-left: none; border-top: 1px solid var(--border); padding: 28px 0 0; }
  .stat:nth-child(-n+2) { padding-top: 0; border-top: none; }
  .mod { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .mod.flip .mod-visual { order: 0; }
  .phone-strip, .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .lc-body { grid-template-columns: 1fr; gap: 32px; }
  .lc-copy { min-height: 200px; }
  .persona-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cmp-row { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 720px) {
  .container { padding: 0 24px; }
  section { padding: 96px 0; }
  .hero { padding: 140px 0 56px; }
  .page-hero { padding-top: 138px; padding-bottom: 48px; }
  .feat-grid, .why-grid { grid-template-columns: 1fr; }
  .lc-pin { display: none; }
  .lc-static { display: block; }
  .cta-inner { padding: 56px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .phone-duo { flex-direction: column; align-items: center; }
  .phone-wrap.secondary { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .section-head { margin-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
  .lc-pin { display: none; }
  .lc-static { display: block; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HOME PAGE — SPECIFIC ADDITIONS
   ============================================================ */

/* browser window chrome (hero screenshot frame) */
.window { position: relative; background: #FFFFFF; border: 1px solid #E8E8E8; border-radius: var(--radius-card); box-shadow: 0 30px 90px rgba(20,20,20,.14); overflow: hidden; }
.window::after {
  content: ""; position: absolute; top: 0; left: -150%; width: 55%; height: 100%;
  background: linear-gradient(75deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-15deg); animation: shineSweep 8s ease-in-out infinite; pointer-events: none;
}
@keyframes shineSweep { 0%, 85% { left: -150%; } 100% { left: 150%; } }

/* ---- WHATSAPP-FIRST INLINE ALTERNATIVE ---- */
.cta-wa-alt { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; font-weight: 500; color: var(--text-secondary); transition: color .2s; }
.cta-wa-alt:hover { color: var(--text-primary); }
.cta-wa-alt svg { width: 16px; height: 16px; color: #25D366; flex-shrink: 0; }

/* ---- STICKY MOBILE CTA BAR ---- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; display: none;
  background: color-mix(in srgb, var(--surface-0) 94%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border); gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.mobile-cta-bar.show { transform: translateY(0); }
.mcb-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--text-secondary); padding: 7px 4px; border-radius: 13px; }
.mcb-btn svg { width: 18px; height: 18px; }
.mcb-btn.mcb-wa svg { color: #25D366; }
.mcb-btn.mcb-primary { background: var(--accent); color: #fff; }
@media (max-width: 720px) { .mobile-cta-bar { display: flex; } }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #E8E8E8; background: #FAFAF9; }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #F0F0EC; border: 1px solid #E8E8E8; }
.window-bar .url { margin: 0 auto; font-size: 12px; color: #9B9BA0; background: #FFFFFF; border: 1px solid #E8E8E8; border-radius: 8px; padding: 4px 40px; }
.window img { width: 100%; height: auto; display: block; }

/* ---- Lifecycle visual panel — real screen + live stat card ---- */
.lc-visual-panel {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 500px; padding: 30px;
}
.lc-visual-panel::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-subtle), transparent 70%);
  filter: blur(55px); top: 4%; right: 2%; pointer-events: none;
  animation: heroBlob1 20s ease-in-out infinite alternate;
}
.lc-visual-panel::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--surface-2), transparent 70%);
  filter: blur(55px); bottom: 2%; left: 4%; pointer-events: none;
  animation: heroBlob2 24s ease-in-out infinite alternate;
}
.lc-stage-wrap { position: relative; z-index: 1; width: 100%; max-width: 500px; }
.lc-stage-wrap::before {
  content: ""; position: absolute; inset: 26px -22px -22px 26px; z-index: 0;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 28px;
}
.lc-stage-badge-live {
  position: absolute; top: -15px; left: 30px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-0); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  padding: 7px 15px; border-radius: 999px; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-tertiary);
}
.lc-stage-card {
  position: relative; z-index: 1; width: 100%; border-radius: 26px;
  background: var(--surface-0); border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transition: background .3s var(--ease);
}
.lc-card-chrome { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--surface-1); }
.lc-card-chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); display: block; font-style: normal; }
.lc-card-chrome .lc-card-url { margin-left: 8px; font-size: 11.5px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.lc-card-shot { position: relative; height: 270px; overflow: hidden; background: var(--surface-1); }
.lc-card-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.lc-card-shot::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 64px;
  background: linear-gradient(to top, var(--surface-0), transparent); pointer-events: none;
}
.lc-card-num {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  font-family: var(--font-heading); font-size: 15px; font-weight: 500; letter-spacing: .01em; text-transform: uppercase;
  color: #fff; background: rgba(10,10,14,.4); backdrop-filter: blur(6px);
  padding: 6px 20px; border-radius: 999px; transition: background .3s;
}
.lc-card-num::before { content: "Stage "; }
.lc-card-body { position: relative; z-index: 1; padding: 28px 30px 32px; }
.lc-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.lc-card-label {
  font-size: 28px; font-weight: 600; letter-spacing: normal; color: var(--accent);
  margin-bottom: 5px; transition: color .25s;
}
.lc-card-sub { font-size: 18px; color: var(--text-secondary); transition: color .25s; }
.lc-card-pills { display: flex; flex-wrap: wrap; gap: 9px; min-height: 34px; }
.lc-pill {
  font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px;
  background: var(--surface-1); color: var(--text-secondary); border: 1px solid var(--border);
  transition: all .25s var(--ease);
}
/* Ring progress */
.lc-card-ring { position: relative; width: 120px; height: 120px; flex-shrink: 0; top:-10px;}
.lc-card-ring::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--accent-subtle), transparent 72%);
}
.lc-ring-svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.lc-ring-track { fill: none; stroke: var(--surface-2); stroke-width: 6; }
.lc-ring-fill {
  fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327;
  transition: stroke-dashoffset .6s var(--ease), stroke .3s;
}
.lc-ring-pct {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 24px; font-weight: 600; color: var(--text-primary);
  transition: color .25s;
}
@media (max-width: 860px) { .lc-visual-panel { min-height: auto; padding: 20px 8px 8px; } .lc-stage-wrap::before { display: none; } }
@media (max-width: 720px) { .lc-card-shot { height: 190px; } }

/* ---- Phone frames ---- */
.phone-duo {
  display: flex; gap: 28px; align-items: flex-end; justify-content: center;
}
.phone-frame { margin: 0; flex-shrink: 0; }
.phone-chrome {
  background: var(--surface-0); border: 1px solid var(--border);
  border-radius: 36px; box-shadow: var(--shadow-lift);
  overflow: hidden; display: flex; flex-direction: column;
}
.phone-notch-bar {
  height: 28px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-0); flex-shrink: 0;
}
.phone-notch-pill {
  width: 72px; height: 7px; border-radius: 99px; background: var(--surface-2);
  border: 1px solid var(--border);
}
.phone-screen-clip {
  overflow: hidden; flex: 1; display: flex;
}
.phone-screen-clip img {
  width: 100%; height: auto; display: block; object-fit: cover; object-position: top;
}
.phone-home-bar {
  height: 20px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-0); flex-shrink: 0;
}
.phone-home-bar::after {
  content: ""; width: 48px; height: 4px; border-radius: 99px; background: var(--border);
}
.phone-frame-main .phone-chrome { width: 220px; }
.phone-frame-main .phone-screen-clip { max-height: 420px; }
.phone-frame-secondary .phone-chrome { width: 188px; }
.phone-frame-secondary .phone-screen-clip { max-height: 360px; }
.phone-frame-secondary { transform: translateY(28px); opacity: .8; }

@media (max-width: 720px) {
  .phone-frame-secondary { display: none; }
  .phone-frame-main .phone-chrome { width: 200px; }
  .phone-frame-main .phone-screen-clip { max-height: 380px; }
}

/* ---- Explore all capabilities button alignment ---- */
.feat-explore { padding-top: 8px; text-align: center; margin-top: 48px; }
.feat-explore .btn-ghost { font-size: 15px; padding: 13px 32px; border-radius: 999px; }
.feat-explore .btn-ghost svg { width: 16px; height: 16px; }
.phone-strip .phone-lead { font-size: 19px; font-weight: 300; color: var(--text-secondary); max-width: 440px; margin-top: 14px; margin-bottom: 24px; }
