:root {
  --purple: #5b3df5;
  --purple-dark: #5425df;
  --purple-soft: #f2eeff;
  --ink: #14131c;
  --text: #4f4d5b;
  --muted: #777482;
  --line: #e5e3ea;
  --soft: #f7f7f9;
  --white: #ffffff;
  --green: #16a36d;
  --green-soft: #e4f8ef;
  --blue: #3478f6;
  --blue-soft: #eaf2ff;
  --amber: #b97912;
  --amber-soft: #fff4dd;
  --background: #ffffff;
  --foreground: var(--ink);
}

/* Dashboard visual: mirrors the live product dashboard reference. */
@media (min-width: 981px) {
  .product-hero { height: 597px; margin-top: 45px; overflow: visible; }
  .dashboard-image {
    height: 597px;
    background: #f8fafc;
    border: 0;
    border-radius: 0;
    box-shadow: 0 20px 48px rgba(31, 41, 55, .14);
    overflow: hidden;
  }
  .dash-app {
    grid-template-columns: 130px minmax(0, 1fr);
    background: #f8fafc;
    border-radius: 0;
    overflow: hidden;
  }
  .dash-sidebar { padding: 11px 8px; }
  .dash-brand { font-size: 14px; }
  .dash-brand svg { width: 22px; height: 22px; }
  .dash-sidebar nav { margin-top: 9px; gap: 1px; }
  .dash-sidebar a { min-height: 23px; font-size: 7.5px; }
  .dash-sidebar nav > small { margin-top: 9px; }
  .dash-main { padding: 11px 12px 11px 14px; overflow: hidden; }
  .dash-metrics { gap: 8px; }
  .dash-metrics article { min-height: 76px; padding: 14px 10px 10px; gap: 6px; }
  .dash-metrics article > svg { top: 10px; right: 10px; }
  .dash-top-grid { margin-top: 8px; grid-template-columns: 2.2fr 1fr; gap: 8px; }
  .dash-bottom-grid { margin-top: 8px; gap: 8px; }
  .dash-card { padding: 12px 10px; }
  .dash-top-grid .dash-card { min-height: 275px; }
  .dash-bottom-grid .dash-card { min-height: 208px; }
  .dash-card h3 { font-size: 11px; }
  .dash-card p { margin-top: 5px; }
  .dash-revenue .bar-chart {
    height: 147px;
    margin: 12px 34px 0 74px;
    padding-left: 0;
    background: repeating-linear-gradient(90deg, transparent 0 calc(16.666% - 1px), #edf0f4 calc(16.666% - 1px) 16.666%);
  }
  .bar-chart > div::before { display: none; }
  .chart-client {
    position: absolute;
    right: calc(100% + 8px);
    top: -2px;
    width: 67px;
    color: #42495a;
    font-size: 7px;
    font-weight: 650;
    text-align: right;
    white-space: nowrap;
  }
  .bar-chart i { transform-origin: left center; }
  .dash-revenue .bar-chart > div:nth-child(1) { --bar: 88.6%; }
  .dash-revenue .bar-chart > div:nth-child(1) i { width: 88.6% !important; }
  .dash-revenue .bar-chart > div:nth-child(2) { --bar: 62.9%; }
  .dash-revenue .bar-chart > div:nth-child(2) i { width: 62.9% !important; }
  .dash-revenue .bar-chart > div:nth-child(3) { --bar: 4%; }
  .dash-revenue .bar-chart > div:nth-child(3) i { width: 4% !important; }
  .dash-revenue .bar-chart b { font-size: 7px; }
  .dash-revenue footer { margin: 2px 22px 0 74px; }
  .donut { width: 112px; height: 112px; margin: 14px auto 12px; background: conic-gradient(var(--purple) 0 var(--donut-fill, 100%), #eee9ff 0); }
  .donut::before { width: 76px; height: 76px; }
  .dash-mini-row { min-height: 28px; margin-top: 6px; }
  .dash-payments .bar-chart {
    height: 141px;
    margin: 12px 25px 0 74px;
    padding-left: 0;
    background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #edf0f4 calc(25% - 1px) 25%);
  }
  .dash-payments .bar-chart > div:nth-child(1) { --bar: 0%; }
  .dash-payments .bar-chart > div:nth-child(2) { --bar: 50%; }
  .dash-payments .bar-chart > div:nth-child(2) i { width: 50% !important; }
  .dash-payments .bar-chart > div:nth-child(3) { --bar: 100%; }
  .dash-payments .bar-chart > div:nth-child(3) i { width: 100% !important; }
  .dash-payments footer { margin: 0 24px 0 74px; }
  .trend-legend { margin-top: 9px; gap: 7px; font-size: 6.5px; }
  .trend-legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
  .trend-legend i { width: 5px; height: 5px; margin: 0; }
  .trend-legend i::after { display: none; }
  .dash-trend::before { top: 64px; line-height: 19px; }
  .dash-trend::after { left: 43px; top: 67px; height: 115px; background: repeating-linear-gradient(to bottom, transparent 0 18px, #eef0f4 18px 19px); }
  .dash-trend svg { width: calc(100% - 44px); height: 116px; margin: 4px 0 0 34px; }
  .trend-line { opacity: 1; stroke-width: 2.2; }
  .trend-line.secondary { stroke: #3584ed; }
  .trend-line.tertiary { stroke: #16a36d; }
  .dash-trend footer { visibility: visible; margin: -1px 4px 0 43px; }
  .dashboard-image, .dash-app { overflow: visible; }
  .dash-doc-panel { display: block; }
  .floating-status { display: flex; }
  .dash-app.is-loading .bar-chart i { transform: scaleX(0); }
  .dash-app.is-ready .bar-chart i { transform: scaleX(1); transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
  .dash-app.is-loading .trend-line { stroke-dasharray: var(--path-length); stroke-dashoffset: var(--path-length); }
  .dash-app.is-ready .trend-line { stroke-dasharray: var(--path-length); stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.22, 1, .36, 1); }
}

/* Scroll entrances and connected-business data animation. */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px) scale(.975);
  will-change: opacity, transform;
  transition: opacity .62s ease-out, transform .86s cubic-bezier(.16,1,.3,1);
}
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.scroll-reveal .reveal-item {
  opacity: 0;
  transform: translateY(18px) scale(.965);
  will-change: opacity, transform;
  transition: opacity .54s ease-out var(--reveal-delay, 0ms), transform .76s cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms);
}
.scroll-reveal.is-visible .reveal-item { opacity: 1; transform: translateY(0) scale(1); }
.scroll-reveal .simple-chart i {
  height: var(--report-height) !important;
  transform: scaleY(0);
  transform-origin: bottom center;
  will-change: transform;
  transition: transform .82s cubic-bezier(.22,1,.36,1) var(--bar-delay, 0ms);
}
.scroll-reveal.is-visible .simple-chart i { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal .reveal-item { opacity: 1; transform: none; transition: none; }
  .scroll-reveal .simple-chart i { height: var(--report-height) !important; transform: none; transition: none; }
}

* { box-sizing: border-box; }
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: white; color: var(--ink); font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 118px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: min-height .32s cubic-bezier(.22,1,.36,1); }
.wordmark { width: fit-content; display: inline-flex; align-items: center; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.wordmark img { display: block; width: 154px; height: auto; transition: width .32s cubic-bezier(.22,1,.36,1); }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a, .header-actions > a:first-child { color: #43414c; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .header-actions > a:first-child:hover { color: var(--purple); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 24px; }
.mobile-nav { display: none; }

.nav-goo { position: absolute; }
.desktop-nav.nav-row { position: relative; gap: 4px; }
.nav-item { position: relative; }
.nav-item.has-menu::after { content: ""; position: absolute; top: 100%; right: 0; left: 0; height: 19px; }
.nav-link { position: relative; isolation: isolate; min-height: 42px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; overflow: hidden; color: #686574 !important; background: transparent; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 650; line-height: 1; white-space: nowrap; cursor: pointer; transition: color .28s ease; }
.nav-blob { position: absolute; z-index: -1; inset: 0; opacity: 0; background: var(--purple); border-radius: inherit; transform: translateZ(0) scale(.76); backface-visibility: hidden; will-change: transform, opacity; transition: transform .58s cubic-bezier(.22,1,.36,1), opacity .34s ease; }
.nav-item:hover > .nav-link .nav-blob, .nav-item:focus-within > .nav-link .nav-blob, .nav-item.menu-open > .nav-link .nav-blob { opacity: 1; transform: scale(1); }
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link, .nav-item.menu-open > .nav-link { color: white !important; }
.nav-chevron { width: 7px; height: 7px; margin-top: -3px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.nav-item:hover .nav-chevron, .nav-item:focus-within .nav-chevron, .nav-item.menu-open .nav-chevron { transform: rotate(225deg) translate(-1px,-1px); }
.dropdown, .mega-menu { position: absolute; z-index: 60; top: calc(100% + 18px); left: 50%; opacity: 0; visibility: hidden; pointer-events: none; background: white; box-shadow: 0 20px 48px rgba(26,20,48,.14); transform: translateX(-50%) translateY(-4px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease; }
.dropdown { width: 230px; padding: 8px; border-radius: 16px; }
.mega-menu { width: 580px; padding: 12px; border-radius: 20px; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.menu-open > .dropdown, .nav-item:hover > .mega-menu, .nav-item:focus-within > .mega-menu, .nav-item.menu-open > .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-link, .mega-link { position: relative; isolation: isolate; display: block; overflow: hidden; color: var(--ink) !important; border-radius: 11px; transition: color .24s ease; }
.dropdown-link::before, .mega-link::before { content: ""; position: absolute; z-index: -1; inset: 3px; opacity: 0; background: var(--purple); border-radius: 9px; transform: scale(.88,.8); transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .25s ease; }
.dropdown-link { padding: 11px 12px; font-size: 13px; font-weight: 650; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link { padding: 14px; }
.mega-title { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 750; }
.mega-copy { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; font-weight: 500; }
.dropdown-link:hover, .dropdown-link:focus-visible, .mega-link:hover, .mega-link:focus-visible { color: white !important; outline: none; }
.dropdown-link:hover::before, .dropdown-link:focus-visible::before, .mega-link:hover::before, .mega-link:focus-visible::before { opacity: 1; transform: scale(1); }
.mega-link:hover .mega-copy, .mega-link:focus-visible .mega-copy { color: rgba(255,255,255,.78); }

.site-header { transition: background-color .3s ease, box-shadow .3s ease; }
.nav-link { transition: color .28s ease, min-height .32s cubic-bezier(.22,1,.36,1), padding .32s cubic-bezier(.22,1,.36,1); }
.site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 8px 26px rgba(30,23,55,.08); }
.site-header.is-scrolled .header-inner { min-height: 68px; }
.site-header.is-scrolled .wordmark img { width: 142px; }
.site-header.is-scrolled .nav-link { min-height: 38px; padding: 8px 13px; }
.site-header.is-scrolled .button--small { min-height: 38px; }
.site-header.is-scrolled .nav-item.has-menu::after { height: 17px; }
.site-header.is-scrolled .dropdown, .site-header.is-scrolled .mega-menu { top: calc(100% + 16px); }

.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button--small { min-height: 42px; padding-inline: 17px; font-size: 14px; }
.button--large { min-height: 58px; padding-inline: 28px; font-size: 16px; }
.button--primary { color: white; background: var(--purple); box-shadow: 0 8px 20px rgba(103,54,245,.18); }
.button--primary:hover { background: var(--purple-dark); box-shadow: 0 10px 24px rgba(103,54,245,.25); }
.button--secondary { color: var(--ink); background: white; border-color: var(--line); }
.button--secondary:hover { border-color: #c9c5d3; background: #fbfbfc; }

.eyebrow { display: inline-block; color: var(--purple); font-size: 13px; line-height: 1.2; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }

.hero { padding-top: 92px; text-align: center; }
.hero-copy { max-width: 880px; margin-inline: auto; }
.hero h1 { margin: 22px 0 0; font-size: clamp(58px, 7vw, 92px); line-height: .98; letter-spacing: -.065em; font-weight: 730; }
.hero h1 .hero-title-accent { color: var(--purple); }
.hero-copy > p { max-width: 720px; margin: 28px auto 0; color: var(--text); font-size: 20px; line-height: 1.58; letter-spacing: -.015em; }
.hero-actions { margin-top: 34px; display: flex; justify-content: center; gap: 12px; }
.hero-notes { margin-top: 25px; display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 13px; }
.hero-notes span { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes svg { color: var(--green); }

.product-hero { position: relative; height: 624px; margin-top: 45px; padding: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.dashboard-image { width: 100%; height: 624px; background: white; border: 1px solid #dedbe6; border-radius: 15px 15px 0 0; box-shadow: 0 0 30px rgba(32,23,60,.09), 0 44px 100px rgba(32,23,60,.23), 0 14px 32px rgba(32,23,60,.1); overflow: visible; }
.dashboard-image img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.dash-app { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: 143px 1fr; color: #182036; background: #f9fafb; border-radius: inherit; font-family: Inter, Arial, sans-serif; font-size: 8px; text-align: left; overflow: visible; }
.dash-sidebar { padding: 14px 8px; background: white; border-right: 1px solid #ecebf0; }
.dash-brand { display: flex; align-items: center; gap: 4px; margin-left: 1px; color: #14131c; font-size: 14px; letter-spacing: -.04em; }
.dash-brand svg { width: 21px; color: var(--purple); }
.dash-sidebar nav { margin-top: 14px; display: grid; gap: 2px; }
.dash-sidebar a { min-height: 24px; padding: 0 7px; display: flex; align-items: center; gap: 7px; color: #3e4554; border-radius: 5px; font-size: 8px; }
.dash-sidebar a svg { width: 10px; height: 10px; }
.dash-sidebar a.is-selected { color: var(--purple); background: #f3edff; }
.dash-sidebar nav > small { margin: 12px 0 5px 7px; color: #a1a5b3; font-size: 6px; text-transform: uppercase; }
.dash-sidebar em { min-width: 22px; margin-left: auto; padding: 2px 4px; color: var(--purple); background: #f1ebff; border-radius: 5px; font-size: 6px; font-style: normal; text-align: center; }
.dash-sidebar a:nth-of-type(6) { min-height: 38px; }
.dash-sidebar a:nth-of-type(6) span { line-height: 1.35; }
.dash-main { padding: 11px 14px; overflow: hidden; }
.dash-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dash-metrics article, .dash-card { position: relative; background: white; border: 1px solid #eceef2; border-radius: 8px; }
.dash-metrics article { min-height: 85px; padding: 16px 12px 16px 10px; display: grid; align-content: start; gap: 7px; transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.dash-metrics article:hover, .dash-card:hover { z-index: 2; border-color: #d8d1ec; box-shadow: 0 8px 18px rgba(40,28,78,.07); transform: translateY(-2px); }
.dash-metrics span, .dash-metrics small, .dash-card p { color: #747789; font-size: 7px; }
.dash-metrics strong { font-size: 14px; letter-spacing: -.04em; }
.dash-metrics small b { color: #10a669; } .dash-metrics small .is-red { color: #db4a4a; }
.dash-metrics article > svg { position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; padding: 3px; color: var(--purple); background: #f1ebff; border-radius: 4px; }
.dash-top-grid { margin-top: 9px; display: grid; grid-template-columns: 2.105fr .95fr; gap: 8px; }
.dash-bottom-grid { margin-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dash-card { min-height: 305px; padding: 12px 12px 12px 11px; transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.dash-top-grid .dash-card { min-height: 305px; }
.dash-bottom-grid .dash-card { min-height: 210px; }
.dash-card h3 { margin: 0; font-size: 11px; letter-spacing: -.025em; }
.dash-card p { margin: 7px 0 0; }
.bar-chart { height: 163px; margin: 14px 84px 0 57px; padding-left: 5px; display: grid; align-content: space-around; border-left: 1px solid #ececf2; background: repeating-linear-gradient(90deg, transparent 0 96px, #f0f0f4 96px 97px); }
.bar-chart > div { position: relative; height: 9px; }
.bar-chart > div::before { content: ""; position: absolute; right: calc(100% + 5px); top: 0; width: 30px; height: 8px; background: #dcdce3; border-radius: 4px; }
.bar-chart i { height: 9px; display: block; background: var(--purple); border-radius: 0 3px 3px 0; transition: filter .25s ease, transform .25s ease; }
.bar-chart div:hover i { filter: brightness(.87); transform: scaleY(1.35); }
.bar-chart b { position: absolute; left: calc(var(--bar, 100%) + 3px); top: -1px; margin-left: 0; font-size: 7px; white-space: nowrap; }
.bar-chart > div { --bar: 100%; } .bar-chart > div:nth-child(2) { --bar: 71%; } .bar-chart > div:nth-child(3) { --bar: 42%; } .bar-chart > div:nth-child(4) { --bar: 29%; }
.dash-revenue .bar-chart > div:nth-child(3) { --bar: 4.5%; }
.dash-revenue .bar-chart > div:nth-child(3) i { width: 4.5% !important; }
.dash-revenue .bar-chart > div:nth-child(3) b { font-size: 0; }
.dash-revenue .bar-chart > div:nth-child(3) b::after { content: "£120.00"; font-size: 7px; }
.dash-revenue .bar-chart > div:nth-child(4) { display: none; }
.dash-card footer { margin: 2px 18px; display: flex; justify-content: space-between; color: #8790a0; font-size: 6px; }
.dash-revenue footer { margin: 2px 18px 0 61px; }
.donut { position: relative; width: 118px; height: 118px; margin: 17px auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--purple) 0 100%, #eee9ff 0); }
.donut::before { content: ""; position: absolute; width: 80px; height: 80px; background: white; border-radius: 50%; }
.donut strong { position: relative; z-index: 1; display: grid; text-align: center; font-size: 17px; }
.donut small { color: #75798a; font-size: 6px; font-weight: 500; }
.dash-mini-row { min-height: 25px; margin-top: 4px; padding: 0 8px; display: flex; align-items: center; justify-content: space-between; color: #727889; background: #fbfbfd; border: 1px solid #ededf2; border-radius: 4px; font-size: 7px; }
.dash-mini-row b { color: #343747; }
.bar-chart.green i { background: #16a36d; }
.dash-payments .bar-chart { height: 145px; margin-top: 20px; margin-right: -8px; }
.dash-payments .bar-chart > div:nth-child(1) { --bar: 0%; }
.dash-payments .bar-chart > div:nth-child(1) i { width: 0 !important; }
.dash-payments .bar-chart > div:nth-child(2) { --bar: 47%; }
.dash-payments .bar-chart > div:nth-child(2) i { width: 47% !important; }
.dash-payments .bar-chart > div:nth-child(3) { --bar: 94%; }
.dash-payments .bar-chart > div:nth-child(3) i { width: 94% !important; }
.trend-legend { margin: 12px 0 0 4px; display: flex; align-items: center; gap: 6px; color: #7d8191; font-size: 0; }
.trend-legend i { position: relative; width: 5px; height: 5px; margin-right: 31px; display: inline-block; background: var(--purple); border-radius: 50%; }
.trend-legend i::after { content: ""; position: absolute; left: 9px; top: 0; width: 28px; height: 5px; background: #dedee5; border-radius: 4px; }
.trend-legend i:nth-of-type(2){background:#9ed44f}.trend-legend i:nth-of-type(3){background:#676b79}
.dash-trend::before { content: "£3.0k\A £2.5k\A £2.0k\A £1.5k\A £1.0k\A £500\A £0"; position: absolute; z-index: 1; left: 15px; top: 66px; color: #8790a0; font-size: 6px; line-height: 21px; white-space: pre; }
.dash-trend::after { content: ""; position: absolute; left: 45px; right: 12px; top: 69px; height: 127px; background: repeating-linear-gradient(to bottom, transparent 0 20px, #eeeeF3 20px 21px); pointer-events: none; }
.dash-trend svg { position: relative; z-index: 1; width: calc(100% - 34px); height: 128px; margin: 7px 0 0 34px; overflow: visible; }
.trend-grid path { opacity: 0; stroke: #eeeeF3; stroke-width: 1; }.trend-line { fill: none; stroke-width: 2.5; opacity: 0; transition: opacity .2s ease; }.dash-trend:hover .trend-line{opacity:1}.trend-line.primary{stroke:var(--purple)}.trend-line.secondary{stroke:#aaa4bb}.trend-line.tertiary{stroke:#5a6170}
.dash-trend footer { visibility: hidden; }
.dash-doc-panel { position: absolute; z-index: 4; right: -77px; bottom: -75px; box-sizing: border-box; width: 251px; height: 490px; padding: 20px 13px 15px 14px; background: white; border: 1px solid #e8e7ed; border-radius: 24px 24px 0 0; box-shadow: 0 20px 44px rgba(35,27,66,.18); overflow: hidden; }
.dash-doc-panel header { display: flex; align-items: center; justify-content: space-between; }.dash-doc-panel header strong{display:flex;align-items:center;gap:4px;font-size:11px}.dash-doc-panel header strong svg{width:18px;color:var(--purple)}.dash-doc-panel header span{display:flex;gap:6px}.dash-doc-panel header span svg{width:24px;height:24px;padding:6px;color:#333744;background:#fafafd;border:1px solid #ecebf0;border-radius:7px}
.dash-tabs { margin: 12px 0 8px; display: flex; gap: 4px; }.dash-tabs span,.dash-tabs b{padding:5px 15px;border:1px solid #ecebf0;border-radius:10px;font-size:6px;font-weight:500;white-space:nowrap}.dash-tabs b{color:var(--purple);background:#f1ebff}.dash-doc-panel>small{display:block;margin:20px 0 17px;font-size:7px}
.dash-doc-actions { position: absolute; top: 84px; right: 14px; display: flex; gap: 6px; }
.dash-doc-actions span { width: 23px; height: 23px; display: grid; place-items: center; color: #3f4350; background: #fafafd; border: 1px solid #ecebf0; border-radius: 7px; }
.dash-doc-actions span:nth-child(2) { color: var(--purple); background: #f1ebff; border-color: #ddd1ff; }
.dash-doc-actions svg { width: 11px; height: 11px; }
.dash-doc { min-height: 81px; margin-top: 7px; padding: 8px; display: grid; grid-template-columns:1fr auto; gap: 4px; background:#fff; border:1px solid #ededf1; border-radius:7px; }.dash-doc strong{font-size:8px}.dash-doc em{justify-self:start;padding:2px 4px;color:#3478f6;background:#eaf2ff;border-radius:6px;font-size:5px;font-style:normal;text-transform:uppercase}.dash-doc em.paid{color:#0b8754;background:#e4f8ef}.dash-doc span{font-size:6px;color:#75798a}.dash-doc b{position:relative;grid-column:2;grid-row:1/4;align-self:center;font-size:9px}.dash-doc b::before{content:"";position:absolute;right:0;top:-22px;width:39px;height:18px;background:linear-gradient(#dddde4 0 0) right top/34px 6px no-repeat,linear-gradient(#dddde4 0 0) right bottom/39px 6px no-repeat;border-radius:4px}.dash-doc b::after{content:"Due Sep 8";position:absolute;right:0;top:21px;color:#6f7481;font-size:5px;font-weight:500;white-space:nowrap}
.bar-chart > div::after { content: attr(data-tip); position: absolute; z-index: 4; left: 25%; top: -28px; padding: 5px 7px; color: #30303a; background: white; border: 1px solid #e1e0e8; border-radius: 5px; box-shadow: 0 6px 14px rgba(25,20,43,.1); font-size: 7px; opacity: 0; pointer-events: none; transform: translateY(3px); transition: .2s ease; white-space: nowrap; }
.bar-chart > div:hover::after { opacity: 1; transform: translateY(0); }
.phone-image { position: absolute; right: -78px; bottom: -88px; width: 252px; height: 502px; background: white; border: 12px solid white; border-radius: 28px; box-shadow: 0 28px 58px rgba(23,18,42,.24); overflow: hidden; }
.phone-image img { width: 100%; height: 100%; object-fit: cover; }
.floating-status { position: absolute; left: -24px; bottom: 38px; min-width: 204px; padding: 14px 16px; display: flex; align-items: center; gap: 11px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(30,24,49,.14); text-align: left; }
.floating-status > span:last-child { display: grid; gap: 2px; }
.floating-status small { color: var(--muted); font-size: 11px; }
.floating-status strong { font-size: 13px; }
.status-icon { width: 30px; height: 30px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; }

.outcomes { position: relative; z-index: 10; background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.outcomes-grid { min-height: 128px; display: grid; grid-template-columns: repeat(3, 1fr); }
.outcomes-grid > div { padding: 28px 34px; display: flex; align-items: center; gap: 15px; border-right: 1px solid var(--line); }
.outcomes-grid > div:first-child { border-left: 1px solid var(--line); }
.outcomes-grid svg { color: var(--purple); flex: none; }
.outcomes-grid span { display: grid; gap: 5px; text-align: left; }
.outcomes-grid strong { font-size: 15px; }
.outcomes-grid small { color: var(--muted); font-size: 12px; line-height: 1.45; }

.section-heading { max-width: 760px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .section-copy h2, .final-cta h2 { margin: 18px 0 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.04; letter-spacing: -.052em; font-weight: 710; }
.section-heading > p, .section-copy > p { margin: 24px 0 0; color: var(--text); font-size: 18px; line-height: 1.62; }
.section-heading.centered > p { max-width: 650px; margin-inline: auto; }

.workflow-steps { margin-top: 68px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-steps article { position: relative; min-height: 224px; padding: 34px 30px 36px; text-align: left; }
.workflow-steps article + article { border-left: 1px solid var(--line); }
.step-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.step-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--purple); background: var(--purple-soft); border: 1px solid #e2d9ff; border-radius: 12px; }
.step-icon--success { color: var(--green); background: var(--green-soft); border-color: #cceedd; }
.step-index { color: #9c98a6; font-size: 12px; line-height: 1; font-weight: 760; letter-spacing: .09em; }
.workflow-steps h3 { margin: 28px 0 10px; font-size: 19px; line-height: 1.25; letter-spacing: -.03em; }
.workflow-steps p { max-width: 220px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.documents { background: #f8f7fb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: visible; }
.documents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.check-list { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: #383640; font-size: 14px; line-height: 1.55; }
.check-list svg { margin-top: 2px; color: var(--purple); flex: none; }
.check-list.compact { margin-top: 26px; }
.document-visual { position: relative; min-height: 640px; padding-left: 22px; perspective: 1200px; }
.invoice-preview { position: absolute; inset: 0 70px 0 0; padding: 38px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 22px 55px rgba(31,25,50,.1); }
.invoice-preview .wordmark { font-size: 14px; }
.invoice-preview__top { display: flex; justify-content: space-between; align-items: flex-start; }
.invoice-preview__top > div { display: grid; gap: 5px; text-align: right; }
.invoice-preview__top > div span { color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.invoice-preview__top > div strong { font-size: 15px; }
.invoice-preview__meta { margin-top: 62px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.invoice-preview__meta div { display: grid; gap: 6px; }
.invoice-preview__meta span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.invoice-preview__meta strong { font-size: 13px; }
.invoice-preview__meta small { color: var(--muted); font-size: 11px; }
.invoice-preview__lines { margin-top: 54px; border-top: 1.5px solid var(--ink); }
.invoice-preview__lines > div { min-height: 58px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 12px; }
.invoice-preview__lines > div:first-child { min-height: 40px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.invoice-preview__total { width: 220px; margin: 34px 0 0 auto; padding-bottom: 14px; display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--ink); }
.invoice-preview__total span { color: var(--muted); font-size: 11px; }
.invoice-preview__total strong { font-size: 21px; }
.status-panel { position: absolute; z-index: 2; right: 0; bottom: 30px; width: 300px; padding: 23px; background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 20px 45px rgba(30,24,49,.15); }
.status-panel__head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 750; }
.paid-badge { padding: 5px 8px; display: inline-flex; align-items: center; gap: 6px; color: #0d8654; background: var(--green-soft); border-radius: 999px; font-size: 10px; text-transform: uppercase; }
.paid-badge i { display: none; }
.status-panel__amount { margin: 22px 0; padding-bottom: 19px; display: grid; gap: 5px; border-bottom: 1px solid var(--line); }
.status-panel__amount span { color: var(--muted); font-size: 11px; }
.status-panel__amount strong { font-size: 28px; letter-spacing: -.04em; }
.activity-line { margin-top: 17px; display: flex; align-items: flex-start; gap: 10px; }
.activity-line svg { color: var(--green); }
.activity-line span { display: grid; gap: 3px; }
.activity-line strong { font-size: 11px; }
.activity-line small { color: var(--muted); font-size: 9px; }

.document-visual { padding-left: 0; }
.invoice-preview--full { inset: 0; padding: 34px 38px 28px; display: flex; flex-direction: column; border-radius: 14px; }
.invoice-preview--full, .document-visual .status-panel { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.document-visual:hover .invoice-preview--full { transform: translateY(-7px) rotateX(1deg) rotateY(-.8deg); box-shadow: 0 30px 65px rgba(31,25,50,.15); }
.document-visual:hover .status-panel { transform: translate(9px,-9px); box-shadow: 0 28px 55px rgba(30,24,49,.18); }
.invoice-business, .invoice-number { display: grid; gap: 5px; }
.invoice-preview__top .invoice-business { text-align: left; justify-items: start; }
.invoice-business strong { font-size: 15px; letter-spacing: -.025em; }
.invoice-business small, .invoice-number small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.invoice-number { text-align: right; }
.invoice-number > span { color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: .11em; }
.invoice-number > strong { font-size: 13px; }
.invoice-parties { margin-top: 37px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.invoice-parties > div { display: grid; gap: 4px; }
.invoice-parties span, .invoice-payment > span, .invoice-summary > span, .invoice-signatures span { color: #7c7787; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.invoice-parties strong { font-size: 11px; }
.invoice-parties small, .invoice-payment small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.invoice-parties > div:last-child { text-align: right; }
.invoice-services { margin-top: 27px; border-top: 1px solid var(--ink); }
.invoice-services > div { min-height: 35px; display: grid; grid-template-columns: 1fr 48px 90px; align-items: center; border-bottom: 1px solid var(--line); font-size: 10px; }
.invoice-services > div > :last-child { text-align: right; }
.invoice-services__head { color: var(--muted); font-size: 8px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.invoice-services > div:not(.invoice-services__head) strong { font-size: 10px; }
.invoice-bottom { margin-top: 25px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 38px; }
.invoice-payment { display: grid; align-content: start; gap: 5px; }
.invoice-payment strong { font-size: 10px; }
.invoice-summary { display: grid; gap: 6px; }
.invoice-summary > div { display: flex; align-items: center; justify-content: space-between; font-size: 9px; }
.invoice-summary small { color: var(--muted); }
.invoice-grand-total { margin-top: 3px; padding: 9px 10px; color: white; background: var(--purple); border-radius: 5px; font-size: 11px !important; text-transform: uppercase; }
.invoice-grand-total b { font-size: 12px; }
.invoice-signatures { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.invoice-signatures > div { display: grid; gap: 4px; }
.invoice-signatures strong { font-size: 9px; }
.invoice-signatures em { width: 100px; height: 24px; padding-top: 6px; color: #2c2536; border-bottom: 1px solid #928b9b; font-family: "Brush Script MT", cursive; font-size: 18px; font-style: italic; line-height: 1; white-space: nowrap; }
.invoice-signatures i { width: 100px; height: 24px; border-bottom: 1px solid #928b9b; }
.invoice-signatures small { color: var(--muted); font-size: 8px; }
.invoice-signatures > div:last-child { text-align: right; justify-items: end; }
.document-visual .status-panel { right: -58px; bottom: 28px; width: 286px; }

.attention { padding-top: 88px; padding-bottom: 88px; }
.attention-card { padding: 64px; display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 40px; align-items: center; background: var(--purple-soft); border: 1px solid #e2dafe; border-radius: 24px; }
.attention-card h2 { font-size: clamp(38px, 4.2vw, 58px); }
.text-link { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-size: 14px; font-weight: 750; }
.attention-list { order: -1; width: 500px; padding: 10px 28px; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 25px 54px rgba(35,27,68,.14), 0 5px 14px rgba(35,27,68,.06); transform: translateX(-140px); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.attention-list:hover { transform: translateX(-140px) translateY(-8px); box-shadow: 0 34px 70px rgba(35,27,68,.18), 0 8px 18px rgba(35,27,68,.08); }
.attention-card .section-copy { width: auto; max-width: 590px; transform: none; }
.attention-list > div { min-height: 82px; display: grid; grid-template-columns: 48px minmax(175px, 210px) auto 62px; gap: 13px; align-items: center; justify-content: start; border-bottom: 1px solid var(--line); }
.attention-list > div:last-child { border-bottom: 0; }
.document-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--purple); background: var(--purple-soft); border-radius: 11px; }
.attention-list > div > span:nth-child(2) { display: grid; gap: 4px; }
.attention-list strong { font-size: 14px; }
.attention-list small { color: var(--muted); font-size: 11px; }
.attention-list b { font-size: 13px; }
.status { justify-self: end; padding: 6px 8px; border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.status--amber { color: var(--amber); background: var(--amber-soft); }
.status--blue { color: var(--blue); background: var(--blue-soft); }
.status--green { color: var(--green); background: var(--green-soft); }

.connected { position: relative; isolation: isolate; overflow: visible; }
.connected::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; background-color: #fdfdfe; background-image: radial-gradient(circle, rgba(85,81,96,.17) 1px, transparent 1.2px); background-size: 18px 18px; transform: translateX(-50%); }
.connected .section-heading { max-width: 780px; }
.connected .section-heading h2, .connected .section-heading > p, .connected .section-heading .eyebrow { text-shadow: 0 2px 10px rgba(255,255,255,.92), 0 1px 2px rgba(31,24,55,.08); }
.connected-grid { width: min(1320px, calc(100vw - 36px)); margin: 76px 50% 0; padding: 14px 10px 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; perspective: 1400px; transform: translateX(-50%); }
.connected-grid article { --card-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); border: 1px solid rgba(222,219,230,.9); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 58px rgba(31,24,55,.12), 0 5px 14px rgba(31,24,55,.06); transform: var(--card-transform); transform-style: preserve-3d; transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease; }
.connected-grid article:hover { transform: var(--card-transform) translateY(-12px) translateZ(20px); box-shadow: 0 38px 76px rgba(31,24,55,.18), 0 10px 22px rgba(31,24,55,.08); }
/* Keep the original zoom reveal while preserving each card's dimensional tilt. */
.connected.scroll-reveal .connected-grid article.reveal-item {
  opacity: 0;
  transform: var(--card-transform) translateY(20px) scale(.94);
  transform-origin: 50% 55%;
  will-change: opacity, transform;
  transition:
    opacity .56s ease-out var(--reveal-delay, 0ms),
    transform .88s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms),
    box-shadow .32s ease;
}
.connected.scroll-reveal.is-visible .connected-grid article.reveal-item {
  opacity: 1;
  transform: var(--card-transform) translateY(0) scale(1);
}
.connected.scroll-reveal.is-visible .connected-grid article.reveal-item:hover {
  transform: var(--card-transform) translateY(-12px) translateZ(20px) scale(1.01);
}
.feature-label { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-size: 13px; line-height: 1.2; font-weight: 750; letter-spacing: .015em; text-transform: uppercase; }
.expense-card { --card-transform: rotateX(2.2deg) rotateY(-3.4deg) rotateZ(-1.25deg); padding: 46px; background: white; }
.expense-card h3, .report-card h3, .catalogue-card h3 { margin: 42px 0 0; font-size: 32px; line-height: 1.18; letter-spacing: -.035em; }
.expense-card > p { max-width: 540px; margin: 16px 0 34px; color: var(--text); font-size: 16px; line-height: 1.6; }
.expense-row { min-height: 74px; display: grid; grid-template-columns: 1fr auto 82px; gap: 18px; align-items: center; border-top: 1px solid var(--line); }
.expense-row > span:first-child { display: grid; gap: 4px; }
.expense-row strong, .expense-row b { font-size: 16px; }
.expense-row small { color: var(--muted); font-size: 13px; }
.expense-row em { color: var(--amber); font-size: 11px; font-style: normal; font-weight: 800; text-align: right; letter-spacing: .015em; text-transform: uppercase; }
.expense-row em.is-approved { color: var(--green); }
.report-card { --card-transform: rotateX(-2.6deg) rotateY(3.6deg) rotateZ(1.35deg) translateY(14px); padding: 46px; background: linear-gradient(145deg, #6e3afb, #5b2ce9); color: white; border-color: transparent !important; }
.report-card .feature-label { color: #ddd2ff; }
.report-caption { display: block; margin-top: 52px; color: rgba(255,255,255,.67); font-size: 12px; }
.report-value { display: block; margin-top: 8px; font-size: clamp(42px, 4.5vw, 62px); letter-spacing: -.055em; }
.report-change { display: inline-block; margin-top: 10px; padding: 5px 8px; color: #0c8955; background: white; border-radius: 6px; font-size: 10px; font-weight: 800; }
.simple-chart { height: 170px; margin-top: 46px; display: flex; align-items: flex-end; gap: 9px; border-bottom: 1px solid rgba(255,255,255,.45); }
.simple-chart i { flex: 1; background: rgba(255,255,255,.9); border-radius: 4px 4px 0 0; }
.simple-chart i:nth-child(even) { opacity: .55; }
.catalogue-card { --card-transform: rotateX(1.8deg) rotateY(-1.5deg) rotateZ(-.65deg) translateY(9px); grid-column: 1 / -1; padding: 52px 46px; display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; background: #fbfbfd; }
.catalogue-card h3 { max-width: 660px; }
.catalogue-lines > div { min-height: 76px; display: grid; grid-template-columns: 1fr 100px 90px; gap: 16px; align-items: center; border-top: 1px solid var(--line); font-size: 16px; }
.catalogue-lines small { color: var(--muted); font-size: 14px; }
.catalogue-lines strong { font-size: 16px; }
.catalogue-lines strong { text-align: right; }

.teams { background: #f6f3ff; border-top: 1px solid #e6e0fb; border-bottom: 1px solid #e6e0fb; }
.teams-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.chat-panel { width: calc(100% + 70px); min-height: 474px; margin-left: -35px; padding: 0 32px 28px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 34px rgba(33,26,61,.09), 0 3px 8px rgba(33,26,61,.04); }
.chat-head { min-height: 80px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.chat-head > div { display: flex; align-items: center; gap: 11px; }
.chat-head > div > span:last-child { display: grid; gap: 3px; }
.chat-head small { color: var(--muted); font-size: 10px; }
.chat-day { display: none; }
.chat-messages { position: relative; height: 270px; padding-top: 18px; display: flex; flex-direction: column; justify-content: flex-start; gap: 13px; overflow: hidden; }
.chat-message { position: relative; z-index: 1; display: block; animation: message-in .35s ease both; }
.chat-message__content { min-width: 0; display: grid; gap: 3px; }
.chat-message__meta { display: flex; align-items: baseline; gap: 7px; }
.chat-message__meta strong { color: #282532; font-size: 12px; }
.chat-message__meta time { color: #777482; font-size: 9px; }
.chat-message p { min-height: 19px; margin: 0; color: #393542; font-size: 13px; line-height: 1.4; }
.chat-typing { min-height: 37px; }
.chat-typing__dots { display: inline-flex; align-items: center; gap: 4px; min-height: 19px; }
.chat-typing__dots i { width: 5px; height: 5px; display: block; background: var(--purple); border-radius: 50%; animation: typing-dot 1s ease-in-out infinite; }
.chat-typing__dots i:nth-child(2) { animation-delay: .14s; }
.chat-typing__dots i:nth-child(3) { animation-delay: .28s; }
.chat-event { position: relative; z-index: 1; padding: 10px 12px; display: flex; align-items: center; gap: 9px; color: #4f4b59; background: #fbfaff; border: 1px solid #e5e0ef; border-radius: 9px; font-size: 11px; line-height: 1.35; animation: message-in .35s ease both; }
.chat-event svg { width: 16px; height: 16px; flex: none; color: var(--purple); }
.chat-event--paid { color: #087b4b; background: var(--green-soft); border-color: #cceedd; }
.chat-event--paid svg { color: var(--green); }
.composer { min-height: 50px; margin-top: 20px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; font-size: 12px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.composer.is-composing { color: var(--muted); background: white; border-color: var(--line); }
.composer.is-composing > span::after { content: "|"; margin-left: 2px; color: var(--ink); animation: composer-caret .75s step-end infinite; }

@keyframes chat-float { 0%, 100% { transform: translate3d(-8px, 2px, 0) rotateX(1.5deg) rotateY(-2deg) rotateZ(2.5deg); box-shadow: 0 24px 54px rgba(33,26,61,.13), 0 8px 18px rgba(33,26,61,.06); } 50% { transform: translate3d(10px, -12px, 16px) rotateX(-1deg) rotateY(1.5deg) rotateZ(1.1deg); box-shadow: 0 38px 72px rgba(33,26,61,.18), 0 14px 28px rgba(33,26,61,.08); } }
@keyframes message-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes typing-dot { 0%, 60%, 100% { opacity: .28; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes composer-caret { 50% { opacity: 0; } }

.automation-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.automation-grid article { min-height: 230px; padding: 34px 30px; display: flex; align-items: center; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.automation-grid article > svg { width: 56px; height: 56px; padding: 16px; color: var(--purple); background: var(--purple-soft); border: 1px solid #e3dbff; border-radius: 15px; }
.automation-grid h3 { margin-top: 25px; font-size: 20px; }
.automation-grid p { max-width: 290px; margin: 10px auto 0; font-size: 15px; line-height: 1.55; }
.automation-grid h3 { margin-bottom: 0; letter-spacing: -.025em; }
.automation-grid p { color: var(--muted); }

.pricing { background: var(--soft); border-top: 1px solid var(--line); }
.pricing-heading { max-width: 800px; }
.billing-toggle { width: fit-content; margin: 34px auto 0; padding: 4px; display: flex; gap: 4px; background: #eae8ef; border-radius: 12px; }
.billing-toggle button { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; color: #66626f; background: transparent; border: 0; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.billing-toggle button.is-active { color: var(--ink); background: white; box-shadow: 0 1px 3px rgba(20,19,28,.1); }
.billing-toggle small { padding: 4px 6px; color: var(--purple); background: var(--purple-soft); border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.pricing-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-grid article { min-height: 520px; padding: 30px; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 18px; }
.pricing-grid article.featured { border: 2px solid var(--purple); box-shadow: 0 20px 40px rgba(103,54,245,.1); }
.plan-name { min-height: 28px; display: flex; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 750; }
.plan-name small { padding: 5px 8px; color: var(--purple); background: var(--purple-soft); border-radius: 999px; font-size: 9px; text-transform: uppercase; }
.plan-price { margin-top: 40px; display: flex; align-items: flex-end; gap: 8px; }
.plan-price strong { font-size: 48px; line-height: 1; letter-spacing: -.055em; }
.plan-price span { padding-bottom: 5px; color: var(--muted); font-size: 12px; }
.pricing-grid article > p { margin: 14px 0 0; color: var(--text); font-size: 14px; }
.pricing-grid ul { margin: 42px 0 30px; padding: 0; list-style: none; display: grid; gap: 13px; }
.pricing-grid li { display: flex; align-items: center; gap: 9px; color: #494650; font-size: 13px; }
.pricing-grid li svg { color: var(--purple); }
.pricing-grid article .button { margin-top: auto; }

.final-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.final-cta h2 { max-width: 850px; }
.final-cta p { margin: 22px 0 0; color: var(--text); font-size: 18px; }

.footer { padding: 72px 0 28px; background: #15141c; color: white; }
.footer .wordmark { color: white; }
.footer-top { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 70px; }
.footer-top > div > p { max-width: 340px; margin: 22px 0 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.55; }
.footer nav { display: grid; align-content: start; gap: 12px; }
.footer nav strong { margin-bottom: 5px; font-size: 13px; }
.footer nav a { color: rgba(255,255,255,.58); font-size: 13px; }
.footer nav a:hover { color: white; }
.footer-bottom { margin-top: 64px; padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); font-size: 11px; }
.footer-bottom>span:last-child{display:inline-flex;align-items:center;gap:6px}.footer-bottom>span:last-child .ti{font-size:14px}
.back-to-top { position: fixed; z-index: 30; right: 28px; bottom: 28px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 10px 24px rgba(25,20,40,.14); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, border-color .2s ease; }
.back-to-top .ti{font-size:23px;}

/* Coordinated homepage hero entrance. */
.hero-load-eyebrow{opacity:0;transform:translateY(9px);animation:hero-line-fade .58s .12s cubic-bezier(.22,1,.36,1) both}
.hero-title-line{color:var(--ink)}
.hero-title-accent{color:var(--purple)}
.hero-word{display:inline-flex;overflow:hidden;vertical-align:bottom;padding-bottom:.07em;margin-bottom:-.07em}
.hero-word>span{display:inline-block;color:inherit;transform:translateY(112%);animation:hero-word-rise .62s calc(.43s + var(--hero-word-index)*.095s) cubic-bezier(.16,1,.3,1) both}
.hero-copy-line{display:block;opacity:0;transform:translateY(9px);animation:hero-line-fade .58s calc(1.08s + var(--hero-line-index)*.14s) cubic-bezier(.22,1,.36,1) both}
.hero .hero-actions{opacity:0;transform:translateY(18px);animation:hero-controls-rise .62s 1.48s cubic-bezier(.16,1,.3,1) both}
.hero .hero-notes{opacity:0;transform:translateY(12px);animation:hero-controls-rise .55s 1.65s cubic-bezier(.16,1,.3,1) both}
.hero .dashboard-image{opacity:0;transform:translateY(120px);animation:hero-dashboard-rise 1.08s .56s cubic-bezier(.16,1,.3,1) both}
.hero .floating-status{opacity:0;translate:0 22px;scale:.72;animation:hero-notice-pop .62s 1.8s cubic-bezier(.2,1.4,.35,1) both}
.outcomes{opacity:0;transform:translateY(24px);animation:hero-outcomes-rise .86s .56s cubic-bezier(.16,1,.3,1) both}

@media(min-width:981px){
  .hero .dash-doc-panel{opacity:0;transform:translateY(150px) scale(.96);animation:hero-mobile-rise 1s .94s cubic-bezier(.16,1,.3,1) both}
}

@keyframes hero-line-fade{to{opacity:1;transform:translateY(0)}}
@keyframes hero-word-rise{to{transform:translateY(0)}}
@keyframes hero-controls-rise{to{opacity:1;transform:translateY(0)}}
@keyframes hero-dashboard-rise{to{opacity:1;transform:translateY(0)}}
@keyframes hero-outcomes-rise{to{opacity:1;transform:translateY(0)}}
@keyframes hero-mobile-rise{to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes hero-notice-pop{0%{opacity:0;translate:0 22px;scale:.72}68%{opacity:1;translate:0 -3px;scale:1.055}100%{opacity:1;translate:0 0;scale:1}}

@media(max-width:780px){
  .hero-copy-line{display:inline}
  .hero-copy-line:first-child::after{content:" "}
  .hero .dashboard-image{transform:translateY(80px);animation-duration:.9s}
  .hero .floating-status{animation-delay:1.66s}
}

@media(prefers-reduced-motion:reduce){
  .hero-load-eyebrow,.hero-word>span,.hero-copy-line,.hero .hero-actions,.hero .hero-notes,.hero .dashboard-image,.hero .dash-doc-panel,.hero .floating-status,.outcomes{opacity:1;transform:none;animation:none}
  .hero .floating-status{translate:none;scale:none}
}
.back-to-top:hover { border-color: #c9c4d4; transform: translateY(7px); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 980px) {
  .product-hero { height: 560px; padding-inline: 34px; }
  .dashboard-image { height: 560px; }
  .phone-image { width: 175px; height: 348px; }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
  .workflow-steps article { min-height: 220px; }
  .workflow-steps article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .workflow-steps article:nth-child(4) { border-top: 1px solid var(--line); }
  .documents-grid, .teams-grid { gap: 42px; }
  .attention-card { padding: 42px; gap: 38px; }
  .attention-card { grid-template-columns: 1fr; }
  .attention-list, .attention-list:hover { width: auto; transform: none; }
  .attention-card .section-copy { width: auto; max-width: none; transform: none; }
  .catalogue-card { gap: 36px; }
}

@media (max-width: 780px) {
  .shell { width: min(100% - 34px, 700px); }
  .section { padding-block: 86px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-actions { display: none; }
  .mobile-nav { display: block; justify-self: end; }
  .mobile-nav summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
  .mobile-nav summary span { width: 17px; height: 1.5px; background: var(--ink); }
  .mobile-nav > div { position: absolute; top: 76px; left: 0; right: 0; padding: 24px; display: grid; gap: 17px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20,19,28,.08); }
  .mobile-nav > div > a:not(.button) { font-size: 18px; font-weight: 700; }
  .hero { padding-top: 72px; }
  .hero h1 { font-size: clamp(52px, 11.5vw, 76px); }
  .hero-copy > p { font-size: 18px; }
  .product-hero { height: 472px; margin-top: 58px; padding: 32px 24px 0; border-radius: 22px 22px 0 0; }
  .dashboard-image { height: 472px; }
  .phone-image { right: 20px; width: 150px; height: 298px; border-width: 5px; border-radius: 24px; }
  .floating-status { left: 12px; bottom: 24px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcomes-grid > div, .outcomes-grid > div:first-child { min-height: 96px; padding: 20px 10px; border: 0; border-bottom: 1px solid var(--line); }
  .outcomes-grid > div:last-child { border-bottom: 0; }
  .workflow-steps { margin-top: 46px; grid-template-columns: 1fr; border-block: 0; }
  .workflow-steps article { min-height: 0; padding: 28px 0 30px 70px; border-top: 1px solid var(--line); }
  .workflow-steps article + article { border-left: 0; }
  .workflow-steps article:last-child { border-bottom: 1px solid var(--line); }
  .workflow-steps article::before { content: ""; position: absolute; top: 50px; bottom: -18px; left: 22px; width: 1px; background: #d9d5e1; }
  .workflow-steps article:last-child::before { display: none; }
  .step-top { min-height: 46px; }
  .step-icon { position: absolute; left: -70px; top: 0; }
  .workflow-steps h3 { margin-top: 17px; }
  .workflow-steps p { max-width: 430px; }
  .documents-grid, .teams-grid { grid-template-columns: 1fr; }
  .chat-panel { width: 100%; margin-left: 0; transform: none; }
  .document-visual { margin-top: 20px; min-height: 630px; }
  .attention { padding-block: 70px; }
  .attention-card { grid-template-columns: 1fr; }
  .attention-list, .attention-list:hover { order: 0; width: auto; padding: 8px 26px; transform: none; }
  .attention-card .section-copy { width: auto; max-width: none; transform: none; }
  .connected-grid { width: 100%; margin: 54px 0 0; padding: 0; grid-template-columns: 1fr; gap: 20px; transform: none; }
  .connected-grid article, .connected-grid article:hover { --card-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); transform: none; }
  .catalogue-card { grid-column: auto; grid-template-columns: 1fr; }
  .automation-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid article { min-height: 470px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 28px); }
  .section { padding-block: 72px; }
  .hero { padding-top: 58px; }
  .eyebrow { font-size: 11px; }
  .hero h1 { margin-top: 17px; font-size: clamp(46px, 13.5vw, 64px); line-height: 1; }
  .hero-copy > p { margin-top: 22px; font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-notes { gap: 12px 18px; }
  .product-hero { height: 390px; margin-inline: -7px; padding: 31px 12px 0; }
  .dashboard-image { height: 390px; border-radius: 10px 10px 0 0; }
  .phone-image { right: 9px; bottom: -42px; width: 105px; height: 210px; border-width: 4px; border-radius: 18px; }
  .floating-status { min-width: 165px; padding: 10px 11px; }
  .status-icon { width: 26px; height: 26px; }
  .floating-status strong { font-size: 11px; }
  .section-heading h2, .section-copy h2, .final-cta h2 { font-size: clamp(38px, 11.5vw, 52px); }
  .section-heading > p, .section-copy > p { font-size: 16px; }
  .workflow-steps article { padding: 25px 0 27px 62px; }
  .workflow-steps article::before { left: 21px; }
  .step-icon { left: -62px; width: 44px; height: 44px; }
  .document-visual { min-height: 590px; padding-left: 0; }
  .invoice-preview { inset: 0 0 74px 0; padding: 24px 20px; }
  .invoice-preview__meta { margin-top: 40px; gap: 24px; }
  .invoice-preview__lines { margin-top: 35px; }
  .invoice-preview__total { width: 190px; }
  .status-panel { right: 8px; bottom: 0; width: 245px; padding: 18px; }
  .status-panel__amount { margin: 16px 0; }
  .activity-line { margin-top: 13px; }
  .attention-card { padding: 30px 20px; border-radius: 18px; }
  .attention-list { padding-inline: 14px; }
  .attention-list > div { grid-template-columns: 36px 1fr auto; gap: 9px; }
  .attention-list b { display: none; }
  .status { grid-column: 3; }
  .expense-card, .report-card, .catalogue-card { padding: 27px 22px; }
  .expense-card h3, .catalogue-card h3 { margin-top: 36px; font-size: 28px; }
  .expense-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding-block: 14px; }
  .expense-row em { grid-column: 1; grid-row: 2; justify-self: start; padding-bottom: 0; }
  .expense-row b { grid-column: 2; grid-row: 1 / 3; }
  .catalogue-lines > div { grid-template-columns: 1fr auto; }
  .catalogue-lines small { display: none; }
  .chat-panel { padding: 0 15px 15px; }
  .shared-doc { margin-left: 0; }
  .automation-grid article { padding: 24px; }
  .pricing-grid article { padding: 26px 22px; }
  .final-cta .button { width: 100%; }
  .footer-top { gap: 44px 24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .back-to-top { right: 18px; bottom: 18px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .chat-panel, .chat-message, .chat-event, .chat-typing__dots i, .composer.is-composing > span::after { animation: none !important; }
}

/* Cohesive phone layout: comfortable type, spacing and touch targets. */
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .section { padding-block: 64px; }

  .site-header { min-height: 68px; }
  .header-inner,
  .site-header.is-scrolled .header-inner { min-height: 68px; }
  .wordmark img,
  .site-header.is-scrolled .wordmark img { width: 124px; }
  .mobile-nav summary { width: 44px; height: 44px; }
  .mobile-nav:not([open]) > div { display: none; }
  .mobile-nav > div {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 68px);
    padding: 12px 16px 24px;
    gap: 3px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .mobile-nav > div > a:not(.button) {
    min-height: 48px;
    padding: 13px 12px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    font-size: 16px;
  }
  .mobile-nav > div > .button { width: 100%; margin-top: 8px; }

  .hero { padding-top: 52px; }
  .hero h1 { font-size: clamp(42px, 11.5vw, 48px); line-height: 1.02; letter-spacing: -.055em; }
  .hero-copy > p { margin-top: 20px; font-size: 16px; line-height: 1.6; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .hero-notes { margin-top: 20px; gap: 10px 16px; font-size: 12px; }

  .product-hero { height: 350px; margin-top: 44px; padding: 20px 8px 0; border-radius: 16px 16px 0 0; }
  .dashboard-image { height: 350px; }
  .phone-image { right: 7px; bottom: -30px; width: 100px; height: 198px; }
  .floating-status { left: 6px; bottom: 17px; min-width: 158px; }

  .section-heading { margin-bottom: 34px; }
  .section-heading h2,
  .section-copy h2,
  .final-cta h2 { font-size: clamp(34px, 9.7vw, 42px); line-height: 1.04; }
  .section-heading > p,
  .section-copy > p { margin-top: 18px; font-size: 16px; line-height: 1.62; }

  .workflow-steps { margin-top: 34px; }
  .workflow-steps article { padding-top: 22px; padding-bottom: 24px; }
  .documents-grid,
  .teams-grid { gap: 32px; }
  .document-visual { min-height: 540px; }
  .attention { padding-block: 56px; }
  .attention-card { padding: 26px 18px; gap: 28px; }
  .attention-list { padding-inline: 10px; }
  .connected-grid { margin-top: 38px; gap: 14px; }
  .expense-card,
  .report-card,
  .catalogue-card { padding: 24px 20px; }
  .automation-grid article,
  .pricing-grid article { min-height: 0; padding: 24px 20px; }
  .final-cta { padding-top: 58px; padding-bottom: 58px; gap: 26px; }

  .footer { padding-top: 46px; }
  .footer-top { gap: 32px 20px; }
  .footer nav { gap: 4px; }
  .footer nav a { min-height: 36px; display: flex; align-items: center; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .hero h1 { font-size: 39px; }
  .section-heading h2,
  .section-copy h2,
  .final-cta h2 { font-size: 32px; }
  .product-hero,
  .dashboard-image { height: 320px; }
  .attention-list > div { grid-template-columns: 34px minmax(0, 1fr) auto; }
}

@media (max-width: 520px) {
  .invoice-preview--full { inset: 0; padding: 22px 18px 19px; }
  .invoice-number > span { font-size: 17px; }
  .invoice-parties { margin-top: 28px; gap: 18px; }
  .invoice-services { margin-top: 20px; }
  .invoice-bottom { margin-top: 18px; gap: 18px; }
  .invoice-signatures { padding-top: 16px; gap: 20px; }
  .invoice-signatures em, .invoice-signatures i { width: 74px; }
}

@media (max-width: 980px) {
  .documents { overflow: hidden; }
  .document-visual .status-panel { right: 0; }
  .dash-app { grid-template-columns: 96px 1fr; }
  .dash-sidebar { padding-inline: 7px; }
  .dash-sidebar a { padding-inline: 4px; font-size: 7px; }
  .dash-doc-panel { transform: scale(.82); transform-origin: right bottom; }
}

@media (max-width: 780px) {
  .dash-app { grid-template-columns: 1fr; }
  .dash-sidebar, .dash-doc-panel { display: none; }
  .dash-main { padding: 8px; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); gap: 5px; }
  .dash-metrics article { min-height: 48px; padding: 8px; }
  .dash-metrics strong { font-size: 11px; }
  .dash-top-grid, .dash-bottom-grid { grid-template-columns: 1fr; gap: 5px; margin-top: 5px; }
  .dash-card { min-height: 130px; padding: 8px; }
  .dash-bottom-grid { display: none; }
  .bar-chart { height: 72px; margin-top: 8px; }
}

/* Dashboard visual overrides are kept last so the reference stays exact. */
@property --donut-fill {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
@media (min-width: 981px) {
  .product-hero { height: 595px; margin-top: 45px; overflow: visible; }
  .dashboard-image { height: 595px; background: #f8fafc; border: 0; border-radius: 0; box-shadow: 0 20px 48px rgba(31,41,55,.14); overflow: hidden; }
  .dash-app { grid-template-columns: 130px minmax(0,1fr); background: #f8fafc; border-radius: 0; overflow: hidden; }
  .dash-sidebar { padding: 11px 8px; }
  .dash-brand { font-size: 14px; }
  .dash-brand svg { width: 22px; height: 22px; }
  .dash-sidebar nav { margin-top: 9px; gap: 1px; }
  .dash-sidebar a { min-height: 23px; font-size: 7.5px; }
  .dash-sidebar nav > small { margin-top: 9px; }
  .dash-main { padding: 11px 12px 11px 11px; overflow: hidden; }
  .dash-metrics { gap: 8px; }
  .dash-metrics article { min-height: 76px; padding: 12px 10px; gap: 6px; }
  .dash-metrics article > svg { top: 10px; right: 10px; }
  .dash-top-grid { height: 275px; margin-top: 8px; grid-template-columns: 2.2fr 1fr; gap: 8px; }
  .dash-bottom-grid { margin-top: 8px; gap: 8px; }
  .dash-card { padding: 12px 10px; }
  .dash-top-grid .dash-card { min-height: 0; height: 275px; overflow: hidden; }
  .dash-bottom-grid .dash-card { min-height: 208px; }
  .dash-card h3 { font-size: 11px; }
  .dash-card p { margin-top: 5px; }
  .dash-revenue .bar-chart { height: 147px; margin: 12px 19px 0 66px; padding-left: 0; background: repeating-linear-gradient(90deg,transparent 0 calc(16.666% - 1px),#edf0f4 calc(16.666% - 1px) 16.666%); }
  .bar-chart > div::before { display: none; }
  .chart-client { position: absolute; right: calc(100% + 8px); top: -2px; width: 67px; color: #42495a; font-size: 7px; font-weight: 650; text-align: right; white-space: nowrap; }
  .bar-chart i { transform-origin: left center; }
  .dash-revenue .bar-chart > div:nth-child(1) { --bar: 88.6%; }
  .dash-revenue .bar-chart > div:nth-child(1) i { width: 88.6% !important; }
  .dash-revenue .bar-chart > div:nth-child(2) { --bar: 62.9%; }
  .dash-revenue .bar-chart > div:nth-child(2) i { width: 62.9% !important; }
  .dash-revenue .bar-chart > div:nth-child(3) { --bar: 4%; }
  .dash-revenue .bar-chart > div:nth-child(3) i { width: 4% !important; }
  .dash-revenue .bar-chart b { font-size: 7px; }
  .dash-revenue footer { margin: 2px 22px 0 66px; }
  .donut { width: 108px; height: 108px; margin: 14px auto 11px; background: conic-gradient(var(--purple) 0 var(--donut-fill,100%),#eee9ff 0); }
  .donut::before { width: 74px; height: 74px; }
  .dash-mini-row { min-height: 28px; margin-top: 6px; }
  .dash-payments .bar-chart { height: 141px; margin: 12px 19px 0 66px; padding-left: 0; background: repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#edf0f4 calc(25% - 1px) 25%); }
  .dash-payments .bar-chart > div:nth-child(1) { --bar: 0%; }
  .dash-payments .bar-chart > div:nth-child(2) { --bar: 50%; }
  .dash-payments .bar-chart > div:nth-child(2) i { width: 50% !important; }
  .dash-payments .bar-chart > div:nth-child(3) { --bar: 100%; }
  .dash-payments .bar-chart > div:nth-child(3) i { width: 100% !important; }
  .dash-payments footer { margin: 0 18px 0 66px; }
  .trend-legend { margin-top: 9px; gap: 7px; font-size: 6.5px; }
  .trend-legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
  .trend-legend i { width: 5px; height: 5px; margin: 0; }
  .trend-legend i::after { display: none; }
  .dash-trend::before { top: 64px; line-height: 19px; }
  .dash-trend::after { left: 43px; top: 67px; height: 115px; background: repeating-linear-gradient(to bottom,transparent 0 18px,#eef0f4 18px 19px); }
  .dash-trend svg { width: calc(100% - 52px); height: 116px; margin: 8px 0 0 34px; }
  .trend-line { opacity: 1; stroke-width: 2.2; }
  .trend-line.secondary { stroke: #3584ed; }
  .trend-line.tertiary { stroke: #16a36d; }
  .dash-trend footer { visibility: visible; margin: -1px 4px 0 43px; }
  .dash-doc-panel, .floating-status { display: none; }
  .dash-app.is-loading .donut { --donut-fill: 0%; }
  .dash-app.is-ready .donut { --donut-fill: 92%; transition: --donut-fill .9s cubic-bezier(.22,1,.36,1); }
  .dash-app.is-loading .dash-metrics strong,
  .dash-app.is-loading .bar-chart b,
  .dash-app.is-loading .dash-mini-row b,
  .dash-app.is-loading .donut strong { opacity: 0; }
  .dash-app.is-ready .dash-metrics strong,
  .dash-app.is-ready .bar-chart b,
  .dash-app.is-ready .dash-mini-row b,
  .dash-app.is-ready .donut strong { opacity: 1; transition: opacity .22s ease; }
  .dash-app.is-loading .bar-chart i { transform: scaleX(0); }
  .dash-app.is-ready .bar-chart i { transform: scaleX(1); transition: transform .9s cubic-bezier(.22,1,.36,1); }
  .dash-app.is-ready .bar-chart > div:nth-child(2) i { transition-delay: .08s; }
  .dash-app.is-ready .bar-chart > div:nth-child(3) i { transition-delay: .16s; }
  .dash-app.is-loading .trend-line { stroke-dasharray: var(--path-length); stroke-dashoffset: var(--path-length); }
  .dash-app.is-ready .trend-line { stroke-dasharray: var(--path-length); stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.22,1,.36,1); }
  .dash-app.is-ready .trend-line.secondary { transition-delay: .08s; }
  .dash-app.is-ready .trend-line.tertiary { transition-delay: .16s; }
  .dash-revenue .bar-chart > div, .dash-payments .bar-chart > div { display: block !important; }
  .dash-revenue .bar-chart > div i, .dash-payments .bar-chart > div i { width: var(--bar) !important; }
  .dash-revenue .bar-chart > div:nth-child(n) b { font-size: 7px; }
  .dash-revenue .bar-chart b::after { content: none; }
  .dash-revenue .bar-chart > div:nth-child(3) b::after { content: none; }
  .trend-legend span:nth-child(2) i { background: #3584ed; }
  .trend-legend span:nth-child(3) i { background: #16a36d; }
}

/* Keep the dashboard overlays above the section that follows. */
@media (min-width: 981px) {
  .product-hero { z-index: 0; }
  .dashboard-image {
    overflow: visible;
    border: 1px solid #dedbe6;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 14px 32px rgba(32,23,60,.10), 0 34px 76px rgba(32,23,60,.16);
  }
  .dash-app { overflow: visible; border-radius: inherit; }
  .dash-sidebar { border-radius: 15px 0 0 0; }
  .dash-doc-panel {
    display: block;
    right: -77px;
    bottom: -75px;
    width: 251px;
    height: 490px;
    border-radius: 24px 24px 0 0;
  }
  .floating-status {
    display: flex;
    left: -64px;
    bottom: 38px;
    min-width: 204px;
    padding: 14px 16px;
  }
  .dash-doc { min-height: 58px; margin-top: 5px; padding: 7px; }
  .dash-doc b::before {
    content: attr(data-client);
    top: -15px;
    width: auto;
    height: auto;
    color: #747789;
    background: none;
    border-radius: 0;
    font-size: 5.5px;
    font-weight: 600;
    white-space: nowrap;
  }
  .dash-doc b::after { top: 18px; }
  .dash-metrics article,
  .dash-card,
  .dash-doc,
  .floating-status {
    transform-origin: center;
    transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .32s ease, box-shadow .32s ease;
  }
  .dash-metrics article:hover {
    z-index: 12;
    border-color: transparent;
    box-shadow: 0 18px 38px rgba(39,27,78,.16);
    transform: translateY(-5px) scale(1.065);
  }
  .dash-card:hover {
    z-index: 12;
    border-color: transparent;
    box-shadow: 0 22px 48px rgba(39,27,78,.17);
    transform: translateY(-6px) scale(1.035);
  }
  .dash-doc:hover {
    z-index: 8;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(39,27,78,.16);
    transform: scale(1.045);
  }
  .floating-status:hover {
    box-shadow: 0 22px 46px rgba(30,24,49,.22);
    transform: translateY(-5px) scale(1.06);
  }
}

/* Shared Tabler icon treatment */
.ti{display:inline-flex;width:1em;height:1em;align-items:center;justify-content:center;font-style:normal;font-variant:normal;line-height:1;vertical-align:-.125em}.button .ti{font-size:18px}.eyebrow .ti{font-size:17px}.hero-notes .ti,.check-list .ti,.outcomes-grid .ti,.pricing-grid li .ti,.activity-line .ti{flex:none;color:var(--green)}.dash-brand .ti{width:22px;height:22px;color:var(--purple);font-size:22px}.dash-sidebar a .ti{width:10px;height:10px;font-size:10px}.dash-metrics article>.ti{position:absolute;top:10px;right:10px;width:20px;height:20px;padding:3px;color:var(--purple);background:#f1ebff;border-radius:4px;font-size:14px}.dash-doc-panel header strong .ti{width:18px;height:18px;color:var(--purple);font-size:18px}.dash-doc-panel header span .ti{width:24px;height:24px;padding:6px;color:#333744;background:#fafafd;border:1px solid #ecebf0;border-radius:7px;font-size:12px}.dash-doc-actions .ti{font-size:11px}.chat-event .ti{width:16px;height:16px;flex:none;color:var(--purple);font-size:16px}.chat-event--paid .ti{color:var(--green)}.automation-grid article>.ti{width:56px;height:56px;padding:16px;color:var(--purple);background:var(--purple-soft);border:1px solid #e3dbff;border-radius:15px;font-size:24px}.icon-tile .ti{font-size:20px}

/* Workflow icons are intentionally prominent; steps do not need numeric labels. */
.workflow-steps .step-index{display:none}.workflow-steps .step-icon .ti{width:24px;height:24px;font-size:24px}.attention-list .document-icon .ti{width:23px;height:23px;font-size:23px}

/* Match the shared inner-page footer structure. */
.footer-top{grid-template-columns:1.7fr repeat(4,1fr);gap:44px}.footer-top>div>p{max-width:260px;margin-top:18px;font-size:13px}.footer nav{gap:11px;font-size:12px}.footer nav strong{font-size:12px}.footer nav a{font-size:12px}.footer-bottom{margin-top:44px;padding-top:20px}
@media(max-width:960px){.footer-top{grid-template-columns:2fr repeat(2,1fr)}.footer-top nav:nth-of-type(n+3){margin-top:10px}}
@media(max-width:700px){.footer-top{grid-template-columns:1fr 1fr}.footer-top>div{grid-column:1/-1}.footer-top{gap:32px 24px}}

@media (max-width: 960px) {
  .connected.scroll-reveal .connected-grid article.reveal-item {
    transform: translateY(16px) scale(.95);
  }
  .connected.scroll-reveal.is-visible .connected-grid article.reveal-item,
  .connected.scroll-reveal.is-visible .connected-grid article.reveal-item:hover {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .connected.scroll-reveal .connected-grid article.reveal-item,
  .connected.scroll-reveal.is-visible .connected-grid article.reveal-item,
  .connected.scroll-reveal.is-visible .connected-grid article.reveal-item:hover {
    opacity: 1;
    transform: var(--card-transform);
    transition: none;
  }
}

/* Final mobile composition refinements. */
@media (max-width: 700px) {
  .mobile-nav-panel > a,
  .mobile-nav-group > summary,
  .mobile-nav-group a { min-height: 48px; border-radius: 10px; font-size: 16px; font-weight: 700; }
  .mobile-nav-group > summary {
    position: relative;
    width: 100%;
    height: auto;
    padding: 13px 42px 13px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 0;
  }
  .mobile-nav-group > summary::after {
    position: absolute;
    right: 14px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
  }
  .mobile-nav-group[open] > summary::after { transform: rotate(225deg) translate(-2px,-2px); }
  .mobile-nav-group > div { display: grid; gap: 2px; padding: 2px 0 8px 12px; }
  .mobile-nav-group a { padding: 12px 14px; display: flex; align-items: center; color: var(--text); font-size: 15px; }
  .mobile-nav-group.is-current > summary,
  .mobile-nav-panel > a.is-current,
  .mobile-nav-group a.is-current { color: var(--purple); background: var(--purple-soft); }
  .mobile-nav-group a.is-current { box-shadow: none; }

  /* Preserve the desktop dashboard composition instead of replacing it with a phone-only chart. */
  .product-hero { height: 272px; padding: 0; overflow: visible; }
  .dashboard-image { height: 260px; overflow: hidden; }
  .dash-app {
    width: 250%;
    height: 650px;
    grid-template-columns: 143px minmax(0,1fr);
    font-size: 8px;
    transform: scale(.4);
    transform-origin: top left;
    overflow: visible;
  }
  .dash-sidebar { display: block; padding: 14px 8px; }
  .dash-sidebar a { min-height: 24px; padding: 0 7px; font-size: 8px; }
  .dash-sidebar a:nth-of-type(6) { min-height: 38px; }
  .dash-doc-panel { display: block; right: -20px; bottom: -20px; transform: none; }
  .dash-main { padding: 11px 14px; }
  .dash-metrics { grid-template-columns: repeat(4,1fr); gap: 8px; }
  .dash-metrics article { min-height: 85px; padding: 16px 12px 16px 10px; }
  .dash-metrics strong { font-size: 14px; }
  .dash-top-grid { grid-template-columns: 2.105fr .95fr; gap: 8px; margin-top: 9px; }
  .dash-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
  .dash-card,.dash-top-grid .dash-card { min-height: 305px; padding: 12px 12px 12px 11px; }
  .dash-bottom-grid .dash-card { min-height: 210px; }
  .bar-chart { height: 163px; margin: 14px 84px 0 57px; }
  .floating-status { z-index: 7; left: -4px; bottom: 18px; }

  /* Keep the document as the base layer and let its activity card visibly overlap it. */
  .document-visual { min-height: 530px; padding-right: 38px; overflow: visible; }
  .invoice-preview--full { inset: 0 38px 40px 0; padding: 20px 16px 18px; }
  .invoice-parties { margin-top: 20px; }
  .invoice-services { margin-top: 15px; }
  .invoice-bottom { margin-top: 14px; }
  .invoice-signatures { padding-top: 10px; }
  .document-visual .status-panel { right: -4px; bottom: 0; width: 218px; padding: 17px; }
  .status-panel__amount { margin: 14px 0; padding-bottom: 14px; }
  .status-panel__amount strong { font-size: 25px; }
  .activity-line { margin-top: 12px; }

  /* Document rows keep their full text, value and status without clipping. */
  .attention-list { width: calc(100% + 20px); min-width: 0; margin-left: -10px; overflow: hidden; }
  .attention-list > div {
    min-width: 0;
    min-height: 92px;
    grid-template-columns: 40px minmax(0,1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 4px;
  }
  .attention-list .document-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .attention-list > div > span:nth-child(2) { min-width: 0; grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .attention-list small { overflow-wrap: anywhere; }
  .attention-list b { display: block; grid-column: 3; grid-row: 1; justify-self: end; align-self: end; font-size: 12px; }
  .attention-list .status { grid-column: 3; grid-row: 2; justify-self: end; align-self: start; }
}

@media (max-width: 360px) {
  .product-hero { height: 252px; }
  .dashboard-image { height: 244px; }
  .document-visual { min-height: 550px; padding-right: 30px; }
  .invoice-preview--full { right: 30px; }
  .document-visual .status-panel { right: -3px; width: 205px; }
}

@media (max-width: 520px) {
  .hero { padding-bottom: 60px; }
  .product-hero { display: none; }
}

.mobile-nav > summary .nav-menu-icon {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}
.mobile-nav > summary .nav-menu-icon--close { display: none; }
.mobile-nav[open] > summary .nav-menu-icon--open { display: none; }
.mobile-nav[open] > summary .nav-menu-icon--close { display: grid; }
