/* Open Sans (variable, 400–800, Latin), self-hosted so text doesn't wait on a third-party font server. */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #1d0618;
  --orchid: #d9a5c9;
  --live: #5fd3c9;
  --plum-950: #1c0617;
  --plum-900: #2a0a22;
  --plum-800: #3d0c30;
  --plum: #500041;
  --plum-2: #8d1a6b;
  --accent: #a21d7a;
  --accent-2: #7e145c;
  --brand-gradient: linear-gradient(135deg, #500041 0%, #8d1a6b 100%);
  --pill-gradient: linear-gradient(135deg, #a21d7a 0%, #7e145c 100%);
  --plum-hover: #3d0c30;
  --plum-tint: #f7f1f5;
  --line: #ece3e9;
  --field: #cfc2cb;
  --ink: #1e1720;
  --ink-2: #4a414c;
  --muted: #5e5560;
  --on-dark: #e3d3de;
  --on-dark-2: #d9c6d3;
  --teal: #6fd6d8;
  --pink: #d9a5c9;
  --error: #b42318;
  --error-ink: #8f1d1d;
  --error-bg: #fdecec;
  --ok: #1d6b4f;
  --ok-bg: #e3f4ec;
  --radius: 18px;
  --wrap: 1240px;
  /* Type scale, kept in Plumtree's proportions: titles stay clearly ahead of body copy without shouting. */
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-h2: clamp(28px, 2.8vw, 36px);
  --text-h1: clamp(32px, 3.2vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--plum); }
a:hover { color: var(--plum-hover); }
h1, h2, h3 { font-family: "Open Sans", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.01em; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--plum); padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }
.dark { position: relative; isolation: isolate; overflow: hidden; color: #ffffff; background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.12), transparent 34%), radial-gradient(circle at 100% 100%, rgba(236, 152, 240, 0.16), transparent 42%), linear-gradient(160deg, #500041 0%, #3d0033 55%, #2a0024 100%); }
.dark > .wrap, .white-label > .wrap { position: relative; z-index: 1; }
.tint { background: radial-gradient(circle at 100% 0%, rgba(162, 29, 122, 0.08), transparent 40%), linear-gradient(180deg, #fbf6fa 0%, #f4ecf2 100%); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: var(--text-md); font-weight: 600; color: var(--plum); }
.dark .eyebrow { color: var(--orchid); }
.h2 { font-size: var(--text-h2); line-height: 1.15; letter-spacing: -0.015em; font-weight: 800; margin: 0 0 16px; max-width: 760px; }
.lede { font-size: var(--text-lg); color: var(--muted); margin: 0 0 48px; max-width: 720px; }
.dark .lede { color: var(--on-dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: var(--text-md); text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-light { background: #ffffff; color: var(--plum); box-shadow: 0 10px 30px rgba(10, 0, 8, 0.35); }
.btn-light:hover { background: #f1e6ed; color: var(--plum); }
.btn-ghost { color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.btn-plum { background: var(--pill-gradient); color: #ffffff; box-shadow: 0 8px 22px rgba(162, 29, 122, 0.35); }
.btn-plum:hover { background: linear-gradient(135deg, #8d1a6b 0%, #500041 100%); color: #ffffff; }
.btn[disabled] { background: #8d5a7e; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, rgba(80, 0, 65, 0.86), rgba(61, 0, 51, 0.86)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.nav-logo img { height: 48px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.28)); }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-links a { color: #eadbe5; text-decoration: none; }
.nav-links a:hover { color: #ffffff; }
.nav-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-actions .login { color: #ffffff; text-decoration: none; font-size: 15px; font-weight: 600; padding: 12px 16px; }
.nav-actions .btn { min-height: 40px; padding: 8px 24px; font-size: 15px; }
.menu-btn { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: #ffffff; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(calc(100svh - 80px), 880px); display: flex; align-items: center; padding: 64px 0 96px; background: radial-gradient(110% 90% at 80% 15%, #8d1a6b 0%, #500041 38%, #24001d 78%); }
#fleet-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(36, 0, 29, 0.85) 0%, rgba(36, 0, 29, 0.5) 34%, rgba(36, 0, 29, 0) 62%), linear-gradient(0deg, #24001d 0%, rgba(36, 0, 29, 0) 18%); }
.hero .wrap { position: relative; width: 100%; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; max-width: 640px; }
.hero-copy .eyebrow, .hero-copy .hero-h1 { font-size: var(--text-2xl); font-weight: 700; line-height: 1.3; letter-spacing: 0; color: #f3c9e4; margin: 0 0 16px; }
.hero-copy .hero-title, .hero-copy .page-h1 { font-size: var(--text-h1); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 24px; text-wrap: balance; color: #ffffff; }
.hero-copy .lede { font-size: var(--text-lg); max-width: 560px; margin-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--on-dark); }
.hero-facts li { padding: 8px 16px; border: 1px solid rgba(217, 165, 201, 0.28); border-radius: 999px; background: rgba(29, 6, 24, 0.45); }
.hero-shot { flex: 1 1 440px; min-width: 0; perspective: 1600px; }
.browser { position: relative; background: #ffffff; border-radius: 16px; padding: 8px; box-shadow: 0 40px 90px rgba(10, 0, 8, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.tilt { transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 5deg)) rotateZ(0.6deg); transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }

/* One orchestrated entrance: copy rises after the roads start drawing. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { transform: translateY(12px); } to { transform: none; } }
/* No fade: the dashboard is often the largest thing on a phone screen, and an invisible start delays LCP. */
@keyframes float-in { from { transform: translateY(32px) scale(0.97); } to { transform: none; } }
.hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.3s; }
.hero-copy > :nth-child(2) { animation-delay: 0.45s; }
.hero-copy > :nth-child(3) { animation-delay: 0.6s; }
.hero-copy > :nth-child(4) { animation-delay: 0.75s; }
.hero-copy > :nth-child(5) { animation-delay: 0.9s; }
/* The headline, slogan and intro are visible from the first paint (they're the LCP element); they only slide. */
.hero-copy > :nth-child(-n+3) { animation-name: slide; animation-duration: 0.7s; animation-delay: 0s; }
.hero-shot > .browser { animation: float-in 1.1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* Live signals: teal is reserved for things that are live. */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 201, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(95, 211, 201, 0); } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: ping 1.8s ease-out infinite; flex: none; }
.live-chip { position: absolute; top: 24px; right: 24px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(29, 6, 24, 0.86); color: #ffffff; font-size: 13px; font-weight: 700; }
.browser-dots { display: flex; gap: 8px; padding: 4px 8px 8px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e6d8e1; }
.browser img { display: block; width: 100%; border-radius: 10px; }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-top: 2px solid var(--line); padding: 24px 8px 8px 0; transition: border-color 0.2s ease; }
.card:hover { border-top-color: var(--accent); }
.icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 16px; color: var(--chip, #ffffff); background: var(--brand-gradient); box-shadow: 0 10px 24px rgba(80, 0, 65, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.icon-chip svg { width: 24px; height: 24px; }
.grid-4 { row-gap: 40px; column-gap: 32px; }
.card h3 { font-size: var(--text-xl); margin: 16px 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.shots { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 64px; }
.shots figure { flex: 1 1 480px; min-width: 0; margin: 0; }
.shot-frame { background: var(--brand-gradient); border-radius: var(--radius); padding: 8px; box-shadow: 0 24px 60px rgba(80, 0, 65, 0.22); }
.shot-frame img { display: block; width: 100%; border-radius: 10px; }
.shots figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }
.shots figcaption b { color: var(--ink); }

/* Split sections */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 480px; min-width: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.feature-grid h3 { font-size: var(--text-lg); margin: 0 0 8px; }
.feature-grid p { margin: 0; font-size: 15px; color: var(--on-dark-2); }
.soon { margin-top: 40px; padding: 16px 24px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); color: var(--on-dark); font-size: 15px; }
.chip { display: inline-block; font-size: 13px; font-weight: 700; background: var(--orchid); color: var(--plum-900); padding: 4px 8px; border-radius: 999px; margin-right: 8px; }

/* Integrations */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { background: #ffffff; border-radius: 16px; padding: 24px; }
.tile-mark { display: flex; align-items: center; height: 36px; margin-bottom: 14px; }
.tile-mark img { display: block; max-height: 32px; width: auto; }
.tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; color: #ffffff; background: var(--brand-gradient); }
.tile-icon svg { width: 20px; height: 20px; }
.tile b { display: block; font-family: "Open Sans", system-ui, sans-serif; }
.tile b + span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.callout { margin-top: 24px; background: #ffffff; border: 1px dashed #c9b3c1; border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.callout b { font-family: "Open Sans", system-ui, sans-serif; }
.callout p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.callout a { font-weight: 700; text-decoration: none; padding: 12px 0; }

/* White label */
.white-label { position: relative; isolation: isolate; overflow: hidden; color: #ffffff; background: radial-gradient(circle at 85% 10%, rgba(236, 152, 240, 0.3), transparent 40%), radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.1), transparent 36%), var(--brand-gradient); }
.white-label .eyebrow { color: #f3c9e4; }
.white-label .lede { color: #f1dcea; margin-bottom: 32px; }
.white-label .feature-grid { margin-bottom: 32px; gap: 24px 32px; }
.white-label .feature-grid p { color: #f1dcea; }
.trusted { background: rgba(255, 255, 255, 0.08); border-radius: 24px; padding: 40px; }
.trusted .eyebrow { margin-bottom: 24px; }
.logos { display: flex; flex-direction: column; gap: 16px; }
.logo-card { background: #ffffff; border-radius: 16px; height: 112px; padding: 16px 32px; display: flex; align-items: center; justify-content: center; }
.logo-card img { max-height: 72px; width: auto; }
.logo-card.aanz img { max-height: 84px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step-no { font-family: "Open Sans", system-ui, sans-serif; font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -0.03em; background: var(--pill-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: var(--text-xl); margin: 16px 0 8px; }
.steps p { margin: 0; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Security */
.security .split { align-items: flex-start; gap: 64px; }
.security .split > :first-child { flex: 1 1 360px; }
.security .split > :last-child { flex: 1 1 600px; }
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sec-grid div { background: #ffffff; border-radius: 16px; padding: 24px; }
.sec-grid h3 { font-size: var(--text-lg); margin: 0 0 8px; }
.sec-grid p { margin: 0; color: var(--muted); font-size: 15px; }

/* About */
.about img { width: 100%; height: 440px; object-fit: cover; border-radius: 24px; }
.about p { font-size: 17px; color: var(--ink-2); margin: 0 0 16px; }

/* Contact */
.contact .split { align-items: flex-start; gap: 48px; }
.contact .split > :first-child { flex: 1 1 360px; }
.contact .split > :last-child { flex: 1 1 560px; }
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-links a { display: flex; gap: 16px; align-items: center; text-decoration: none; color: #ffffff; background: rgba(255, 255, 255, 0.07); border-radius: 16px; padding: 16px 24px; }
.contact-links a:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.contact-links svg { flex: none; width: 24px; height: 24px; }
.contact-links small { display: block; font-size: 13px; color: var(--on-dark-2); }
.contact-links strong { font-size: 17px; }

.form-card { background: #ffffff; color: var(--ink); border-radius: 24px; padding: 40px; }
.form-card h3 { font-size: var(--text-2xl); margin: 0 0 24px; }
form.enquiry { display: flex; flex-direction: column; gap: 24px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 12px 16px; border: 1px solid var(--field); border-radius: 10px; background: #ffffff; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(96, 0, 68, 0.25); border-color: var(--plum); }
.field .err { display: none; font-weight: 500; font-size: 13px; color: var(--error-ink); }
.field.invalid { color: var(--error-ink); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border: 2px solid var(--error); }
.field.invalid .err { display: block; }
.req { color: var(--plum); }
fieldset.interests { border: 0; margin: 0; padding: 0; }
fieldset.interests legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--field); border-radius: 999px; padding: 8px 16px; font-size: 14px; cursor: pointer; min-height: 44px; }
.pill:has(input:checked) { border-color: var(--plum); background: var(--plum-tint); }
.pill input { accent-color: var(--plum); width: 16px; height: 16px; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-2); }
.consent input { margin-top: 3px; accent-color: var(--plum); width: 16px; height: 16px; flex: none; }
.consent.invalid { color: var(--error-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
/* Turnstile sizes its frame to this box, so it needs a real width or it collapses to nothing. */
#turnstile { flex: 0 0 300px; max-width: 100%; min-height: 65px; }
.form-alert { display: none; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; background: var(--error-bg); color: var(--error-ink); }
.form-alert.show { display: block; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #ffffff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { display: none; text-align: center; padding: 24px 8px; }
.success.show { display: block; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.success h3, .success .success-title { margin: 0 0 8px; font-size: var(--text-xl); font-weight: 800; color: var(--ink); }
.success p { margin: 0 0 24px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--plum-950); color: var(--on-dark-2); padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer img { height: 40px; width: auto; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { color: var(--on-dark-2); }
.site-footer a:hover { color: #ffffff; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-4, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { flex-wrap: wrap; }
  .nav-links, .nav-actions { display: none; width: 100%; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 8px; }
  .nav.open .nav-links a { padding: 8px 0; font-size: var(--text-lg); }
  .nav.open .nav-actions { display: flex; padding-bottom: 8px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .grid-4, .tiles, .feature-grid, .sec-grid, .steps, .row-2 { grid-template-columns: minmax(0, 1fr); }
  .split, .hero-grid { gap: 40px; }
  .split > *, .hero-copy, .hero-shot { flex-basis: 100%; }
  .about img { height: 280px; }
  .hero { min-height: 0; padding: 48px 0 64px; }
  .hero-shade { background: linear-gradient(180deg, rgba(29, 6, 24, 0.55) 0%, rgba(29, 6, 24, 0.85) 60%, var(--night) 100%); }
  .tilt { --ry: 0deg; --rx: 0deg; transform: none; }
  .form-card { padding: 24px 16px; }
  .hero-copy .eyebrow, .hero-copy .hero-h1 { font-size: var(--text-xl); }
  .trusted { padding: 24px; }
  .nav-logo img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner, .live-dot, .hero-copy > *, .hero-shot > .browser { animation: none; }
  .tilt { transition: none; }
}
:focus-visible { outline: 3px solid var(--orchid); outline-offset: 3px; border-radius: 6px; }

/* Ambient bubbles, as in the Plumtree sidebar: a soft rim with a faint brand-tinted sheen
   that rises and drifts sideways on two different timings so the path never repeats. */
.bubbles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero .bubbles { z-index: -1; }
.bubble {
  position: absolute; bottom: -120px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.07), 0 2px 22px rgba(0, 0, 0, 0.16);
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 46% 62%, rgba(236, 152, 240, 0.12), rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0.24) 84%, rgba(255, 255, 255, 0.42) 94%, rgba(255, 255, 255, 0.5) 100%);
  mix-blend-mode: screen;
  --rise: calc(var(--section-h, 900px) * -0.95);
  --wander: 26px;
  animation: bubble-rise 40s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite, bubble-wander 30s ease-in-out infinite;
}
.b1 { left: 5%; width: 120px; height: 120px; opacity: 0.85; animation-duration: 38s, 26s; animation-delay: -5s, -2s; }
.b2 { left: 22%; width: 70px; height: 70px; opacity: 0.8; --wander: 20px; animation-duration: 32s, 22s; animation-delay: -14s, -6s; }
.b3 { left: 44%; width: 48px; height: 48px; opacity: 0.7; --wander: 14px; animation-duration: 44s, 32s; animation-delay: -22s, -10s; }
.b4 { left: 63%; width: 92px; height: 92px; opacity: 0.75; --wander: 24px; animation-duration: 30s, 36s; animation-delay: -8s, -17s; }
.b5 { left: 80%; width: 40px; height: 40px; opacity: 0.7; --wander: 12px; animation-duration: 36s, 26s; animation-delay: -26s, -5s; }
.b6 { left: 92%; width: 140px; height: 140px; opacity: 0.55; --wander: 30px; animation-duration: 48s, 34s; animation-delay: -31s, -12s; }
@keyframes bubble-rise {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  45% { transform: translate3d(0, var(--rise), 0) scale(1.02, 0.98); }
  55% { transform: translate3d(0, var(--rise), 0) scale(1); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes bubble-wander {
  0%, 100% { translate: 0 0; }
  15% { translate: var(--wander) 0; }
  30% { translate: calc(var(--wander) * -0.7) 0; }
  45% { translate: calc(var(--wander) * 0.5) 0; }
  60% { translate: calc(var(--wander) * -0.9) 0; }
  78% { translate: calc(var(--wander) * 0.8) 0; }
}

/* Screenshots tilt in 3D toward the pointer */
.tilt-3d { transform: perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); transform-style: preserve-3d; }

@media (max-width: 720px) {
  .b1, .b6 { width: 80px; height: 80px; }
  .b4 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; bottom: auto; top: 30%; }
  .tilt-3d { transition: none; }
}


/* FAQ */
.faq-list { display: grid; gap: 16px; max-width: 880px; }
.faq details { background: #ffffff; border-radius: 16px; padding: 0 24px; box-shadow: 0 8px 24px rgba(80, 0, 65, 0.06); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.2s ease; margin-right: 8px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary h3 { margin: 0; font-size: var(--text-lg); line-height: 1.4; }
.faq details p { margin: 0; padding: 0 0 24px; color: var(--muted); max-width: 720px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Module cards that link to their product page: the whole card is clickable. */
.card.has-link { position: relative; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link:focus-visible { outline: none; }
.card.has-link:focus-within { outline: 3px solid var(--orchid); outline-offset: 6px; border-radius: 6px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--accent); }
.card-more::after { content: "\2192"; transition: transform 0.2s ease; }
.card.has-link:hover .card-more::after { transform: translateX(4px); }

/* Product tour video */
.tour { background: #ffffff; padding-bottom: 40px; }
/* Keep the whole video plus a strip of the next section on screen, so it's clear the page goes on. */
@supports (height: 100svh) { .video-frame { max-width: min(1040px, (100svh - 290px) * 1.6); } }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .h2, .section-head .lede { margin-left: auto; margin-right: auto; }
.section-head .lede { margin-bottom: 0; }
.video-frame { max-width: min(1040px, (100vh - 290px) * 1.6); margin: 0 auto; background: var(--brand-gradient); border-radius: var(--radius); padding: 8px; box-shadow: 0 30px 70px rgba(80, 0, 65, 0.25); }
.video-frame video, .video-frame img { display: block; width: 100%; height: auto; border-radius: 12px; background: #1c0617; }
.video-pending { position: relative; }
.video-pending p { position: absolute; left: 16px; bottom: 16px; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(29, 6, 24, 0.86); color: #ffffff; font-size: 14px; font-weight: 600; }

/* Reviews carousel */
.reviews .h2 { margin-bottom: 40px; }
.carousel-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--orchid); outline-offset: 4px; }
.review-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.review-card blockquote { margin: 0; }
.review-card blockquote p { margin: 0; font-size: var(--text-lg); line-height: 1.55; color: #ffffff; }
.review-card blockquote p::before { content: "\201C"; display: block; font-size: 56px; line-height: 0.6; margin-bottom: 8px; color: var(--orchid); font-weight: 800; }
.review-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--on-dark); }
.review-card figcaption b { color: #ffffff; font-size: 15px; width: 100%; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.carousel-controls[hidden] { display: none; }
.carousel-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #ffffff; cursor: pointer; }
.carousel-btn:hover { background: rgba(255, 255, 255, 0.12); }
.carousel-pause[aria-pressed="true"] { background: rgba(255, 255, 255, 0.18); }
.carousel-dots { display: flex; gap: 4px; }
.carousel-dots button { width: 28px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.carousel-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transition: background 0.2s ease, transform 0.2s ease; }
.carousel-dots button[aria-current="true"]::before { background: #ffffff; transform: scale(1.2); }
@media (max-width: 1100px) { .review-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 720px) { .review-card { flex-basis: 88%; padding: 24px; } }

/* Product pages */
.page-hero { min-height: 0; padding: 72px 0 88px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; color: var(--on-dark); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.crumbs a { color: #f3c9e4; display: inline-flex; min-height: 24px; align-items: center; }
.page-body { padding-top: 88px; }
.page-section { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 0 0 72px; }
.page-section:last-child { padding-bottom: 0; }
.page-text { flex: 1 1 520px; min-width: 0; max-width: 760px; }
.page-section.has-figure .page-text { max-width: none; }
.page-text h2 { font-size: var(--text-h2); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 16px; }
.page-text p { margin: 0 0 16px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.page-figure { flex: 1 1 440px; min-width: 0; margin: 0; }
.feature-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.feature-cards .card h3 { margin-top: 0; }
.related-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.related-list a { display: block; height: 100%; padding: 24px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 15px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.related-list a:hover { border-color: var(--accent); box-shadow: 0 12px 30px rgba(80, 0, 65, 0.1); }
.related-list b { display: block; color: var(--plum); font-size: var(--text-lg); margin-bottom: 6px; }
.cta-band { text-align: center; }
.cta-band .h2, .cta-band .lede { margin-left: auto; margin-right: auto; }
.cta-band .lede { margin-bottom: 32px; }
.cta-band .hero-ctas { justify-content: center; }
.footer-pages { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer .footer-pages { justify-content: flex-start; gap: 8px 24px; }
.footer-heading { margin: 0; font-weight: 700; color: #ffffff; }
@media (max-width: 1100px) { .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .feature-cards { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding: 48px 0 64px; }
  .page-body { padding-top: 64px; }
  .page-section { gap: 32px; padding-bottom: 56px; }
}

/* Bigger tap targets on phones for small inline links and checkboxes. */
@media (pointer: coarse) {
  .consent input, .pill input { width: 22px; height: 22px; }
  .about a, .consent a { display: inline-block; padding: 10px 0; }
}
.page-hero .hero-copy > * { animation-name: slide; animation-duration: 0.7s; }
.page-hero .hero-shot > .browser { animation-delay: 0.15s; }
.page-text ol, .page-text ul { margin: 0 0 16px; padding-left: 24px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.page-text li { margin-bottom: 6px; padding-left: 4px; }
.page-text ol li::marker { color: var(--accent); font-weight: 800; }
.faq details ol, .faq details ul { margin: 0 0 24px; padding-left: 22px; color: var(--muted); }

/* Products menu in the header (a <details> disclosure, so it works by keyboard, touch and without JS). */
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; color: #eadbe5; display: inline-flex; align-items: center; gap: 6px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.nav-menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.nav-menu summary:hover, .nav-menu summary.is-current, .nav-menu[open] summary { color: #ffffff; }
.nav-drop { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 260px; display: grid; padding: 8px; border-radius: 14px; background: #2a0a22; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 24px 50px rgba(10, 0, 8, 0.5); z-index: 60; }
.nav-drop a { padding: 10px 14px; border-radius: 8px; color: #eadbe5; white-space: nowrap; }
.nav-drop a:hover, .nav-drop a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.nav-drop a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orchid); }
.nav-drop .nav-all { margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0 0 8px 8px; color: var(--orchid); font-weight: 600; }
@media (max-width: 1180px) {
  .nav.open .nav-menu { width: 100%; }
  .nav.open .nav-menu summary { padding: 8px 0; font-size: var(--text-lg); }
  .nav-drop { position: static; min-width: 0; margin: 4px 0 8px; padding: 4px 0 4px 12px; background: transparent; border: 0; border-left: 2px solid rgba(217, 165, 201, 0.35); border-radius: 0; box-shadow: none; }
  .nav-drop a { white-space: normal; }
}

/* Analytics section (light background, screenshot on the left) */
.analytics .feature-grid { margin: 8px 0 32px; }
.analytics .feature-grid p { color: var(--muted); }
.analytics .browser { box-shadow: 0 30px 60px -30px rgba(80, 0, 65, 0.35); }
.analytics .split { flex-direction: row-reverse; }

/* "More below" cue: appears when the visitor pauses and the next section starts below the screen */
.more-below { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px 0 20px; border: 1px solid transparent; border-radius: 999px; background: var(--pill-gradient); color: #ffffff; font: 700 14px/1 inherit; font-family: inherit; box-shadow: 0 10px 26px rgba(80, 0, 65, 0.35); cursor: pointer; opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s, background-color 0.2s ease; }
.more-below.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.35s ease, transform 0.35s ease; }
.more-below:hover { background: linear-gradient(135deg, #8d1a6b 0%, #500041 100%); color: #ffffff; }
/* Over a dark section the plum button would disappear, so it turns white there. */
.more-below.on-dark { background: rgba(255, 255, 255, 0.96); color: var(--plum); border-color: rgba(80, 0, 65, 0.12); box-shadow: 0 10px 30px rgba(10, 0, 8, 0.35); }
.more-below.on-dark:hover { background: #ffffff; color: var(--accent); }
/* Large screens: bottom-right corner, in the margin beside the content, so it doesn't cover text. */
@media (min-width: 900px) {
  .more-below { left: auto; right: max(24px, env(safe-area-inset-right)); bottom: 24px; transform: translateY(12px); }
  .more-below.is-shown { transform: none; }
}
.more-below svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .more-below, .more-below.is-shown { transition: none; } .more-below svg { animation: none; } }
@media print { .more-below { display: none; } }
