/* datainvoices.com - public page, design G (12 Nov 2026, rebuilt from scratch: light, airy layout with soft shapes and floating
   product mock-ups). Shared tokens with the sign-in / sign-up screens (Full-Stack, confirmed 12 Nov). No web fonts, no third-party
   requests, no inline styles (strict CSP). Motion lives in the block at the end and is skipped for prefers-reduced-motion. */
:root {
  --brand: #58468C; --ink: #3A2E66; --text: #716C80; --muted: #6E6883;
  /* AA contrast (12 Nov, same as sign-in / sign-up): dark ink on coral, a deeper blue behind white text and for small blue text */
  --on-cta: #2A2150; --link-hot: #B8432D; --blue-text: #3F5FD9;
  --cta: #FF8A73; --cta-hover: #FF9A86; --cta-dark: #F26F56; --blue: #5580FF; --blue-dark: #3A56C8; --blue-btn: #3F5FD9; --green: #00B37E;
  --line: #EDEFF2; --tint: #F5F9FF; --soft: #ECEFFD; --lav: #E4E6FB; --lav2: #D5D9F8;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --r-card: 22px; --shadow: 0 26px 50px rgba(88,70,140,.14); --shadow-lg: 0 40px 80px rgba(58,46,102,.18);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); } a:hover { color: var(--link-hot); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.center { text-align: center; }
.muted { font-size: 17px; line-height: 1.75; }
.narrow { max-width: 620px; margin: 16px auto 0; }
.fine { margin-top: 10px; font-size: 13px; color: var(--muted); }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--blue-text); letter-spacing: .14em; text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.grad { background: linear-gradient(100deg, var(--brand) 10%, var(--blue) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons: pill, 700, coral primary (tokens shared with sign-in / sign-up) */
.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; text-align: center; border: 2px solid transparent; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 32px; }
.btn--cta { background: var(--cta); color: var(--on-cta); box-shadow: 0 14px 30px rgba(255,138,115,.35); } .btn--cta:hover { background: var(--cta-hover); color: var(--on-cta); }   /* same hover as the app (dark ink on it 6.2:1) */
.btn--blue { background: var(--blue-btn); color: #fff; box-shadow: 0 14px 30px rgba(85,128,255,.30); } .btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--soft { background: var(--soft); color: var(--brand); } .btn--soft:hover { color: var(--link-hot); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; } .btn--ghost-light:hover { color: #fff; border-color: #fff; }
.dot:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid #FFD84D; outline-offset: 3px; }

/* header: white, sticky; a hairline + shadow once the page scrolls (class from site.js) */
.bar { position: sticky; top: 0; z-index: 20; background: #fff; transition: box-shadow .3s ease; }
.bar.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(58,46,102,.06); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; color: var(--brand); text-decoration: none; }
.brand:hover { color: var(--brand); }
.nav { display: flex; gap: 34px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav a { color: var(--ink); text-decoration: none; position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: var(--brand); } .nav a:hover::after { transform: scaleX(1); }
.bar__btns { display: flex; align-items: center; gap: 18px; }
.link-login { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--tint) 62%, #fff 100%); padding-top: 64px; }
.hero__copy { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.eyebrow--pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: #fff; color: var(--brand);
  box-shadow: 0 8px 24px rgba(88,70,140,.10); letter-spacing: .08em; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,179,126,.15); }
.hero h1 { margin-top: 8px; }
.lede { margin: 22px auto 0; max-width: 640px; font-size: 19px; line-height: 1.7; }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero__bubbles i { position: absolute; z-index: 1; border-radius: 50%; background: var(--lav); }
.hero__bubbles i:nth-child(1) { width: 70px; height: 70px; left: 7%; top: 30%; }
.hero__bubbles i:nth-child(2) { width: 22px; height: 22px; left: 17%; top: 16%; background: var(--lav2); }
.hero__bubbles i:nth-child(3) { width: 46px; height: 46px; right: 9%; top: 22%; }
.hero__bubbles i:nth-child(4) { width: 14px; height: 14px; right: 20%; top: 12%; background: #FFD9CF; }
.hero__bubbles i:nth-child(5) { width: 12px; height: 12px; left: 30%; top: 46%; background: #CFE0FF; }
.hero__bubbles i:nth-child(6) { width: 90px; height: 90px; right: 4%; top: 52%; }
.hero__bubbles i:nth-child(7) { width: 18px; height: 18px; left: 4%; top: 64%; background: #FFD9CF; }
.hero__bubbles i:nth-child(8) { width: 30px; height: 30px; right: 30%; top: 40%; background: #E7F0FF; }

/* the product stage under the message */
.stage { position: relative; z-index: 1; max-width: 1080px; margin: 56px auto 0; padding: 0 24px 90px; }
.stage__cloud { position: absolute; left: -6%; right: -6%; bottom: 40px; width: 112%; height: 78%; fill: var(--lav); opacity: .75; }
.browser { position: relative; margin: 0 auto; max-width: 900px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid #E6E8F5; }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F4F5FB; border-bottom: 1px solid #E6E8F5; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF8A73; } .browser__bar i:nth-child(2) { background: #FFC76B; } .browser__bar i:nth-child(3) { background: #3DD598; }
.browser__bar span { margin-left: 14px; padding: 3px 14px; border-radius: 999px; background: #fff; font-size: 12px; color: var(--muted); }
/* the real dashboard (13 Nov 2026: Sales, this year, PC sample company with invented names; 1800px WebP + PNG), cropped just below
   the app's top bar so no account names are on show */
.browser__shot { aspect-ratio: 1366 / 640; overflow: hidden; background: #F3F4FB; }
.browser__shot img { width: 100%; height: auto; margin-top: -3.4%; }
.float { position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(58,46,102,.16); padding: 16px 18px; color: var(--ink); }
.float small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.float b { display: block; font-size: 22px; font-weight: 800; margin-top: 4px; }
.float--inv { left: 0; top: 18%; width: 220px; }
.float--paid { right: 2%; top: 6%; display: flex; align-items: center; gap: 12px; }
.float--paid b { font-size: 18px; }
.float--week { left: 4%; bottom: 120px; width: 190px; }
.tick { width: 38px; height: 38px; border-radius: 12px; background: #FFE9E3; color: var(--cta-dark); display: grid; place-items: center; font-weight: 800; }
.pill { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill--ok { background: #DDF7EE; color: #066B4C; }
.mini { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 10px; }
.mini i { flex: 1; border-radius: 4px; background: #E3E6FA; } .mini i:nth-child(4), .mini i:nth-child(6) { background: linear-gradient(180deg, var(--blue), var(--brand)); }
.mini .h35 { height: 35%; } .mini .h45 { height: 45%; } .mini .h50 { height: 50%; } .mini .h60 { height: 60%; } .mini .h80 { height: 80%; } .mini .h95 { height: 95%; }
.phone { position: absolute; z-index: 3; border-radius: 30px; background: var(--ink); padding: 9px; box-shadow: 0 40px 80px rgba(20,10,80,.30); }
.phone--hero { right: 0; bottom: 60px; width: 190px; height: 380px; }
.phone__screen { height: 100%; border-radius: 22px; background: #fff; color: var(--ink); padding: 16px 14px; font-size: 12px; }
.phone__title { font-size: 14px; }
.appr { margin-top: 8px; padding: 11px; border-radius: 12px; border: 1px solid var(--line); }
.appr:first-of-type { margin-top: 12px; }
.appr__btns { display: flex; gap: 6px; margin-top: 8px; }
.appr__btns span { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; border: 1px solid var(--line); }
.appr__btns .appr__ok { background: #08875F; border-color: #08875F; color: #fff; font-weight: 700; }

/* hero slider (13 Nov 2026): the three messages share one grid cell, so the tallest sets the height and a change moves nothing.
   Without JS only slide 1 shows; the dots keep their space (visibility) so nothing shifts when site.js switches them on. */
.slides__track { display: grid; }
.slide { grid-area: 1 / 1; min-width: 0; align-self: center; }
.slide:not(.is-on) { opacity: 0; visibility: hidden; pointer-events: none; }
.slide__h { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.slides__ctl { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; }
html:not(.js) .slides__ctl { visibility: hidden; }
.dots { display: flex; gap: 2px; }
.dot { width: 34px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.dot::before { content: ""; width: 10px; height: 10px; border-radius: 10px; background: var(--lav2); transition: width .3s var(--ease), background .3s ease; }
.dot:hover::before { background: #B8BEF2; }
.dot.is-on::before { width: 28px; background: var(--brand); }
.slides__pause { position: relative; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid var(--lav2); background: #fff; cursor: pointer; color: var(--brand); }
.slides__pause i::before, .slides__pause i::after { content: ""; position: absolute; top: 9px; width: 3px; height: 9px; border-radius: 1px; background: currentColor; }
.slides__pause i::before { left: 10px; } .slides__pause i::after { left: 15px; }
.slides__pause.is-paused i::before { left: 11px; top: 8px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 5.5px 0 5.5px 8px; border-color: transparent transparent transparent currentColor; }
.slides__pause.is-paused i::after { display: none; }
.slides__pause:hover { border-color: var(--brand); }
.slides__pause:focus-visible { outline: 3px solid #FFD84D; outline-offset: 3px; }

/* the picture under the message: scene 1 (the app) stays in flow and sets the stage's height; scenes 2 and 3 lie over it */
.scene:not(.is-on) { opacity: 0; visibility: hidden; }
.scene--ctl, .scene--phone { position: absolute; z-index: 2; left: 24px; right: 24px; top: 0; bottom: 90px; display: flex; align-items: center; justify-content: center; }

/* scene 2: approvals desk + the rules that route them */
.desk { width: min(640px, 100%); margin-right: 150px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid #E6E8F5; padding: 18px 20px 8px; color: var(--ink); }
.desk__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; font-size: 16px; }
.desk__count { min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--cta); color: var(--on-cta); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.req { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.req__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.req__ic--po { background: #E4ECFF; color: var(--blue-dark); } .req__ic--ex { background: #FFE9E3; color: var(--link-hot); } .req__ic--lv { background: #DDF7EE; color: #066B4C; }
.req__body { min-width: 0; } .req__body b { display: block; font-size: 15px; } .req__body small { display: block; font-size: 13px; color: var(--muted); }
.rule { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: 12px; font-weight: 700; }
.req__amt { font-size: 15px; font-weight: 800; white-space: nowrap; }
.req__btns { display: flex; gap: 6px; font-size: 12px; font-weight: 700; }
.req__btns span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); }
.req__btns .req__ok { background: #08875F; border-color: #08875F; color: #fff; }
.float--rules { right: 0; top: 8%; width: 236px; }
.float--rules ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.float--rules li { display: flex; justify-content: space-between; gap: 10px; }
.float--rules li b { font-size: 13px; margin: 0; color: var(--brand); }
.float--ok { right: 0; bottom: 10%; display: flex; align-items: center; gap: 12px; } .float--ok b { font-size: 17px; }
.tick--ok { background: #DDF7EE; color: #066B4C; }

/* scene 3: the owner dashboard on the phone */
.phone--owner { position: relative; right: auto; bottom: auto; width: 232px; height: 450px; }
.phone__screen--owner { display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; background: linear-gradient(180deg, #F4F2FC 0%, #fff 60%); }
.own__hi { font-size: 11px; color: var(--muted); } .own__title { font-size: 18px; margin-top: -6px; }
.own__main { padding: 14px; border-radius: 16px; background: linear-gradient(150deg, var(--brand), #7C6CC4); color: #fff; }
.own__main small { display: block; font-size: 11px; opacity: .85; } .own__main b { display: block; font-size: 24px; } .own__main span { font-size: 11px; opacity: .9; }
.own__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 0 4px; }
.own__bars i { flex: 1; border-radius: 4px; background: #E3E6FA; } .own__bars i:nth-child(6) { background: linear-gradient(180deg, var(--blue), var(--brand)); }
.own__bars .h35 { height: 35%; } .own__bars .h45 { height: 45%; } .own__bars .h50 { height: 50%; } .own__bars .h60 { height: 60%; } .own__bars .h70 { height: 70%; } .own__bars .h80 { height: 80%; } .own__bars .h95 { height: 95%; }
.own__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.own__row div, .own__list { padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.own__row small, .own__list span { display: block; font-size: 10px; color: var(--muted); } .own__row b, .own__list b { font-size: 14px; }
.float--cash { left: 6%; top: 18%; width: 220px; }
.float--due { right: 6%; bottom: 22%; display: flex; align-items: center; gap: 12px; } .float--due b { font-size: 16px; }

/* three promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; padding-top: 40px; padding-bottom: 60px; }
.promise { display: flex; gap: 18px; align-items: flex-start; }
.promise h3 { margin-top: 6px; } .promise p { margin-top: 8px; line-height: 1.75; }
.check { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; }
.check--sky { background: #79B4FF; } .check--blue { background: var(--blue); } .check--coral { background: var(--cta); }

/* split: text + meters | a soft shape with the board */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 80px; padding-bottom: 96px; overflow-x: clip; }   /* the reveal slides in from 60px right */
.split__text { flex: 1 1 420px; min-width: 0; }
.split__text .muted { margin-top: 18px; }
.meters { margin-top: 30px; display: grid; gap: 20px; }
.meter { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; }
.meter b { font-weight: 700; color: var(--brand); }
.meter__bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.meter__bar i { display: block; height: 100%; border-radius: 6px; transform-origin: 0 50%; }
.m100 { width: 100%; } .m58 { width: 58%; } .m25 { width: 25%; } .m17 { width: 17%; }
.m--violet { background: var(--brand); } .m--blue { background: var(--blue); } .m--coral { background: var(--cta); } .m--green { background: var(--green); }
.split__art { flex: 1 1 460px; min-width: 0; position: relative; padding: 40px 20px; }
.blob-bg { position: absolute; inset: 0; border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; background: linear-gradient(135deg, var(--soft), #E7F0FF); }
.board { position: relative; border-radius: 18px; background: #fff; box-shadow: var(--shadow); padding: 22px; transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); }
.board__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.board__stats div { padding: 14px; border-radius: 12px; background: var(--tint); min-width: 0; color: var(--ink); }
.board__stats small { display: block; font-size: 12px; color: var(--muted); }
/* 13 Nov 2026: a finished chart (axis, ticks, legend, value tip) instead of a bare line */
.board__chart { margin-top: 14px; padding: 14px 12px 6px; border-radius: 12px; border: 1px solid var(--line); }
.chart__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 0 4px 6px; color: var(--ink); font-size: 13px; }
.chart__key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.key--sales { background: var(--brand); } .key--pur { height: 3px; width: 14px; border-radius: 2px; background: var(--blue); margin-left: 8px; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font); font-size: 11px; fill: var(--muted); }
.chart__grid line { stroke: #E9EBF5; stroke-width: 1; stroke-dasharray: 3 4; } .chart__grid .chart__base { stroke: #D5D9F8; stroke-dasharray: none; }
.chart__y text { text-anchor: end; } .chart__x text { text-anchor: middle; }
.chart__bars rect { fill: #D9DCF6; } .chart__bars .chart__now { fill: url(#barG); }
.chart__line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.chart__dots circle { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.chart__tip rect { fill: var(--ink); } .chart__tip text { fill: #fff; font-weight: 700; text-anchor: middle; }

/* modules */
.mods { background: var(--tint); }
.mods > .wrap { padding-top: 96px; padding-bottom: 96px; }
.mods__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 52px; text-align: center; }
.mod { padding: 34px 22px 30px; border-radius: var(--r-card); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.mod:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.mod__ic { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; }
.mod__ic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mod__ic--violet { background: #ECE8F8; color: var(--brand); } .mod__ic--blue { background: #E4ECFF; color: var(--blue); }
.mod__ic--coral { background: #FFE9E3; color: var(--cta-dark); } .mod__ic--green { background: #DDF7EE; color: #08875F; }
.mod__ic--sky { background: #E3F2FF; color: #3E8EE8; } .mod__ic--amber { background: #FFF3DD; color: #C98200; }
.mod__ic--pink { background: #FDE6F1; color: #C74687; } .mod__ic--indigo { background: #E6E8FF; color: #4B4FD1; }
.mod h3 { margin-top: 22px; } .mod p { margin-top: 8px; font-size: 15px; line-height: 1.65; }

/* how it works */
.how { padding-top: 96px; padding-bottom: 96px; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; position: relative; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 33px; border-top: 2px dashed var(--lav2); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__n { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; background: #fff;
  color: var(--brand); font-size: 24px; font-weight: 800; box-shadow: 0 16px 34px rgba(88,70,140,.16); border: 2px solid var(--soft); }
.step:nth-child(2) .step__n { color: var(--blue); } .step:nth-child(3) .step__n { color: var(--cta-dark); }
.step h3 { margin-top: 22px; } .step p { margin-top: 10px; line-height: 1.7; }

/* phone app band */
.band { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); padding-top: 96px; overflow: hidden; }
.band--plain { background: var(--tint); padding-bottom: 96px; }
.tilt { position: relative; margin-top: 10px; height: 540px; }
.tilt__cloud { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 75%; fill: var(--lav2); opacity: .55; }
.tilt__row { position: absolute; left: 50%; top: 10px; display: flex; gap: 40px; transform: translateX(-50%) rotate(-14deg); }
.tphone { width: 200px; height: 400px; border-radius: 30px; background: #fff; padding: 9px; box-shadow: 0 40px 70px rgba(58,46,102,.22); }
.tphone--mid { transform: translateY(40px); }
.tphone__s { height: 100%; border-radius: 22px; background: var(--tint); padding: 18px 14px; color: var(--ink); font-size: 12px; }
.tphone__s b { font-size: 15px; }
.tphone__s--violet { background: linear-gradient(160deg, var(--brand), #8B7BC9); color: #fff; }
.tphone__s--coral { background: linear-gradient(160deg, #FF8A73, #FFB199); color: #fff; }
.tline { height: 8px; border-radius: 8px; background: rgba(255,255,255,.35); margin-top: 14px; } .tline--s { width: 60%; margin-top: 8px; }
.tcard { margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.18); font-weight: 800; font-size: 15px; }
.tcard small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.tcard--light { background: #fff; color: var(--ink); position: relative; }
.tok { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: #08875F; color: #fff; font-size: 11px; }
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 10px; text-align: center; }
.app h3 { color: var(--brand); }
.app p { margin-top: 8px; }

/* numbers */
.nums { background: linear-gradient(120deg, var(--brand), var(--blue)); color: #fff; }
.nums__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; padding-top: 70px; padding-bottom: 70px; }
.nums b { display: block; font-size: 54px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; } .nums span { opacity: .9; }

/* who it's for */
.who { padding-top: 96px; padding-bottom: 96px; }
.who__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; text-align: left; }
.who__card { padding: 30px; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.who__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.who__card h3 { margin-top: 16px; } .who__card p { margin-top: 8px; line-height: 1.7; }
.who__tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.who__tag--violet { background: #ECE8F8; color: var(--brand); } .who__tag--blue { background: #E4ECFF; color: var(--blue-dark); } .who__tag--coral { background: #FFE9E3; color: var(--link-hot); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; text-align: left; align-items: stretch; }
.plan { position: relative; padding: 32px 26px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px rgba(88,70,140,.08);
  display: flex; flex-direction: column; gap: 8px; transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan__price { font-size: 18px; font-weight: 800; line-height: 1.3; }
.plan__users, .plan__mods { font-size: 14px; color: var(--text); }
.plan__mods { margin-bottom: 18px; }
.plan .btn { margin-top: auto; padding: 13px 0; }
.plan--hi { background: linear-gradient(150deg, var(--brand), var(--blue)); color: #fff; }
.plan--hi h3, .plan--hi .plan__users, .plan--hi .plan__mods { color: #fff; }
.plan__badge { position: absolute; top: -12px; right: 22px; padding: 4px 12px; border-radius: 999px; background: var(--cta); color: var(--on-cta); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* call to action */
.cta { position: relative; overflow: hidden; margin: 96px 0; border-radius: 30px; background: linear-gradient(120deg, var(--ink), var(--brand) 55%, var(--blue)); color: #fff;
  padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta__shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta__shape--a { width: 320px; height: 320px; right: -80px; top: -140px; } .cta__shape--b { width: 180px; height: 180px; left: 30%; bottom: -110px; }
.cta__text { position: relative; flex: 1 1 420px; min-width: 0; }
.cta h2 { color: #fff; } .cta p { margin-top: 12px; opacity: .85; font-size: 17px; }
.cta__btns { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }

/* footer: deep ink */
.foot { background: #2F2A4F; color: rgba(255,255,255,.75); font-size: 15px; }
.foot a { color: #fff; text-decoration: none; } .foot a:hover { color: #FFB3A3; }
.foot__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 72px; padding-bottom: 56px; }
.foot b { color: #fff; font-size: 17px; } .foot p { margin-top: 12px; line-height: 1.85; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; color: #fff; }
.store { display: inline-block; margin-top: 12px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; color: #fff; font-size: 13px; }
.foot__bottom { padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; text-align: center; }

/* tablets */
@media (max-width: 1020px) {
  .nav { display: none; }
  .mods__grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums__in, .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float--week { display: none; }
  .phone--hero { display: none; }
  .tilt__row { gap: 26px; }
  .desk { margin-right: 0; } .float--rules { display: none; } .float--ok { right: 0; bottom: -4%; }
}
/* phones */
@media (max-width: 700px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .bar__in { height: 64px; }
  .brand { font-size: 20px; }
  .link-login { font-size: 13px; }
  .bar__btns { gap: 12px; }
  .hero { padding-top: 36px; }
  .lede { font-size: 17px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .stage { margin-top: 36px; padding: 0 16px 60px; }
  .float--inv { left: 6px; top: auto; bottom: 28px; width: 170px; padding: 12px 14px; }
  .float--inv b { font-size: 18px; }
  .float--paid { right: 6px; top: -22px; padding: 10px 12px; }
  .float--paid b { font-size: 15px; }
  .tick { width: 30px; height: 30px; }
  .phone--hero { display: none; }
  /* slider scenes on a phone: the box is the screenshot's height plus part of the stage's bottom room */
  .scene--ctl, .scene--phone { left: 16px; right: 16px; bottom: 16px; }
  .desk { margin-right: 0; padding: 10px 12px 2px; border-radius: 14px; }
  .desk__head { font-size: 13px; padding-bottom: 6px; } .desk__count { min-width: 20px; height: 20px; font-size: 11px; }
  .req { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; }
  .req__ic { width: 30px; height: 30px; border-radius: 9px; font-size: 10px; }
  .req__body b, .req__amt { font-size: 12.5px; } .req__body small { font-size: 11px; } .req__btns { display: none; }
  .rule { margin-top: 3px; padding: 1px 8px; font-size: 10.5px; }
  .float--rules { display: none; }
  .req:nth-child(4), .float--ok { display: none; }   /* two requests fit the phone box */
  .scene--phone { overflow: hidden; align-items: flex-start; }
  .phone--owner { width: 176px; height: 340px; margin-top: 6px; border-radius: 26px; padding: 7px; }
  .phone__screen--owner { gap: 7px; padding: 12px 10px; } .own__title { font-size: 15px; } .own__main { padding: 10px; } .own__main b { font-size: 19px; }
  .own__bars { height: 40px; }
  .float--cash, .float--due, .own__main span, .own__list { display: none; }
  .own__row small { font-size: 9px; } .own__row b { font-size: 12px; } .own__row div { padding: 7px; }
  .promises { padding-top: 24px; gap: 26px; }
  .split { gap: 36px; padding-top: 56px; padding-bottom: 64px; }
  .split__art { padding: 20px 10px; } .board { padding: 14px; transform: none; }
  .board__stats { gap: 8px; } .board__stats div { padding: 10px 8px; } .board__stats b { font-size: 13px; }
  .chart text { font-size: 15px; } .chart__tip text { font-size: 13px; }   /* the SVG shrinks to ~300px: keep its labels ~10px */
  .mods > .wrap, .how, .who { padding-top: 64px; padding-bottom: 64px; }
  .mods__grid { gap: 14px; margin-top: 36px; }
  .mod { padding: 24px 12px; } .mod__ic { width: 68px; height: 68px; } .mod__ic svg { width: 28px; height: 28px; }
  .mod h3 { font-size: 16px; margin-top: 14px; } .mod p { font-size: 13px; }
  .steps { grid-template-columns: 1fr; gap: 34px; } .steps::before { display: none; }
  .band { padding-top: 64px; }
  .tilt { height: 400px; margin-top: 0; }
  .tilt__row { gap: 18px; transform: translateX(-50%) rotate(-10deg); } .tilt__row .tphone:last-child { display: none; }
  .tphone { width: 138px; height: 280px; border-radius: 24px; padding: 7px; } .tphone__s { border-radius: 18px; padding: 12px 10px; }
  .tphone__s b { font-size: 13px; } .tcard small { font-size: 9px; } .tok { font-size: 10px; padding: 2px 8px; }
  .tcard { font-size: 13px; padding: 9px; }
  .apps { grid-template-columns: 1fr; gap: 20px; padding-bottom: 0; }
  .nums b { font-size: 42px; }
  .who__grid, .plans { grid-template-columns: 1fr; }
  .cta { margin: 64px 0; padding: 40px 22px; } .cta__btns .btn { flex: 1 1 100%; }
  .foot__in { grid-template-columns: 1fr; padding-top: 52px; }
}
@media (max-width: 480px) { .bar__btns .btn--sm { padding: 8px 14px; font-size: 12px; } .link-login { display: none; } }

/* ===== motion: original load + scroll motion. Only opacity / transform / translate / scale / clip-path / stroke animate (layout shift 0).
   Scroll reveals are switched on by site.js for content below the fold only, so the page reads fine without JS. ===== */
@media (prefers-reduced-motion: no-preference) {
  @keyframes diRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes diFade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes diUnmask { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(24px); } to { opacity: 1; clip-path: inset(-10% -5% -20% -5%); transform: none; } }
  @keyframes diStage { from { opacity: 0; transform: translateY(80px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes diPop { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes diBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  @keyframes diBobB { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
  @keyframes diBubble { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, -18px); } }
  @keyframes diCloud { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03, 1.05); } }
  @keyframes diGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* load */
  .bar { animation: diFade .8s ease both; }
  .hero__copy .eyebrow { animation: diRise .8s var(--ease) .1s both; }
  .hero h1 { animation: diUnmask 1s var(--ease) .22s both; }
  .lede { animation: diRise .8s var(--ease) .42s both; }
  .hero__btns { animation: diRise .8s var(--ease) .56s both; }
  .hero__note { animation: diFade .8s ease .75s both; }
  .browser { animation: diStage 1.2s var(--ease) .45s both; }
  .float--inv { animation: diPop .8s var(--ease) 1.05s both, diBob 6s ease-in-out 2s infinite; }
  .float--paid { animation: diPop .8s var(--ease) 1.2s both, diBob 7s ease-in-out 2.2s infinite; }
  .float--week { animation: diPop .8s var(--ease) 1.35s both, diBob 8s ease-in-out 2.4s infinite; }
  .phone--hero { animation: diPop .9s var(--ease) 1.1s both, diBobB 7.5s ease-in-out 2.1s infinite; }
  .stage__cloud { transform-origin: 50% 100%; animation: diCloud 14s ease-in-out infinite; }
  .hero__bubbles i { animation: diBubble 9s ease-in-out infinite; translate: 0 var(--di-pb, 0px); }
  .hero__bubbles i:nth-child(2n) { animation-duration: 12s; animation-delay: -3s; }
  .hero__bubbles i:nth-child(3n) { animation-duration: 15s; animation-delay: -6s; }
  .stage { translate: 0 var(--di-py, 0px); }
  .tilt__cloud { transform-origin: 50% 100%; animation: diCloud 16s ease-in-out infinite; }

  /* scroll reveals (classes added by site.js). Individual translate / scale keep the hover transforms working. */
  .rv { opacity: 0; translate: 0 44px;
    transition: opacity .9s var(--ease) var(--rd, 0s), translate .9s var(--ease) var(--rd, 0s), scale .9s var(--ease) var(--rd, 0s), transform .25s ease, box-shadow .25s ease; }
  .rv--l { translate: -60px 0; } .rv--r { translate: 60px 0; } .rv--zoom { translate: none; scale: .94; }
  .rv.is-in { opacity: 1; translate: none; scale: none; }
  .rv:nth-child(2) { --rd: .1s; } .rv:nth-child(3) { --rd: .2s; } .rv:nth-child(4) { --rd: .3s; }
  .rv:nth-child(5) { --rd: .1s; } .rv:nth-child(6) { --rd: .2s; } .rv:nth-child(7) { --rd: .3s; } .rv:nth-child(8) { --rd: .4s; }
  .split__text.rv .meter__bar i { transform: scaleX(0); }
  .split__text.rv.is-in .meter__bar i { animation: diGrowX 1.4s var(--ease) .5s both; }
  .split__text.rv.is-in .meter:nth-child(2) .meter__bar i { animation-delay: .65s; }
  .split__text.rv.is-in .meter:nth-child(3) .meter__bar i { animation-delay: .8s; }
  .split__text.rv.is-in .meter:nth-child(4) .meter__bar i { animation-delay: .95s; }
  /* the chart: bars rise from the axis one after another, then the purchases line draws and the dots + tip appear */
  .split__art.rv .chart__bars rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
  .split__art.rv.is-in .chart__bars rect { transform: none; transition: transform .9s var(--ease) .45s; }
  .split__art.rv.is-in .chart__bars rect:nth-child(2) { transition-delay: .53s; } .split__art.rv.is-in .chart__bars rect:nth-child(3) { transition-delay: .61s; }
  .split__art.rv.is-in .chart__bars rect:nth-child(4) { transition-delay: .69s; } .split__art.rv.is-in .chart__bars rect:nth-child(5) { transition-delay: .77s; }
  .split__art.rv.is-in .chart__bars rect:nth-child(6) { transition-delay: .85s; }
  .split__art.rv .chart__line { stroke-dashoffset: 1; }
  .split__art.rv.is-in .chart__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1) 1s; }
  .split__art.rv .chart__dots, .split__art.rv .chart__tip { opacity: 0; }
  .split__art.rv.is-in .chart__dots, .split__art.rv.is-in .chart__tip { opacity: 1; transition: opacity .5s ease 2s; }
  .tilt.rv { translate: 0 90px; }

  /* hero slider: messages and scenes cross-fade with a short rise; the leaving one hides after its fade (visibility) */
  .slide, .scene { transition: opacity .7s var(--ease), translate .7s var(--ease), visibility 0s linear .7s; }
  .slide.is-on, .scene.is-on { transition: opacity .7s var(--ease) .12s, translate .7s var(--ease) .12s, visibility 0s; }
  .slide:not(.is-on) { translate: 0 12px; }
  .scene--ctl:not(.is-on), .scene--phone:not(.is-on) { translate: 0 26px; }
  .scene--ctl .req { transition: opacity .6s ease, translate .6s var(--ease); }
  .scene--ctl:not(.is-on) .req { opacity: 0; translate: 0 10px; }
  .scene--ctl.is-on .req:nth-child(2) { transition-delay: .25s; } .scene--ctl.is-on .req:nth-child(3) { transition-delay: .35s; } .scene--ctl.is-on .req:nth-child(4) { transition-delay: .45s; }
  .scene--ctl .float, .scene--phone .float { transition: opacity .6s ease .5s, translate .6s var(--ease) .5s; }
  .scene:not(.is-on) .float { opacity: 0; translate: 0 14px; transition-delay: 0s; }
  .scene--ctl.is-on .float--rules, .scene--phone.is-on .float--cash { animation: diBob 7s ease-in-out 1.4s infinite; }
}

/* reduced motion: everything visible and still */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .mod, .who__card, .plan, .nav a::after { transition: none; }
  .btn:hover, .mod:hover, .who__card:hover, .plan:hover { transform: none; }
}

/* ===== On-premises page (on-premises.html, 16 Nov 2026, Doc Engineer). Reuses the home page tokens, buttons, steps, cards and
   call to action; only the blocks below are new. No inline styles (strict CSP). ===== */
.nav a[aria-current="page"] { color: var(--brand); } .nav a[aria-current="page"]::after { transform: scaleX(1); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.phero { background: linear-gradient(180deg, #fff 0%, var(--tint) 70%, #fff 100%); padding-top: 72px; padding-bottom: 72px; }
.phero h1 { margin-top: 8px; text-wrap: balance; }
.gets h2, .online h2, .needs h2, .limits h2, .how h2, .cta h2 { text-wrap: balance; }
.phero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.gets { padding-top: 72px; padding-bottom: 88px; }
.gets__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.get { padding: 30px; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.get:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.get__ic { width: 64px; height: 64px; margin: 0; } .get__ic svg { width: 28px; height: 28px; }
.get h3 { margin-top: 20px; } .get p { margin-top: 8px; line-height: 1.7; }
.online { padding-top: 0; }
.online__list { flex: 1 1 460px; min-width: 0; list-style: none; margin: 0; padding: 12px 26px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow); }
.online__list li { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.online__list li:last-child { border-bottom: 0; }
.online__list span { color: var(--ink); font-weight: 700; }
.online__list b { flex: 0 0 auto; white-space: nowrap; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.needs { padding-top: 88px; }
.spec__wrap { max-width: 820px; margin: 44px auto 0; overflow-x: auto; border-radius: var(--r-card); background: #fff; box-shadow: 0 20px 40px rgba(88,70,140,.08); }
.spec { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
.spec th, .spec td { padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }
.spec thead th { color: var(--ink); font-size: 17px; background: var(--soft); }
.spec thead th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.spec tbody th { color: var(--ink); font-weight: 700; }
.spec td { color: var(--ink); }
.reqs { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 32px; }   /* 5 across; 3 + 2 centred on tablets */
.req-card { flex: 0 1 calc((100% - 72px) / 5); min-width: 0; padding: 24px; border-radius: 18px; background: #fff; }
.req-card h3 { font-size: 17px; } .req-card p { margin-top: 8px; font-size: 15px; line-height: 1.65; }
.limits { padding-top: 88px; }
.limits__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
@media (max-width: 1199px) { .req-card { flex-basis: calc((100% - 36px) / 3); } }
@media (max-width: 1020px) { .gets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .phero { padding-top: 40px; padding-bottom: 48px; }
  .phero__btns .btn { flex: 1 1 100%; }
  .gets, .needs, .limits { padding-top: 64px; }
  .gets { padding-bottom: 64px; }
  .gets__grid, .limits__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .get { padding: 24px; }
  .online__list { padding: 6px 18px; }
  .online__list li { flex-direction: column; align-items: flex-start; }   /* every row the same on a phone: label, then its pill */
  .req-card { flex-basis: 100%; }
  .spec { font-size: 15px; } .spec th, .spec td { padding: 14px 12px; } .spec thead th { font-size: 15px; }
}
.plans__note { margin-top: 32px; font-size: 15px; }
/* six nav links (16 Nov): below 1200 px they no longer fit beside the logo and buttons, so the nav hides there as it already did
   below 1020 px (the page keeps Login + Start free trial; the footer links every section). */
@media (max-width: 1199px) { .nav { display: none; } }

/* ===== menu toggle below 1200 px (17 Nov 2026, Doc Engineer). The button shows only when site.js runs (html.js); without JS the nav
   stays hidden below 1200 px as before and the footer links every section. The open panel is absolutely positioned inside the sticky
   header, so opening it never moves the page (layout shift 0) and the header (z-index 20) stays above the hero. ===== */
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--soft); color: var(--ink);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-btn i { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn:hover { color: var(--brand); }
.menu-btn:focus-visible { outline: 3px solid #FFD84D; outline-offset: 3px; }
.bar.is-open .menu-btn i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bar.is-open .menu-btn i:nth-child(2) { opacity: 0; }
.bar.is-open .menu-btn i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1199px) {
  html.js .menu-btn { display: inline-flex; }
  html.js .bar.is-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    padding: 6px 24px 14px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 22px 34px rgba(58,46,102,.14); }
  html.js .bar.is-open .nav a { display: flex; align-items: center; min-height: 48px; padding: 0; border-bottom: 1px solid var(--line); }
  html.js .bar.is-open .nav a:last-child { border-bottom: 0; }
  html.js .bar.is-open .nav a::after { display: none; }
  html.js .bar.is-open .nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 3px 0 0 var(--blue); padding-left: 12px; }
}
@media (max-width: 700px) { html.js .bar.is-open .nav { padding: 4px 16px 12px; } }
@media (prefers-reduced-motion: no-preference) {
  .menu-btn i { transition: transform .2s ease, opacity .2s ease; }
  @keyframes diMenu { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  html.js .bar.is-open .nav { animation: diMenu .18s ease both; }
}
@media (max-width: 480px) { .bar__btns { gap: 8px; } .menu-btn { width: 40px; height: 40px; } }   /* the extra button fits at 360 px */
/* header row on small phones (17 Nov): the logo never shrinks under the buttons; the pill reads "Free trial" (its aria-label keeps
   "Start free trial") so logo, pill and menu button keep at least 8 px apart down to 360 px */
.brand { flex-shrink: 0; }
@media (max-width: 420px) {
  .bar__start { display: none; }
  .bar__btns .bar__trial { padding: 8px 14px; font-size: 12px; letter-spacing: .04em; }
}
