/* ==========================================================================
   LUMEN — Landing page
   Plus Jakarta Sans + Instrument Serif (italic accents)
   Brand greens · warm off-white · orange accent
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:        #F6F7F3;
  --bg-2:      #EFF1EB;
  --surface:   #FFFFFF;
  --surface-2: #FAFBF7;
  --ink:       #0A1410;
  --ink-soft:  #1B2722;
  --muted:     #5E6863;
  --muted-2:   #8A938E;
  --border:    #E6E9E1;
  --border-strong: #D2D7CC;
  --line:      #EDEFE7;

  --brand-50:  #EAFBEC;
  --brand-100: #D2F4D4;
  --brand-200: #A8E9B2;
  --brand-300: #71D78A;
  --brand-400: #34BF66;
  --brand-500: #1DAF52;
  --brand-600: #138A41;
  --brand-700: #0B6A36;
  --brand-800: #054A2A;
  --brand-900: #032B19;
  --deep:      #04150E;

  --accent:        #FF7A1A;
  --accent-soft:   #FFE7D3;
  --accent-strong: #E96510;

  --info:    #3B82F6;
  --warning: #F59E0B;
  --danger:  #EF4444;
  --violet:  #7C5CFF;

  --r-sm: 8px;  --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-2xl: 28px; --r-3xl: 36px;

  --shadow-sm: 0 1px 2px rgba(10,20,16,.05), 0 1px 4px rgba(10,20,16,.03);
  --shadow-md: 0 4px 14px rgba(10,20,16,.06), 0 1px 3px rgba(10,20,16,.04);
  --shadow-lg: 0 20px 50px rgba(10,20,16,.10), 0 4px 12px rgba(10,20,16,.05);
  --shadow-xl: 0 40px 90px -20px rgba(5,74,42,.28), 0 18px 40px -20px rgba(10,20,16,.18);

  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--brand-200); color: var(--brand-800); }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.display, h1, h2 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.serif--brand { color: var(--brand-600); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; max-width: 60ch; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: grid; gap: 18px; max-width: 760px; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head .lede { margin-top: 2px; }
.section { padding-block: clamp(72px, 10vw, 140px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--sm { height: 40px; padding: 0 16px; font-size: .88rem; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 24px -10px rgba(10,20,16,.6); }
.btn--primary:hover { background: #17211c; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(10,20,16,.55); }
.btn--brand { background: var(--brand-500); color: #fff; box-shadow: 0 10px 28px -10px rgba(29,175,82,.7); }
.btn--brand:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(29,175,82,.75); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-800); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.btn--light:hover { background: var(--brand-50); transform: translateY(-2px); }
.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 700; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: var(--brand-800); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  transition: padding .3s var(--ease);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 12px 0 16px;
  border-radius: 999px;
  background: rgba(246,247,243,.65);
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled { padding: 8px 0; }
.site-header.is-scrolled .container {
  background: rgba(255,255,255,.72);
  border-color: rgba(10,20,16,.08);
  box-shadow: 0 10px 30px -18px rgba(10,20,16,.35);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-400), var(--brand-700)); color: #fff; box-shadow: 0 6px 16px -6px rgba(29,175,82,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.logo-mark svg { width: 19px; height: 19px; }
.logo-erp { color: var(--brand-600); font-weight: 700; margin-left: 2px; }
.nav-primary { display: flex; gap: 2px; }
.nav-primary a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav-primary a:hover { background: rgba(10,20,16,.06); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-login { padding: 8px 14px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); border-radius: 999px; }
.nav-login:hover { background: rgba(10,20,16,.06); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle:hover { background: rgba(10,20,16,.06); }
.nav-toggle .bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 84px 12px auto 12px; z-index: 49;
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 12px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0;
  transition: transform .3s var(--ease), opacity .25s;
}
.mobile-nav.is-open { display: flex; transform: none; opacity: 1; }
.mobile-nav a { padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.mobile-nav a:hover { background: var(--bg); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; }
.hero-orb--1 { width: 620px; height: 620px; left: -160px; top: -120px; background: radial-gradient(circle at 40% 40%, rgba(113,215,138,.55), rgba(113,215,138,0) 70%); }
.hero-orb--2 { width: 520px; height: 520px; right: -120px; top: 60px; background: radial-gradient(circle at 50% 50%, rgba(255,122,26,.28), rgba(255,122,26,0) 70%); }
.hero-orb--3 { width: 700px; height: 420px; left: 30%; top: 420px; background: radial-gradient(ellipse at 50% 50%, rgba(29,175,82,.22), rgba(29,175,82,0) 70%); }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,20,16,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10,20,16,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.hero-inner { text-align: center; display: grid; justify-items: center; gap: 26px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
}
.hero-chip .tag { background: var(--brand-500); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; }
.hero-chip .sep { width: 1px; height: 14px; background: var(--border-strong); }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-inline: auto; text-align: center; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-micro { font-size: .86rem; color: var(--muted-2); display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-micro span { display: inline-flex; align-items: center; gap: 6px; }
.hero-micro svg { width: 14px; height: 14px; color: var(--brand-500); }

/* Hero visual */
.hero-visual { position: relative; margin-top: clamp(40px, 6vw, 76px); perspective: 1800px; }
.hero-frame {
  position: relative; margin-inline: auto; width: min(1100px, 100%);
  border-radius: 20px; background: #fff;
  border: 1px solid rgba(10,20,16,.08);
  box-shadow: var(--shadow-xl);
  transform-origin: 50% 0%;
  transform: rotateX(var(--tilt, 10deg));
  transition: transform .1s linear;
  overflow: hidden;
}
.hero-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.frame-chrome { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: linear-gradient(#fff, #FAFBF7); border-bottom: 1px solid var(--line); }
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; background: #E5E7E1; }
.chrome-dot--r { background: #FF5F57; } .chrome-dot--y { background: #FEBC2E; } .chrome-dot--g { background: #28C840; }
.chrome-url { margin-left: 10px; flex: 1; max-width: 360px; height: 24px; border-radius: 8px; background: var(--bg-2); font-size: .72rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.chrome-url svg { width: 11px; height: 11px; }
.hero-frame img { width: 100%; height: auto; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, rgba(246,247,243,0), var(--bg)); pointer-events: none; }

.float-card {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(10,20,16,.08); border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 24px 50px -20px rgba(10,20,16,.35), 0 2px 6px rgba(10,20,16,.05);
  display: flex; align-items: center; gap: 12px; font-size: .84rem;
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 700; letter-spacing: -0.01em; }
.float-card small { color: var(--muted); font-size: .76rem; }
.float-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-icon svg { width: 18px; height: 18px; }
.float-icon--green { background: var(--brand-50); color: var(--brand-600); }
.float-icon--orange { background: var(--accent-soft); color: var(--accent-strong); }
.float-icon--violet { background: #EFEAFF; color: var(--violet); }
.float-card--1 { left: max(-10px, 2%); top: 22%; animation-delay: -1s; }
.float-card--2 { right: max(-10px, 2%); top: 14%; animation-delay: -3s; }
.float-card--3 { right: 6%; top: 62%; animation-delay: -5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee-section { padding: 26px 0 8px; }
.marquee-label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 700; font-size: .92rem; white-space: nowrap; color: var(--ink-soft); }
.marquee-item svg { width: 18px; height: 18px; color: var(--brand-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: clamp(40px, 6vw, 72px) 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--border); }
.stat { padding: 28px 24px; display: grid; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-value { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat-value .serif { color: var(--brand-600); font-size: 1.05em; }
.stat-label { color: var(--muted); font-size: .92rem; }

/* ---------- Bento modules ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.tile {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl);
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.tile-head { display: flex; align-items: center; gap: 12px; }
.tile-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; }
.tile-icon svg { width: 20px; height: 20px; }
.tile-icon--orange { background: var(--accent-soft); color: var(--accent-strong); }
.tile-icon--blue { background: #E4EEFF; color: #2563EB; }
.tile-icon--violet { background: #EFEAFF; color: var(--violet); }
.tile-icon--amber { background: #FFF1D6; color: #B45309; }
.tile-icon--rose { background: #FFE4E6; color: #BE123C; }
.tile-icon--teal { background: #D8F5F0; color: #0F766E; }
.tile p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.tile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tile-tags span { font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.tile--6 { grid-column: span 6; } .tile--4 { grid-column: span 4; } .tile--3 { grid-column: span 3; } .tile--8 { grid-column: span 8; } .tile--12 { grid-column: span 12; }
.tile-art { margin-top: 6px; }
.tile--money { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: center; }
.tile-money-copy { display: grid; gap: 12px; }
.payslip--2 { grid-template-columns: 1fr 1fr; }
.hero-chip-link { font-size: .85rem; }

/* Mini illustrations */
.flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.flow-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; }
.flow-step i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-400); }
.flow-step.is-active { background: var(--brand-800); color: #fff; border-color: var(--brand-800); }
.flow-step.is-active i { background: var(--brand-300); }
.flow-arrow { color: var(--muted-2); }
.flow-arrow svg { width: 14px; height: 14px; }

.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 44px; align-items: center; gap: 10px; font-size: .78rem; }
.bar-row span:first-child { color: var(--muted); font-weight: 600; }
.bar-row span:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-400), var(--brand-600)); width: var(--w, 50%); transform-origin: left; animation: grow 1.2s var(--ease-out) both; }
.bar b.is-low { background: linear-gradient(90deg, #FDBA74, var(--accent)); }
@keyframes grow { from { transform: scaleX(0); } }

.ledger { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .78rem; }
.ledger-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 8px 12px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ledger-row:first-child { border-top: 0; background: var(--bg); font-weight: 700; color: var(--muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.ledger-row.is-total { background: var(--brand-50); font-weight: 800; color: var(--brand-800); }
.ledger-row .num { min-width: 64px; text-align: right; }

.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kanban-col { background: var(--bg); border-radius: 12px; padding: 8px; display: grid; gap: 6px; align-content: start; }
.kanban-col h4 { margin: 0 0 2px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.kanban-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: .74rem; font-weight: 600; display: grid; gap: 5px; }
.kanban-card small { font-weight: 500; color: var(--muted-2); }
.kanban-card .pill { display: inline-block; width: 40%; height: 5px; border-radius: 4px; background: var(--brand-300); }
.kanban-card .pill--o { background: #FDBA74; width: 55%; } .kanban-card .pill--v { background: #C4B5FD; width: 30%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: .78rem; font-weight: 600; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.chip .dot--g { background: var(--brand-500); } .chip .dot--o { background: var(--accent); } .chip .dot--b { background: var(--info); } .chip .dot--v { background: var(--violet); }

.ticket { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .78rem; display: grid; gap: 6px; }
.ticket-head { display: flex; justify-content: space-between; font-weight: 700; }
.ticket-head .badge { background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: .68rem; }
.ticket-line { display: flex; justify-content: space-between; color: var(--ink-soft); }
.ticket-line span:last-child { font-variant-numeric: tabular-nums; }
.ticket-total { display: flex; justify-content: space-between; border-top: 1px dashed var(--border-strong); padding-top: 6px; font-weight: 800; }

.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pipeline-stage { text-align: center; font-size: .72rem; font-weight: 700; padding: 8px 6px; border-radius: 10px; background: var(--bg); color: var(--muted); position: relative; }
.pipeline-stage.is-done { background: var(--brand-100); color: var(--brand-800); }
.pipeline-stage.is-now { background: var(--brand-600); color: #fff; box-shadow: 0 6px 14px -6px rgba(29,175,82,.8); }
.pipeline-stage em { display: block; font-style: normal; font-size: 1rem; font-weight: 800; }

.budget { display: grid; gap: 8px; font-size: .78rem; }
.budget-row { display: grid; gap: 4px; }
.budget-row .meta { display: flex; justify-content: space-between; font-weight: 600; }
.budget-row .meta span:last-child { color: var(--muted); font-weight: 500; }
.budget-track { height: 10px; border-radius: 999px; background: var(--bg-2); position: relative; overflow: hidden; }
.budget-track b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--brand-500); width: var(--w); }
.budget-track b.is-over { background: var(--danger); }
.budget-track i { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--ink); left: var(--x); }

.listing { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: .78rem; }
.listing-img { height: 58px; border-radius: 8px; background: linear-gradient(135deg, var(--brand-200), var(--brand-600)); position: relative; overflow: hidden; }
.listing-img::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 26px; background: rgba(255,255,255,.85); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.listing strong { display: block; }
.listing small { color: var(--muted); }
.listing .money { color: var(--brand-700); font-weight: 800; }

.payslip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.payslip div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: .72rem; color: var(--muted); }
.payslip strong { display: block; font-size: .95rem; color: var(--ink); letter-spacing: -0.02em; margin-top: 2px; }

.agent-list { display: grid; gap: 6px; font-size: .78rem; }
.agent-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }
.agent-row .st { margin-left: auto; font-size: .68rem; padding: 3px 8px; border-radius: 999px; font-weight: 700; }
.st--done { background: var(--brand-100); color: var(--brand-800); }
.st--wait { background: var(--accent-soft); color: var(--accent-strong); }
.st--run { background: #E4EEFF; color: #1D4ED8; }
.agent-row svg { width: 14px; height: 14px; color: var(--violet); }

/* ---------- AI section (dark) ---------- */
.ai {
  position: relative; color: #fff; overflow: clip;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(29,175,82,.35), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(124,92,255,.25), transparent 60%),
              linear-gradient(180deg, var(--brand-900), var(--deep));
  border-radius: var(--r-3xl);
  margin-inline: clamp(8px, 1.5vw, 20px);
}
.ai::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 65%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 65%); pointer-events: none; }
.ai .eyebrow { color: var(--brand-300); }
.ai .lede { color: rgba(255,255,255,.72); }
.ai-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ai-points { display: grid; gap: 14px; margin-top: 8px; }
.ai-point { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ai-point-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: var(--brand-300); }
.ai-point-icon svg { width: 18px; height: 18px; }
.ai-point strong { display: block; font-weight: 700; }
.ai-point span { color: rgba(255,255,255,.66); font-size: .93rem; }
.ai-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.chat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 8px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.chat-inner { background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(90deg, var(--brand-900), var(--brand-600)); color: #fff; }
.chat-head-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.chat-head-icon svg { width: 16px; height: 16px; }
.chat-head strong { display: block; font-size: .95rem; }
.chat-head small { opacity: .75; font-size: .78rem; }
.chat-body { padding: 18px 16px; display: grid; gap: 12px; min-height: 300px; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; }
.msg--user { margin-left: auto; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--ai .card { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .82rem; display: grid; gap: 6px; }
.msg--ai .card .row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.msg--ai .card .row strong { color: var(--brand-700); }
.msg-actions { display: flex; gap: 8px; margin-top: 10px; }
.msg-actions span { font-size: .78rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; }
.msg-actions .ok { background: var(--brand-500); color: #fff; }
.msg-actions .no { background: #fff; border: 1px solid var(--border-strong); }
.typing { display: inline-flex; gap: 4px; padding: 6px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .3; } 40% { opacity: 1; } }
.chat-input { margin: 0 12px 12px; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.chat-input .caret { width: 2px; height: 18px; background: var(--brand-500); animation: caret 1s steps(2) infinite; }
@keyframes caret { to { opacity: 0; } }
.chat-input .send { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-500); color: #fff; display: grid; place-items: center; }
.chat-input .send svg { width: 15px; height: 15px; }
.ai-shot { margin-top: clamp(40px, 6vw, 72px); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); }
.ai-shot img { width: 100%; height: auto; }

/* ---------- Feature spotlights ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 140px); }
.feature--flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; }
.feature-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.feature-list { display: grid; gap: 10px; margin-top: 4px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .98rem; }
.feature-list svg { width: 20px; height: 20px; flex: none; color: var(--brand-500); margin-top: 2px; }
.feature-visual { position: relative; }
.stage {
  position: relative; border-radius: var(--r-3xl); padding: clamp(20px, 4vw, 44px);
  background: linear-gradient(160deg, var(--brand-50), #fff 60%, var(--bg-2));
  border: 1px solid var(--border); overflow: hidden; min-height: 420px;
  display: grid; place-items: center;
}
.stage--warm { background: linear-gradient(160deg, var(--accent-soft), #fff 55%, var(--bg-2)); }
.stage--cool { background: linear-gradient(160deg, #E4EEFF, #fff 55%, var(--bg-2)); }
.stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10,20,16,.08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); pointer-events: none; }

/* Proposal document mock */
.doc { position: relative; z-index: 1; width: min(380px, 100%); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); transform: rotate(-2deg); }
.doc-cover { padding: 26px 24px 20px; background: linear-gradient(135deg, var(--brand-800), var(--brand-500)); color: #fff; }
.doc-cover small { opacity: .8; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.doc-cover strong { display: block; font-size: 1.35rem; letter-spacing: -0.02em; margin-top: 6px; line-height: 1.15; }
.doc-cover span { display: block; font-size: .8rem; opacity: .85; margin-top: 10px; }
.doc-body { padding: 18px 22px; display: grid; gap: 10px; font-size: .78rem; }
.doc-line { height: 7px; border-radius: 4px; background: var(--bg-2); }
.doc-line--60 { width: 60%; } .doc-line--85 { width: 85%; }
.doc-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 4px; }
.doc-table div { display: flex; justify-content: space-between; padding: 6px 10px; border-top: 1px solid var(--line); }
.doc-table div:first-child { border-top: 0; background: var(--bg); font-weight: 700; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.doc-table div:last-child { font-weight: 800; background: var(--brand-50); color: var(--brand-800); }
.signed { position: absolute; z-index: 2; right: 10px; bottom: 6px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-lg); transform: rotate(3deg); font-size: .8rem; }
.signed .sig { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--brand-700); line-height: 1; }
.signed strong { display: block; }
.signed small { color: var(--muted); }
.viewed { position: absolute; z-index: 3; left: 2px; top: 22px; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 12px; font-size: .76rem; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; gap: 8px; align-items: center; }
.viewed i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-400); box-shadow: 0 0 0 4px rgba(52,191,102,.25); }

/* Phones */
.phones { display: flex; gap: 18px; align-items: flex-end; justify-content: center; }
.phone { width: 190px; background: var(--ink); border-radius: 30px; padding: 8px; box-shadow: var(--shadow-lg); position: relative; flex: none; }
.phone--back { transform: translateY(24px) scale(.94); opacity: .95; }
.phone-screen { background: var(--bg); border-radius: 24px; overflow: hidden; height: 330px; display: flex; flex-direction: column; font-size: .68rem; }
.phone-top { padding: 12px 12px 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border-bottom: 1px solid var(--line); font-weight: 700; }
.phone-top > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-top .avatar { flex: none; }
.phone-top .avatar { width: 20px; height: 20px; border-radius: 6px; background: var(--brand-500); }
.phone-list { padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.phone-item { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; justify-content: space-between; align-items: center; }
.phone-item span { font-weight: 600; }
.phone-item .name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-item .qty { flex: none; }
.phone-item .qty { background: var(--brand-50); color: var(--brand-800); font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.phone-item .thumb { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--brand-200), var(--brand-400)); flex: none; margin-right: 8px; }
.phone-item .thumb--o { background: linear-gradient(135deg, #FDBA74, var(--accent)); }
.phone-item .thumb--v { background: linear-gradient(135deg, #C4B5FD, var(--violet)); }
.phone-item .left { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; margin-right: 6px; }
.phone-cta { margin: auto 10px 10px; white-space: nowrap; font-size: .66rem; background: var(--brand-500); color: #fff; text-align: center; padding: 9px; border-radius: 10px; font-weight: 800; }
.phone-label { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-sm); }

/* Finance report mock */
.report { width: min(440px, 100%); background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.report-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.report-head strong { font-size: .95rem; }
.report-head span { font-size: .74rem; color: var(--muted); }
.report-body { padding: 8px 6px; font-size: .82rem; }
.report-row { display: grid; grid-template-columns: 1fr auto; padding: 8px 12px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.report-row.is-group { font-weight: 700; color: var(--muted); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.report-row.is-sub { padding-left: 24px; color: var(--ink-soft); }
.report-row.is-total { background: var(--brand-50); font-weight: 800; color: var(--brand-800); margin-top: 6px; }
.report-row.is-total.is-net { background: var(--ink); color: #fff; }
.report-badges { position: absolute; display: grid; gap: 10px; }
.report-badges--l { left: 0; bottom: 30px; }
.rbadge { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px; font-size: .78rem; font-weight: 700; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-md); }
.rbadge svg { width: 15px; height: 15px; color: var(--brand-600); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.industry {
  position: relative; border-radius: var(--r-2xl); padding: 28px; min-height: 230px; overflow: hidden;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,21,14,.85), rgba(4,21,14,.15)); z-index: 0; }
.industry > * { position: relative; z-index: 1; }
.industry h3 { font-size: 1.25rem; color: #fff; }
.industry p { color: rgba(255,255,255,.78); font-size: .9rem; }
.industry .mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.industry .mods span { font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.industry-icon { position: absolute; top: 22px; left: 24px; width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; backdrop-filter: blur(6px); }
.industry-icon svg { width: 22px; height: 22px; }
.industry--retail { background: linear-gradient(135deg, #0B6A36, #34BF66); }
.industry--food { background: linear-gradient(135deg, #7C2D12, #FF7A1A); }
.industry--build { background: linear-gradient(135deg, #1E293B, #64748B); }
.industry--mfg { background: linear-gradient(135deg, #1E3A8A, #3B82F6); }
.industry--estate { background: linear-gradient(135deg, #3B0764, #7C5CFF); }
.industry--services { background: linear-gradient(135deg, #134E4A, #14B8A6); }

/* ---------- Platform grid ---------- */
.platform { background: #fff; border-block: 1px solid var(--border); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-2xl); overflow: hidden; margin-top: clamp(36px, 5vw, 56px); }
.pf { background: #fff; padding: 26px 24px; display: grid; gap: 10px; align-content: start; transition: background .2s; }
.pf:hover { background: var(--surface-2); }
.pf-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-700); }
.pf-icon svg { width: 18px; height: 18px; }
.pf h3 { font-size: 1rem; }
.pf p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.kbd { display: inline-block; font-family: var(--font); font-size: .72rem; font-weight: 700; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border-strong); background: var(--bg); box-shadow: 0 1px 0 var(--border-strong); }

/* ---------- Pricing ---------- */
.pricing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-top: 6px; }
.pricing-toggle button { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--muted); transition: background .2s, color .2s; }
.pricing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pricing-toggle .save { margin-left: 4px; font-size: .7rem; font-weight: 800; color: var(--brand-700); background: var(--brand-100); padding: 3px 8px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(32px, 4vw, 48px); align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; transition: transform .3s var(--ease-out), box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--featured { background: linear-gradient(180deg, var(--brand-900), var(--deep)); color: #fff; border-color: transparent; box-shadow: var(--shadow-xl); }
.plan--featured .plan-tag { position: absolute; top: -14px; left: 28px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(255,122,26,.8); }
.plan-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.plan-tagline { font-size: .9rem; color: var(--muted); }
.plan--featured .plan-tagline { color: rgba(255,255,255,.7); }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price .cur { font-size: 1rem; font-weight: 700; color: var(--muted); }
.plan--featured .plan-price .cur { color: rgba(255,255,255,.7); }
.plan-price .amt { font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan--featured .plan-price .per { color: rgba(255,255,255,.7); }
.plan-note { font-size: .82rem; color: var(--muted); min-height: 1.3em; }
.plan--featured .plan-note { color: var(--brand-300); }
.plan-list { display: grid; gap: 10px; font-size: .93rem; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list svg { width: 18px; height: 18px; flex: none; color: var(--brand-500); margin-top: 3px; }
.plan--featured .plan-list svg { color: var(--brand-300); }
.plan-list li.is-off { color: var(--muted-2); }
.plan-list li.is-off svg { color: var(--muted-2); }
.plan .btn { margin-top: auto; width: 100%; }
.plan-hr { height: 1px; background: var(--line); }
.plan--featured .plan-hr { background: rgba(255,255,255,.12); }
.addons { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addon { background: #fff; border: 1px dashed var(--border-strong); border-radius: 16px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; }
.addon strong { display: block; }
.addon small { color: var(--muted); }
.addon .price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricing-foot { margin-top: 22px; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-list details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.faq-list summary .plus svg { width: 14px; height: 14px; }
.faq-list details[open] summary .plus { transform: rotate(45deg); background: var(--brand-100); color: var(--brand-800); }
.faq-list .answer { padding: 0 22px 20px; color: var(--muted); line-height: 1.6; }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: clip; color: #fff; border-radius: var(--r-3xl); margin-inline: clamp(8px, 1.5vw, 20px); text-align: center;
  background: radial-gradient(900px 500px at 50% 120%, rgba(52,191,102,.55), transparent 60%), linear-gradient(180deg, var(--brand-900), var(--deep)); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); pointer-events: none; }
.cta-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; }
.cta .lede { color: rgba(255,255,255,.72); text-align: center; }
.cta-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-micro { color: rgba(255,255,255,.55); font-size: .86rem; }
.cta-micro a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-logo { width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, var(--brand-400), var(--brand-700)); display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(29,175,82,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.cta-logo svg { width: 32px; height: 32px; color: #fff; }

/* ---------- Footer ---------- */
.footer { padding: clamp(48px, 6vw, 80px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 34ch; }
.footer h3 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--ink-soft); font-size: .93rem; font-weight: 500; }
.footer ul a:hover { color: var(--brand-700); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.footer-bottom a { color: var(--ink-soft); font-weight: 600; }

/* ---------- Blog ---------- */
.blog-teaser { background: var(--bg-2); }
.blog-head { padding-top: clamp(48px, 7vw, 96px); }
.blog-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(32px, 4vw, 48px); align-items: stretch; }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.post-card h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.22; text-wrap: balance; }
.post-card p { color: var(--muted); font-size: .93rem; }
.post-card .post-more { margin-top: auto; font-size: .9rem; }
.post-tag { align-self: flex-start; justify-self: start; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-100); padding: 5px 10px; border-radius: 999px; }
.post-meta { font-size: .82rem; color: var(--muted-2); font-weight: 600; }

/* Article */
.post { padding-block: clamp(40px, 6vw, 72px); }
.post-container { width: min(760px, 100% - 2 * var(--gutter)); }
.post-back { margin-bottom: 26px; font-size: .9rem; }
.post-header { display: grid; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.post-header h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.post-body { margin-top: 34px; font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }
.post-body > * + * { margin-top: 20px; }
.post-body .post-lede { font-size: 1.2rem; line-height: 1.6; color: var(--muted); }
.post-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; margin-top: 42px; }
.post-body ul, .post-body ol { padding-left: 22px; display: grid; gap: 10px; }
.post-body li::marker { color: var(--brand-600); font-weight: 700; }
.post-body strong { color: var(--ink); font-weight: 700; }
.post-body a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-footer { margin-top: 44px; padding: 22px 24px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); font-size: .95rem; color: var(--muted); }
.post-footer a { display: inline; }
.post-more-posts { margin-top: clamp(48px, 6vw, 72px); }
.post-more-posts h2 { font-size: 1.5rem; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: translateY(20px) scale(.98); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tile--money { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--6, .tile--8, .tile--12 { grid-column: span 6; }
  .tile--4, .tile--3 { grid-column: span 3; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-primary, .nav-login { display: none; }
  .nav-toggle { display: flex; }
  .ai-grid, .feature, .faq-grid { grid-template-columns: 1fr; }
  .feature--flip .feature-copy { order: 0; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .post-grid, .post-grid--2 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .addons { grid-template-columns: 1fr; }
  .float-card--3 { display: none; }
  .hero-frame { transform: none !important; }
}
@media (max-width: 640px) {
  .nav-actions .btn { display: none; }
  .site-header .container { padding: 0 8px 0 12px; }
  .hero-chip .sep, .hero-chip-link { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile--6, .tile--8, .tile--12, .tile--4, .tile--3 { grid-column: span 1; }
  .industries { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .phones { gap: 10px; }
  .phone { width: 150px; }
  .phone--back { display: none; }
  .hero-ctas .btn { width: 100%; }
  .section { padding-block: 64px; }
  .site-header .container { height: 56px; }
  .signed { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-frame { transform: none !important; }
  .marquee-track { animation: none; }
}
