/* ============================================================
   IgniteOS — "Spark" design system
   Upbeat / playful-premium. Cream canvas, bento color,
   Bricolage display, chunky tactile outlines + offset shadows.
   ============================================================ */

:root {
  --cream:    oklch(0.984 0.013 95);
  --cream-2:  oklch(0.965 0.018 95);
  --paper:    oklch(1 0 0);
  --ink:      oklch(0.23 0.024 60);
  --ink-2:    oklch(0.42 0.022 60);
  --ink-3:    oklch(0.56 0.02 60);
  --line:     oklch(0.23 0.024 60 / 0.12);
  --line-2:   oklch(0.23 0.024 60 / 0.22);

  --violet:   oklch(0.55 0.21 285);
  --violet-d: oklch(0.42 0.19 285);
  --tang:     oklch(0.72 0.17 52);
  --coral:    oklch(0.67 0.20 18);
  --lime:     oklch(0.80 0.17 132);
  --green:    oklch(0.63 0.16 150);
  --sky:      oklch(0.72 0.13 222);
  --sun:      oklch(0.87 0.16 92);
  --pink:     oklch(0.74 0.15 350);

  --disp: 'Bricolage Grotesque', sans-serif;
  --body: 'Figtree', sans-serif;
  --maxw: 1180px;
  --shadow: 6px 6px 0 var(--ink);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* clip (not hidden) prevents horizontal scroll from off-canvas drawer / wide
   sections without breaking the sticky nav */
html { overflow-x: clip; }
body { font-family: var(--body); background: var(--cream); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
h1, h2, h3 { font-family: var(--disp); font-weight: 800; letter-spacing: -0.02em; line-height: 1.0; }
.lead { font-size: 19px; color: var(--ink-2); text-wrap: pretty; }
.h1-eyebrow { display: block; font-family: var(--body); font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }

/* ============ SOLUTION (outcome) PAGES ============ */
.sol-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 44px; }
.sol-step { display: grid; grid-template-columns: 52px 1fr auto; gap: 20px; align-items: center; border: 2px solid var(--ink); border-radius: 18px; padding: 20px 24px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; color: inherit; transition: transform .14s, box-shadow .14s; }
.sol-step:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.sol-step .si { width: 52px; height: 52px; border-radius: 14px; border: 2px solid var(--ink); display: grid; place-items: center; }
.sol-step .si svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sol-step .body h3 { font-size: 20px; }
.sol-step .body h3 .step-n { font-family: var(--body); font-weight: 800; font-size: 13px; color: var(--ink-3); margin-right: 8px; }
.sol-step .body p { font-size: 14.5px; color: var(--ink-2); margin-top: 5px; font-weight: 500; }
.sol-step .go { font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--violet); white-space: nowrap; }
@media (max-width: 760px) { .sol-step { grid-template-columns: 52px 1fr; } .sol-step .go { display: none; } }

/* ============ RELATED LINKS (internal linking) ============ */
.related-panel { display: grid; grid-template-columns: 1.6fr 1fr; border: 2px solid var(--ink); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.related-panel > div { padding: 30px 32px; }
.related-panel .sols { background: var(--cream-2); border-left: 2px solid var(--ink); }
.rel-h { font-family: var(--body); font-weight: 800; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.related-panel .sols .rel-grid { grid-template-columns: 1fr; }
.rel-card { display: flex; align-items: center; gap: 13px; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
.rel-card:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.rel-card .rc-ic { width: 38px; height: 38px; border-radius: 11px; border: 2px solid var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
.rel-card .rc-ic svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rel-card .rc-t { flex: 1; min-width: 0; }
.rel-card .rc-t b { font-family: var(--disp); font-size: 15px; display: block; line-height: 1.1; }
.rel-card .rc-t span { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.rel-card .rc-arrow { font-weight: 800; color: var(--violet); flex: 0 0 auto; }
.rel-card.sol { background: var(--violet); border-color: var(--ink); }
.rel-card.sol .rc-t b { color: white; }
.rel-card.sol .rc-t span { color: oklch(1 0 0 / 0.72); }
.rel-card.sol .rc-arrow { color: var(--sun); }
.rel-card.sol .rc-ic { background: var(--sun); }
.rel-card.sol .rc-ic svg { stroke: var(--ink); }
@media (max-width: 760px) { .related-panel { grid-template-columns: 1fr; } .related-panel .sols { border-left: 0; border-top: 2px solid var(--ink); } .rel-grid { grid-template-columns: 1fr; } }
/* cross-link rows (siblings / comparisons) — full-width, auto-fill */
.xlink-sec .related-panel { display: block; }
.xlink-sec .related-panel > div { padding: 26px 30px; }
.xlink-sec .rel-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
@media (max-width: 600px) { .xlink-sec .rel-grid { grid-template-columns: 1fr; } }
/* Phone: collapse page-level multi-column grids so they stack instead of crushing.
   These classes live in per-page <style> blocks (loaded after spark.css), so
   !important is needed to win. The compare table (.crow) is intentionally left
   3-col with reduced font/padding. */
@media (max-width: 600px) {
  .ways, .offices, .values, .steps3, .agent-grid, .flow, .control,
  .slots, .pipe, .msg, .fs-metrics, .stories, .trust-row, .sec-grid {
    grid-template-columns: 1fr !important;
  }
}
.kick { font-family: var(--body); font-weight: 800; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.hl { background: var(--sun); padding: 0 8px; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl.v { background: var(--lime); }
.hl.p { background: var(--pink); }
.hl.k { background: var(--sky); }

/* buttons — chunky, tactile */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--body); font-weight: 800; font-size: 16px; padding: 14px 26px; border-radius: 14px; border: 2px solid var(--ink); transition: transform .12s ease, box-shadow .12s ease; cursor: pointer; }
.btn-solid { background: var(--violet); color: white; box-shadow: var(--shadow); }
.btn-solid:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.btn-solid:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: var(--shadow); }
.btn-sun:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.btn-plain { border-color: transparent; box-shadow: none; padding: 14px 10px; }

.pill { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 99px; border: 2px solid var(--ink); background: var(--paper); }
.pill i.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }

/* ============ NAV ============ */
.nav { position: sticky; top: 0; z-index: 60; background: oklch(0.984 0.013 95 / 0.85); backdrop-filter: blur(12px); border-bottom: 2px solid var(--ink); }
.nav .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-weight: 700; font-size: 15.5px; color: var(--ink-2); transition: color .14s; }
.nav-links a:hover, .nav-links a.on { color: var(--violet); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .login { font-weight: 700; font-size: 15.5px; }
.nav-cta .btn { padding: 10px 18px; font-size: 14.5px; box-shadow: 3px 3px 0 var(--ink); }
.nav-cta .btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--disp); font-weight: 800; }
.brand .spark { display: none; }
.brand .logo-badge { width: 42px; height: 42px; border-radius: 11px; border: 2.5px solid #234e6b; background: #ffffff; display: grid; place-items: center; box-shadow: 3px 3px 0 #234e6b; flex: 0 0 auto; }
.brand .logo-badge svg { width: 24px; height: 24px; }
.brand .logo-word { font-family: var(--disp); font-weight: 800; letter-spacing: -0.035em; line-height: .72; display: inline-flex; align-items: baseline; filter: drop-shadow(2.5px 3px 0 #234e6b); }
.brand .logo-word .a { font-size: 38px; color: #5cc9d6; -webkit-text-stroke: 2.5px #234e6b; paint-order: stroke fill; }
.brand .logo-word .b { font-size: 42px; color: #ff8fe0; -webkit-text-stroke: 2.5px #234e6b; paint-order: stroke fill; }
.brand img { height: 62px; width: auto; display: block; }
.nav .brand img { height: 60px; }
.footer .brand img { height: 64px; }
.footer .logo-word { filter: drop-shadow(2.5px 3px 0 #11212e); }
.footer .logo-word .a { color: #5cc9d6; -webkit-text-stroke: 2.5px #0d1a24; }
.footer .logo-word .b { color: #ff8fe0; -webkit-text-stroke: 2.5px #0d1a24; }

/* ============ PAGE HERO ============ */
.phero { padding: 64px 0 56px; position: relative; }
.phero.center { text-align: center; }
.phero.center .lead { margin-left: auto; margin-right: auto; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; z-index: 0; pointer-events: none; }
.phero h1 { font-size: 64px; letter-spacing: -0.035em; margin-top: 16px; position: relative; z-index: 1; }
.phero .lead { font-size: 20px; max-width: 60ch; margin-top: 20px; position: relative; z-index: 1; }
.phero .hero-actions { margin-top: 30px; position: relative; z-index: 1; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.phero.center .hero-actions { justify-content: center; }

/* ============ SECTION shell ============ */
.section { padding: 92px 0; }
.sec-head { max-width: 700px; }
.sec-head h2 { font-size: 48px; letter-spacing: -0.035em; margin-top: 14px; }
.sec-head .lead { margin-top: 18px; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ============ MARQUEE ============ */
.marquee-band { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--ink); color: var(--cream); padding: 16px 0; }
.mq { display: flex; align-items: center; gap: 0; }
.mq-label { flex: 0 0 auto; font-family: var(--disp); font-weight: 800; font-size: 15px; padding: 6px 26px 6px 0; color: var(--sun); background: var(--ink); position: relative; z-index: 2; }
.mq-vp { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.mq-track { display: flex; gap: 38px; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; }
.mq-track span { font-family: var(--disp); font-weight: 700; font-size: 19px; color: oklch(1 0 0 / 0.62); display: inline-flex; align-items: center; gap: 38px; }
.mq-track span::after { content: '\2715'; font-size: 12px; color: var(--coral); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ BENTO MODULES ============ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px; gap: 16px; margin-top: 56px; }
.cell { border: 2px solid var(--ink); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 4px 4px 0 var(--ink); transition: transform .14s ease, box-shadow .14s ease; overflow: hidden; position: relative; }
a.cell { cursor: pointer; color: inherit; text-decoration: none; }
a.cell:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.cell .ci { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--ink); background: var(--paper); display: grid; place-items: center; }
.cell .ci svg { width: 21px; height: 21px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cell h3 { font-size: 19px; }
.cell p { font-size: 13.5px; color: var(--ink-2); margin-top: 5px; font-weight: 500; }
.cell .ct { display: flex; flex-direction: column; }
.cell.span2 { grid-column: span 2; }
.cell.tall { grid-row: span 2; }
.bg-violet { background: var(--violet); }
.bg-violet h3, .bg-violet p { color: white; }
.bg-violet .ci svg { stroke: var(--violet); }
.bg-sun { background: var(--sun); }
.bg-lime { background: var(--lime); }
.bg-sky { background: var(--sky); }
.bg-coral { background: var(--coral); }
.bg-coral h3, .bg-coral p { color: white; }
.bg-coral .ci svg { stroke: var(--coral); }
.bg-pink { background: var(--pink); }
.bg-paper { background: var(--paper); }
.cell.tall .mini-chat { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.mini-chat .mb { font-size: 12px; font-weight: 600; padding: 8px 11px; border-radius: 11px; max-width: 88%; border: 2px solid var(--ink); }
.mini-chat .mb.them { background: var(--paper); border-bottom-left-radius: 3px; }
.mini-chat .mb.us { background: oklch(1 0 0 / 0.22); color: white; margin-left: auto; border-bottom-right-radius: 3px; border-color: oklch(1 0 0 / 0.4); }
.also-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.also-tags .pill { background: var(--paper); }

/* ============ FEATURE ROWS (platform) ============ */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 30px; }
.frow + .frow { margin-top: 90px; }
.frow.flip .ftext { order: 2; }
.ftext .tagrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ftext .tagrow .ic { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--ink); display: grid; place-items: center; }
.ftext .tagrow .ic svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ftext .tagrow .lab { font-family: var(--body); font-weight: 800; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.ftext h2 { font-size: 38px; letter-spacing: -0.03em; }
.ftext .lead { margin-top: 14px; font-size: 17.5px; }
.checks { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.checks li .ck { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--ink); background: var(--lime); display: grid; place-items: center; flex: 0 0 auto; margin-top: 1px; }
.checks li .ck svg { width: 12px; height: 12px; stroke: var(--ink); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fvis { border: 2px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; background: var(--paper); }
.fvis .fv-top { padding: 14px 18px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; }
.fvis .fv-top b { font-family: var(--disp); font-size: 15px; }
.fvis .fv-top .dots { display: flex; gap: 6px; }
.fvis .fv-top .dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.fvis .fv-body { padding: 18px; }
.lineitem { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 9px; font-size: 13.5px; }
.lineitem b { font-family: var(--disp); font-weight: 700; }
.lineitem .meta { font-size: 11.5px; color: var(--ink-3); }
.lineitem .tag { font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 99px; white-space: nowrap; border: 2px solid var(--ink); }

/* ============ AI BAND ============ */
.ai { background: var(--violet); color: white; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; overflow: hidden; }
.ai .sec-head h2 { color: white; }
.ai .sec-head .lead { color: oklch(1 0 0 / 0.82); }
.ai .kick { color: var(--sun); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 50px; align-items: center; }
.ai-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.skill { background: oklch(1 0 0 / 0.10); border: 2px solid oklch(1 0 0 / 0.28); border-radius: 16px; padding: 18px; }
.skill .ki { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--sun); margin-bottom: 12px; }
.skill .ki svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.skill h3 { font-size: 16px; color: white; }
.skill p { font-size: 12.5px; color: oklch(1 0 0 / 0.74); margin-top: 5px; font-weight: 500; }
.ai-demo { background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 oklch(0.18 0.06 285); overflow: hidden; color: var(--ink); }
.ai-demo .dh { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 2px solid var(--line); }
.ai-demo .dh b { font-family: var(--disp); font-size: 14px; }
.ai-demo .dh .live { font-size: 11px; font-weight: 800; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.ai-demo .dh .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.ai-demo .dbody { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.db { font-size: 13.5px; padding: 11px 14px; border-radius: 14px; max-width: 84%; border: 2px solid var(--ink); font-weight: 500; }
.db.them { background: var(--cream-2); border-bottom-left-radius: 4px; }
.db.us { background: var(--violet); color: white; margin-left: auto; border-bottom-right-radius: 4px; }
.db .who { display: block; font-weight: 800; font-size: 10.5px; margin-bottom: 3px; opacity: .8; }
.db time { font-family: var(--body); font-size: 9.5px; opacity: .65; display: block; margin-top: 4px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* ============ SAVINGS ============ */
.save-wrap { background: var(--ink); color: var(--cream); border-radius: 26px; border: 2px solid var(--ink); padding: 54px 50px; margin-top: 56px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.save-wrap .big { font-family: var(--disp); font-weight: 800; font-size: 92px; line-height: 0.92; letter-spacing: -0.04em; color: var(--sun); }
.save-wrap .big small { display: block; font-size: 19px; color: var(--cream); font-weight: 600; margin-top: 12px; letter-spacing: 0; font-family: var(--body); }
.save-list { display: flex; flex-direction: column; gap: 0; }
.save-list .sl { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid oklch(1 0 0 / 0.14); font-size: 14.5px; }
.save-list .sl .nm { font-weight: 600; }
.save-list .sl .nm s { color: oklch(1 0 0 / 0.45); text-decoration: none; }
.save-list .sl .pr { font-weight: 700; color: oklch(1 0 0 / 0.7); }
.save-list .sl.tot { border-bottom: 0; padding-top: 18px; font-size: 16px; }
.save-list .sl.tot .nm { font-family: var(--disp); font-weight: 800; }
.save-list .sl.tot .pr { color: var(--lime); font-weight: 800; }

/* ============ INDUSTRIES ============ */
.inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.ind { border: 2px solid var(--ink); border-radius: 18px; padding: 22px 24px; box-shadow: 4px 4px 0 var(--ink); transition: transform .14s, box-shadow .14s; background: var(--paper); }
.ind:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.ind .tagdot { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.ind .tagdot svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ind h3 { font-size: 18px; }
.ind p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; font-weight: 500; }
.ind .more { display: inline-block; margin-top: 14px; font-weight: 800; font-size: 13px; color: var(--violet); }

/* ============ STATS / QUOTE ============ */
.midband { background: var(--cream-2); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.midband .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.bigq { font-family: var(--disp); font-size: 30px; font-weight: 700; line-height: 1.28; letter-spacing: -0.02em; text-wrap: pretty; }
.bigq em { font-style: normal; background: var(--lime); padding: 0 6px; border-radius: 6px; }
.qwho { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.qwho .qa { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); flex: 0 0 auto; }
.qwho b { font-family: var(--disp); }
.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { border: 2px solid var(--ink); border-radius: 18px; padding: 22px; box-shadow: 4px 4px 0 var(--ink); }
.stat .v { font-family: var(--disp); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.stat .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; font-weight: 600; }
.stat.s1 { background: var(--sun); }
.stat.s2 { background: var(--sky); }
.stat.s3 { background: var(--pink); }
.stat.s4 { background: var(--lime); }

/* ============ PRICING ============ */
.ptiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; align-items: start; }
.tier { border: 2px solid var(--ink); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); padding: 30px 28px; display: flex; flex-direction: column; }
.tier.feature { background: var(--violet); color: white; transform: translateY(-10px); }
.tier.feature .lead, .tier.feature .price small, .tier.feature .tfeat li { color: oklch(1 0 0 / 0.85); }
.tier .badge { align-self: flex-start; font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; border: 2px solid var(--ink); border-radius: 99px; padding: 5px 12px; background: var(--sun); color: var(--ink); margin-bottom: 16px; }
.tier h3 { font-size: 24px; }
.tier .lead { font-size: 14.5px; margin-top: 6px; min-height: 42px; }
.tier .price { font-family: var(--disp); font-weight: 800; font-size: 52px; letter-spacing: -0.04em; margin: 18px 0 4px; }
.tier .price small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.tier .btn { width: 100%; justify-content: center; margin: 20px 0 22px; }
.tier.feature .btn-solid { background: var(--sun); color: var(--ink); }
.tfeat { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.tfeat li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tfeat li .ck { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--ink); background: var(--lime); display: grid; place-items: center; flex: 0 0 auto; margin-top: 1px; }
.tier.feature .tfeat li .ck { background: var(--sun); }
.tfeat li .ck svg { width: 11px; height: 11px; stroke: var(--ink); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pnote { text-align: center; margin-top: 26px; font-size: 14px; font-weight: 600; color: var(--ink-3); }

/* ============ COMPARE TABLE ============ */
.ctable { border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; margin-top: 50px; background: var(--paper); }
.crow { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; border-bottom: 2px solid var(--line); }
.crow:last-child { border-bottom: 0; }
.crow > div { padding: 16px 22px; font-size: 15px; }
.crow .feat { font-weight: 700; }
.crow .col { text-align: center; font-weight: 600; border-left: 2px solid var(--line); }
.crow.head { background: var(--cream-2); border-bottom: 2px solid var(--ink); }
.crow.head .col, .crow.head .feat { font-family: var(--disp); font-weight: 800; font-size: 17px; }
.crow .col.ours { background: oklch(0.55 0.21 285 / 0.08); color: var(--violet); font-weight: 800; }
.crow.head .col.ours { background: var(--violet); color: white; }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--ink); background: var(--lime); }
.yes svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.no { color: var(--ink-3); font-weight: 700; }

/* ============ FAQ ============ */
.faq { max-width: 780px; margin: 44px auto 0; }
.faq details { background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; margin-bottom: 12px; padding: 0 24px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; font-family: var(--disp); font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--violet); font-size: 26px; font-weight: 400; flex: 0 0 auto; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; max-width: 64ch; font-weight: 500; }

/* ============ CONTACT FORM ============ */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; margin-top: 20px; }
.form-card { border: 2px solid var(--ink); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); padding: 34px 32px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--body); font-size: 15px; font-weight: 500; padding: 13px 15px; border: 2px solid var(--ink); border-radius: 12px; background: var(--cream); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--violet); }
.field textarea { resize: vertical; min-height: 96px; }
.frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cinfo .ci-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.cinfo .ci-item .ic { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
.cinfo .ci-item .ic svg { width: 21px; height: 21px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cinfo .ci-item h4 { font-family: var(--disp); font-size: 16px; }
.cinfo .ci-item p { font-size: 14px; color: var(--ink-2); margin-top: 2px; font-weight: 500; }
.steplist { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.steplist li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.steplist li::before { content: counter(s); font-family: var(--disp); font-weight: 800; width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--ink); background: var(--lime); display: grid; place-items: center; flex: 0 0 auto; font-size: 14px; color: var(--ink); }

/* ============ STEPS BAND ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.step { border: 2px solid var(--ink); border-radius: 18px; padding: 26px; box-shadow: 4px 4px 0 var(--ink); background: var(--paper); }
.step .n { font-family: var(--disp); font-weight: 800; font-size: 13px; color: var(--violet); letter-spacing: 0.08em; }
.step h3 { font-size: 19px; margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--ink-2); font-weight: 500; }

/* ============ CTA ============ */
.cta { padding: 100px 0; text-align: center; }
.cta-card { background: var(--violet); color: white; border: 2px solid var(--ink); border-radius: 30px; box-shadow: 12px 12px 0 var(--ink); padding: 64px 50px; position: relative; overflow: hidden; }
.cta-card h2 { font-size: 52px; letter-spacing: -0.035em; max-width: 18ch; margin: 0 auto; color: white; }
.cta-card .lead { color: oklch(1 0 0 / 0.85); margin: 22px auto 34px; max-width: 50ch; }
.cta-card .hero-actions { justify-content: center; }
.cta-card .star { position: absolute; opacity: .5; }
.cta-card .star svg { width: 100%; height: 100%; fill: var(--sun); }

/* ============ FOOTER ============ */
.footer { padding: 50px 0 44px; border-top: 2px solid var(--ink); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer .links a { font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.footer .links a:hover { color: var(--violet); }
.footer .fine { font-size: 13px; color: var(--ink-3); font-weight: 600; }

/* ============ MEGA MENU ============ */
.nav-item { position: static; display: inline-flex; align-items: center; }
.has-mega { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; background: none; border: 0; font-family: var(--body); font-weight: 700; font-size: 15.5px; color: var(--ink-2); padding: 0; }
.has-mega:hover, .nav-item.open .has-mega { color: var(--violet); }
.has-mega .chev { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.nav-item.open .has-mega .chev { transform: rotate(180deg); }
.mega-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px); width: max-content; max-width: 94vw; background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 26px; opacity: 0; visibility: hidden; transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s; z-index: 70; }
.nav-item.open .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(9px); transition: opacity .14s ease, transform .14s ease, visibility 0s; }
.mega-panel::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.mega-grid { display: grid; gap: 22px; align-items: start; }
.mega-col h5 { font-family: var(--body); font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
/* ===== category page large product cards ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.cat-card { display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: 20px; background: var(--paper); box-shadow: 5px 5px 0 var(--ink); padding: 26px; text-decoration: none; color: inherit; transition: transform .14s, box-shadow .14s; }
.cat-card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }
.cat-card .cc-ic { width: 48px; height: 48px; border-radius: 13px; border: 2px solid var(--ink); display: grid; place-items: center; background: var(--ac, var(--sky)); margin-bottom: 16px; }
.cat-card .cc-ic svg { width: 23px; height: 23px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cat-card h3 { font-size: 20px; }
.cat-card p { font-size: 14px; color: var(--ink-2); margin-top: 8px; font-weight: 500; flex: 1; line-height: 1.5; }
.cat-card .cc-go { margin-top: 16px; font-weight: 800; font-size: 14px; color: var(--violet); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }
.mega-col a.mega-col-h { display: inline-flex; align-items: center; gap: 5px; font-family: var(--body); font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 0; margin: 0 0 10px; white-space: nowrap; text-decoration: none; margin-bottom: 10px; text-decoration: none; white-space: nowrap; }
.mega-col-h:hover { color: var(--violet); }
.mega-col-h::after { content: '→'; font-size: 12px; opacity: 0; transform: translateX(-3px); transition: opacity .12s, transform .12s; }
.mega-col-h:hover::after { opacity: 1; transform: translateX(0); }
.mega-col a { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; color: var(--ink); padding: 6px 8px; margin: 0 -8px; border-radius: 9px; transition: background .12s, color .12s; }
.mega-col a:hover { background: var(--cream-2); color: var(--violet); }
.mega-col a i { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.mega-feature { border: 2px solid var(--ink); border-radius: 16px; background: var(--violet); color: white; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 4px 4px 0 var(--ink); min-height: 150px; }
.mega-feature h4 { font-family: var(--disp); font-size: 18px; color: white; }
.mega-feature p { font-size: 13px; color: oklch(1 0 0 / 0.8); margin-top: 6px; font-weight: 500; }
.mega-feature .go { margin-top: 14px; font-weight: 800; font-size: 13.5px; color: var(--sun); }

/* ============ MEGA FOOTER ============ */
.footer .fgrid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; align-items: start; }
.footer .fbrand .brand { margin-bottom: 14px; }
.footer .fbrand p { font-size: 14px; color: var(--ink-2); font-weight: 500; max-width: 32ch; }
.footer .fbrand .regions { display: flex; gap: 8px; margin-top: 16px; }
.footer .fbrand .regions { flex-wrap: wrap; }
.footer .fbrand .regions span { font-size: 12px; font-weight: 700; border: 2px solid var(--ink); border-radius: 99px; padding: 5px 12px; white-space: nowrap; }
.footer .fcol h5 { font-family: var(--disp); font-size: 14px; margin-bottom: 10px; }
.footer .fcol a { display: block; font-size: 14px; color: var(--ink-2); font-weight: 600; padding: 5px 0; }
.footer .fcol a:hover { color: var(--violet); }
.footer .fbot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 2px solid var(--line); margin-top: 36px; padding-top: 22px; }
.footer .fbot .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer .fbot .legal a { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.footer .fbot .legal a:hover { color: var(--violet); }

@media (max-width: 920px) {
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-feature { grid-column: span 2; min-height: 0; }
  .footer .fgrid { grid-template-columns: 1fr 1fr; }
  .footer .fbrand { grid-column: 1 / -1; }
}

/* ============================================================
   GLOBAL MOBILE / RESPONSIVE LAYER
   ============================================================ */

/* Hamburger button — injected by spark-nav.js, hidden on desktop */
.nav-burger { display: none; }

/* ---------- Tablet & below (≤920px) ---------- */
@media (max-width: 920px) {
  /* Swap desktop mega-nav for the hamburger drawer */
  .nav .nav-links { display: none !important; }
  .nav .nav-cta { display: none !important; }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; flex: 0 0 auto;
    border: 2px solid var(--ink); border-radius: 12px;
    background: var(--paper); box-shadow: 3px 3px 0 var(--ink);
    cursor: pointer; padding: 0;
  }
  .nav-burger:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
  .nav-burger span { position: relative; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-burger span::before { top: -6px; }
  .nav-burger span::after { top: 6px; }
  .nav-burger.open span { background: transparent; }
  .nav-burger.open span::before { transform: translateY(6px) rotate(45deg); }
  .nav-burger.open span::after { transform: translateY(-6px) rotate(-45deg); }

  /* layout primitives collapse */
  .frow, .ai-grid, .save-wrap, .midband .wrap, .cgrid { grid-template-columns: 1fr; gap: 36px; }
  .frow.flip .ftext { order: 0; }
  .save-wrap { padding: 40px 32px; }
  .ptiers { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .tier.feature { transform: none; }
  .steps, .inds { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .cell.span2 { grid-column: span 2; }
  .cell.tall { grid-row: span 1; }

  /* type scale */
  .phero h1 { font-size: 46px; }
  /* product/industry heroes use an inline 2-col grid — force stack */
  .phero .hero-actions[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 34px !important; }
  .phero h1[style*="font-size"] { font-size: 42px !important; }
  /* reused classes that carry INLINE grids on product/industry pages */
  .inds[style*="grid-template-columns"] { grid-template-columns: 1fr 1fr !important; }
  .ai-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 36px !important; }
  .control[style*="grid-template-columns"] { grid-template-columns: 1fr 1fr !important; }
  .sec-head h2 { font-size: 36px; }
  .ftext h2 { font-size: 30px; }
  .cta-card h2 { font-size: 38px; }
  .bigq { font-size: 25px; }
  .save-wrap .big { font-size: 72px; }
}

/* ---------- Phone (≤600px) ---------- */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .section { padding: 56px 0; }
  .phero { padding: 44px 0 38px; }
  .cta { padding: 64px 0; }

  /* everything to a single column */
  .bento, .steps, .inds, .ai-skills, .statgrid, .frow2, .save-wrap { grid-template-columns: 1fr; }
  .inds[style*="grid-template-columns"],
  .rel-grid[style*="grid-template-columns"],
  .control[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .bento { grid-auto-rows: auto; }
  .cell { min-height: 150px; }
  .cell.span2, .cell.tall { grid-column: span 1; grid-row: span 1; }
  .footer .fgrid { gap: 26px; }

  /* type scale — keep ≥ readable */
  .phero h1 { font-size: 36px; letter-spacing: -0.03em; }
  .phero h1[style*="font-size"] { font-size: 32px !important; }
  .phero .lead, .lead { font-size: 17px; }
  .sec-head h2 { font-size: 29px; }
  .ftext h2 { font-size: 26px; }
  .cta-card h2 { font-size: 30px; }
  .bigq { font-size: 22px; }
  .save-wrap { padding: 32px 22px; }
  .save-wrap .big { font-size: 60px; }
  .stat .v { font-size: 34px; }
  .tier .price { font-size: 44px; }

  /* card padding trims */
  .cta-card { padding: 44px 26px; border-radius: 22px; box-shadow: 7px 7px 0 var(--ink); }
  .save-wrap { border-radius: 20px; }

  /* full-width stacked buttons in heroes/CTAs */
  .phero .hero-actions, .cta-card .hero-actions { width: 100%; }
  .phero .hero-actions .btn, .cta-card .hero-actions .btn { width: 100%; justify-content: center; }

  /* marquee label can crowd — let it breathe */
  .mq-label { font-size: 13px; padding-right: 18px; }

  /* compare table — keep 3 cols, shrink to fit */
  .crow > div { padding: 12px 10px; font-size: 12.5px; }
  .crow.head .col, .crow.head .feat { font-size: 13px; }
  .crow .feat { font-size: 12.5px; }
  .yes { width: 22px; height: 22px; }
}

/* ============================================================
   MOBILE NAV DRAWER (built by spark-nav.js on small screens)
   ============================================================ */
.m-drawer { position: fixed; inset: 0 0 0 auto; width: min(90vw, 380px); background: var(--cream); border-left: 2px solid var(--ink); z-index: 200; transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: -8px 0 0 oklch(0.23 0.024 60 / 0.06); }
.m-drawer.open { transform: translateX(0); }
.m-scrim { position: fixed; inset: 0; background: oklch(0.23 0.024 60 / 0.42); z-index: 190; opacity: 0; visibility: hidden; transition: opacity .26s, visibility 0s linear .26s; }
.m-scrim.open { opacity: 1; visibility: visible; transition: opacity .26s; }
.m-drawer .m-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 2px solid var(--ink); position: sticky; top: 0; background: var(--cream); z-index: 2; }
.m-drawer .m-close { width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 11px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; font-size: 22px; line-height: 1; display: grid; place-items: center; color: var(--ink); }
.m-drawer .m-close:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.m-drawer .m-body { padding: 10px 16px 22px; flex: 1; }
.m-sec { border-bottom: 2px solid var(--line); }
.m-sec > a.m-link, .m-acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; font-family: var(--disp); font-weight: 800; font-size: 19px; color: var(--ink); padding: 16px 4px; background: none; border: 0; cursor: pointer; text-align: left; letter-spacing: -0.01em; }
.m-acc-btn .m-chev { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; flex: 0 0 auto; }
.m-sec.open .m-acc-btn .m-chev { transform: rotate(180deg); }
.m-panel { display: none; padding: 0 4px 14px; }
.m-sec.open .m-panel { display: block; }
.m-panel .m-grp { margin-bottom: 14px; }
.m-panel .m-grp h6 { font-family: var(--body); font-weight: 800; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.m-panel a { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 4px; }
.m-panel a:active { color: var(--violet); }
.m-panel a i { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.m-drawer .m-cta { padding: 18px 20px 26px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 12px; position: sticky; bottom: 0; background: var(--cream); }
.m-drawer .m-cta .btn { width: 100%; justify-content: center; }
.m-drawer .m-cta .login { text-align: center; font-weight: 800; font-size: 15.5px; color: var(--ink); padding: 6px; }
body.m-lock { overflow: hidden; }
