/* Kailora.ai marketing site — brand: navy #111a3c, blue #2f80ed, teal #26d9c0 */

:root {
  --navy: #111a3c;
  --ink: #1c2542;
  --blue: #2f80ed;
  --blue-deep: #1f5fe0;
  --teal: #26d9c0;
  --bg: #f7f9fc;
  --card: #ffffff;
  --muted: #5c6784;
  --line: #e6eaf2;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(17, 26, 60, .08);
  --shadow-lg: 0 24px 70px rgba(17, 26, 60, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Poppins, Inter, sans-serif; color: var(--navy); line-height: 1.18; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.muted { color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { display: block; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-burger { display: none; margin-left: auto; font-size: 1.4rem; background: none; border: 0; cursor: pointer; color: var(--navy); }

/* top-bar language picker (works without JS: a plain details/summary menu) */
.nav-lang { position: relative; }
.nav-lang summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 600; font-size: .9rem; color: var(--ink); white-space: nowrap;
}
.nav-lang summary::-webkit-details-marker { display: none; }
.nav-lang summary:hover, .nav-lang[open] summary { color: var(--blue); border-color: var(--blue); }
.nav-lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px;
  min-width: 250px; padding: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.nav-lang-menu a { padding: 8px 10px; border-radius: 8px; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.nav-lang-menu a:hover { background: #f2f6fd; color: var(--blue); }
.nav-lang-menu a[aria-current] { font-weight: 700; color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 55%, var(--teal) 130%);
  box-shadow: 0 8px 22px rgba(47, 128, 237, .35);
}
.btn-outline { color: var(--navy); border: 1.5px solid var(--navy); }
.btn-ghost { color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow); }

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 40px;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(47, 128, 237, .14), transparent 60%),
    radial-gradient(800px 420px at 90% 0%, rgba(38, 217, 192, .16), transparent 60%),
    var(--bg);
}
.hero-inner { text-align: center; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow.light { color: var(--teal); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; margin-bottom: 18px; }
.grad {
  background: linear-gradient(100deg, var(--blue-deep), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 760px; margin: 0 auto 28px; font-size: 1.13rem; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-bottom: 14px; }
.hero-note { font-size: .82rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 44px; }

/* ---------- browser frame ---------- */
.browser-frame {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 16px; background: #eef1f7; border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.url {
  margin-left: 12px; font-size: .78rem; color: var(--muted);
  background: #fff; border-radius: 999px; padding: 3px 14px; border: 1px solid var(--line);
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: #fff; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 46px; }

/* ---------- feature grid ---------- */
.grid.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: .94rem; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem;
}
.i-blue { background: rgba(47, 128, 237, .12); }
.i-teal { background: rgba(38, 217, 192, .16); }
.i-navy { background: rgba(17, 26, 60, .08); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.chips span {
  font-size: .82rem; font-weight: 500; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
}

/* ---------- split (deep dives) ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 54px; align-items: center; }
.split.flip .split-text { order: 2; }
.split.flip figure { order: 1; }
.split-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.split-text p { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; }
.ticks li {
  padding-left: 30px; position: relative; margin-bottom: 10px;
  color: var(--ink); font-size: .96rem;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(120deg, var(--blue), var(--teal));
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="black" d="M10 0a10 10 0 100 20A10 10 0 0010 0zm4.7 7.4l-5.3 5.9a1 1 0 01-1.5 0L5.3 10.5a1 1 0 111.5-1.3l1.9 2.1 4.5-5.2a1 1 0 111.5 1.3z"/></svg>') center/contain no-repeat;
}

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
}
.price-card.accent { border-top: 4px solid; border-image: linear-gradient(90deg, var(--blue), var(--teal)) 1; }
.price-label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price .amount { font-family: Poppins, sans-serif; font-size: 2rem; font-weight: 700; color: var(--navy); }
.price .paise { font-size: 1.2rem; }
.price .per { color: var(--muted); }
.price-note { font-size: .85rem; color: var(--muted); }
.price-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- CA band ---------- */
.ca-band {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background:
    radial-gradient(600px 300px at 90% -30%, rgba(38, 217, 192, .35), transparent 60%),
    linear-gradient(115deg, var(--navy), #1b2b66);
  border-radius: 24px; padding: 56px 54px; box-shadow: var(--shadow-lg);
}
.ca-band h2 { color: #fff; margin-bottom: 12px; }
.ca-band p { color: #c6cee6; max-width: 560px; }
.ca-band .btn { flex-shrink: 0; }

/* ---------- closing / footer ---------- */
.closing { padding-bottom: 110px; }
.footer { background: var(--navy); color: #c6cee6; padding: 48px 0 26px; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 30px; align-items: flex-start;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 18px;
}
/* the compact logo is navy-on-transparent; lift it onto the dark footer */
.footer img { filter: brightness(0) invert(1); opacity: .92; margin-bottom: 10px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #c6cee6; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-base p { font-size: .78rem; color: #8792b5; }

/* ---------- reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid.features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.flip .split-text { order: 1; }
  .split.flip figure { order: 2; }
  .pricing { grid-template-columns: 1fr; }
  .ca-band { flex-direction: column; align-items: flex-start; padding: 42px 32px; }
}
@media (max-width: 1000px) {
  /* localized menu and button labels run long (Tamil, Malayalam…) — tighten
     the bar before anything can protrude */
  .nav-inner { gap: 14px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: .9rem; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 14px; font-size: .9rem; white-space: nowrap; }
  .nav-cta .btn-ghost { display: none; }
  .nav-lang summary { padding: 8px 12px; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 24px; gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .nav-cta .btn-ghost { display: none; }
  /* phones: the picker collapses to the globe and the open menu pins to the
     viewport, so it can never spill past an edge; the bar tightens so the
     globe, Start free and the burger share one line */
  .nav-inner { gap: 12px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { white-space: nowrap; padding: 10px 14px; }
  .nav-lang summary { padding: 8px 11px; }
  .nav-lang summary span { display: none; }
  .nav-lang-menu { position: fixed; left: 12px; right: 12px; top: 76px; min-width: 0; }
  .grid.features { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ================= multi-page additions ================= */
.hero.sub { padding: 56px 0 32px; }
.narrow { max-width: 820px; }
.center-text { text-align: center; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.section h2 { margin-bottom: 12px; }
.section .narrow p + p { margin-top: 12px; }

/* breadcrumbs */
.crumbs { background: #fff; border-bottom: 1px solid var(--line); font-size: .85rem; }
.crumbs ol { display: flex; gap: 6px; list-style: none; padding: 10px 0; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs li[aria-current] { color: var(--muted); }

/* cards */
.cards { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.card p { font-size: .93rem; color: var(--muted); }
.card-emoji { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.card-more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 600; font-size: .9rem; }
.card.mini { padding: 18px; }

/* split + phones */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.phone-row { display: flex; gap: 18px; justify-content: center; }
.phone-frame {
  border: 6px solid var(--navy); border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000; max-width: 240px;
}
.phone-frame.solo { max-width: 300px; margin: 28px auto 0; }
.phone-frame img { width: 100%; height: auto; }
.phone-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 20px; }
.phone-gallery .phone-frame { max-width: none; }

/* FAQ */
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-top: 10px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--navy); }
.faq p { margin-top: 8px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(140deg, var(--navy), #17224e 70%); }
.cta-band .section-title, .cta-band .section-sub { color: #fff; }
.cta-band .section-sub { opacity: .8; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }

/* store badges */
.store-badges { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.store-badge {
  display: inline-block; padding: 12px 22px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem; opacity: .92;
}

/* footer */
.footer { background: var(--navy); color: #cdd6ea; padding: 56px 0 28px; margin-top: 0; }
.footer a { color: #cdd6ea; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-brand .muted { color: #8fa0c4; margin-top: 10px; font-size: .92rem; }
.footer-col { display: flex; flex-direction: column; gap: 7px; font-size: .9rem; }
.footer-col h3 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { color: #8fa0c4; }
.footer-social a:hover { color: var(--teal); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.badge-chip {
  font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); color: #dfe7f7;
}
.footer-base { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.built-by { color: #fff; font-weight: 600; }
.heart { color: #ff5d73; }
.footer-base .muted { color: #8fa0c4; }

/* legal */
.legal h2 { margin-top: 26px; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li { margin-top: 6px; }

/* responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  .phone-row { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* product screenshot galleries */
.shot-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 22px; }
.shot-gallery .shot { min-width: 0; }
.shot { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); overflow-wrap: anywhere; }

/* six-plan pricing grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-grid .price-card { display: flex; flex-direction: column; }
.pricing-grid .btn { margin-top: auto; text-align: center; }
.price-flag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; background: linear-gradient(120deg, var(--blue-deep), var(--teal));
  padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.price-alt { color: var(--teal); font-weight: 600; font-size: .9rem; margin-top: 2px; }
.price-tag { color: var(--muted); font-size: .9rem; margin: 8px 0 2px; }
.price-floor { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.pricing-grid .ticks { font-size: .88rem; margin-bottom: 16px; }
.price-meter { max-width: 820px; margin: 40px auto 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.price-meter h2 { font-size: 1.15rem; margin-bottom: 8px; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing-grid { grid-template-columns: 1fr; } }

/* answer pages */
.answer-lede { font-size: 1.08rem; }
.ticks.decide li { margin-top: 10px; }

/* ============ enterprise polish: crisp responsive imagery ============ */
.zoom { display: block; cursor: zoom-in; }
.shot img, .browser-frame img, .phone-frame img { display: block; width: 100%; height: auto; }
.browser-frame video { display: block; width: 100%; height: auto; }
.hero-note { margin: 18px 0 26px; line-height: 2; }

@media (max-width: 700px) {
  /* Desktop screenshots become swipeable, near-full-width slides instead of
     unreadable thumbnails. */
  .shot-gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 12px; margin-inline: -24px; padding-inline: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .shot-gallery .shot { flex: 0 0 86%; scroll-snap-align: center; }
  .shot-gallery::after { content: ""; flex: 0 0 10px; }

  .phone-gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; margin-inline: -24px; padding-inline: 24px; padding-bottom: 12px;
  }
  .phone-gallery .phone-frame { flex: 0 0 62%; scroll-snap-align: center; }

  /* Hero product frames go full-bleed to buy every pixel of width. */
  .hero .browser-frame { margin-inline: -16px; border-radius: 10px; }
  .phone-row .phone-frame { max-width: 46%; }

  .hero-note { font-size: .82rem; }
}

/* ============ showcase reel: Apple-style horizontal snap gallery ============ */
/* Full-bleed scroller; the padding trick aligns the first card with the page
   container at every width, so neighbours peek in from the edges like on
   apple.com. Page-level horizontal overflow never happens: only the reel
   itself scrolls sideways. */
.showcase { padding-bottom: 72px; }
.showcase .section-sub { margin-bottom: 34px; }
.reel-wrap { position: relative; }
.reel {
  display: flex; gap: 22px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px max(24px, calc((100vw - 1140px) / 2)) 20px;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 12px; }

.reel-card {
  position: relative; flex: 0 0 min(1020px, 90vw); height: 580px;
  scroll-snap-align: center; border-radius: 26px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
  color: #fff; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(120% 90% at 88% -12%, rgba(38, 217, 192, .30), transparent 55%),
    radial-gradient(90% 70% at -8% 110%, rgba(47, 128, 237, .25), transparent 60%),
    linear-gradient(150deg, #17214d, #0a102e 70%);
}
.reel-text { padding: 34px 44px 24px; max-width: 720px; }
.reel-kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px;
}
.reel-card h3 {
  color: #fff; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 700; margin-bottom: 8px;
}
.reel-tag { color: #b9c4e4; font-size: .95rem; max-width: 620px; }
.reel-more {
  display: inline-block; margin-top: 14px; padding: 8px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; font-size: .88rem;
  backdrop-filter: blur(4px); transition: background .18s ease, transform .18s ease;
}
.reel-more:hover { background: rgba(255, 255, 255, .26); transform: translateY(-1px); }

/* Media: screenshot inset from the card edges and cropped by the bottom edge —
   the "rising panel" look. object-position keeps the informative top in view. */
.reel-media { margin: 0; padding: 0 clamp(18px, 4vw, 46px); overflow: hidden; }
.reel-media img, .reel-media video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -14px 44px rgba(0, 0, 0, .45);
  background: #0a102e;
}
/* Phone slide: portrait shot framed like a handset, centred, cropped at the
   card's bottom edge. */
.reel-card--phone .reel-media { display: flex; justify-content: center; padding: 0; }
.reel-card--phone .reel-media img {
  width: min(300px, 56%); height: auto; object-fit: unset;
  border: 6px solid #263562; border-bottom: 0; border-radius: 30px 30px 0 0;
}

/* Paddles — Apple's paddlenav. JS-only (hidden without it; native swipe/scroll
   always works), hidden again on touch-first widths where fingers do the job. */
.reel-paddle {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: none; place-items: center;
  background: rgba(17, 26, 60, .55); color: #fff;
  backdrop-filter: blur(6px);
  transition: background .18s ease, opacity .18s ease;
}
html.js .reel-paddle { display: grid; }
.reel-paddle:hover { background: rgba(17, 26, 60, .8); }
.reel-paddle:disabled { opacity: .25; pointer-events: none; }
.reel-paddle.prev { left: max(14px, calc((100vw - 1140px) / 2 - 70px)); }
.reel-paddle.next { right: max(14px, calc((100vw - 1140px) / 2 - 70px)); }

.reel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; min-height: 10px; }
.reel-dots button {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: #c3cde3; transition: width .25s ease, background .25s ease;
}
.reel-dots button.on { width: 28px; background: var(--navy); }

@media (max-width: 960px) {
  .reel-card { height: 540px; }
  .reel-text { padding: 26px 30px 18px; }
}
@media (max-width: 760px) {
  .reel-paddle { display: none !important; }
}
@media (max-width: 620px) {
  .reel { gap: 14px; }
  .reel-card { flex-basis: 88vw; height: 520px; }
  .reel-text { padding: 22px 22px 14px; }
  .reel-tag { font-size: .88rem; }
  .reel-media { padding: 0 14px; }
  .reel-card--phone .reel-media img { width: min(240px, 66%); }
}

/* ---------- reel auto-play: dots + pause/play toggle (Apple paddlenav) ---------- */
.reel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; min-height: 34px; }
.reel-nav .reel-dots { margin-top: 0; }
.reel-toggle {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  display: none; place-items: center;
  background: rgba(17, 26, 60, .10); color: var(--navy);
  transition: background .18s ease;
}
html.js .reel-toggle { display: grid; }
.reel-toggle:hover { background: rgba(17, 26, 60, .2); }
.reel-toggle .ic-play { display: none; }
.reel-toggle.paused .ic-play { display: block; }
.reel-toggle.paused .ic-pause { display: none; }

/* ============ striking-homepage motion pass ============ */

/* --- rotating hero headline --- */
/* Without JS only the first phrase renders; with JS the phrases stack in one
   grid cell (the h1 is as tall as its tallest phrase, so nothing jumps) and
   fade/slide through each other. */
.rot .rot-line { display: none; }
.rot .rot-line:first-child { display: block; }
html.js .rot { display: grid; }
html.js .rot .rot-line {
  display: block; grid-area: 1 / 1;
  opacity: 0; transform: translateY(26px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
html.js .rot .rot-line.on { opacity: 1; transform: none; pointer-events: auto; }
html.js .rot .rot-line.out { opacity: 0; transform: translateY(-26px); }
@media (prefers-reduced-motion: reduce) {
  html.js .rot .rot-line { transition: opacity .55s ease; transform: none !important; }
}

/* --- aurora hero background: two blurred brand-colour blobs drifting --- */
.hero.aurora { position: relative; overflow: hidden; }
.hero.aurora::before, .hero.aurora::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(70px); opacity: .5; pointer-events: none;
}
.hero.aurora::before {
  width: 560px; height: 560px; left: -160px; top: -200px;
  background: radial-gradient(circle at 35% 35%, rgba(47, 128, 237, .55), transparent 65%);
  animation: aur-a 16s ease-in-out infinite alternate;
}
.hero.aurora::after {
  width: 640px; height: 640px; right: -200px; top: -120px;
  background: radial-gradient(circle at 60% 40%, rgba(38, 217, 192, .45), transparent 65%);
  animation: aur-b 19s ease-in-out infinite alternate;
}
.hero.aurora .hero-inner { position: relative; z-index: 1; }
@keyframes aur-a { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes aur-b { to { transform: translate(-160px, 70px) scale(.9); } }
@media (prefers-reduced-motion: reduce) {
  .hero.aurora::before, .hero.aurora::after { animation: none; }
}

/* --- compliance marquee: infinite ticker under the hero CTAs --- */
.marquee {
  overflow: hidden; max-width: 720px; margin: 18px auto 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: mq-roll 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; }
.mq-item {
  white-space: nowrap; font-size: .82rem; letter-spacing: .06em; color: var(--muted);
  padding: 0 18px; position: relative;
}
.mq-item::after {
  content: "·"; position: absolute; right: -4px; color: var(--teal); font-weight: 700;
}
@keyframes mq-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --- stats band: four big counters on navy --- */
.stats-band {
  background:
    radial-gradient(700px 320px at 85% -40%, rgba(38, 217, 192, .28), transparent 60%),
    linear-gradient(115deg, var(--navy), #1b2b66);
  padding: 46px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat-num {
  font-family: Poppins, Inter, sans-serif; font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; color: #fff;
}
.stat-num .count, .stat-num .stat-fix {
  background: linear-gradient(100deg, #7db4ff, var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: #b9c4e4; font-size: .88rem; margin-top: 6px; }
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; } }
@media (max-width: 400px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* --- word-by-word reveal on section titles --- */
html.js .tw { opacity: 0; display: inline-block; transform: translateY(16px);
  transition: opacity .5s ease var(--d, 0s), transform .5s ease var(--d, 0s); }
html.js .tw.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .tw { opacity: 1; transform: none; transition: none; }
}
