/* eve & ai design system
   Brand: deep indigo ink, periwinkle purple, lavender tints, wave and
   floating-circle motifs carried over from the existing identity. */

:root {
  --ink: #2e2853;
  --ink-soft: #5a5480;
  --purple: #7c6fd6;
  --purple-deep: #55489e;
  --purple-dark: #3a3272;
  --lav: #eeebfa;
  --lav-2: #e0dbf5;
  --bg: #fbfafe;
  --white: #ffffff;
  --line: #d9d4ee;
  --green: #1e7a55;
  --amber: #a05e03;
  --red: #b3372f;
  --radius: 16px;
  --radius-lg: 24px;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 8px 30px rgba(46, 40, 83, 0.08);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--purple-deep); }
a:hover { color: var(--purple); }
ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: 0.45em; }
strong { color: var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--white);
  color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}
.logo {
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  text-decoration: none; letter-spacing: -0.02em; display: inline-flex;
  align-items: baseline; gap: 2px;
}
.logo-word {
  background: linear-gradient(120deg, var(--purple-deep), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-amp { color: var(--purple); font-weight: 600; margin: 0 2px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 500;
  font-size: 0.95rem; padding: 8px 12px; border-radius: 8px;
}
.site-nav a:hover { color: var(--ink); background: var(--lav); }
.site-nav a[aria-current="page"] { color: var(--purple-deep); background: var(--lav); }
.nav-toggle { display: none; }

/* ---------- Mega menu ---------- */
.nav-item { position: relative; }
.nav-item > button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  color: var(--ink-soft); padding: 8px 12px; border-radius: 8px;
}
.nav-item > button::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
}
.nav-item > button:hover, .nav-item.open > button { color: var(--ink); background: var(--lav); }
.nav-item.open > button::after { transform: rotate(225deg) translateY(-2px); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(46, 40, 83, 0.16); padding: 18px; display: none;
  min-width: 540px; z-index: 60;
}
.nav-item.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega-grid.one-col { grid-template-columns: 1fr; min-width: 0; }
.mega a {
  display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none;
}
.mega a:hover { background: var(--lav); }
.mega a .t { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.mega a .d { display: block; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.4; }
.mega a[aria-current="page"] { background: var(--lav); }
.mega-label {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--purple); padding: 8px 12px 2px; grid-column: 1 / -1;
}

/* ---------- Logo marquee ---------- */
/* Background pinned because the logo files are flattened onto this exact
   colour, so any supplied white plate disappears into the strip. */
.marquee { overflow: hidden; position: relative; padding: 8px 0; background: var(--bg); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: -1px; background: linear-gradient(90deg, var(--bg) 30%, transparent); }
.marquee::after { right: -1px; background: linear-gradient(270deg, var(--bg) 30%, transparent); }
.marquee-track {
  display: flex; gap: 60px; width: max-content; align-items: center;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--ink-soft); opacity: 0.75; white-space: nowrap; letter-spacing: 0.01em;
}
/* Client and partner marks. Held at one optical height and desaturated so a
   dozen different brand palettes read as one row rather than a fruit salad;
   colour returns on hover. */
.marquee-track img {
  height: 42px; width: auto; display: block; flex: none;
  opacity: 0.88; transition: opacity 0.25s ease, transform 0.25s ease;
}
.marquee-track img:hover { opacity: 1; transform: scale(1.06); }
@media (max-width: 720px) { .marquee-track img { height: 34px; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 40px 56px; }
}

/* ---------- Split hero with photo ---------- */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-figure { position: relative; }
.hero-figure img.photo {
  width: 100%; height: auto; display: block;
  border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%;
  border: 6px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 60px rgba(20, 16, 36, 0.35);
}
.hero-figure .mascot {
  position: absolute; width: 92px; height: auto; bottom: -14px; left: -20px;
  filter: drop-shadow(0 10px 24px rgba(20, 16, 36, 0.35));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-figure .mascot { animation: none; } }

/* ---------- Photos in sections ---------- */
.photo-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }

/* ---------- Options ladder ---------- */
.ladder { counter-reset: opt; display: grid; gap: 16px; }
.ladder .rung {
  counter-increment: opt; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px 22px 76px; position: relative; box-shadow: var(--shadow);
}
.ladder .rung::before {
  content: counter(opt); position: absolute; left: 20px; top: 22px;
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: var(--white);
}
.ladder .rung h3 { margin-bottom: 0.3em; }
.ladder .rung p:last-child { margin-bottom: 0; }
.rung-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; padding: 3px 10px; border-radius: 999px; background: var(--lav);
  color: var(--purple-deep); margin-left: 8px; vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-head);
  font-weight: 600; font-size: 1rem; padding: 13px 26px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple-deep); color: var(--white) !important; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--purple); }
.btn-light { background: var(--white); color: var(--purple-deep) !important; }
.btn-light:hover { background: var(--lav); }
.btn-ghost { border-color: var(--purple); color: var(--purple-deep) !important; background: transparent; }
.btn-ghost:hover { background: var(--lav); }
.btn-ghost-light { border-color: rgba(255,255,255,0.7); color: var(--white) !important; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn-nav { padding: 9px 20px; font-size: 0.92rem; margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(175deg, var(--purple-dark) 0%, var(--purple-deep) 55%, var(--purple) 100%);
  padding: 84px 0 0;
}
.hero h1 { color: var(--white); max-width: 21ch; }
.hero .sub { font-size: 1.15rem; max-width: 62ch; color: rgba(255,255,255,0.92); }
.hero .container { position: relative; z-index: 2; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 10px; }
.hero-eyebrow {
  display: inline-block; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.02em; margin-bottom: 20px;
}
.hero-circles span {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); z-index: 1;
}
.hero-circles span:nth-child(1) { width: 220px; height: 220px; top: -80px; right: 8%; }
.hero-circles span:nth-child(2) { width: 90px; height: 90px; top: 40px; right: 28%; background: rgba(255,255,255,0.12); }
.hero-circles span:nth-child(3) { width: 46px; height: 46px; top: 140px; right: 16%; background: rgba(255,255,255,0.18); }
.hero-wave { display: block; width: 100%; margin-top: 48px; position: relative; z-index: 2; }
.hero-wave svg { display: block; width: 100%; height: 64px; }

.page-hero { padding-bottom: 0; }
.breadcrumbs { font-size: 0.88rem; margin-bottom: 18px; color: rgba(255,255,255,0.8); }
.breadcrumbs a { color: rgba(255,255,255,0.9); }

/* ---------- Scroll journey ---------- */
.journey { display: none; }
.journey.journey-ready { display: block; position: relative; height: 780vh; background: #0d0b16; }
.journey-static video { display: none; }
.journey-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #0d0b16; }
.j-scene {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; overflow: hidden;
  /* Contain the poster/video stacking so neither can paint over the captions,
     the vignette or the closing panel, which are siblings of this element. */
  isolation: isolate; z-index: 0;
}
.j-scene video, .j-scene img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  will-change: transform;
}
/* The poster still sits underneath its clip, so a scene is never blank while
   the video is still arriving, and it carries the alt text for the story. */
.j-scene .j-poster { position: absolute; inset: 0; z-index: 0; }
.j-scene video { position: relative; z-index: 1; background: transparent; }
.journey-ready { height: 980vh; }
/* Vignette and floor gradient keep the captions readable over any frame. */
.j-scene::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(13, 11, 22, 0.86) 0%, rgba(13, 11, 22, 0.25) 38%, rgba(13, 11, 22, 0.05) 60%),
    radial-gradient(ellipse at 50% 45%, rgba(13, 11, 22, 0) 40%, rgba(13, 11, 22, 0.55) 100%);
}
.j-scene.tint-purple::after {
  background:
    linear-gradient(to top, rgba(13, 11, 22, 0.86) 0%, rgba(13, 11, 22, 0.2) 42%, rgba(0, 0, 0, 0) 62%),
    radial-gradient(ellipse at 50% 50%, rgba(124, 111, 214, 0.22) 0%, rgba(13, 11, 22, 0.55) 100%);
}

/* Dashboard cards that fly in over the closing frame. */
.j-cards {
  position: absolute; inset: 0; pointer-events: none; z-index: 4;
}
.j-card {
  position: absolute; opacity: 0; background: rgba(255, 255, 255, 0.97);
  border-radius: 16px; padding: 16px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  font-family: var(--font-head); min-width: 190px;
}
.j-card .k { font-size: 0.78rem; color: var(--ink-soft); font-weight: 500; display: block; }
.j-card .v { font-size: 1.5rem; font-weight: 700; color: var(--purple-deep); display: block; line-height: 1.2; }
.j-card:nth-child(1) { top: 16%; left: 8%; }
.j-card:nth-child(2) { top: 30%; right: 9%; }
.j-card:nth-child(3) { top: 54%; left: 13%; }
.j-card:nth-child(4) { top: 46%; right: 14%; }
@media (max-width: 720px) {
  .j-card { min-width: 0; padding: 10px 14px; }
  .j-card .v { font-size: 1.1rem; }
  .j-card:nth-child(1) { top: 12%; left: 4%; }
  .j-card:nth-child(2) { top: 24%; right: 4%; }
  .j-card:nth-child(3) { top: 40%; left: 6%; }
  .j-card:nth-child(4) { top: 54%; right: 6%; }
}
.j-caption {
  position: absolute; left: 0; right: 0; bottom: 11vh; text-align: center;
  opacity: 0; visibility: hidden; padding: 0 20px; pointer-events: none; z-index: 5;
}
.j-caption span {
  display: inline-block; background: rgba(20, 16, 36, 0.62); color: #ffffff;
  font-family: var(--font-head); font-weight: 500; font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  padding: 12px 26px; border-radius: 999px; max-width: 34em;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.j-final {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; text-align: center;
  padding: 0 24px 7vh; opacity: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(13, 11, 22, 0.94) 24%, rgba(13, 11, 22, 0.55) 52%, rgba(13, 11, 22, 0) 78%);
}
.j-final h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.4em;
  color: #ffffff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.j-final p { color: rgba(255, 255, 255, 0.9); max-width: 46ch; }
.j-final .btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #ffffff !important; }
.j-final .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.scroll-cue { margin-top: 26px; font-size: 0.92rem; }
.scroll-cue a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.scroll-cue a:hover { color: #ffffff; }
.scroll-cue span { display: inline-block; animation: cue-bob 1.6s ease-in-out infinite; }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-lav { background: var(--lav); }
.section-white { background: var(--white); }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--purple);
  margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; text-wrap: balance; }
.card p { margin-bottom: 0.9em; }
/* Pin the trailing link to the bottom so rows of cards align. */
.card .card-link { margin-top: auto; padding-top: 6px; }
.card > p:last-child { margin-bottom: 0; }
.card-lav { background: var(--lav); border-color: var(--lav-2); box-shadow: none; }
.card a.card-link { font-weight: 600; text-decoration: none; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white); font-size: 1.3rem; font-family: var(--font-head); font-weight: 700;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px 12px; }
.stat .num {
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem;
  color: var(--purple-deep); line-height: 1.1; display: block;
}
.stat .label { color: var(--ink-soft); font-size: 0.95rem; }
.stat-source { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center;
  color: var(--ink-soft); font-size: 0.95rem; font-weight: 500;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }

/* ---------- Compliance band ---------- */
.band {
  background: linear-gradient(120deg, var(--purple-dark), var(--purple-deep));
  color: var(--white); border-radius: var(--radius-lg); padding: 48px;
}
.band h2 { color: var(--white); }
.band p { color: rgba(255,255,255,0.92); }
.band a:not(.btn) { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.98rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); font-weight: 600; background: var(--lav); }
tbody tr:last-child td { border-bottom: none; }
td .price { font-family: var(--font-head); font-weight: 700; color: var(--purple-deep); white-space: nowrap; }

/* ---------- Answer & definition blocks ---------- */
.answer-block {
  border-left: 4px solid var(--purple); background: var(--lav);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 0 0 1.4em;
}
.answer-block p:last-child { margin-bottom: 0; }
.definition {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 1.4em; font-size: 1.02rem;
}

/* ---------- FAQ / accordion ---------- */
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-family: var(--font-head);
  font-weight: 600; font-size: 1.02rem; list-style: none; position: relative; padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--purple); font-weight: 500;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 22px 18px; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  position: relative; padding: 0 0 26px 64px; counter-increment: step;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-head); font-weight: 700;
  background: var(--lav); color: var(--purple-deep); border: 2px solid var(--purple);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 2px; background: var(--lav-2);
}
.steps h3 { margin-bottom: 0.3em; }

/* ---------- CTA panel ---------- */
.cta-panel {
  text-align: center; background: linear-gradient(160deg, var(--purple-dark), var(--purple-deep) 60%, var(--purple));
  color: var(--white); border-radius: var(--radius-lg); padding: 56px 32px; position: relative; overflow: hidden;
}
.cta-panel h2 { color: var(--white); }
.cta-panel p { color: rgba(255,255,255,0.92); max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-panel .hero-ctas { justify-content: center; }
.cta-panel a:not(.btn) { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Readiness check tool ---------- */
.tool {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto;
}
.tool-progress { height: 6px; background: var(--lav); border-radius: 999px; margin-bottom: 28px; overflow: hidden; }
.tool-progress span { display: block; height: 100%; background: var(--purple); border-radius: 999px; transition: width 0.25s ease; }
.tool-step h3 { font-size: 1.25rem; }
.tool-options { display: grid; gap: 10px; margin: 20px 0; }
.tool-options button {
  text-align: left; font-family: var(--font-body); font-size: 1rem; padding: 14px 18px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer;
}
.tool-options button:hover { border-color: var(--purple); background: var(--lav); }
.tool-options button.selected { border-color: var(--purple-deep); background: var(--lav); font-weight: 600; }
.tool-nav { display: flex; justify-content: space-between; margin-top: 8px; }
.tool-note { font-size: 0.88rem; color: var(--ink-soft); }
.rating-band {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  padding: 8px 20px; border-radius: 999px; margin-bottom: 16px;
}
.rating-1 { background: #fdeae8; color: var(--red); }
.rating-2 { background: #fdf3e0; color: var(--amber); }
.rating-3 { background: var(--lav); color: var(--purple-deep); }
.rating-4 { background: #e2f3ea; color: var(--green); }
.gap-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: var(--bg); }
.gap-item h4 { margin: 0 0 4px; }
.gap-item p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.tool input[type="text"], .tool input[type="email"], .contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; background: var(--white);
}
.contact-form label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: 0.95rem; }

/* ---------- Notices ---------- */
.notice {
  background: var(--lav); border: 1px solid var(--lav-2); border-radius: var(--radius);
  padding: 18px 22px; margin: 0 0 1.4em; font-size: 0.98rem;
}
.reviewed { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 30%, var(--purple-dark) 100%);
  color: rgba(255,255,255,0.88); margin-top: 72px; padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-brand p { font-size: 0.95rem; }
.footer-note { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.logo-footer .logo-word { background: none; -webkit-background-clip: unset; background-clip: unset; color: var(--white); }
.logo-footer .logo-amp { color: var(--lav-2); }
.footer-col h3 {
  color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px;
}
.footer-col a { display: block; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.93rem; padding: 4px 0; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.site-footer a { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.2); margin-top: 44px; padding-top: 24px; font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev > :first-child { order: 0; }
  .hero-figure { max-width: 420px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .nav-item { width: 100%; }
  .nav-item > button { width: 100%; justify-content: space-between; padding: 12px; font-size: 1rem; }
  .mega {
    position: static; transform: none; min-width: 0; box-shadow: none; border: none;
    padding: 0 0 6px 10px;
  }
  .mega-grid { grid-template-columns: 1fr; }
  .band { padding: 32px 24px; }
  .tool { padding: 24px 18px; }
  .nav-toggle {
    display: block; margin-left: auto; background: none; border: none; cursor: pointer; padding: 10px;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.2s;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; }
  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .btn-nav { margin: 10px 0 0; text-align: center; }
  .hero { padding-top: 56px; }
}

/* ---------- Image logo ---------- */
.logo img { display: block; height: 44px; width: auto; }
.logo-footer img { height: 40px; }

/* ---------- Language switcher ---------- */
.nav-lang > button { font-weight: 600; letter-spacing: 0.03em; }
.nav-lang .mega { min-width: 0; width: max-content; left: auto; right: 0; transform: none; padding: 10px; }
.nav-lang > button { padding: 6px 8px; }
.nav-lang > button::after { margin-left: 2px; }
.nav-lang .flag {
  display: block; width: 24px; height: 24px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(46, 40, 83, 0.14);
}
.nav-lang .mega a { display: flex; align-items: center; gap: 10px; white-space: nowrap; min-width: 190px; }
.nav-lang .mega .flag { width: 22px; height: 22px; flex: none; }
.nav-lang .mega a .t { font-weight: 500; margin-right: auto; }
.nav-lang .mega a[aria-current="true"] { background: var(--lav); }
.nav-lang .mega a[aria-current="true"] .t { color: var(--purple-deep); font-weight: 600; }
.nav-lang .mega a[aria-current="true"]::after { content: "\2713"; color: var(--purple); font-weight: 700; }
@media (max-width: 860px) {
  .nav-lang .mega { width: auto; }
  .nav-lang .mega a { min-width: 0; justify-content: flex-start; }
}

/* ---------- Footer extras ---------- */
.footer-social { display: flex; gap: 14px; margin: 14px 0; }
.footer-social a { color: rgba(255,255,255,0.85); }
.footer-social a:hover { color: #fff; }
.footer-apps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.footer-apps img { display: block; height: 39px; width: auto; border-radius: 6px; }

/* ---------- Inquiry modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(20, 16, 36, 0.6); z-index: 90;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 36px 32px;
  max-width: 430px; width: 100%; text-align: center; position: relative;
  box-shadow: 0 30px 80px rgba(20, 16, 36, 0.4);
}
.modal-mascot { margin: 0 auto 10px; display: block; }
.modal-close {
  position: absolute; top: 10px; right: 16px; background: none; border: none;
  font-size: 1.8rem; color: var(--ink-soft); cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--ink); }

/* ---------- Media cards (blog listings) ---------- */
.card-media { padding: 0; overflow: hidden; }
.card-media .card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.card-media .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card-media:hover .card-img img { transform: scale(1.04); }
.card-media .eyebrow { margin: 18px 24px 4px; }
.card-media h3 { margin: 0 24px 8px; }
.card-media p:not(.eyebrow) { margin: 0 24px 12px; }
.card-media .card-link { margin: auto 24px 20px; }

/* ---------- Article hero image ---------- */
.article-hero { margin: 24px auto 0; }
.article-hero img { width: 100%; height: auto; display: block; }

/* ---------- Image placeholder (assets to be supplied) ---------- */
.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; background: var(--lav); border: 2px dashed var(--purple);
  border-radius: var(--radius); color: var(--purple-deep);
  font-family: var(--font-head); font-weight: 600; text-align: center; padding: 20px;
}
.img-placeholder small { font-weight: 400; color: var(--ink-soft); }

/* ---------- App screens (platform) ---------- */
.app-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: end; }
.app-shot { text-align: center; }
.app-shot .frame {
  border-radius: 34px; border: 8px solid var(--ink); overflow: hidden;
  aspect-ratio: 9 / 19; background: var(--lav); box-shadow: 0 24px 50px rgba(46, 40, 83, 0.22);
  max-width: 260px; margin: 0 auto;
}
.app-shot .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-shot .frame .img-placeholder { height: 100%; border: none; border-radius: 0; }
.app-shot h3 { margin: 18px 0 6px; }
.app-shot p { color: var(--ink-soft); font-size: 0.95rem; }
.app-shot:nth-child(2) .frame { max-width: 290px; }
@media (max-width: 860px) { .app-shots { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Platform hero mockup ---------- */
.hero-figure .mockup {
  width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 24px 60px rgba(20, 16, 36, 0.45));
  border-radius: 18px;
}

/* Honeypot field: invisible to people, filled by bots. */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Narrow screens keep the eight shots as stills: the story survives, the
   bandwidth does not get spent. */
@media (max-width: 720px) {
  .j-scene video { display: none; }
  .journey-ready { height: 820vh; }
}

/* ---------- Contact form: consent line and success overlay ---------- */
.form-consent {
  margin: 10px 0 0; font-size: 0.82rem; line-height: 1.55; color: var(--ink-soft);
}
.form-consent a { color: var(--purple-deep); }
.modal-tick {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--lav); color: var(--green);
  font-size: 1.5rem; line-height: 54px; font-weight: 700;
}
.modal .modal-dismiss { margin-top: 20px; }
