/*
 * AuditBook corporate site.
 *
 * Brand: the DAB logo's royal blue and saffron. Every colour, radius and
 * shadow is a token on :root, redefined for dark mode (the device's choice,
 * or the toggle's, stored as html[data-theme]). Layout is mobile-first up to
 * phone widths, with no horizontal scroll at 360 px.
 */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --card: #ffffff;
  --ink: #0b1324;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e3e9f3;
  --brand: #1d4ed8;
  --brand-2: #2563eb;
  --brand-ink: #1e3a8a;
  --brand-soft: #eaf1ff;
  --saffron: #f59e0b;
  --orange: #f97316;
  --green: #059669;
  --violet: #7c3aed;
  --teal: #0d9488;
  --navy: #0b1b45;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 35, 95, .22), 0 4px 10px -6px rgba(15, 35, 95, .12);
  --shadow-lg: 0 40px 80px -30px rgba(15, 35, 95, .38), 0 18px 36px -18px rgba(15, 35, 95, .2);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --pad: 112px;
  --head: 'Manrope', 'Inter', system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070c18; --bg-soft: #0b1222; --card: #0f1729; --ink: #eaf0fb; --ink-2: #c4cfe0; --muted: #8fa0ba;
    --line: #1c2a44; --brand: #4f8cff; --brand-2: #6aa1ff; --brand-ink: #a9c6ff; --brand-soft: rgba(79, 140, 255, .14);
    --glass: rgba(10, 16, 32, .72);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070c18; --bg-soft: #0b1222; --card: #0f1729; --ink: #eaf0fb; --ink-2: #c4cfe0; --muted: #8fa0ba;
  --line: #1c2a44; --brand: #4f8cff; --brand-2: #6aa1ff; --brand-ink: #a9c6ff; --brand-soft: rgba(79, 140, 255, .14);
  --glass: rgba(10, 16, 32, .72);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .75);
  color-scheme: dark;
}

/* ── Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
/* A hidden element stays hidden whatever display its class sets. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.fine { font-size: 13px; color: var(--muted); margin-top: 10px; }
.fine.light { color: rgba(255, 255, 255, .7); }
.fine.center { margin-top: 28px; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 'Inter', sans-serif; padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .65); }
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(37, 99, 235, .75); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand); }
.btn-text { background: none; color: var(--ink-2); padding-left: 6px; padding-right: 6px; }
.btn-text:hover { color: var(--brand); }
.btn-light { background: #fff; color: #0b1b45; }
.btn-light:hover { box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand-2); }
.row-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ── Navigation ──────────────────────────────────────────────────── */
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; }
.nav-inner {
  pointer-events: auto; display: flex; align-items: center; gap: 18px; height: 62px;
  background: var(--glass); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid transparent; border-radius: 18px; transition: border-color .25s, box-shadow .25s;
  max-width: 1200px; padding: 0 14px 0 16px;
}
/* Support contact above the nav pill; it folds away once the page scrolls. */
.nav-contact { pointer-events: auto; max-height: 40px; margin-bottom: 8px; overflow: hidden; transition: max-height .25s ease, opacity .2s ease, margin .25s ease; }
.nav.scrolled .nav-contact, .nav.open .nav-contact { max-height: 0; opacity: 0; margin-bottom: 0; }
.nav-contact-inner { display: flex; align-items: center; gap: 8px; max-width: 1200px; font-size: 13.5px; }
.nav-contact svg { width: 15px; height: 15px; }
.nc-hours { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; color: var(--muted); }
.nc-hours b { font-weight: 600; color: var(--ink-2); }
.nc-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600;
  text-decoration: none !important; transition: color .2s, border-color .2s, background .2s;
}
.nc-link svg { color: var(--brand); }
.nc-link:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.nc-short { display: none; }
.nav.scrolled .nav-inner, .nav.open .nav-inner { border-color: var(--line); box-shadow: var(--shadow); }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--head); color: var(--ink); text-decoration: none !important; }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; background: #fff; padding: 2px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.nav-links a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-signin { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 8px 6px; }
.theme-moon { display: none; }
:root[data-theme="dark"] .theme-sun { display: none; }
:root[data-theme="dark"] .theme-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sun { display: none; }
  :root:not([data-theme="light"]) .theme-moon { display: block; }
}
.menu-btn { display: none; }
.m-close { display: none; }
.nav.open .m-open { display: none; }
.nav.open .m-close { display: block; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 190px 0 70px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(37, 99, 235, .45), transparent 65%); top: -160px; right: -120px; }
.b2 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(245, 158, 11, .35), transparent 65%); top: 180px; right: 22%; }
.b3 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(13, 148, 136, .22), transparent 65%); bottom: -220px; left: -160px; }
.grid-fade {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 65%); mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 65%);
}
.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none !important;
}
.announce:hover { border-color: var(--brand-2); color: var(--brand); }
.announce-tag { background: linear-gradient(135deg, var(--saffron), var(--orange)); color: #fff; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.035em; }
.grad { background: linear-gradient(100deg, var(--brand-2) 0%, #4f46e5 38%, #7c3aed 62%, var(--orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-top: 18px; }
.hero-note svg { color: var(--green); }
.hero-note span { opacity: .5; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 0; }
.platforms a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none !important; transition: border-color .2s, color .2s, transform .15s; }
.platforms a:hover { border-color: var(--brand-2); color: var(--brand); transform: translateY(-1px); }
.platforms em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .04em; }

.hero-visual { position: relative; padding: 10px 0 40px 0; }
.laptop { position: relative; transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }
.laptop-screen { border-radius: 14px 14px 4px 4px; padding: 10px 10px 12px; background: linear-gradient(#1b2234, #0d1220); box-shadow: var(--shadow-lg); }
.laptop-screen img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; background: var(--bg-soft); }
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(#cfd6e2, #9aa4b5); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .55); position: relative; }
.laptop-base::before { content: ''; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; border-radius: 0 0 8px 8px; background: #8b95a7; }
.phone { position: relative; border-radius: 34px; padding: 9px; background: #0d1220; box-shadow: var(--shadow-lg); }
.phone::before { content: ''; position: absolute; top: 15px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); border-radius: 12px; background: #0d1220; z-index: 2; }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 620 / 1342; object-fit: cover; object-position: top; background: var(--bg-soft); }
.phone-hero { position: absolute; width: 30%; right: -2%; bottom: -6px; animation: float 7s ease-in-out infinite; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.float-chip svg { color: var(--brand); }
.c1 { top: 2%; left: -4%; animation: float 6s ease-in-out infinite; }
.c2 { bottom: 20%; left: -8%; animation: float 7.5s ease-in-out -2s infinite; }
.c3 { top: 30%; right: 22%; animation: float 8s ease-in-out -4s infinite; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(5, 150, 105, .18); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Facts + marquee ─────────────────────────────────────────────── */
.facts { padding: 26px 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts-grid div { padding: 20px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.facts-grid b { display: block; font: 800 38px/1 var(--head); letter-spacing: -.03em; background: linear-gradient(120deg, var(--brand), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts-grid span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.marquee { margin-top: 42px; overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: var(--pad) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2, .split-copy h2, .calc-copy h2, .demo-copy h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; }
.section-head > p:last-child, .section-head > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--orange)); }
.eyebrow.light { color: #ffd38a; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); }
.ticks svg { margin-top: 3px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); stroke-width: 3; }
.ticks b { color: var(--ink); }
.split-copy > p:not(.eyebrow), .calc-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 18px; }

/* Frames */
.browser, .window { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.browser-bar, .window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; }
.browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-bar span svg { width: 12px; height: 12px; color: var(--green); }
.window-bar { gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.window-bar img { width: 16px; height: 16px; border-radius: 4px; }
.window-bar b { margin-left: auto; letter-spacing: 14px; font-weight: 400; color: var(--muted); }
.browser > img, .window > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Tour */
.tour-tabs { display: flex; justify-content: center; gap: 6px; padding: 6px; margin: 0 auto 34px; width: max-content; max-width: 100%; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); overflow-x: auto; }
.tour-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); font: 600 15px 'Inter', sans-serif; cursor: pointer; white-space: nowrap; }
.tour-tabs button[aria-selected="true"] { background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.tour-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; animation: fade .45s ease; }
.tour-panel[hidden] { display: none; }
.tour-copy h3 { font-size: 28px; font-weight: 800; }
.tour-copy .btn { margin-top: 28px; }
.phones { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phones .phone { width: 46%; max-width: 280px; z-index: 2; }
.phones .phone-back { position: absolute; left: 54%; top: 46px; width: 40%; max-width: 240px; z-index: 1; opacity: .95; transform: rotate(5deg); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Story */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.story-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.story-steps li { position: relative; display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer; overflow: hidden; transition: background .25s, border-color .25s, box-shadow .25s; }
.story-steps li:hover { background: var(--card); }
.story-steps li.active { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.story-steps h3 { font-size: 18px; font-weight: 700; }
.story-steps p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.step-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font: 800 15px var(--head); }
.story-steps li.active .step-n { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; }
.step-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand-2), var(--orange)); }
.story.playing .story-steps li.active .step-bar { animation: progress 5.2s linear forwards; }
@keyframes progress { to { width: 100%; } }
.story-shots { position: relative; aspect-ratio: 16 / 10; }
.story-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.015); transition: opacity .55s ease, transform .55s ease; }
.story-shots img.active { opacity: 1; transform: none; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.bento .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand-2) 35%, var(--line)); }
.card h3 { font-size: 19px; font-weight: 700; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.c-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; align-items: start; }
.c-wide .ic, .c-wide h3, .c-wide p { grid-column: 1; }
.card-shot { grid-column: 2; grid-row: 1 / span 4; width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; margin-right: -60px; }
.ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; }
.ic svg { width: 22px; height: 22px; }
.ic.blue { background: var(--brand-soft); color: var(--brand); }
.ic.orange { background: rgba(249, 115, 22, .12); color: var(--orange); }
.ic.green { background: rgba(5, 150, 105, .12); color: var(--green); }
.ic.violet { background: rgba(124, 58, 237, .12); color: var(--violet); }
.ic.teal { background: rgba(13, 148, 136, .12); color: var(--teal); }

/* GST calculator */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.calc { display: grid; gap: 18px; padding: 28px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px 'Inter', sans-serif; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input[aria-invalid="true"] { border-color: #dc2626; }
.err { color: #dc2626; font-weight: 500; font-size: 13px; min-height: 0; }
.err:empty { display: none; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { width: 100%; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.seg input:checked + span { background: var(--brand-soft); border-color: var(--brand-2); color: var(--brand); }
.seg input:focus-visible + span { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.seg-wide label { flex: 1 1 0; }
.seg-wide span { display: block; text-align: center; }
.calc-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.calc-out { margin: 0; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 18px; }
.calc-out div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.calc-out div:last-child { border-bottom: 0; }
.calc-out dt { color: var(--muted); font-size: 15px; }
.calc-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out .total dt { color: var(--ink); font-weight: 700; }
.calc-out .total dd { font: 800 22px var(--head); color: var(--brand); }
.calc-out small { color: var(--muted); font-weight: 600; }
.calc .inter-only { display: none; }
.calc.inter .inter-only { display: flex; }
.calc.inter .intra { display: none; }

/* Split (CA) */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-visual { position: relative; padding-bottom: 40px; }
.tilt { transform: perspective(1600px) rotateY(-6deg); }
.phone-small { position: absolute; width: 30%; right: -10px; bottom: 0; }

/* Download */
.section-dark { background: radial-gradient(1200px 500px at 15% 0%, rgba(37, 99, 235, .35), transparent 60%), radial-gradient(900px 500px at 90% 100%, rgba(249, 115, 22, .22), transparent 60%), #0a1433; color: #dbe5f7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #b8c7e3; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.app-card > img { width: 48px; height: 48px; border-radius: 12px; background: #fff; padding: 4px; }
.app-card h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.app-card p { color: #b8c7e3; font-size: 15px; }
.app-card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.app-card-wide .row-ctas { margin-top: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.app-card > .badges { margin-top: auto; padding-top: 8px; }
.store { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25); text-decoration: none !important; }
.store svg { width: 22px; height: 22px; }
.store span { display: grid; line-height: 1.15; font-weight: 700; font-size: 16px; }
.store small { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.store.soon { opacity: .55; cursor: default; }
.soon-tag { align-self: center; margin-left: 2px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--saffron); color: #111; padding: 2px 7px; border-radius: 6px; }

/* Pricing */
.billing-toggle { display: inline-flex; gap: 4px; padding: 5px; margin-top: 26px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.billing-toggle button { padding: 9px 18px; border-radius: 10px; border: 0; background: none; font: 600 14px 'Inter', sans-serif; color: var(--ink-2); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--card); color: var(--brand); box-shadow: var(--shadow-sm); }
.billing-toggle em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 20px; }
.plan-desc { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 6px; min-height: calc(1.55em * 4); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.price b { font: 800 40px/1 var(--head); letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 15px; }
.price-note { color: var(--muted); font-size: 13px; margin-top: 6px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li svg { margin-top: 4px; color: var(--green); stroke-width: 3; }
.plan--featured { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, var(--brand-2), var(--orange)) border-box; box-shadow: var(--shadow); }
.plan li.plan-lead { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted); margin-top: 2px; }
.plan-compare { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.plan-compare summary { cursor: pointer; padding: 16px 22px; font-weight: 700; color: var(--brand); list-style: none; }
.plan-compare summary::-webkit-details-marker { display: none; }
.plan-compare summary::after { content: ' +'; }
.plan-compare[open] summary::after { content: ' \2212'; }
.plan-compare .pc-scroll { position: relative; overflow-x: auto; border-top: 1px solid var(--line); }
.plan-compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.plan-compare th, .plan-compare td { padding: 10px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.plan-compare th { font-size: 14px; color: var(--ink); vertical-align: bottom; }
.plan-compare th small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.plan-compare th:first-child, .plan-compare td:first-child { text-align: left; position: sticky; left: 0; background: var(--card); color: var(--ink-2); }
.plan-compare tr.pc-group td { background: var(--bg-soft); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; }
.plan-compare .pc-yes { color: var(--green); font-weight: 800; }
.plan-compare .pc-no { color: var(--muted); opacity: .5; }
.plan-compare .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--saffron), var(--orange)); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* Demo */
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.demo-copy { position: sticky; top: 110px; }
.demo-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.demo-card { padding: 30px; }
#demo-form { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span-2 { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: 12px; background: rgba(220, 38, 38, .08); color: #dc2626; font-size: 14px; font-weight: 600; }
.demo-done { text-align: center; padding: 24px 6px; outline: none; }
.done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(5, 150, 105, .12); color: var(--green); }
.done-ic svg { width: 32px; height: 32px; stroke-width: 3; }
.demo-done h3 { font-size: 26px; margin-top: 16px; }
.demo-done p { margin-top: 10px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq-list details[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand-2) 30%, var(--line)); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; position: relative; font: 700 17px var(--head); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p { padding: 0 0 20px; color: var(--ink-2); }

/* Final */
.final { padding: 0 0 var(--pad); }
.final-inner { text-align: center; padding: 64px 28px; border-radius: 32px; color: #dbe5f7; background: radial-gradient(800px 300px at 20% 0%, rgba(96, 165, 250, .45), transparent 60%), radial-gradient(700px 300px at 85% 100%, rgba(249, 115, 22, .4), transparent 60%), linear-gradient(135deg, #10306f, #0a1433); box-shadow: var(--shadow-lg); }
.final-inner h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; max-width: 760px; margin: 0 auto; }
.final-inner p { margin: 16px auto 0; max-width: 620px; font-size: 18px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 360px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom a { color: var(--muted); }

/* Sticky phone CTA */
.sticky-cta { display: none; }

/* Film */
.film { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(3, 7, 18, .78); backdrop-filter: blur(4px); }
.film[hidden] { display: none; }
.film-box { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.film-box iframe { width: 100%; height: 100%; border: 0; }
.film-close { position: absolute; top: 10px; right: 10px; z-index: 2; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(3n + 2) { transition-delay: .06s; }
.bento .reveal:nth-child(3n) { transition-delay: .12s; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  :root { --pad: 88px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav.open .nav-links {
    display: grid; position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 10px;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-inner { position: relative; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero { padding-top: 160px; }
  .hero-inner, .tour-panel, .story, .calc-wrap, .split, .demo { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .laptop { transform: none; }
  .demo-copy { position: static; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .apps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .story-steps { grid-template-columns: 1fr 1fr; }
  .story-steps p { display: none; }
}
@media (max-width: 640px) {
  :root { --pad: 68px; }
  .container { padding: 0 16px; }
  .nav { inset: 8px 0 auto; }
  .nav-contact-inner { justify-content: center; }
  .nc-hours, .nc-long { display: none; }
  .nc-short { display: inline; }
  .nav-inner { height: 58px; gap: 8px; padding: 0 8px 0 12px; }
  .nav-brand span, .nav-signin, .hide-sm { display: none; }
  .hero h1 { margin-top: 18px; }
  .lead { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-chip { font-size: 12px; padding: 8px 10px; }
  .c1 { left: 0; } .c2 { left: 0; bottom: 14%; } .c3 { display: none; }
  .bento, .apps { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
  .c-wide { grid-column: auto; grid-template-columns: 1fr; }
  .card-shot { grid-column: 1; grid-row: auto; margin: 18px 0 -40px; }
  .grid-2, .calc-row { grid-template-columns: 1fr; }
  .tour-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .tour-tabs button { justify-content: center; padding: 10px 8px; font-size: 14px; }
  .tour-copy h3 { font-size: 24px; }
  .story-steps { grid-template-columns: 1fr; }
  .story-steps li { padding: 14px 16px; }
  .facts-grid b { font-size: 30px; }
  .app-card-wide { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .final-inner { padding: 48px 20px; border-radius: 24px; }
  .row-ctas .btn { flex: 1 1 100%; }
  .sticky-cta {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; padding: 10px;
    border-radius: 16px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(140%); transition: transform .3s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { flex: 1; }
  .footer { padding-bottom: 96px; }
}

/* Motion off when asked */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Free tool cards (home strip, tools hub, related links) ───────── */
.tool-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
a.tool-card { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 12px; align-items: start; padding: 14px; border-radius: 14px; color: inherit; text-decoration: none; }
a.tool-card:hover { border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.tool-card .ic { width: 40px; height: 40px; border-radius: 11px; }
.tool-card .ic svg { width: 20px; height: 20px; }
.tool-card h3 { margin: 1px 0 3px; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.tool-card p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tool-card .tc-go { width: 16px; height: 16px; margin-top: 3px; color: var(--muted); transition: transform .2s, color .2s; }
a.tool-card:hover .tc-go { color: var(--brand); transform: translateX(2px); }


/* Keyword line above the hero headline (part of the h1 for search engines). */
.h1-kicker { display: block; margin-bottom: 14px; font: 700 14px/1.4 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); -webkit-text-fill-color: currentColor; }
@media (max-width: 640px) {
  /* Home page strip: icon + name, two to a row on phones. */
  #tools .tool-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  #tools a.tool-card { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; }
  #tools .tool-card .ic { width: 34px; height: 34px; border-radius: 10px; }
  #tools .tool-card .ic svg { width: 17px; height: 17px; }
  #tools .tool-card h3 { font-size: 13.5px; margin: 0; }
  #tools .tool-card p, #tools .tool-card .tc-go { display: none; }
}
