/* Single light theme by design: an airy white canvas with blue light. */
  :root {
    color-scheme: light;
    --bg: #f3f4f7;
    --bg-2: #eceff5;
    --white: #ffffff;
    --ink: #0b0e14;
    --ink-2: #1b2130;
    --muted: #5d6576;
    --faint: #9aa1b0;
    --line: #e1e5ee;
    --line-2: #d3d9e6;
    --blue: #4e6a55;
    --blue-deep: #2e4535;
    --blue-mid: #7c9a80;
    --blue-soft: #e6eee3;
    --blue-glow: rgba(78, 106, 85, 0.55);
    --gold: #C9A15C;
    --navy: #1a261e;
    --good: #16a36b;
    --warn: #d98a06;
    --rose: #e0445e;

    --f-display: "Archivo", "Geist", ui-sans-serif, system-ui, sans-serif;
    --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --gutter: max(16px, 3.2vw);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
  p { margin: 0; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  }

  .mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
  .pill-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.05em; text-transform: uppercase;
    border: 1px solid var(--ink-2); color: var(--ink-2);
    border-radius: 999px; padding: 7px 12px; background: transparent;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    font: 500 12.5px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
    padding: 13px 20px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    white-space: nowrap;
  }
  .btn svg { width: 14px; height: 14px; flex: none; transition: transform .2s ease; }
  .btn:hover svg { transform: translate(2px, -2px); }
  .btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -10px rgba(11, 14, 20, 0.55); }
  .btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(11, 14, 20, 0.6); }
  .btn-dark svg { color: #a9c4a8; }
  .btn-light { background: rgba(255, 255, 255, 0.7); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .btn-light:hover { background: #fff; transform: translateY(-2px); }
  .btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 30px -10px rgba(78, 106, 85, 0.7); }
  .btn-blue:hover { transform: translateY(-2px); background: #435d4a; }

  /* ---------- Wordmark ---------- */
  .wordmark { display: inline-flex; align-items: flex-end; text-decoration: none; color: var(--ink); position: relative; font: 800 23px/1 var(--f-display); font-stretch: 100%; letter-spacing: -0.04em; padding-top: 8px; }
  .wordmark b { color: var(--blue); font-weight: 800; }
  .wordmark svg { position: absolute; top: 0; left: 38%; width: 34%; height: 12px; overflow: visible; }
  .wordmark path { fill: none; stroke: var(--blue); stroke-width: 3.2; stroke-linecap: round; }

  /* ---------- Nav ---------- */
  .nav {
    position: fixed; z-index: 60; left: 0; right: 0;
    top: env(safe-area-inset-top, 0px);
    padding-block: 18px;
    transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
  }
  .nav.scrolled { background: rgba(243, 244, 247, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
  .nav-inner { display: flex; align-items: center; gap: 24px; }
  .nav-links { display: flex; gap: 4px; margin-inline: auto; list-style: none; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px -14px rgba(30, 50, 36, 0.35); }
  .nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink-2); transition: background-color .2s; }
  .nav-links a:hover { background: #fff; }
  .nav-right { display: flex; align-items: center; gap: 16px; }
  .nav-right .signin { text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
  .nav-right .btn { padding: 11px 16px; font-size: 11.5px; }
  .nav-links li { position: relative; }
  .nav-drop { display: flex; align-items: center; gap: 4px; padding: 8px 12px 8px 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background-color .2s; }
  .nav-drop:hover, .has-menu.open .nav-drop { background: #fff; }
  .nav-drop svg { width: 14px; height: 14px; transition: transform .2s; }
  .has-menu:hover .nav-drop svg, .has-menu.open .nav-drop svg { transform: rotate(180deg); }
  .menu { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 220px; padding: 8px; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(30, 50, 36, 0.35); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s, visibility .2s; }
  .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-links .menu a { border-radius: 10px; padding: 9px 12px; white-space: nowrap; }
  .nav-links .menu a:hover { background: var(--bg); color: var(--blue); }
  .nav-phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
  .nav-phone svg { width: 16px; height: 16px; color: var(--blue); }
  .nav-phone:hover, .nav-right .signin:hover { color: var(--blue); }
  @media (max-width: 1200px) { .nav-phone { display: none; } }
  .nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.75); cursor: pointer; place-items: center; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s, background-color .25s; }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
  .nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
  .nav.m-open .nav-burger span { background: transparent; }
  .nav.m-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav.m-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .m-menu { position: absolute; top: calc(100% + 6px); left: var(--gutter); right: var(--gutter); max-height: calc(100vh - 100px); overflow-y: auto; padding: 18px; display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(30, 50, 36, 0.4); }
  .m-menu[hidden] { display: none; }
  .m-menu h4 { font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
  .m-menu a:not(.btn) { display: block; padding: 8px 0; text-decoration: none; color: var(--ink-2); font-size: 15.5px; }
  .m-menu .m-row { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  .m-menu .m-row .btn { padding: 12px 16px; font-size: 12px; }
  @media (max-width: 900px) {
    .nav-links, .nav-right .signin { display: none; }
    .nav-right { margin-left: auto; }
    .nav-right .btn { padding: 12px 16px; }
    .nav-burger { display: grid; }
  }
  @media (max-width: 420px) { .nav-right > .btn { display: none; } }

  .section { padding-block: clamp(48px, 6vw, 88px); position: relative; }
  .head { text-align: center; max-width: 760px; margin-inline: auto; display: grid; gap: 14px; justify-items: center; }
  .head h2 { font-weight: 600; }
  .head p { color: var(--muted); font-size: 16px; max-width: 60ch; }
  .eyebrow { color: var(--blue); }


  /* ====== Finance page blocks ====== */
  .ic { width: 22px; height: 22px; flex: none; }
  /* Scroll reveal runs as an animation (backwards fill) so it never fights a card's own hover transform. */
  .js .cp-rv:not(.in) { opacity: 0; }
  .cp-rv.in { animation: cp-rv 1s cubic-bezier(.16,1,.3,1) var(--d, 0s) backwards; }
  @keyframes cp-rv { from { opacity: 0; transform: translateY(36px) scale(.985); } to { opacity: 1; transform: none; } }
  .cp-h2 { font-size: clamp(1.75rem, 3.2vw, 2.9rem); font-weight: 600; }
  .cp-h2 span { font-weight: 300; color: var(--muted); }
  .cp-lead { color: var(--muted); font-size: 16px; max-width: 54ch; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
  @media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

  /* ---- Hero: centred headline over a tilting live board ---- */
  .fh { position: relative; overflow: hidden; padding: clamp(112px, 15vh, 150px) 0 0; background: radial-gradient(60% 55% at 50% 0%, var(--blue-soft), transparent 72%), var(--bg); }
  .fh-top { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 1020px; margin-inline: auto; }
  .fh h1 { font-size: clamp(2.2rem, min(5.2vw, 7.6vh), 4.3rem); font-weight: 600; line-height: 1.04; }
  .fh h1 em { font-style: normal; font-weight: 300; color: var(--blue); }
  .fh-top > p { color: var(--muted); max-width: 56ch; font-size: 16.5px; }
  .fh-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
  .fh-stage { position: relative; margin-top: clamp(32px, 4.5vw, 60px); }
  .fh-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; z-index: 3; }
  .fh-board { position: relative; max-width: 1080px; margin-inline: auto; --mx: 50%; --my: 30%; }
  .fh-board::after { content: ""; position: absolute; inset: 0; border-radius: 22px 22px 0 0; pointer-events: none; z-index: 2; background: radial-gradient(340px circle at var(--mx) var(--my), rgba(124,154,128,.16), transparent 70%); }
  .win { background: #fff; border: 1px solid var(--line); border-radius: 22px 22px 0 0; box-shadow: 0 50px 90px -40px rgba(30,50,36,.5); overflow: hidden; }
  .win-top { display: flex; align-items: center; gap: 7px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg)); }
  .win-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
  .win-top span { margin-left: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .fh-body { padding: clamp(14px, 2vw, 22px); display: grid; gap: 14px; }
  .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .kpi { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
  .kpi:hover { transform: translateY(-4px); border-color: var(--blue-mid); box-shadow: 0 18px 30px -22px rgba(30,50,36,.5); }
  .kpi span { display: block; font: 500 10.5px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
  .kpi b { display: block; margin-top: 10px; font: 600 clamp(1.1rem, 2vw, 1.55rem)/1 var(--f-display); letter-spacing: -.03em; }
  .kpi em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--good); }
  .kpi em.wn { color: var(--warn); }
  .fh-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
  .panel { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; }
  .panel h5 { margin: 0 0 12px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; }
  .panel h5 b { color: var(--blue); font-weight: 500; }
  .bars { display: flex; align-items: flex-end; gap: clamp(6px, 1.4vw, 14px); height: 150px; }
  .bars div { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
  .bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: var(--line-2); transform-origin: bottom; }
  .bars i { transition: filter .2s, transform .25s; }
  .bars i:hover { filter: brightness(.92); transform: scaleY(1.04); }
  .bars i + i { background: linear-gradient(180deg, var(--blue-mid), var(--blue)); }
  .js .fh-stage:not(.in) .bars i { transform: scaleY(0); }
  .fh-stage.in .bars i { animation: grow 1.1s cubic-bezier(.16,1,.3,1) calc(.3s + var(--n, 0) * 70ms) backwards; }
  @keyframes grow { from { transform: scaleY(0); } }
  .bars-x { display: flex; gap: clamp(6px, 1.4vw, 14px); margin-top: 8px; font-size: 11px; color: var(--faint); }
  .bars-x span { flex: 1; text-align: center; }
  .wk div { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
  .wk h5 + div { border-top: 0; }
  .wk b { font-weight: 600; } .wk .wn { color: var(--warn); } .wk .ok { color: var(--good); }
  .chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px 15px; font-size: 13px; box-shadow: 0 24px 40px -22px rgba(30,50,36,.55); transform: translate(calc(var(--px, 0) * var(--k, 1) * 1px), calc(var(--py, 0) * var(--k, 1) * 1px)); transition: transform .3s ease-out; }
  .chip b { font-weight: 600; display: block; line-height: 1.2; } .chip small { color: var(--muted); font-size: 11.5px; }
  .chip .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; }
  .chip .tick .ic { width: 15px; height: 15px; }
  .chip.c1 { left: 2%; top: -34px; --k: -1.2; animation: bob 6s ease-in-out infinite; }
  .chip.c2 { right: 2%; top: -34px; --k: 1.6; animation: bob 7s ease-in-out -2s infinite; }
  @keyframes bob { 50% { margin-top: -10px; } }
  @media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fh-grid { grid-template-columns: minmax(0, 1fr); } .chip { display: none; } }
  @media (max-width: 520px) { .fh-cta .btn { flex: 1 1 100%; justify-content: center; } .bars { height: 110px; } }

  /* ---- Bento hover cards (module coverage) ---- */
  .cp-bento-p { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
  .cp-p { grid-column: span 4; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; min-height: 220px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
  .cp-p::before { content: ""; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 100%), var(--blue-soft), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
  .cp-p:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -26px rgba(30,50,36,.4); border-color: var(--line-2); }
  .cp-p:hover::before { opacity: 1; }
  .cp-p .ic { position: relative; color: var(--blue); width: 28px; height: 28px; margin-bottom: 18px; transition: transform .3s; }
  .cp-p:hover .ic { transform: scale(1.12) rotate(-4deg); }
  .cp-p h3 { position: relative; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; transition: transform .25s; }
  .cp-p h3::after { content: ""; display: block; height: 2px; width: 22px; margin-top: 12px; background: var(--line-2); border-radius: 2px; transition: width .3s, background-color .3s; }
  .cp-p:hover h3 { transform: translateX(4px); }
  .cp-p:hover h3::after { width: 54px; background: var(--blue); }
  .cp-p p { position: relative; margin-top: 12px; color: var(--muted); font-size: 14.5px; max-width: 36ch; }
  .cp-p-img { grid-column: span 4; grid-row: span 3; position: relative; margin: 0; border-radius: 22px; overflow: hidden; min-height: 320px; background: var(--navy); }
  .cp-p-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
  .cp-p-img:hover img { transform: scale(1.06); }
  .cp-p-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(26,38,30,.85)); }
  .cp-p-img figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: #fff; font: 500 20px/1.25 var(--f-display); letter-spacing: -.02em; }
  @media (max-width: 960px) { .cp-p { grid-column: span 6; } .cp-p-img { grid-row: auto; grid-column: 1 / -1; order: -1; min-height: 240px; } }
  @media (max-width: 640px) { .cp-p { grid-column: 1 / -1; min-height: 0; } }

  /* ---- Live dashboard (interactive, with an animated demo cursor) ---- */
  .dash { position: relative; margin-top: clamp(28px, 4vw, 48px); border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 90px -46px rgba(30,50,36,.55); --mx: 50%; --my: 50%; }
  .dash::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(124,154,128,.14), transparent 70%); }
  .dash-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 520px; }
  .dside { background: var(--navy); color: rgba(255,255,255,.7); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
  .dside .org { display: flex; align-items: center; gap: 10px; padding: 8px 10px 16px; color: #fff; font: 600 14px/1 var(--f-display); }
  .dside .org i { width: 26px; height: 26px; border-radius: 7px; background: var(--blue); display: grid; place-items: center; font-style: normal; font-size: 13px; }
  .dside small { padding: 10px 10px 4px; font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
  .dside button { display: flex; align-items: center; gap: 10px; border: 0; background: none; color: inherit; font: 500 13.5px/1 var(--f-body); padding: 11px 10px; border-radius: 9px; cursor: pointer; text-align: left; transition: background-color .2s, color .2s; }
  .dside button .ic { width: 17px; height: 17px; }
  .dside button:hover { background: rgba(255,255,255,.08); color: #fff; }
  .dside button.on { background: rgba(181,205,178,.18); color: #fff; }
  .dmain { position: relative; padding: clamp(16px, 2.2vw, 26px); background: var(--bg); min-width: 0; }
  .dv { display: none; }
  .dv.on { display: block; animation: cp-in .55s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes cp-in { from { opacity: 0; transform: translateY(14px); } }
  .dv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
  .dv-head h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; }
  .dv-head p { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
  .pill { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--muted); transition: background-color .3s, color .3s, border-color .3s; }
  .pill.good { background: var(--blue-soft); color: var(--blue-deep); border-color: rgba(78,106,85,.3); }
  .dbtn { border: 0; cursor: pointer; font: 500 11.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 11px 15px; border-radius: 999px; background: var(--ink); color: #fff; transition: transform .2s, background-color .2s, opacity .2s; white-space: nowrap; }
  .dbtn:hover { transform: translateY(-2px); }
  .dbtn.sm { padding: 8px 11px; font-size: 10.5px; }
  .dbtn:disabled, .dbtn.done { background: var(--blue-soft); color: var(--blue-deep); cursor: default; transform: none; }
  .dbtn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
  .dcols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; }
  .tbl { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 13px; }
  .tr { display: grid; grid-template-columns: var(--cols); gap: 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); transition: background-color .25s; }
  .tr:first-child { border-top: 0; }
  .tr.th { font: 500 10px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); background: var(--bg); }
  .tr:not(.th):hover, .tr.hl { background: var(--blue-soft); }
  .tr .r { text-align: right; } .tr b { font-weight: 600; }
  .tr.sum { border-top: 1px solid var(--line-2); } .tr.tot { font-size: 14.5px; background: var(--bg); }
  .tr.done { opacity: .7; } .tr.done .st { color: var(--good); }
  .st.wn { color: var(--warn); } .st.ok { color: var(--good); }
  .aside { display: grid; gap: 12px; align-content: start; }
  .card-s { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 12.5px; color: var(--muted); }
  .card-s h5 { margin: 0 0 8px; font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
  .card-s b { color: var(--ink); font-weight: 600; }
  .card-s div { display: flex; justify-content: space-between; padding: 6px 0; }
  .meter { height: 7px; border-radius: 7px; background: var(--bg-2); overflow: hidden; margin-top: 8px; }
  .meter i { display: block; height: 100%; width: var(--w); background: var(--blue); border-radius: 7px; transition: width 1.4s cubic-bezier(.16,1,.3,1); }
  .js .dv:not(.on) .meter i { width: 0; }
  .bud { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 18px; }
  .bud > div { padding: 14px 0; border-top: 1px solid var(--line); }
  .bud > div:first-child { border-top: 0; }
  .bud .hd { display: flex; justify-content: space-between; font-size: 13.5px; } .bud .hd span { color: var(--muted); }
  .bud .meter.over i { background: var(--warn); }
  .run-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
  .run-steps .pill.good::before { content: "✓"; }
  .fcur { position: absolute; left: 0; top: 0; z-index: 8; width: 26px; height: 26px; pointer-events: none; transition: transform .9s cubic-bezier(.65,0,.25,1), opacity .3s; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); opacity: 0; }
  .dash.live .fcur { opacity: 1; }
  .fcur svg { width: 100%; height: 100%; transition: transform .15s; transform-origin: 3px 3px; }
  .fcur.tap svg { transform: scale(.82); }
  .fcur::after { content: ""; position: absolute; left: -9px; top: -9px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; transform: scale(.4); }
  .fcur.tap::after { animation: ripple .55s ease-out; }
  @keyframes ripple { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.9); } }
  .toast { position: absolute; z-index: 9; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 13px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; pointer-events: none; max-width: calc(100% - 36px); }
  .toast.on { opacity: 1; transform: none; }
  .toast .ic { width: 16px; height: 16px; color: #a9c4a8; }
  .dash-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
  @media (max-width: 900px) {
    .dash-grid { grid-template-columns: minmax(0, 1fr); }
    .dside { flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; scrollbar-width: none; }
    .dside .org, .dside small { display: none; }
    .dside button { white-space: nowrap; }
    .dcols { grid-template-columns: minmax(0, 1fr); }
    .tr { padding: 11px 12px; font-size: 12.5px; }
  }
  @media (max-width: 560px) {
    .tr.th span:nth-child(n+3), .tbl.inv .tr > :nth-child(n+3):not(:last-child) { display: none; }
    .tbl.inv .tr { grid-template-columns: 1fr auto !important; }
    .tbl.exp .tr { grid-template-columns: 1fr auto !important; }
    .tbl.exp .tr > :nth-child(2), .tbl.exp .tr > :nth-child(4) { display: none; }
    .dash-grid { min-height: 0; }
  }

  /* ---- Coloured section: Pixi AI ---- */
  .cp-pixi { background: radial-gradient(90% 80% at 80% 10%, #3e5a45 0%, #22342a 40%, var(--navy) 80%); color: #fff; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); margin-inline: max(8px, 1.2vw); }
  .cp-pixi .eyebrow { color: #b5cdb2; }
  .cp-pixi .cp-h2 span { color: #b8d0b4; }
  .pixi-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding-block: clamp(48px, 6vw, 84px); }
  .pixi-copy { display: grid; gap: 16px; justify-items: start; }
  .pixi-copy > p { color: rgba(255,255,255,.68); font-size: 15px; max-width: 42ch; }
  .bot { border-radius: 22px; border: 0; background: #fff; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; height: 440px; box-shadow: 0 40px 70px -40px rgba(0,0,0,.8); }
  .bot-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
  .bot-top b { display: block; font-size: 15px; } .bot-top small { color: var(--muted); font-size: 12px; }
  .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-mid), var(--blue)); display: grid; place-items: center; color: #fff; }
  .av .ic { width: 19px; height: 19px; }
  .on-dot { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); }
  .on-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5fd08f; box-shadow: 0 0 0 0 rgba(95,208,143,.6); animation: pulse 2s infinite; }
  @keyframes pulse { to { box-shadow: 0 0 0 8px rgba(95,208,143,0); } }
  .bot-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; }
  .bot-msgs::-webkit-scrollbar { display: none; }
  .bub { border-radius: 16px; padding: 13px 17px; font-size: 14.5px; line-height: 1.55; border: 1px solid var(--line); animation: cp-in .45s cubic-bezier(.2,.8,.2,1) both; max-width: 92%; }
  .bub.q { background: var(--blue); color: #fff; border-color: transparent; align-self: flex-end; border-bottom-right-radius: 5px; }
  .bub.a { background: var(--bg); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 5px; }
  .bot-in { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); min-height: 52px; }
  .bot-field { flex: 1; min-width: 0; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; }
  .bot-field:not(.typing)::before { content: "Ask about payroll, invoices, expenses…"; color: var(--faint); }
  .caret { display: inline-block; width: 2px; height: 18px; margin-left: 2px; background: var(--blue); animation: blink 1s steps(2) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .bot-send { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; transition: background-color .2s, color .2s, transform .2s; flex: none; }
  .bot-send .ic { width: 17px; height: 17px; }
  .bot-send.go { background: var(--blue); color: #fff; transform: scale(.88); }
  .bub .src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .bub .src span { font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); }
  .dots { display: inline-flex; gap: 5px; } .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-mid); animation: dot 1s infinite; } .dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
  @keyframes dot { 50% { transform: translateY(-5px); opacity: .4; } }
  @media (max-width: 900px) { .pixi-grid { grid-template-columns: minmax(0, 1fr); } }

  /* ---- How it runs: steps + swapping visual ---- */
  .steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
  .step { display: block; padding: 20px 22px; border-bottom: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: background-color .25s, box-shadow .25s; }
  .step:last-child { border-bottom: 0; }
  .step:hover { background: rgba(255,255,255,.6); }
  .step.on { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); border-bottom-color: transparent; }
  .step h3 { font-size: 17px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
  .step p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
  .how-l { position: sticky; top: 96px; display: grid; gap: 14px; align-self: start; }
  .how-stage { position: relative; margin-top: 14px; min-height: 340px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(90% 70% at 70% 0%, var(--blue-soft), var(--bg-2)); }
  .how-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(78,106,85,.18) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); }
  .how-stage .vis { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
  .how-stage .vis.on { opacity: 1; transform: none; }
  .mk { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 30px 60px -34px rgba(30,50,36,.5); font-size: 12.5px; color: var(--ink-2); text-align: left; }
  .mk b { font-weight: 600; color: var(--ink); }
  .mk-bar { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
  .mk-bar b { font-size: 14px; }
  .mk-bar span, .mk-foot { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .mk-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); } .mk-foot.lock { color: var(--blue-deep); }
  .mk-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mk-row:last-child { border-bottom: 0; } .mk-row em { font: 500 10px/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--blue-deep); }
  .mk-row .wn { color: var(--warn); }
  .mk-meter { display: grid; grid-template-columns: 96px 1fr 44px; gap: 10px; align-items: center; margin-top: 12px; }
  .mk-meter div { height: 7px; border-radius: 7px; background: var(--bg-2); overflow: hidden; }
  .mk-meter i { display: block; height: 100%; width: var(--w); background: var(--blue); border-radius: 7px; }
  .mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0 4px; }
  .mk-kpis div { padding: 12px; border-left: 1px solid var(--line); } .mk-kpis div:first-child { border-left: 0; }
  .mk-kpis b { display: block; font: 600 18px/1 var(--f-display); } .mk-kpis span { display: block; margin-top: 6px; color: var(--muted); font-size: 11.5px; }
  .mk-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); }
  .mk-grid span { padding: 10px 6px; border-top: 1px solid var(--line); text-align: center; }
  .mk-grid span:empty { border-top: 0; }
  .mk-grid .h { font: 500 10px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); border-top: 0; }
  .mk-grid .r { text-align: left; font-weight: 500; color: var(--ink); } .mk-grid .y { color: var(--blue); font-weight: 700; } .mk-grid .n { color: var(--line-2); }
  @media (max-width: 900px) { .how-l { position: static; } .how-stage { display: none; } .step .vis-m { display: block; } }

  /* ---- Quote + stats ---- */
  .cp-quote blockquote { margin: 0; font: 400 clamp(1.5rem, 2.8vw, 2.3rem)/1.2 var(--f-display); letter-spacing: -.03em; font-stretch: 108%; text-wrap: balance; }
  .cp-quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 14px; color: var(--muted); } .cp-quote cite b { color: var(--ink); font-weight: 600; }
  .cp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(28px, 3.5vw, 44px); }
  .cp-stat { padding: 2px 0 2px 18px; border-left: 1px solid var(--line-2); transition: border-color .3s; } .cp-stat:hover { border-left-color: var(--blue); }
  .cp-stat b { display: block; font: 600 1.05rem/1.2 var(--f-display); letter-spacing: -.02em; }
  .cp-stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.45; }
  .cp-quote-img { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--navy); box-shadow: 0 40px 70px -40px rgba(35,64,43,.5); }
  .cp-quote-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s; } .cp-quote-img:hover img { transform: scale(1.04); }
  @media (max-width: 900px) { .cp-quote-img { order: -1; aspect-ratio: 16 / 10; } }
  @media (max-width: 560px) { .cp-stats { grid-template-columns: 1fr; gap: 16px; } }

  /* ---- Separation of duties ---- */
  .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 15px; transition: background-color .25s, transform .25s; }
  .checks li:hover { background: #fff; transform: translateX(6px); box-shadow: 0 14px 30px -24px rgba(30,50,36,.5); }
  .checks .ic { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
  .perm { margin-top: 22px; max-width: 460px; }

  .duties { align-items: end; }
  .duties .checks { padding-bottom: 6px; }
  @media (max-width: 900px) { .duties .checks { padding-bottom: 0; } }
  .checks li { padding: 12px 14px; }

  /* ---- Keep exploring ---- */
  .xp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
  .xp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-2); }
  .xp { display: block; text-decoration: none; padding: 28px 8px; border-bottom: 1px solid var(--line-2); border-radius: 0; position: relative; transition: padding .3s ease, background-color .3s; }
  .xp::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue); transition: width .45s cubic-bezier(.2,.8,.2,1); }
  .xp:hover { background: #fff; padding-inline: 24px; }
  .xp:hover::before { width: 100%; }
  .xp div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; gap: clamp(12px, 4vw, 48px); }
  .xp h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 500; letter-spacing: -.03em; }
  .xp p { margin-top: 0; color: var(--muted); font-size: 15px; order: 2; }
  .xp .ic { order: 3; width: 22px; height: 22px; color: var(--blue); transition: transform .25s; } .xp:hover .ic { transform: translateX(6px); }
  @media (max-width: 700px) { .xp div { grid-template-columns: minmax(0, 1fr) auto; } .xp p { grid-column: 1; grid-row: 2; margin-top: 8px; } .xp .ic { grid-row: 1; grid-column: 2; } }
  .step .vis { display: none; }
  @media (max-width: 900px) { .step.on .vis { display: block; margin-top: 14px; } .step .mk { max-width: none; box-shadow: none; } }
  .how-stage .vis { display: grid; }
  /* ---------- Footer (CyberGen) ---------- */
  .footer { --cg-bg: #0b0e14; --cg-text: #f1f4f9; --cg-muted: #aeb8c8; --cg-faint: #6f7b8f; --cg-line: rgba(255, 255, 255, 0.1); --cg-accent: #1ba6e3;
    background: var(--cg-bg); color: var(--cg-muted); padding-block: 64px 28px; }
  .footer a { color: inherit; text-decoration: none; transition: color .2s; }
  .cg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  @media (max-width: 900px) { .cg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cg-news { grid-column: 1 / -1; } }
  @media (max-width: 600px) { .cg-grid { grid-template-columns: minmax(0, 1fr); } }
  .cg-brand { font: 700 22px/1 var(--f-display); letter-spacing: 0.12em; color: #fff; text-transform: uppercase; }
  .cg-addr { margin-top: 24px; font-style: normal; font-size: 16px; line-height: 1.75; color: var(--cg-text); opacity: 0.85; }
  .cg-contact { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }
  .cg-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--cg-text); opacity: 0.85; }
  .cg-contact a:hover { color: var(--cg-accent); opacity: 1; }
  .cg-contact svg { width: 18px; height: 18px; flex: none; }
  .cg-social { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }
  .cg-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: #c3ccd9; }
  .cg-social a:hover { background: var(--cg-accent); color: #fff; }
  .cg-social svg { width: 20px; height: 20px; }
  .cg-cta { margin-top: 24px; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; }
  .cg-cta a { color: var(--cg-accent); }
  .cg-cta a:hover { color: #fff; }
  .cg-cta i { width: 4px; height: 4px; border-radius: 50%; background: var(--cg-faint); }
  .cg-h { font: 700 17px/1.2 var(--f-body); color: #fff; margin: 4px 0 20px; }
  .cg-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; font-size: 15px; }
  .cg-links a:hover { color: #fff; }
  .cg-news p { font-size: 15px; margin: -8px 0 16px; }
  .cg-form { display: flex; gap: 10px; }
  .cg-form input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); color: #fff; font: 400 16px var(--f-body); outline: none; }
  .cg-form input::placeholder { color: var(--cg-faint); }
  .cg-form input:focus { border-color: var(--cg-accent); }
  .cg-form button { height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--cg-accent); color: #fff; font: 700 16px var(--f-body); cursor: pointer; transition: filter .2s; }
  .cg-form button:hover { filter: brightness(1.1); }
  .cg-note { min-height: 1.2em; margin-top: 8px; font-size: 13px; color: var(--cg-accent); }
  .cg-fed { margin-top: 12px; padding: 16px; border: 1px solid var(--cg-line); border-radius: 10px; }
  .cg-fed b { display: flex; align-items: center; gap: 10px; font: 700 13px/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
  .cg-fed b svg { width: 20px; height: 20px; }
  .cg-fed span { display: block; margin-top: 10px; font-size: 15px; }
  .cg-fed a { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--cg-accent); }
  .cg-fed a:hover { color: #fff; }
  .cg-bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--cg-line); text-align: center; }
  .cg-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 0; font-size: 15px; }
  .cg-legal a { white-space: nowrap; }
  .cg-legal a + a::before { content: "\00b7"; margin: 0 12px; color: var(--cg-faint); }
  .cg-legal a:hover { color: #fff; }
  .cg-copy { margin-top: 18px; font-size: 14.5px; color: var(--cg-faint); }
  .footer .cg-top { margin-top: 14px; display: flex; width: max-content; margin-inline: auto; white-space: nowrap; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--cg-accent); }
  .footer .cg-top:hover { color: #fff; }
