:root {
  --ink: #16123d;
  --ink-2: #2c2756;
  --muted: #6f6a8a;
  --muted-2: #9894ad;
  --brand: #5637e8;
  --brand-2: #765dff;
  --brand-3: #a897ff;
  --lavender: #f4f1ff;
  --lavender-2: #ebe6ff;
  --surface: rgba(255,255,255,.82);
  --white: #fff;
  --line: #e9e6f2;
  --success: #1ca86f;
  --warning: #d6842c;
  --danger: #d75575;
  --shadow-sm: 0 12px 35px rgba(36, 25, 91, .08);
  --shadow-md: 0 30px 80px rgba(40, 25, 110, .14);
  --shadow-lg: 0 50px 130px rgba(53, 33, 140, .20);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: #fcfbff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.section-pad { padding: 112px 0; }
.page-glow { position: fixed; z-index: -3; pointer-events: none; border-radius: 999px; filter: blur(10px); opacity: .6; }
.page-glow--one { width: 520px; height: 520px; right: -190px; top: 120px; background: radial-gradient(circle, rgba(113, 81, 255, .20), transparent 68%); }
.page-glow--two { width: 480px; height: 480px; left: -260px; top: 640px; background: radial-gradient(circle, rgba(178, 160, 255, .18), transparent 68%); }

.site-header { position: sticky; top: 0; z-index: 50; padding: 18px 0; background: rgba(252, 251, 255, .78); border-bottom: 1px solid rgba(234, 231, 244, .7); backdrop-filter: blur(18px); }
.nav-wrap { display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 24px; }
.brand img { width: 112px; height: 48px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(22px, 2.6vw, 44px); }
.primary-nav a, .text-link { color: var(--ink-2); font-size: 14px; font-weight: 650; transition: color .2s ease; }
.primary-nav a:hover, .text-link:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 26px; }
.mobile-nav-actions { display: none; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-button span { display: block; height: 2px; margin: 6px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

.button { border: 0; border-radius: 11px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; font-weight: 750; letter-spacing: -.01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.button--small { min-height: 46px; padding: 0 20px; font-size: 14px; }
.button--large { min-height: 60px; padding: 0 30px; }
.button--primary { color: white; background: linear-gradient(135deg, var(--brand), #4225d0); box-shadow: 0 14px 30px rgba(86, 55, 232, .25); }
.button--primary:hover { box-shadow: 0 18px 42px rgba(86, 55, 232, .34); }
.button--secondary { color: var(--brand); border: 1px solid #9c8cf5; background: rgba(255,255,255,.72); }
.button--secondary:hover { background: white; }
.button--light { background: white; color: var(--brand); box-shadow: 0 18px 50px rgba(20, 10, 68, .18); }
.play-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); font-size: 9px; padding-left: 2px; }

.hero { position: relative; padding-top: 88px; padding-bottom: 64px; }
.hero-grid { display: grid; grid-template-columns: .84fr 1.34fr; align-items: center; gap: 62px; }
.eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e7e1ff; background: rgba(243, 240, 255, .9); color: #4d39b6; padding: 8px 13px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.eyebrow svg { width: 16px; fill: var(--brand-2); }
.eyebrow--dark { color: #dcd6ff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.hero h1 { margin: 24px 0 26px; font-size: clamp(62px, 6vw, 96px); line-height: .94; letter-spacing: -.062em; }
.hero h1 span { color: var(--brand-2); position: relative; }
.hero h1 span::after { content: ""; position: absolute; height: 4px; left: 0; right: 9%; bottom: -8px; background: linear-gradient(90deg, var(--brand-2), #ad9cff); border-radius: 20px; transform: rotate(-2deg); }
.hero-lede { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.hero-visual { min-width: 0; position: relative; padding: 42px 32px 65px; perspective: 1600px; }
.visual-halo { position: absolute; inset: 5% -3% 3%; background: radial-gradient(circle at 60% 35%, rgba(123, 93, 255, .23), transparent 45%), linear-gradient(150deg, rgba(255,255,255,.7), rgba(235,230,255,.7)); border-radius: 48% 42% 46% 38%; filter: blur(6px); transform: rotate(-3deg); }
.dashboard-window { position: relative; z-index: 2; display: grid; grid-template-columns: 145px 1fr; min-height: 555px; overflow: hidden; border: 1px solid rgba(229,225,242,.9); border-radius: 25px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-lg); transform: rotateY(-5deg) rotateX(1.5deg) rotateZ(-1.2deg); transform-origin: center; }
.dash-sidebar { padding: 23px 14px 17px; display: flex; flex-direction: column; border-right: 1px solid #eeeaf6; background: linear-gradient(180deg, #fdfcff, #f7f5ff); }
.mini-brand { display: flex; align-items: center; margin: 0 4px 22px; }
.mini-brand img { width: 70px; height: 31px; object-fit: contain; }
.dash-sidebar nav { display: grid; gap: 4px; }
.dash-sidebar button { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; border-radius: 8px; padding: 9px 8px; background: transparent; color: #706b85; font-size: 9px; text-align: left; }
.dash-sidebar button.active { color: var(--brand); background: #eeeaff; font-weight: 800; }
.dash-sidebar button span { width: 16px; text-align: center; }
.dash-sidebar .settings { margin-top: auto; }
.dash-main { padding: 22px; min-width: 0; }
.dash-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.dash-topbar h2 { font-size: 18px; margin: 2px 0 0; letter-spacing: -.03em; }
.dash-kicker { margin: 0; color: #9b97ac; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.dash-controls { display: flex; align-items: center; gap: 7px; }
.dash-controls button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #e7e4ef; background: white; font-size: 9px; }
.dash-controls .avatar { color: white; background: var(--brand); border-color: var(--brand); font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.metric-card { border: 1px solid #eeeaf5; border-radius: 10px; padding: 13px 11px; background: white; box-shadow: 0 8px 18px rgba(45, 34, 94, .04); }
.metric-card p { font-size: 7px; color: var(--muted); margin: 0 0 8px; }
.metric-card strong { display: block; margin-bottom: 6px; font-size: 17px; letter-spacing: -.04em; }
.metric-card span { color: var(--success); font-size: 6.5px; }
.chart-card, .category-card, .receipts-card { border: 1px solid #eeeaf5; border-radius: 12px; background: white; box-shadow: 0 8px 18px rgba(45, 34, 94, .035); }
.chart-card { margin-top: 10px; padding: 13px 14px 5px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-heading p { color: var(--ink); font-size: 9px; font-weight: 800; margin: 0; }
.card-heading strong { font-size: 12px; }
.card-heading button { border: 1px solid #ece8f4; background: white; color: var(--muted); border-radius: 6px; padding: 6px 8px; font-size: 7px; }
.card-heading a { color: var(--brand); font-size: 7px; font-weight: 700; }
.line-chart { width: 100%; height: 165px; overflow: visible; }
.chart-grid line { stroke: #f1eef7; stroke-width: 1; }
.line-chart .area { fill: url(#areaGradient); }
.line-chart .line { fill: none; stroke: #5f3eff; stroke-width: 3; stroke-linecap: round; }
.chart-labels text { fill: #aaa6b9; font-size: 8px; }
.dash-bottom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px; margin-top: 10px; }
.category-card, .receipts-card { padding: 13px; }
.category-body { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; padding-top: 12px; }
.donut { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--brand) 0 45%, #9a7bff 45% 67%, #c4b5ff 67% 84%, #e9e4ff 84%); position: relative; }
.donut::after { content: ""; width: 49px; height: 49px; border-radius: 50%; background: white; position: absolute; }
.donut span { position: relative; z-index: 1; font-size: 8px; font-weight: 800; }
.legend { display: grid; gap: 7px; }
.legend p { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 5px; margin: 0; color: var(--muted); font-size: 7px; }
.legend b { color: var(--ink); }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot--one { background: var(--brand); }.dot--two { background: #9a7bff; }.dot--three { background: #c4b5ff; }.dot--four { background: #e9e4ff; }
.receipts-card { min-width: 0; }
.receipt-row { display: grid; grid-template-columns: 26px minmax(60px,1fr) auto auto; align-items: center; gap: 7px; border-top: 1px solid #f0edf6; padding: 9px 0; font-size: 7px; }
.receipt-row:first-of-type { margin-top: 8px; }
.receipt-icon { width: 24px; height: 27px; display: grid; place-items: center; border-radius: 4px; background: #f2effa; }
.receipt-row strong, .receipt-row span { display: block; }
.receipt-row span { color: var(--muted-2); margin-top: 2px; }
.receipt-row em { color: var(--success); background: #eaf9f2; border-radius: 99px; padding: 4px 6px; font-style: normal; }

.phone-mockup { position: absolute; z-index: 4; width: 193px; height: 422px; right: -10px; bottom: 0; border: 9px solid #15131e; border-radius: 34px; background: #fbfbfd; box-shadow: 0 28px 65px rgba(19, 13, 54, .35); transform: rotate(4deg); overflow: hidden; padding: 11px 10px 9px; }
.phone-island { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 55px; height: 12px; background: #0d0c10; border-radius: 99px; }
.phone-status { display: flex; justify-content: space-between; padding: 2px 5px 7px; font-size: 6px; font-weight: 800; }
.phone-title { display: grid; grid-template-columns: 20px 1fr 24px; align-items: center; font-size: 7px; text-align: center; margin-top: 7px; }
.phone-title span { font-size: 17px; text-align: left; }.phone-title small { font-size: 5px; }
.receipt-paper { width: 92%; margin: 12px auto 10px; padding: 11px 9px; background: linear-gradient(180deg,#fff,#f3f3f4); border-radius: 4px; text-align: center; box-shadow: 0 8px 18px rgba(20,20,20,.08); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.receipt-paper > strong { font-size: 8px; }.receipt-paper small { display: block; font-size: 4.6px; line-height: 1.55; margin: 6px 0; }
.receipt-lines { margin: 10px 0; }.receipt-lines p { display: flex; justify-content: space-between; font-size: 5px; margin: 4px 0; }
.phone-fields { display: grid; gap: 8px; padding: 2px 7px 9px; }
.phone-fields p { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: 5px; }.phone-fields span { color: var(--muted); }.phone-fields b { text-align: right; }
.phone-mockup > button { position: absolute; bottom: 10px; left: 10px; right: 10px; border: 0; border-radius: 6px; height: 30px; color: white; background: var(--brand); font-size: 7px; font-weight: 800; }
.spark-badge { position: absolute; z-index: 5; right: -30px; top: 135px; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg,var(--brand),#3f24c4); box-shadow: 0 12px 30px rgba(86,55,232,.35); font-size: 27px; animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(8deg); } }

.feature-ribbon { padding: 24px 0 56px; }
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid rgba(230,226,241,.95); background: rgba(255,255,255,.76); border-radius: 24px; box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); overflow: hidden; }
.feature-card { min-height: 176px; display: flex; gap: 14px; padding: 28px 18px; border-right: 1px solid #eeebf4; }
.feature-card:last-child { border-right: 0; }
.feature-icon { flex: 0 0 43px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: var(--brand); background: var(--lavender); border: 1px solid #e4ddff; font-size: 18px; font-weight: 850; }
.feature-card h3 { margin: 2px 0 11px; font-size: 14px; line-height: 1.4; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.platform-section { padding-top: 76px; }
.platform-card { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 70px; min-height: 650px; padding: 74px 58px; overflow: hidden; position: relative; border-radius: 34px; color: white; background: radial-gradient(circle at 78% 18%, rgba(126,89,255,.45), transparent 36%), linear-gradient(135deg,#17113f 0%,#23135e 48%,#6045cb 100%); box-shadow: var(--shadow-lg); }
.platform-card::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -280px; border-radius: 50%; border: 90px solid rgba(255,255,255,.04); }
.platform-copy { position: relative; z-index: 2; }
.platform-copy h2 { font-size: clamp(42px, 4vw, 64px); letter-spacing: -.05em; line-height: 1.03; margin: 24px 0; }
.platform-copy > p { color: #c9c2eb; font-size: 17px; line-height: 1.65; max-width: 540px; }
.check-list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 14px; color: #ebe7ff; font-size: 14px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }.check-list li::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 22px; border-radius: 50%; color: white; background: rgba(255,255,255,.14); font-size: 11px; }
.ledger-panel { position: relative; z-index: 2; min-width: 0; border: 1px solid rgba(255,255,255,.65); border-radius: 22px; background: white; color: var(--ink); box-shadow: 0 36px 90px rgba(10,5,40,.38); transform: rotate(-1deg); overflow: hidden; }
.ledger-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); }
.ledger-tabs { display: flex; gap: 4px; overflow-x: auto; }
.ledger-tabs button { border: 0; border-radius: 9px; padding: 10px 12px; white-space: nowrap; color: var(--muted); background: transparent; font-size: 11px; }
.ledger-tabs button.active { color: var(--brand); background: var(--lavender); font-weight: 800; }
.ledger-tabs b { margin-left: 3px; font-weight: inherit; }
.filter-button { border: 1px solid var(--line); background: white; border-radius: 8px; color: var(--muted); padding: 9px 11px; font-size: 11px; }
.ledger-table { min-width: 680px; }
.ledger-row { display: grid; grid-template-columns: 55px 1.4fr .9fr 1fr .7fr .8fr; align-items: center; gap: 14px; min-height: 67px; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 11px; transition: opacity .2s ease, transform .2s ease; }
.ledger-row--header { min-height: 46px; color: var(--muted-2); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; background: #fbfaff; }
.ledger-row i { width: 31px; height: 37px; display: grid; place-items: center; border-radius: 6px; color: var(--brand); background: var(--lavender); font-style: normal; }
.ledger-row b, .ledger-row small { display: block; }.ledger-row small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.status { display: inline-flex; border-radius: 99px; padding: 6px 8px; font-style: normal; font-size: 9px; font-weight: 800; }
.status--approved { color: var(--success); background: #e9f8f1; }.status--review { color: var(--warning); background: #fff4e7; }.status--duplicate { color: var(--danger); background: #ffedf2; }
.ledger-row.is-hidden { display: none; }
.ledger-summary { display: grid; grid-template-columns: repeat(3,1fr); background: #faf9fe; }
.ledger-summary div { padding: 20px; border-right: 1px solid var(--line); }.ledger-summary div:last-child { border: 0; }
.ledger-summary span, .ledger-summary strong { display: block; }.ledger-summary span { color: var(--muted); font-size: 9px; margin-bottom: 6px; }.ledger-summary strong { font-size: 16px; }

.section-heading { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading .eyebrow { margin-inline: auto; }.section-heading--left .eyebrow { margin-inline: 0; }
.section-heading h2, .security-copy h2, .cta-card h2 { margin: 22px 0 16px; font-size: clamp(42px, 4.4vw, 67px); line-height: 1.05; letter-spacing: -.052em; }
.section-heading p, .security-copy > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step-card { position: relative; min-height: 500px; padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.step-number { color: #a29eb2; font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.step-card h3 { font-size: 25px; letter-spacing: -.035em; margin: 24px 0 12px; }
.step-card > p { color: var(--muted); line-height: 1.65; margin: 0; }
.step-visual { height: 260px; margin-top: 24px; border-radius: 19px; background: linear-gradient(145deg,#f5f2ff,#ece6ff); overflow: hidden; position: relative; }
.upload-visual { display: grid; place-items: center; }
.upload-stack { position: relative; width: 160px; height: 120px; }.upload-stack span { position: absolute; width: 86px; height: 106px; display: grid; place-items: center; border-radius: 14px; color: var(--brand); background: white; border: 1px solid #ded7ff; box-shadow: 0 18px 40px rgba(65,44,160,.12); font-weight: 850; }
.upload-stack span:nth-child(1){left:0;top:10px;transform:rotate(-12deg)}.upload-stack span:nth-child(2){left:36px;top:0;z-index:2}.upload-stack span:nth-child(3){right:0;top:12px;transform:rotate(12deg)}
.upload-visual button { position: absolute; bottom: 23px; border: 0; border-radius: 9px; color: white; background: var(--brand); padding: 11px 16px; font-size: 11px; font-weight: 800; }
.scan-visual { display: grid; place-items: center; }
.scan-paper { position: relative; width: 170px; height: 200px; padding: 28px 22px; border-radius: 12px; background: white; box-shadow: 0 22px 55px rgba(59,42,138,.17); transform: rotate(-3deg); }
.scan-paper i { display:block;width:100%;height:7px;background:#e9e5f5;border-radius:10px;margin:13px 0 }.scan-paper i:nth-child(2){width:74%}.scan-paper i:nth-child(3){width:85%}.scan-paper strong{display:block;margin-top:30px;font-size:24px}.scan-line{position:absolute;left:-10px;right:-10px;top:80px;height:2px;background:var(--brand);box-shadow:0 0 14px var(--brand);animation:scan 2.6s ease-in-out infinite}
@keyframes scan{50%{top:155px}}
.ai-chip { position:absolute;right:22px;bottom:24px;border-radius:99px;padding:9px 12px;color:white;background:var(--brand);font-size:10px;font-weight:800;box-shadow:0 10px 24px rgba(86,55,232,.28) }
.export-visual { padding: 46px 32px; }
.export-row { display:flex;align-items:center;gap:12px;padding:18px;border-radius:13px;background:white;box-shadow:0 15px 35px rgba(59,42,138,.12) }.export-row span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:white;background:var(--success)}.export-row b{font-size:13px}
.export-apps { display:flex;justify-content:center;gap:12px;margin-top:36px }.export-apps i{width:55px;height:55px;display:grid;place-items:center;border-radius:14px;background:white;border:1px solid #ded7ff;color:var(--brand);font-style:normal;font-size:12px;font-weight:900;box-shadow:0 12px 26px rgba(59,42,138,.1)}

.security { background: linear-gradient(180deg, transparent, #f7f4ff 18%, #f7f4ff 82%, transparent); }
.security-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 90px; }
.security-copy h2 { max-width: 650px; }
.text-cta { display: inline-flex; gap: 8px; align-items: center; margin-top: 26px; color: var(--brand); font-weight: 800; }
.security-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.security-cards article { min-height: 225px; padding: 28px; border: 1px solid #e6e0f8; border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.security-cards span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--brand); background: var(--lavender); font-size: 22px; }
.security-cards h3 { margin: 25px 0 10px; font-size: 18px; }.security-cards p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.resources { padding-top: 82px; }
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.resource-card { min-height: 270px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.resource-card > span { color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.resource-card h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.035em; }
.resource-card a { margin-top: auto; color: var(--brand); font-weight: 800; }

.cta-section { padding-top: 46px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 70px; border-radius: 32px; color: white; background: radial-gradient(circle at 92% 10%, rgba(255,255,255,.16), transparent 32%), linear-gradient(135deg,#1a123f,#5432dc 62%,#7259f2); box-shadow: var(--shadow-lg); }
.cta-card h2 { max-width: 800px; margin-top: 22px; }.cta-card p { color: #d5cff4; font-size: 17px; margin-bottom: 0; }
.cta-card .button { flex: 0 0 auto; }

.site-footer { padding: 78px 0 26px; background: #f7f5fb; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 50px; }
.footer-brand img { width: 112px; height: 48px; object-fit: contain; object-position: left center; }.footer-brand p { color: var(--muted); max-width: 280px; line-height: 1.6; }
.footer-grid h3 { font-size: 13px; margin: 0 0 18px; }.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }.footer-grid a { color: var(--muted); font-size: 14px; }.footer-grid a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid #e5e1ec; color: var(--muted-2); font-size: 12px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17,12,45,.64); backdrop-filter: blur(8px); }
.modal-card { position: relative; z-index: 1; width: min(100%, 930px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; padding: 48px; border-radius: 26px; background: white; box-shadow: 0 44px 120px rgba(12,7,40,.4); }
.modal-close { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; color: var(--muted); font-size: 30px; line-height: 1; }
.modal-copy h2 { margin: 22px 0 14px; font-size: 42px; line-height: 1.05; letter-spacing: -.045em; }.modal-copy p { color: var(--muted); line-height: 1.65; }
.modal form { display: grid; gap: 17px; }.modal label { display: grid; gap: 8px; font-size: 12px; font-weight: 800; }.modal input, .modal select { width: 100%; height: 48px; border: 1px solid #dad6e5; border-radius: 10px; padding: 0 13px; outline: none; color: var(--ink); background: white; }.modal input:focus,.modal select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(86,55,232,.1); }.modal form small { color: var(--muted-2); font-size: 10px; line-height: 1.5; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 25px); max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px; color: white; background: #19133f; box-shadow: 0 15px 40px rgba(20,12,63,.28); opacity: 0; visibility: hidden; transition: .25s ease; font-size: 13px; }.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1240px) {
  .hero-grid { grid-template-columns: .92fr 1.08fr; gap: 26px; }
  .dashboard-window { min-height: 505px; grid-template-columns: 125px 1fr; }
  .dash-main { padding: 16px; }.phone-mockup { width: 170px; height: 385px; }
  .feature-grid { grid-template-columns: repeat(3,1fr); }.feature-card { border-bottom: 1px solid #eeebf4; }.feature-card:nth-child(3) { border-right: 0; }.feature-card:nth-child(n+4) { border-bottom: 0; }
  .platform-card { grid-template-columns: .8fr 1.2fr; gap: 35px; padding: 60px 42px; }.ledger-panel { overflow-x: auto; }
}

@media (max-width: 1024px) {
  .nav-wrap { grid-template-columns: 1fr auto; }.primary-nav { position: absolute; left: 24px; right: 24px; top: calc(100% + 10px); padding: 18px; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }.primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }.primary-nav a { padding: 10px; }.menu-button { display: block; order: 2; }.nav-actions { display: none; }.mobile-nav-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }.mobile-nav-link { display: inline-flex !important; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px !important; color: var(--ink-2); background: #f8f6ff; border: 1px solid #ded7ff; border-radius: 14px; box-shadow: 0 10px 24px rgba(45, 34, 94, .06); font-size: 18px; font-weight: 850; white-space: nowrap; }.mobile-nav-link:hover { color: var(--brand); background: var(--lavender); border-color: #cfc4ff; }.mobile-nav-actions .button { width: auto; min-height: 48px; padding: 0 28px; border-radius: 14px; white-space: nowrap; }
  .hero { padding-top: 68px; }.hero-grid { grid-template-columns: 1fr; }.hero-copy { max-width: 760px; }.hero h1 { font-size: clamp(62px, 11vw, 92px); }.hero-visual { margin-top: 24px; padding-inline: 20px; }.dashboard-window { min-height: 590px; }.phone-mockup { width: 188px; height: 410px; right: 5px; }
  .platform-card { grid-template-columns: 1fr; }.platform-copy { max-width: 720px; }.ledger-panel { transform: none; }
  .security-grid { grid-template-columns: 1fr; gap: 55px; }.security-copy { max-width: 760px; }
  .cta-card { padding: 55px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 30px), var(--container)); }.section-pad { padding: 82px 0; }
  .site-header { padding: 12px 0; }.brand img { width: 102px; height: 44px; }.nav-wrap { grid-template-columns: 1fr auto; gap: 10px 14px; }.menu-button { order: initial; }.mobile-nav-actions { gap: 9px; }.mobile-nav-link { min-height: 54px; padding: 0 18px !important; font-size: 18px; }.mobile-nav-actions .button { min-height: 54px; padding: 0 20px; font-size: 18px; border-radius: 14px; }
  .hero { padding-top: 50px; }.hero-copy { text-align: left; }.hero h1 { font-size: clamp(55px, 16vw, 78px); }.hero-actions { flex-direction: column; align-items: stretch; }.hero-actions .button { width: 100%; }
  .hero-visual { padding: 24px 0 250px; }.dashboard-window { grid-template-columns: 1fr; min-height: 530px; transform: none; border-radius: 20px; }.dash-sidebar { display:none; }.dash-main { padding: 15px; }.metric-grid { grid-template-columns: repeat(2,1fr); }.metric-card { padding: 12px; }.dash-bottom-grid { grid-template-columns: 1fr; }.category-card { display:none; }.phone-mockup { width: 180px; height: 390px; right: 50%; bottom: 0; transform: translateX(50%) rotate(2deg); }.spark-badge { right: calc(50% - 125px); top: auto; bottom: 260px; }
  .feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: auto; border-right: 0; border-bottom: 1px solid #eeebf4 !important; }.feature-card:last-child { border-bottom:0 !important; }
  .platform-section { padding-top: 38px; }.platform-card { padding: 44px 22px; border-radius: 25px; }.platform-copy h2 { font-size: 43px; }.ledger-panel { overflow-x:auto; }.ledger-toolbar { min-width: 700px; }.ledger-summary { min-width:680px; }
  .section-heading h2, .security-copy h2, .cta-card h2 { font-size: 43px; }.steps-grid, .resource-grid { grid-template-columns: 1fr; }.step-card { min-height: auto; }.security-cards { grid-template-columns: 1fr; }
  .cta-card { padding: 42px 24px; border-radius: 25px; }.cta-card .button { width:100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1/-1; }.footer-bottom { flex-direction: column; }
  .modal-card { grid-template-columns: 1fr; gap: 22px; padding: 34px 24px; max-height: calc(100vh - 34px); overflow-y:auto; }.modal-copy h2 { font-size: 36px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 54px; }.hero-lede { font-size: 16px; }.eyebrow { font-size: 10px; }.dashboard-window { min-height: 470px; }.line-chart { height: 135px; }.phone-mockup { width: 166px; height: 365px; }
  .section-heading h2, .security-copy h2, .cta-card h2, .platform-copy h2 { font-size: 38px; }.security-cards article { min-height: auto; }.footer-grid { grid-template-columns: 1fr; }.footer-brand { grid-column:auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
