:root {
    --navy: #0F172A;
    --navy-deep: #020617;
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-light: #93C5FD;
    --blue-soft: #EFF6FF;
    --blue-mist: #F1F5F9;
    --white: #FFFFFF;
    --ink: #0F172A;
    --muted: #64748B;
    --border: #E2E8F0;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --radius: 20px;
    --radius-sm: 14px;
    --max: 1240px;
    --section-y: clamp(72px, 8vw, 96px);
    --section-y-after-hero: clamp(40px, 5vw, 56px);
    --section-y-before-footer: clamp(80px, 9vw, 104px);
    --section-stack-gap: clamp(36px, 4.5vw, 52px);
    --section-head-gap: clamp(48px, 5vw, 64px);
    --font-main: 'Bricolage Grotesque', sans-serif;
    --font-display: var(--font-main);
    --font-body: var(--font-main);
    /* Motion — near-instant UI (≈100–160ms) */
    --motion-fast: 0.08s;
    --motion-base: 0.1s;
    --motion-reveal: 0.25s;
    --motion-hero: 0.25s;
    --motion-chart: 0.22s;
    --motion-stagger: 0.008s;
  }
  * { box-sizing: border-box; }
  html {
    scroll-behavior: auto;
    font-family: var(--font-main);
  }
  body {
    margin: 0;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; }
  ::selection { background: var(--blue); color: #fff; }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

  .container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--blue); margin: 0 0 14px;
  }
  .eyebrow::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--blue); box-shadow: 0 0 0 4px rgba(69,137,208,0.18);
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.75vw, 2.5rem);
    font-weight: 700; line-height: 1.12; letter-spacing: -0.025em;
    margin: 0 0 16px; color: var(--navy);
  }
  .section-lead {
    font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
    color: var(--muted); margin: 0; max-width: 58ch; line-height: 1.65;
  }
  .section-head { text-align: center; max-width: 42rem; margin: 0 auto var(--section-head-gap); }
  .section-head .section-lead { margin-inline: auto; }
  .section { padding: var(--section-y) 0; }
  .section--soft { background: var(--blue-mist); }
  .section--navy {
    background: linear-gradient(165deg, #0F172A 0%, #1E293B 52%, #334155 100%);
    color: #fff;
  }
  .section--navy .section-title { color: #fff; }
  .section--navy .section-lead { color: #C9D8EC; }
  .section--navy .eyebrow { color: var(--blue-light); }
  .section--navy .eyebrow::before { background: var(--blue-light); box-shadow: 0 0 0 4px rgba(157,192,230,0.2); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px; border-radius: 12px;
    font-size: 1rem; font-weight: 700; border: none; cursor: pointer;
    transition: transform .12s ease, background .12s ease, box-shadow .12s ease, color .12s ease, border-color .12s ease;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn--primary {
    background: var(--blue); color: #fff;
    box-shadow: 0 10px 28px rgba(69,137,208,0.32);
  }
  .btn--primary:hover { background: var(--blue-dark); color: #fff; }
  .btn--secondary {
    background: transparent; color: var(--navy);
    border: 1.5px solid var(--border);
  }
  .btn--secondary:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
  .btn--ghost {
    background: rgba(255,255,255,0.08); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.28);
  }
  .btn--ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
  .btn--light {
    background: #fff; color: var(--navy);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  }
  .btn--light:hover { background: var(--blue-soft); color: var(--navy); }
  .btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(215,228,242,0.9);
  }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 14px 0; min-height: 72px;
  }
  .logo img { height: 36px; width: auto; }
  .nav-links {
    display: flex; align-items: center; gap: 28px; list-style: none;
    margin: 0; padding: 0;
  }
  .nav-links a {
    font-size: 0.95rem; font-weight: 600; color: var(--muted);
    transition: color .12s ease;
  }
  .nav-links a:hover { color: var(--navy); }
  .nav-cta { display: flex; align-items: center; gap: 12px; }
  .nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--border); background: #fff; cursor: pointer;
    align-items: center; justify-content: center;
  }
  .nav-toggle span {
    display: block; width: 18px; height: 2px; background: var(--navy);
    position: relative;
  }
  .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
  }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }

  /* Hero — cinematic full-bleed */
  .hero {
    position: relative;
    overflow: hidden;
    min-height: min(92dvh, 860px);
    display: flex;
    align-items: flex-end;
    padding: clamp(72px, 12vw, 120px) 0 clamp(56px, 8vw, 88px);
    color: #fff;
    background: var(--navy-deep);
  }
  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero-media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    transform: scale(1.06);
    animation: heroKen 10s ease-in-out infinite alternate;
    will-change: transform;
  }
  @keyframes heroKen {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
  }
  .hero-media__veil {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(105deg, rgba(8, 31, 63, 0.92) 0%, rgba(8, 31, 63, 0.72) 38%, rgba(8, 31, 63, 0.28) 62%, rgba(8, 31, 63, 0.45) 100%),
      linear-gradient(180deg, rgba(8, 31, 63, 0.35) 0%, transparent 28%, rgba(8, 31, 63, 0.55) 100%);
    pointer-events: none;
  }
  .hero-media__grain {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #E8F2FC;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
  }
  .hero-badge i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-light);
    box-shadow: 0 0 0 4px rgba(157, 192, 230, 0.25);
    display: inline-block;
    animation: pulseDot 0.85s ease-out infinite;
  }
  .hero-copy .reveal:nth-child(1) { transition-delay: 0s; }
  .hero-copy .reveal:nth-child(2) { transition-delay: 0.02s; }
  .hero-copy .reveal:nth-child(3) { transition-delay: 0.04s; }
  .hero-copy .reveal:nth-child(4) { transition-delay: 0.06s; }
  .hero-copy .reveal:nth-child(5) { transition-delay: 0.08s; }
  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.4vw, 3.55rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
    color: #fff;
    max-width: 16ch;
    text-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
  }
  .hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: rgba(232, 242, 252, 0.88);
    margin: 0 0 28px;
    max-width: 42ch;
    line-height: 1.6;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
  .hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(232, 242, 252, 0.78);
    font-size: 0.9rem;
    font-weight: 600;
  }
  .hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-trust svg { width: 16px; height: 16px; color: var(--blue-light); flex-shrink: 0; }
  .hero--cinematic .btn--ghost {
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
  }
  .hero--cinematic .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
  }
  .hero-scroll {
    position: absolute;
    right: clamp(20px, 4vw, 40px);
    bottom: 28px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(232, 242, 252, 0.65);
  }
  .hero-scroll i {
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, rgba(157, 192, 230, 0.9), transparent);
    animation: scrollPulse 0.85s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  }

  /* Problem */
  .problem-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch;
  }
  .problem-list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .problem-item {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 14px 16px; font-size: 0.95rem; font-weight: 600; color: var(--navy);
    box-shadow: var(--shadow-sm);
  }
  .problem-item svg { width: 18px; height: 18px; color: #C45C5C; flex-shrink: 0; }
  .solution-card {
    background: linear-gradient(160deg, var(--navy) 0%, #163E6F 100%);
    color: #fff; border-radius: 24px; padding: 36px 32px;
    display: flex; flex-direction: column; justify-content: center;
    box-shadow: var(--shadow); position: relative; overflow: hidden;
  }
  .solution-card::after {
    content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(69,137,208,0.45), transparent 70%);
    top: -60px; right: -40px;
  }
  .solution-card h3 {
    font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 0 0 12px; position: relative; z-index: 1; line-height: 1.2;
  }
  .solution-card p {
    margin: 0; color: #C9D8EC; font-size: 1.05rem; line-height: 1.55; position: relative; z-index: 1;
  }

  /* Cards grids */
  .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 24px; box-shadow: var(--shadow-sm);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow); border-color: #B9D3EE;
  }
  .icon-wrap {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--blue-soft); color: var(--blue);
    display: grid; place-items: center; margin-bottom: 16px;
  }
  .icon-wrap svg { width: 24px; height: 24px; }
  .card h3 {
    margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; color: var(--navy);
  }
  .card p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }

  /* —— Module Catalog (asymmetric bento) —— */
  .section--modules-catalog {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 70% 55% at 12% 0%, rgba(157,192,230,0.32), transparent 58%),
      radial-gradient(ellipse 55% 45% at 92% 18%, rgba(69,137,208,0.12), transparent 55%),
      linear-gradient(180deg, #F4F8FC 0%, #EAF3FB 42%, #F7FBFF 100%);
  }
  .modules-orbs {
    position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
  }
  .modules-orb {
    position: absolute; border-radius: 50%;
    filter: blur(2px);
    opacity: 0.5;
  }
  .modules-orb--1 {
    width: 320px; height: 320px; top: -80px; right: -60px;
    background: radial-gradient(circle, rgba(157,192,230,0.55), transparent 70%);
  }
  .modules-orb--2 {
    width: 260px; height: 260px; bottom: 8%; left: -80px;
    background: radial-gradient(circle, rgba(69,137,208,0.22), transparent 70%);
  }
  .modules-orb--3 {
    width: 180px; height: 180px; top: 42%; right: 12%;
    background: radial-gradient(circle, rgba(12,45,88,0.08), transparent 70%);
  }
  @media (prefers-reduced-motion: no-preference) {
    .modules-orb--1 { animation: modules-orb-drift 8s ease-in-out infinite alternate; }
    .modules-orb--2 { animation: modules-orb-drift 10s ease-in-out infinite alternate-reverse; }
  }
  @keyframes modules-orb-drift {
    from { transform: translate(0, 0); }
    to { transform: translate(-18px, 14px); }
  }
  .section--modules-catalog > .container { position: relative; z-index: 1; }
  .section--modules-catalog .section-head--catalog {
    max-width: 40rem;
    margin-bottom: clamp(28px, 4vw, 40px);
  }
  .section--modules-catalog .eyebrow {
    background: rgba(157,192,230,0.28);
    color: var(--navy);
    padding: 8px 14px;
    border-radius: 10px;
    letter-spacing: 0.14em;
  }
  .section--modules-catalog .eyebrow::before {
    background: var(--navy);
    box-shadow: 0 0 0 4px rgba(12,45,88,0.12);
  }

  .modules-stage {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
  }
  .modules-stage img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.38;
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 72%, transparent 100%);
  }

  .modules-grid,
  .modules-bento {
    display: grid;
    gap: 16px;
  }
  .modules-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  /* Balanced 4-col bento:
     [ops 2×2] [lms] [people]
               [finance] [comms]
     [time] [hr] [class] [reports]
     [ai — full width] */
  .modules-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(162px, auto);
  }
  .modules-bento > .tile-ops {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }
  .modules-bento > .tile-lms { grid-column: 3; grid-row: 1; }
  .modules-bento > .tile-people { grid-column: 4; grid-row: 1; }
  .modules-bento > .tile-finance { grid-column: 3; grid-row: 2; }
  .modules-bento > .tile-comms { grid-column: 4; grid-row: 2; }
  .modules-bento > .tile-time { grid-column: 1; grid-row: 3; }
  .modules-bento > .tile-hr { grid-column: 2; grid-row: 3; }
  .modules-bento > .tile-class { grid-column: 3; grid-row: 3; }
  .modules-bento > .tile-reports { grid-column: 4; grid-row: 3; }
  .modules-bento > .tile-ai {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .module-card,
  .module-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 22px;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--shadow-sm);
    transition:
      transform .12s cubic-bezier(.22,1,.36,1),
      box-shadow .12s ease,
      border-color var(--motion-fast) ease,
      background var(--motion-fast) ease;
  }
  .module-card::before,
  .module-tile::before {
    content: "";
    position: absolute; inset: 0 auto auto 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--tile-accent, var(--blue)), transparent 78%);
    opacity: 0.95;
  }
  .module-tile::after {
    content: "";
    position: absolute; left: 0; top: 18%; bottom: 18%;
    width: 3px; border-radius: 0 4px 4px 0;
    background: var(--tile-accent, var(--blue));
    opacity: 0.35;
    transition: opacity .1s ease, height .1s ease;
  }
  .module-tile:hover::after { opacity: 0.85; }
  .module-card:hover,
  .module-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(12,45,88,0.1), 0 0 0 1px rgba(69,137,208,0.16);
    border-color: rgba(69,137,208,0.4);
    background: #fff;
  }
  .module-tile:focus-within {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
  }
  .module-tile__index {
    position: absolute; top: 14px; right: 16px;
    font-family: var(--font-display);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
    color: rgba(12,45,88,0.22);
  }
  .module-tile__tag {
    display: inline-flex; align-items: center; align-self: flex-start;
    margin: 0 0 12px; padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
    background: rgba(69,137,208,0.12); color: var(--blue-dark);
  }
  .module-tile__chips {
    list-style: none; margin: 16px 0 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .module-tile__chips li {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.75rem; font-weight: 600;
    color: var(--navy);
    background: rgba(69,137,208,0.1);
    border: 1px solid rgba(69,137,208,0.14);
  }
  .module-tile__chips--on-dark li {
    color: #E8F1FB;
    background: rgba(255,255,255,0.1);
    border-color: rgba(157,192,230,0.28);
  }
  .module-tile__owner {
    margin-top: auto !important;
    padding-top: 18px;
    font-size: 0.78rem !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--blue-dark) !important;
  }
  .module-card .icon-wrap,
  .module-tile .icon-wrap {
    width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px;
    background: linear-gradient(145deg, var(--tile-glow, #E8F2FC), #fff);
    color: var(--tile-accent, var(--blue));
    box-shadow: inset 0 0 0 1px rgba(69,137,208,0.12);
    transition: transform .1s ease;
  }
  .module-tile:hover .icon-wrap { transform: scale(1.06); }
  .module-card .icon-wrap svg,
  .module-tile .icon-wrap svg { width: 22px; height: 22px; }
  .module-card h3,
  .module-tile h3 {
    font-family: var(--font-display);
    font-size: 1.06rem; font-weight: 700; margin: 0 0 8px; color: var(--navy);
    letter-spacing: -0.02em;
  }
  .module-card p,
  .module-tile p {
    margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55;
  }

  /* Hero + ribbon sizing (placement via grid-area) */
  .module-tile--hero {
    padding: 28px 26px 24px;
    background:
      linear-gradient(155deg, rgba(232,242,252,0.95) 0%, rgba(255,255,255,0.92) 55%, rgba(244,249,255,0.95) 100%);
    border-color: rgba(69,137,208,0.28);
  }
  .module-tile__watermark {
    position: absolute;
    right: -4px; bottom: -22px;
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 9vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(12,45,88,0.055);
    pointer-events: none;
    z-index: 0;
    user-select: none;
  }
  .module-tile--hero > *:not(.module-tile__watermark) { position: relative; z-index: 1; }
  .module-tile--hero h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
  .module-tile--hero p { font-size: 0.98rem; max-width: 38ch; }
  .module-tile--hero .icon-wrap { width: 56px; height: 56px; border-radius: 16px; }
  .module-tile--hero .icon-wrap svg { width: 26px; height: 26px; }

  .module-tile--ribbon {
    padding: 26px 28px;
    justify-content: center;
    min-height: 148px;
  }
  .module-tile--ribbon::after { display: none; }
  .module-tile__ribbon {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px 32px;
    align-items: center;
    width: 100%;
  }
  .module-tile__ribbon .icon-wrap {
    margin-bottom: 0;
    width: 58px; height: 58px;
    border-radius: 16px;
  }
  .module-tile__ribbon-copy h3 { margin-bottom: 6px; font-size: 1.28rem; }
  .module-tile__ribbon-copy p { max-width: 52ch; }
  .module-tile__ribbon .module-tile__chips { margin-top: 0; justify-content: flex-end; }

  .module-tile--dark {
    background:
      radial-gradient(ellipse 60% 120% at 92% 50%, rgba(69,137,208,0.35), transparent 55%),
      linear-gradient(115deg, #0A274C 0%, #13406F 48%, #1A5A96 100%);
    border-color: rgba(157,192,230,0.38);
    color: #fff;
    box-shadow: 0 18px 44px rgba(8,31,63,0.26);
  }
  .module-tile--dark::before {
    background: linear-gradient(90deg, var(--blue-light), transparent 75%);
  }
  .module-tile--dark::after { display: none; }
  .module-tile--dark h3 { color: #fff; }
  .module-tile--dark p { color: #C5D6EC; }
  .module-tile--dark .module-tile__index { color: rgba(255,255,255,0.35); }
  .module-tile--dark .module-tile__tag {
    background: rgba(157,192,230,0.18); color: var(--blue-light);
  }
  .module-tile--dark .icon-wrap {
    background: rgba(255,255,255,0.1);
    color: var(--blue-light);
    box-shadow: inset 0 0 0 1px rgba(157,192,230,0.28);
  }
  .module-tile--dark:hover {
    background: linear-gradient(115deg, #0C3060 0%, #184A7E 50%, #2268AA 100%);
    box-shadow: 0 22px 48px rgba(8,31,63,0.32), 0 0 0 1px rgba(157,192,230,0.28);
    transform: translateY(-3px);
  }

  /* Soft tinted surfaces — break white-card sameness */
  .tile-lms {
    background:
      radial-gradient(circle at 100% 100%, var(--tile-glow), transparent 46%),
      linear-gradient(165deg, rgba(220,234,248,0.88), rgba(255,255,255,0.94));
  }
  .tile-people {
    background:
      radial-gradient(circle at 0% 100%, var(--tile-glow), transparent 48%),
      linear-gradient(165deg, rgba(227,239,250,0.92), rgba(255,255,255,0.96));
  }
  .tile-finance {
    background:
      radial-gradient(circle at 100% 0%, var(--tile-glow), transparent 42%),
      rgba(255,255,255,0.88);
  }
  .tile-comms {
    background:
      radial-gradient(circle at 0% 0%, var(--tile-glow), transparent 44%),
      rgba(255,255,255,0.9);
  }
  .tile-time {
    background:
      radial-gradient(circle at 80% 120%, var(--tile-glow), transparent 50%),
      rgba(255,255,255,0.86);
  }
  .tile-hr {
    background:
      radial-gradient(circle at 100% 50%, var(--tile-glow), transparent 45%),
      linear-gradient(180deg, rgba(232,240,250,0.96), rgba(255,255,255,0.92));
  }
  .tile-class {
    background:
      radial-gradient(circle at 0% 80%, var(--tile-glow), transparent 48%),
      linear-gradient(150deg, rgba(223,237,249,0.9), rgba(255,255,255,0.95));
  }
  .tile-reports {
    background:
      radial-gradient(circle at 100% 100%, var(--tile-glow), transparent 46%),
      linear-gradient(160deg, rgba(230,241,251,0.96), rgba(255,255,255,0.94));
  }

  /* Accent tokens per module family */
  .tile-ops { --tile-accent: #2563EB; --tile-glow: #DBEAFE; }
  .tile-lms { --tile-accent: #2F6FB8; --tile-glow: #DCEAF8; }
  .tile-people { --tile-accent: #3B82B8; --tile-glow: #E3EFFA; }
  .tile-finance { --tile-accent: #1D6FA5; --tile-glow: #D9ECF7; }
  .tile-comms { --tile-accent: #4A90C8; --tile-glow: #E0EFFA; }
  .tile-time { --tile-accent: #3678B8; --tile-glow: #DCE9F7; }
  .tile-hr { --tile-accent: #2B6BA8; --tile-glow: #D8E8F6; }
  .tile-class { --tile-accent: #3D7DB8; --tile-glow: #DFEDF9; }
  .tile-ai { --tile-accent: #9DC0E6; --tile-glow: rgba(157,192,230,0.35); }
  .tile-reports { --tile-accent: #2563EB; --tile-glow: #EFF6FF; }

  /* AI */
  .ai-layout {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center;
  }
  .ai-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  }
  .ai-feature {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px; padding: 18px 16px;
    transition: background .12s ease, border-color .12s ease, transform .12s ease;
  }
  .ai-feature:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(157,192,230,0.45);
    transform: translateY(-3px);
  }
  .ai-feature .icon-wrap {
    background: rgba(69,137,208,0.25); color: var(--blue-light); margin-bottom: 12px;
  }
  .ai-feature h3 { color: #fff; font-size: 1rem; margin: 0 0 6px; }
  .ai-feature p { color: #B7CBE4; font-size: 0.88rem; margin: 0; }

  /* —— AI Capabilities (bento showcase) —— */
  .section--ai-capabilities {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
      radial-gradient(ellipse 70% 55% at 12% 8%, rgba(69,137,208,0.28), transparent 58%),
      radial-gradient(ellipse 55% 45% at 88% 92%, rgba(29,111,165,0.22), transparent 60%),
      linear-gradient(165deg, #081F3F 0%, #0C2D58 42%, #123A6B 100%);
  }
  .section--ai-capabilities .section-title { color: #fff; }
  .section--ai-capabilities .section-lead { color: #C9D8EC; }
  .section--ai-capabilities .eyebrow { color: var(--blue-light); }
  .section--ai-capabilities .eyebrow::before {
    background: var(--blue-light);
    box-shadow: 0 0 0 4px rgba(157,192,230,0.22);
  }
  .ai-cap-stage {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
  }
  .ai-cap-stage img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.34;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
  }
  .ai-cap-orbs {
    position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
  }
  .ai-cap-orb {
    position: absolute; border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    animation: aiOrbFloat 6s ease-in-out infinite;
  }
  .ai-cap-orb--1 {
    width: 280px; height: 280px; top: -60px; left: -40px;
    background: rgba(69,137,208,0.45);
  }
  .ai-cap-orb--2 {
    width: 220px; height: 220px; right: 8%; top: 38%;
    background: rgba(157,192,230,0.28);
    animation-delay: -4s;
  }
  .ai-cap-orb--3 {
    width: 260px; height: 260px; bottom: -80px; left: 42%;
    background: rgba(47,111,184,0.35);
    animation-delay: -7s;
  }
  @keyframes aiOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -14px, 0) scale(1.06); }
  }
  .section--ai-capabilities > .container { position: relative; z-index: 1; }

  .ai-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(168px, auto);
    gap: 16px;
  }
  .ai-tile {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    padding: 24px 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    transition:
      transform .12s cubic-bezier(.22,1,.36,1),
      background .12s ease,
      border-color .12s ease,
      box-shadow .12s ease;
  }
  .ai-tile::before {
    content: "";
    position: absolute; inset: 0 auto auto 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--tile-accent, var(--blue-light)), transparent 72%);
    opacity: 0.9;
  }
  .ai-tile:hover {
    transform: translateY(-6px) scale(1.012);
    background: rgba(255,255,255,0.11);
    border-color: rgba(157,192,230,0.42);
    box-shadow:
      0 28px 56px rgba(4,18,40,0.42),
      inset 0 1px 0 rgba(255,255,255,0.12);
  }
  .ai-tile__index {
    position: absolute; top: 16px; right: 18px;
    font-family: var(--font-display);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.28);
  }
  .ai-tile__tag {
    display: inline-flex; align-items: center;
    margin: 0 0 12px; padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
    background: rgba(157,192,230,0.16); color: var(--blue-light);
  }
  .ai-tile .icon-wrap {
    width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px;
    background: linear-gradient(145deg, rgba(69,137,208,0.35), rgba(255,255,255,0.08));
    color: var(--blue-light);
    box-shadow: inset 0 0 0 1px rgba(157,192,230,0.28);
  }
  .ai-tile .icon-wrap svg { width: 22px; height: 22px; }
  .ai-tile h3 {
    font-family: var(--font-display);
    font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em;
    margin: 0 0 8px; color: #fff;
  }
  .ai-tile p {
    margin: 0; color: #B7CBE4; font-size: 0.92rem; line-height: 1.55;
  }
  .ai-tile--hero { grid-column: span 5; grid-row: span 2; padding: 28px 26px; }
  .ai-tile--lg { grid-column: span 4; }
  .ai-tile--md { grid-column: span 3.5; grid-column: span 3; min-height: 210px; }
  .ai-tile--wide { grid-column: span 6; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: center; }
  .ai-tile--hero h3 { font-size: 1.45rem; }
  .ai-tile--hero p { font-size: 1rem; max-width: 38ch; }
  .ai-tile--hero .icon-wrap { width: 56px; height: 56px; border-radius: 16px; }
  .ai-tile--hero .icon-wrap svg { width: 26px; height: 26px; }
  .ai-tile--accent {
    background:
      linear-gradient(155deg, rgba(29,111,165,0.45) 0%, rgba(12,45,88,0.55) 55%, rgba(255,255,255,0.06) 100%);
    border-color: rgba(157,192,230,0.32);
  }
  .ai-tile--glow::after {
    content: "";
    position: absolute; right: -48px; bottom: -56px;
    width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, var(--tile-glow, rgba(69,137,208,0.28)), transparent 68%);
    z-index: -1; pointer-events: none;
  }
  .tile-lesson { --tile-accent: #9DC0E6; --tile-glow: rgba(157,192,230,0.32); }
  .tile-quiz { --tile-accent: #6BA8DE; --tile-glow: rgba(69,137,208,0.3); }
  .tile-risk { --tile-accent: #E8B86D; --tile-glow: rgba(232,184,109,0.22); }
  .tile-parent { --tile-accent: #7EB8E4; --tile-glow: rgba(126,184,228,0.28); }
  .tile-assist { --tile-accent: #5B9BD4; --tile-glow: rgba(91,155,212,0.28); }
  .tile-reports { --tile-accent: #9DC0E6; --tile-glow: rgba(157,192,230,0.34); }

  .ai-tile__preview { margin-top: 22px; }
  .ai-preview-card {
    border-radius: 16px;
    padding: 16px 16px 14px;
    background: rgba(8,31,63,0.55);
    border: 1px solid rgba(157,192,230,0.22);
    box-shadow: 0 16px 36px rgba(4,18,40,0.28);
  }
  .ai-preview-card__label {
    display: block; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--blue-light); margin-bottom: 6px;
  }
  .ai-preview-card strong {
    display: block; font-family: var(--font-display);
    font-size: 0.98rem; color: #fff; margin-bottom: 10px;
  }
  .ai-preview-card ul {
    list-style: none; margin: 0 0 14px; padding: 0;
    display: grid; gap: 6px;
  }
  .ai-preview-card li {
    font-size: 0.82rem; color: #C5D6EC;
    padding-left: 14px; position: relative;
  }
  .ai-preview-card li::before {
    content: ""; position: absolute; left: 0; top: 0.55em;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue);
  }
  .ai-preview-card__bars { display: grid; gap: 6px; }
  .ai-preview-card__bars i {
    display: block; height: 5px; border-radius: 999px;
    width: var(--w, 70%);
    background: linear-gradient(90deg, var(--blue), rgba(157,192,230,0.55));
    opacity: 0.85;
  }
  .ai-tile__chips {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
  }
  .ai-tile__chips span,
  .ai-tile__actions span {
    display: inline-flex; align-items: center;
    min-height: 28px; padding: 4px 10px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
    color: #E8F2FC;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
  }
  .ai-tile__actions {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px;
  }
  .ai-tile__signal { margin-top: 18px; }
  .ai-signal {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700; color: #F3D9A4; margin-bottom: 10px;
  }
  .ai-signal i {
    width: 8px; height: 8px; border-radius: 50%; background: #E8B86D;
    box-shadow: 0 0 0 4px rgba(232,184,109,0.18);
    animation: pulseDot 0.85s ease-out infinite;
  }
  .ai-signal-meter {
    display: block; height: 6px; border-radius: 999px;
    background: rgba(255,255,255,0.1); overflow: hidden;
  }
  .ai-signal-meter b {
    display: block; height: 100%; width: var(--m, 60%); border-radius: inherit;
    background: linear-gradient(90deg, #C98A3A, #E8B86D);
  }
  .ai-tile__mini { min-width: 0; }
  .ai-mini-note {
    border-radius: 16px; padding: 14px 14px 12px;
    background: rgba(8,31,63,0.5);
    border: 1px solid rgba(157,192,230,0.2);
  }
  .ai-mini-note span {
    display: block; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--blue-light); margin-bottom: 8px;
  }
  .ai-mini-note p {
    margin: 0; font-size: 0.84rem; line-height: 1.5; color: #D5E4F5;
    font-style: italic;
  }
  .ai-tile__chart {
    margin-top: 18px; height: 48px;
    border-radius: 12px; overflow: hidden;
    background: rgba(8,31,63,0.35);
    border: 1px solid rgba(157,192,230,0.16);
  }
  .ai-tile__chart svg { width: 100%; height: 100%; display: block; }
  .ai-chart-line {
    fill: none; stroke: var(--blue-light); stroke-width: 2.4;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .ai-chart-area {
    fill: rgba(69,137,208,0.22);
  }
  .ai-tile:hover .ai-preview-card,
  .ai-tile:hover .ai-mini-note {
    border-color: rgba(157,192,230,0.4);
    transform: translateY(-2px);
  }
  .ai-preview-card,
  .ai-mini-note {
    transition: transform .1s ease, border-color .1s ease;
  }

  /* Roles */
  .roles-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px;
  }
  .role-card {
    text-align: center; background: #fff; border: 1px solid var(--border);
    border-radius: 18px; padding: 24px 16px; transition: transform .12s ease, box-shadow .12s ease;
  }
  .role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
  .role-card .icon-wrap { margin: 0 auto 12px; }
  .role-card h3 { font-size: 0.98rem; margin: 0; }
  .roles-note {
    margin-top: 28px; text-align: center; max-width: 680px; margin-inline: auto;
    color: var(--muted); font-size: 1.05rem; line-height: 1.6;
  }

  /* Security */
  .sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .sec-list { display: grid; gap: 10px; }
  .sec-item {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 14px 16px; font-weight: 600; color: var(--navy);
  }
  .sec-item svg { width: 18px; height: 18px; color: #2F9E7A; flex-shrink: 0; }
  .integrations {
    display: flex; flex-wrap: wrap; gap: 10px;
  }
  .chip {
    background: var(--blue-soft); color: var(--navy); border: 1px solid var(--border);
    border-radius: 999px; padding: 10px 16px; font-size: 0.9rem; font-weight: 600;
  }

  /* Pricing */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
  }
  .price-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 26px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  }
  .price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  .price-card__head { margin-bottom: 4px; }
  .price-card--popular {
    border: 2px solid var(--blue);
    box-shadow: 0 18px 44px rgba(69,137,208,0.16);
    background:
      linear-gradient(180deg, #F7FBFF 0%, #FFFFFF 42%);
    padding-top: 40px;
  }
  .price-card--popular:hover { transform: translateY(-4px); }
  .price-card--enterprise {
    background: linear-gradient(165deg, #0C2D58 0%, #143A6B 55%, #1A4A82 100%);
    border-color: transparent;
    color: #fff;
  }
  .price-card--enterprise:hover {
    box-shadow: 0 20px 48px rgba(12, 45, 88, 0.28);
  }
  .price-card--enterprise h3,
  .price-card--enterprise .price-amount { color: #fff; }
  .price-card--enterprise .price-sub { color: var(--blue-light); }
  .price-card--enterprise .price-desc { color: rgba(232, 242, 252, 0.78); }
  .price-card--enterprise .price-features li { color: #E8F2FC; }
  .price-card--enterprise .price-features svg { color: var(--blue-light); }
  .price-card--enterprise .btn--secondary {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
  }
  .price-card--enterprise .btn--secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.55);
    color: #fff;
  }
  .price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .price-card h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    margin: 4px 0 6px;
    color: var(--navy);
  }
  .price-sub {
    color: var(--blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 0 12px;
  }
  .price-amount {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.1;
  }
  .price-desc {
    color: var(--muted);
    margin: 0 0 22px;
    font-size: 0.95rem;
    line-height: 1.55;
    min-height: 4.6em;
  }
  .price-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 18px 0 0;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 11px;
    flex: 1;
  }
  .price-card--enterprise .price-features {
    border-top-color: rgba(255,255,255,0.14);
  }
  .price-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
  }
  .price-features svg {
    width: 18px;
    height: 18px;
    color: #2F9E7A;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .price-card > .btn {
    width: 100%;
    margin-top: auto;
  }

  /* Comparison table */
  .compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
  }
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
  }
  .compare-table th,
  .compare-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }
  .compare-table thead th {
    background: var(--blue-mist);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .compare-table thead th:first-child { border-radius: 20px 0 0 0; }
  .compare-table thead th:last-child { border-radius: 0 20px 0 0; }
  .compare-table tbody th {
    font-weight: 600;
    color: var(--navy);
    width: 36%;
  }
  .compare-table tbody td {
    text-align: center;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .compare-table tbody tr:last-child th,
  .compare-table tbody tr:last-child td { border-bottom: none; }
  .compare-table tbody tr:hover { background: rgba(243, 248, 253, 0.7); }
  .compare-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 28px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(47, 158, 122, 0.12);
    color: #1F7A5C;
    font-size: 0.82rem;
    font-weight: 700;
  }
  .compare-no {
    color: #9AA8BC;
    font-weight: 600;
  }

  /* Pricing fit steps */
  .pricing-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .pricing-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
  }
  .pricing-step__num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 14px;
  }
  .pricing-step h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--navy);
  }
  .pricing-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.98rem;
  }

  /* Final CTA */
  .final-cta {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(48px, 7vw, 72px) 32px;
    background: linear-gradient(145deg, #0F172A 0%, #1E3A8A 52%, #2563EB 100%);
    color: #fff;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
  }
  .final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin: 0 0 12px;
    letter-spacing: -0.03em;
    color: #fff;
  }
  .final-cta p {
    margin: 0 auto 28px;
    max-width: 48ch;
    color: #e2e8f0;
    font-size: 1.1rem;
  }

  /* Footer */
  .site-footer {
    background: var(--navy-deep); color: #9BB4D0; padding: 56px 0 28px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
    gap: 36px;
    align-items: start;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-brand p { margin: 12px 0 0; max-width: 34ch; line-height: 1.55; font-size: 0.95rem; }
  .footer-brand img { height: 32px; width: auto; }
  .footer-col h4 {
    color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
    margin: 0 0 14px;
  }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .footer-col a { color: #9BB4D0; font-size: 0.95rem; transition: color .2s; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom {
    padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: 12px; font-size: 0.85rem;
  }

  /* ===== ANIMATION SYSTEM ===== */
  /* Visible by default when JS is off or has not booted yet */
  .no-js .reveal,
  .no-js .reveal-left,
  .no-js .reveal-right,
  .no-js .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Only hide for animation after JS successfully booted */
  html.js .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(10px);
  }
  html.js .reveal {
    transition: opacity var(--motion-reveal) ease-out, transform var(--motion-reveal) ease-out;
    will-change: opacity, transform;
  }
  html.js .page-hero .reveal,
  html.js .page-hero--showcase .reveal {
    transition: opacity var(--motion-hero) ease-out, transform var(--motion-hero) ease-out;
  }
  .page-hero .reveal,
  .page-hero--showcase .reveal,
  .page-hero--showcase .hero-saas__copy > .reveal,
  .page-hero--showcase .page-hero__visual.reveal,
  .page-hero__crumb-wrap .reveal {
    transition-delay: 0s !important;
  }
  .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
  }
  html.js .reveal-left:not(.is-in) { transform: translateX(-10px); }
  html.js .reveal-right:not(.is-in) { transform: translateX(10px); }
  html.js .reveal-scale:not(.is-in) { transform: scale(0.94); }
  .reveal-left.is-in { transform: translateX(0); }
  .reveal-right.is-in { transform: translateX(0); }
  .reveal-scale.is-in { transform: scale(1); }
  .stagger > .reveal:nth-child(1) { transition-delay: calc(var(--motion-stagger) * 1); }
  .stagger > .reveal:nth-child(2) { transition-delay: calc(var(--motion-stagger) * 2); }
  .stagger > .reveal:nth-child(3) { transition-delay: calc(var(--motion-stagger) * 3); }
  .stagger > .reveal:nth-child(4) { transition-delay: calc(var(--motion-stagger) * 4); }
  .stagger > .reveal:nth-child(5) { transition-delay: calc(var(--motion-stagger) * 5); }
  .stagger > .reveal:nth-child(6) { transition-delay: calc(var(--motion-stagger) * 6); }
  .stagger > .reveal:nth-child(7) { transition-delay: calc(var(--motion-stagger) * 7); }
  .stagger > .reveal:nth-child(8) { transition-delay: calc(var(--motion-stagger) * 8); }
  .stagger > .reveal:nth-child(9) { transition-delay: calc(var(--motion-stagger) * 9); }
  .stagger > .reveal:nth-child(10) { transition-delay: calc(var(--motion-stagger) * 10); }

  @keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(69,137,208,0.45); }
    70% { box-shadow: 0 0 0 10px rgba(69,137,208,0); }
    100% { box-shadow: 0 0 0 0 rgba(69,137,208,0); }
  }

  /* Live metrics strip */
  .metrics {
    background: var(--navy);
    color: #fff;
    padding: 36px 0;
    position: relative;
    overflow: hidden;
  }
  .metrics::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(69,137,208,0.15), transparent);
    animation: metricsShimmer 2s ease-in-out infinite;
  }
  @keyframes metricsShimmer {
    0% { transform: translateX(-40%); }
    100% { transform: translateX(40%); }
  }
  .metrics-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
  }
  .metric-card .metric-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1;
    color: #fff; margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
  }
  .metric-card .metric-label {
    font-size: 0.9rem; color: #9DC0E6; font-weight: 600;
  }
  .metric-ring-wrap {
    width: 72px; height: 72px; margin: 0 auto 10px; position: relative;
  }
  .metric-ring-wrap svg { width: 72px; height: 72px; transform: rotate(-90deg); }
  .metric-ring-wrap .ring-bg { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 6; }
  .metric-ring-wrap .ring-fg {
    fill: none; stroke: var(--blue-light); stroke-width: 6; stroke-linecap: round;
    stroke-dasharray: 188.4; stroke-dashoffset: 188.4;
    transition: stroke-dashoffset var(--motion-chart) cubic-bezier(0.22, 1, 0.36, 1);
  }
  .metric-ring-wrap.is-animated .ring-fg { stroke-dashoffset: var(--ring-offset, 40); }
  .metric-ring-wrap .ring-center {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
    transform: rotate(0); color: #fff;
  }

  /* Impact data section */
  .impact {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center;
  }
  .impact-chart {
    background: #fff; border: 1px solid var(--border); border-radius: 24px;
    padding: 28px; box-shadow: var(--shadow-sm);
  }
  .impact-chart h3 {
    margin: 0 0 6px; font-size: 1.15rem; color: var(--navy);
  }
  .impact-chart .sub { margin: 0 0 22px; color: var(--muted); font-size: 0.92rem; }
  .hbar-list { display: grid; gap: 16px; }
  .hbar-row { display: grid; gap: 6px; }
  .hbar-top {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 0.9rem; font-weight: 600; color: var(--navy);
  }
  .hbar-top span { color: var(--blue); font-variant-numeric: tabular-nums; }
  .hbar-track {
    height: 10px; border-radius: 999px; background: var(--blue-soft); overflow: hidden;
  }
  .hbar-fill {
    height: 100%; width: 0%; border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), #6C8FE0);
    transition: width var(--motion-chart) cubic-bezier(0.22, 1, 0.36, 1);
  }
  .impact-chart.is-animated .hbar-fill { width: var(--w); }
  .impact-chart.is-animated .hbar-row:nth-child(1) .hbar-fill { transition-delay: 0s; }
  .impact-chart.is-animated .hbar-row:nth-child(2) .hbar-fill { transition-delay: 0.03s; }
  .impact-chart.is-animated .hbar-row:nth-child(3) .hbar-fill { transition-delay: 0.06s; }
  .impact-chart.is-animated .hbar-row:nth-child(4) .hbar-fill { transition-delay: 0.09s; }

  .sparkline {
    width: 100%; height: 120px; display: block;
  }
  .sparkline path.line {
    fill: none; stroke: var(--blue); stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 600; stroke-dashoffset: 600;
    transition: stroke-dashoffset var(--motion-chart) ease-out;
  }
  .sparkline path.area {
    fill: url(#sparkGrad); opacity: 0;
    transition: opacity 0.1s ease-out 0.05s;
  }
  .impact-chart.is-animated .sparkline path.line { stroke-dashoffset: 0; }
  .impact-chart.is-animated .sparkline path.area { opacity: 1; }

  .live-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(47,158,122,0.12); color: #1F7A5C;
    border: 1px solid rgba(47,158,122,0.28);
    padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  }
  .live-pill i {
    width: 7px; height: 7px; border-radius: 50%; background: #2F9E7A;
    animation: pulseDot 0.8s ease-out infinite;
  }

  .module-card .icon-wrap,
  .module-tile .icon-wrap,
  .card .icon-wrap,
  .ai-feature .icon-wrap,
  .ai-tile .icon-wrap,
  .role-card .icon-wrap {
    transition: transform 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
  }
  .module-card:hover .icon-wrap,
  .module-tile:hover .icon-wrap,
  .card:hover .icon-wrap,
  .role-card:hover .icon-wrap,
  .ai-tile:hover .icon-wrap {
    transform: scale(1.08) rotate(-4deg);
  }
  .module-tile--dark:hover .icon-wrap {
    background: rgba(255,255,255,0.16);
  }
  .ai-feature:hover .icon-wrap { transform: scale(1.08); }

  .btn--primary {
    position: relative; overflow: hidden;
  }
  .btn--primary::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform var(--motion-reveal) ease;
  }
  .btn--primary:hover::after { transform: translateX(120%); }

  @media (max-width: 1100px) {
    .modules-grid { grid-template-columns: repeat(3, 1fr); }
    .modules-bento {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-auto-rows: minmax(148px, auto);
    }
    .modules-bento > .tile-ops {
      grid-column: 1 / -1;
      grid-row: auto;
    }
    .modules-bento > .tile-lms,
    .modules-bento > .tile-people,
    .modules-bento > .tile-finance,
    .modules-bento > .tile-comms,
    .modules-bento > .tile-time,
    .modules-bento > .tile-hr,
    .modules-bento > .tile-class,
    .modules-bento > .tile-reports {
      grid-column: auto;
      grid-row: auto;
    }
    .modules-bento > .tile-ai {
      grid-column: 1 / -1;
      grid-row: auto;
    }
    .module-tile__ribbon {
      grid-template-columns: auto minmax(0, 1fr);
    }
    .module-tile__ribbon .module-tile__chips {
      grid-column: 1 / -1;
      justify-content: flex-start;
    }
    .ai-bento { grid-template-columns: repeat(6, 1fr); }
    .ai-tile--hero { grid-column: span 6; grid-row: span 1; }
    .ai-tile--lg,
    .ai-tile--wide,
    .ai-tile--md { grid-column: span 3; }
    .ai-tile--wide { grid-template-columns: 1fr; }
    .hero h1 { max-width: none; }
  }
  @media (max-width: 960px) {
    .hero {
      min-height: min(88dvh, 760px);
      align-items: flex-end;
    }
    .hero-media__img { object-position: 68% center; }
    .hero-scroll { display: none; }
    .problem-grid, .ai-layout, .sec-grid, .footer-grid, .impact, .metrics-grid {
      grid-template-columns: 1fr;
    }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-3, .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
    .price-card--popular { transform: none; }
    .price-card--popular:hover { transform: translateY(-4px); }
    .pricing-steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
    .price-desc { min-height: 0; }
    .nav { position: relative; flex-wrap: wrap; }
    .nav-links { display: none; }
    .nav-cta .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav.is-open .nav-links {
      display: flex; flex-direction: column; align-items: stretch; width: 100%;
      order: 3; background: #fff; border: 1px solid var(--border); border-radius: 16px;
      padding: 16px; gap: 4px; box-shadow: var(--shadow); margin-top: 8px;
    }
    .nav.is-open .nav-links a { display: block; padding: 12px 10px; border-radius: 10px; }
    .nav.is-open .nav-links a:hover { background: var(--blue-mist); }
    .nav.is-open .nav-cta { display: block; width: 100%; order: 4; margin-top: 8px; }
    .nav.is-open .nav-cta .btn { display: inline-flex; width: 100%; }
  }
  @media (max-width: 720px) {
    .modules-grid, .cards-2, .problem-list, .ai-features, .metrics-grid {
      grid-template-columns: 1fr;
    }
    .modules-bento {
      grid-template-columns: 1fr;
      grid-auto-rows: auto;
    }
    .modules-bento > .tile-ops,
    .modules-bento > .tile-lms,
    .modules-bento > .tile-people,
    .modules-bento > .tile-finance,
    .modules-bento > .tile-comms,
    .modules-bento > .tile-time,
    .modules-bento > .tile-hr,
    .modules-bento > .tile-class,
    .modules-bento > .tile-reports,
    .modules-bento > .tile-ai {
      grid-column: 1;
      grid-row: auto;
    }
    .module-tile__ribbon {
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .module-tile__ribbon .module-tile__chips { justify-content: flex-start; }
    .ai-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .ai-tile--hero,
    .ai-tile--lg,
    .ai-tile--md,
    .ai-tile--wide { grid-column: span 1; grid-row: span 1; }
    .ai-tile--wide { grid-template-columns: 1fr; }
    .container { width: min(100% - 28px, var(--max)); }
    .hero {
      min-height: min(84dvh, 680px);
      padding-top: clamp(56px, 14vw, 88px);
    }
    .hero-media__img { object-position: 80% center; }
    .hero-media__veil {
      background:
        linear-gradient(180deg, rgba(8, 31, 63, 0.55) 0%, rgba(8, 31, 63, 0.78) 45%, rgba(8, 31, 63, 0.94) 100%),
        linear-gradient(105deg, rgba(8, 31, 63, 0.7) 0%, transparent 70%);
    }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .nav-cta .btn { width: auto; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
      opacity: 1 !important; transform: none !important; transition: none !important;
    }
    .hero-media__img, .hero-scroll i, .hero-badge i, .live-pill i, .metrics::before,
    .ai-cap-orb, .ai-signal i,
    .btn--primary::after { animation: none !important; }
    .hero-media__img { transform: scale(1.04) !important; }
    .hbar-fill, .sparkline path {
      transition: none !important; opacity: 1 !important; transform: none !important;
    }
    .hbar-fill { width: var(--w) !important; }
    .metric-ring-wrap .ring-fg { stroke-dashoffset: var(--ring-offset, 40) !important; transition: none !important; }
    .sparkline path.line { stroke-dashoffset: 0 !important; }
    .module-card:hover,
    .module-tile:hover,
    .ai-tile:hover { transform: none; }
  }


/* Active nav */
.nav-links a.is-active {
  color: var(--navy);
  position: relative;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: var(--blue);
}

/* Inner page hero */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, rgba(69,137,208,0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 80%, rgba(157,192,230,0.2), transparent 50%),
    linear-gradient(180deg, #F5F9FD 0%, #FFFFFF 72%);
  padding: clamp(48px, 7vw, 80px) 0 clamp(40px, 6vw, 64px);
}
.page-hero__ambient {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 78% 42%, rgba(69,137,208,0.12), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(157,192,230,0.16), transparent 24%);
}
.page-hero > .container,
.page-hero > .page-hero__grid,
.page-hero .page-hero__grid {
  position: relative; z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 0 0 16px; color: var(--navy); max-width: 16ch;
}
.page-hero .lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--muted); margin: 0 0 26px; max-width: 42ch; line-height: 1.6;
}
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 22px 0 0; padding: 0;
}
.page-hero__meta li {
  display: inline-flex; align-items: center;
  min-height: 34px; padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--navy);
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(12,45,88,0.05);
}
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.88rem; font-weight: 600; color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span[aria-hidden="true"] { opacity: 0.5; }

/* Contact form */
.contact-section {
  position: relative;
  z-index: 1;
  padding-top: clamp(40px, 6vw, 64px);
}
.contact-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(12, 45, 88, 0.12);
}
.contact-stage .contact-aside { order: 1; }
.contact-stage .form-card { order: 2; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.form-card {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: none;
}
.form-card__head {
  margin-bottom: 26px;
}
.form-card__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 8px;
}
.form-card__head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 42ch;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group .req { color: var(--blue); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font: inherit;
  color: var(--navy);
  background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(69,137,208,0.15);
}
.contact-form__submit {
  width: 100%;
  margin-top: 4px;
}
.form-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}
.form-hint a {
  color: var(--blue);
  font-weight: 600;
}
.form-hint a:hover { color: var(--navy); }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  background:
    linear-gradient(165deg, #F3F8FD 0%, #E8F2FC 48%, #DCEAF8 100%);
  border-right: 1px solid var(--border);
}
.contact-aside__panel {
  padding: clamp(24px, 3.5vw, 32px);
}
.contact-aside__panel + .contact-aside__panel {
  border-top: 1px solid rgba(215, 228, 242, 0.9);
}
.contact-aside__panel h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.contact-channel {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(215, 228, 242, 0.95);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  min-height: 64px;
}
.contact-channel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-light);
}
.contact-channel__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue), #6C8FE0);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-channel__icon svg { width: 18px; height: 18px; }
.contact-channel strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-channel__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.contact-flow li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-flow__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-flow strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.contact-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-details { display: grid; gap: 14px; }
.contact-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-item strong { display: block; color: var(--navy); margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 960px) {
  .contact-section { padding-top: clamp(32px, 6vw, 48px); }
  .contact-stage,
  .contact-grid { grid-template-columns: 1fr; }
  .contact-stage .contact-aside { order: 2; border-right: none; border-top: 1px solid var(--border); }
  .contact-stage .form-card { order: 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

.ai-features--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .ai-features--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ai-features--3 { grid-template-columns: 1fr; }
}

/* Desktop bento span fix for AI hero + two mids */
@media (min-width: 1101px) {
  .ai-tile--hero { grid-column: span 6; }
  .ai-tile--md { grid-column: span 3; }
  .ai-tile--wide { grid-column: span 7; }
  .ai-tile--lg { grid-column: span 5; }
}

/* Media / content blocks for inner pages */
.media-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin: 0 0 56px;
}
.media-block--reverse { direction: rtl; }
.media-block--reverse > * { direction: ltr; }
.ai-story {
  margin: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
.ai-story .media-copy { max-width: 34rem; }
.ai-story .media-frame img { aspect-ratio: 5 / 4; object-position: center 18%; }
.media-frame {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.media-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.media-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 14px;
}
.media-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.media-copy li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
}
.media-copy li svg {
  width: 18px; height: 18px; color: #2F9E7A; flex-shrink: 0; margin-top: 2px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.detail-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--navy);
}
.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}
.page-hero--media {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
  min-height: min(78dvh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero--media > .container,
.page-hero--media .page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}
.page-hero--media .page-hero__copy {
  min-width: 0;
  max-width: 34rem;
}
.page-hero--media h1 {
  max-width: 13ch;
}
.page-hero__media {
  position: relative;
  min-width: 0;
}
.page-hero__media::before {
  content: "";
  position: absolute;
  inset: 18px -14px -18px 18px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(69,137,208,0.22), rgba(157,192,230,0.12));
  z-index: 0;
}
.page-hero-visual {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px rgba(12, 45, 88, 0.14);
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #E8F2FC, #fff);
}
.page-hero-visual::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, rgba(12,45,88,0.06) 0%, transparent 42%);
  pointer-events: none;
}
.page-hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  position: relative;
  z-index: 0;
}
.page-hero-visual__badge {
  position: absolute;
  left: 16px; bottom: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(215,228,242,0.9);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
}
.page-hero-visual__badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(69,137,208,0.2);
}

.workflow-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 22px 0 0; padding: 0; list-style: none;
}
.workflow-pills li,
.media-copy .workflow-pills li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 0.85rem; font-weight: 700;
  border: 1px solid rgba(69,137,208,0.18);
}
.workflow-pills li svg,
.media-copy .workflow-pills li svg {
  width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 0;
}

.media-frame--accent {
  position: relative;
}
.media-frame--accent::before {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 42%; height: 42%;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(69,137,208,0.28), rgba(157,192,230,0.15));
  z-index: -1;
}
.faq-list { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .12s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}
.faq-item summary:hover { background: var(--blue-mist); }
.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.55;
}
.faq-item h3 { margin: 0; padding: 18px 20px 6px; font-size: 1.05rem; color: var(--navy); }

/* AI page FAQ — compact split accordion */
.ai-faq {
  padding: clamp(40px, 5.5vw, 64px) 0;
}
.ai-faq__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3.5vw, 40px);
  align-items: start;
}
.ai-faq__intro .eyebrow { margin-bottom: 10px; }
.ai-faq__intro .section-title {
  text-align: left;
  margin: 0 0 10px;
  max-width: 14ch;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}
.ai-faq__lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 32ch;
}
.ai-faq__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: none;
  min-height: 44px;
}
.ai-faq__link::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .12s ease;
}
.ai-faq__link:hover { color: var(--navy); }
.ai-faq__link:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.ai-faq__list {
  max-width: none;
  margin: 0;
  gap: 8px;
}
.ai-faq .faq-item {
  border-radius: 14px;
  box-shadow: none;
  background: rgba(255,255,255,0.92);
}
.ai-faq .faq-item summary {
  padding: 14px 48px 14px 16px;
  min-height: 48px;
  font-size: 0.98rem;
}
.ai-faq .faq-item summary::after { right: 16px; }
.ai-faq .faq-item[open] {
  border-color: rgba(69,137,208,0.35);
  box-shadow: var(--shadow-sm);
}
.ai-faq .faq-item p {
  padding: 0 16px 14px;
  font-size: 0.9rem;
}
@media (max-width: 800px) {
  .ai-faq__grid { grid-template-columns: 1fr; gap: 18px; }
  .ai-faq__intro .section-title { max-width: none; }
  .ai-faq__lead { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after,
  .ai-faq__link::after { transition: none; }
}

.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;
}

/* Shared full-bleed banner for all inner pages */
.page-hero--banner,
.page-hero--cinematic,
.page-hero--pricing {
  position: relative;
  overflow: hidden;
  min-height: min(58dvh, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(56px, 8vw, 88px) 0 clamp(48px, 7vw, 72px);
  background: var(--navy-deep);
  color: #fff;
}
.page-hero--banner .page-hero__bg,
.page-hero--cinematic .page-hero__bg,
.page-hero--pricing .page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--banner .page-hero__bg img,
.page-hero--cinematic .page-hero__bg img,
.page-hero--pricing .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero--banner--right .page-hero__bg img {
  object-position: 72% center;
}
.page-hero--banner .page-hero__bg::after,
.page-hero--cinematic .page-hero__bg::after,
.page-hero--pricing .page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 31, 63, 0.92) 0%, rgba(8, 31, 63, 0.78) 48%, rgba(8, 31, 63, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 31, 63, 0.25) 0%, rgba(8, 31, 63, 0.7) 100%);
}
.page-hero--banner .page-hero__inner,
.page-hero--cinematic .page-hero__inner,
.page-hero--pricing .page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-hero--banner .breadcrumb,
.page-hero--cinematic .breadcrumb,
.page-hero--pricing .breadcrumb { color: rgba(232, 242, 252, 0.7); }
.page-hero--banner .breadcrumb a,
.page-hero--cinematic .breadcrumb a,
.page-hero--pricing .breadcrumb a { color: var(--blue-light); }
.page-hero--banner .breadcrumb a:hover,
.page-hero--cinematic .breadcrumb a:hover,
.page-hero--pricing .breadcrumb a:hover { color: #fff; }
.page-hero--banner .eyebrow,
.page-hero--cinematic .eyebrow,
.page-hero--pricing .eyebrow { color: var(--blue-light); }
.page-hero--banner .eyebrow::before,
.page-hero--cinematic .eyebrow::before,
.page-hero--pricing .eyebrow::before {
  background: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(157, 192, 230, 0.2);
}
.page-hero--banner h1,
.page-hero--cinematic h1,
.page-hero--pricing h1 {
  color: #fff;
  max-width: 18ch;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}
.page-hero--banner .lead,
.page-hero--cinematic .lead,
.page-hero--pricing .lead {
  color: rgba(232, 242, 252, 0.88);
  max-width: 48ch;
}
.page-hero--banner .btn--secondary,
.page-hero--cinematic .btn--secondary,
.page-hero--pricing .btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.page-hero--banner .btn--secondary:hover,
.page-hero--cinematic .btn--secondary:hover,
.page-hero--pricing .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.page-hero--banner .page-hero__meta li,
.page-hero--cinematic .page-hero__meta li,
.page-hero--pricing .page-hero__meta li {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #E8F2FC;
  box-shadow: none;
}

@media (max-width: 960px) {
  .page-hero--banner,
  .page-hero--cinematic,
  .page-hero--pricing {
    min-height: auto;
  }
  .page-hero--banner h1,
  .page-hero--cinematic h1,
  .page-hero--pricing h1 { max-width: none; }
}
.home-strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.home-strip img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 960px) {
  .media-block, .media-block--reverse, .home-strip, .detail-grid,
  .page-hero--media > .container,
  .page-hero--media .page-hero__grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .page-hero--media {
    min-height: 0;
    display: block;
    padding-top: clamp(36px, 6vw, 52px);
  }
  .page-hero--media > .container,
  .page-hero--media .page-hero__grid {
    width: min(100% - 28px, var(--max));
    gap: 28px;
  }
  .page-hero--media .page-hero__copy { max-width: none; }
  .page-hero--media h1 { max-width: 16ch; }
  .page-hero__media::before { inset: 14px -10px -14px 14px; }
  .page-hero-visual {
    border-radius: 22px;
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
  }
  .page-hero-visual img { aspect-ratio: 16 / 11; }
}

/* —— Modules page polish —— */
.modules-story .media-copy { max-width: 34rem; }
.modules-story .media-frame img { aspect-ratio: 5 / 4; object-position: center 20%; }

.section--families {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 72px) 0;
  background:
    radial-gradient(ellipse 50% 45% at 0% 0%, rgba(69,137,208,0.08), transparent 55%),
    linear-gradient(180deg, #F7FAFD 0%, #fff 100%);
}
.module-families {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: stretch;
}
.module-family {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .1s cubic-bezier(.22,1,.36,1), box-shadow .1s ease, border-color .1s ease;
}
.module-family:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(69,137,208,0.38);
}
.module-family__media {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 2.6 / 1;
  flex: 0 0 auto;
}
.module-family__media picture,
.module-family__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.module-family__media img {
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  transition: transform .12s cubic-bezier(.22,1,.36,1);
}
.module-family:hover .module-family__media img { transform: scale(1.06); }
.module-family__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,31,63,0.5) 100%);
  pointer-events: none;
}
.module-family__lane {
  position: absolute;
  left: 12px; bottom: 8px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 4px 14px rgba(8,31,63,0.35);
}
.module-family__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.module-family__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.module-family__icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--blue-soft), #fff);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(69,137,208,0.12);
}
.module-family__icon svg { width: 16px; height: 16px; }
.module-family h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}
.module-family__body > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.module-family ul {
  list-style: none;
  margin: auto 0 0;
  padding: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  border-top: 1px solid rgba(215,228,242,0.9);
}
.module-family li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-radius: 8px;
  background: var(--blue-mist);
  border: 1px solid rgba(215,228,242,0.85);
  transition: color .12s ease, background .12s ease, border-color .12s ease;
  cursor: pointer;
}
.module-family li a:hover {
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-color: rgba(69,137,208,0.35);
}
.module-family--decide {
  background: linear-gradient(155deg, #0C2D58 0%, #163F72 55%, #1E5694 100%);
  border-color: rgba(157,192,230,0.28);
  color: #fff;
}
.module-family--decide .module-family__media::after {
  background: linear-gradient(180deg, transparent 30%, rgba(8,31,63,0.65) 100%);
}
.module-family--decide h3 { color: #fff; }
.module-family--decide .module-family__body > p { color: #C5D6EC; }
.module-family--decide .module-family__icon {
  background: rgba(255,255,255,0.1);
  color: var(--blue-light);
  box-shadow: inset 0 0 0 1px rgba(157,192,230,0.28);
}
.module-family--decide ul { border-top-color: rgba(157,192,230,0.22); }
.module-family--decide li a {
  background: rgba(255,255,255,0.08);
  border-color: rgba(157,192,230,0.22);
  color: #E8F2FC;
}
.module-family--decide li a:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(157,192,230,0.4);
}

.modules-path {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.modules-path .section-title { text-align: left; margin-bottom: 10px; }
.modules-path .section-lead { margin-inline: 0; text-align: left; }
.modules-path__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.modules-path__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color .12s ease, transform .12s ease;
}
.modules-path__steps li:hover {
  border-color: rgba(69,137,208,0.35);
  transform: translateX(4px);
}
.modules-path__num {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue), #2F6FB8);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.modules-path__steps h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: var(--navy);
}
.modules-path__steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.modules-path__visual {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}
.modules-path__visual::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 46%; height: 46%;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(69,137,208,0.28), rgba(157,192,230,0.12));
  z-index: -1;
}
.modules-path__visual img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .module-families { grid-template-columns: 1fr; gap: 12px; }
  .module-family__media { aspect-ratio: 2.4 / 1; }
}
@media (max-width: 960px) {
  .modules-path { grid-template-columns: 1fr; }
  .modules-path__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .modules-path__steps li:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .module-family:hover,
  .modules-path__steps li:hover { transform: none; }
  .module-family:hover .module-family__media img { transform: scale(1.02); }
}

/* —— AI Features flagship page —— */
.ai-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(ellipse 50% 55% at 100% 0%, rgba(69,137,208,0.14), transparent 55%),
    linear-gradient(180deg, #F5F9FD 0%, #FFFFFF 70%);
}
.ai-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.ai-hero__copy { min-width: 0; max-width: 34rem; }
.ai-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0 0 16px;
  color: var(--navy);
  max-width: 12ch;
}
.ai-hero__copy .lead {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 40ch;
  line-height: 1.6;
}
.ai-hero__copy .hero-actions { margin-bottom: 0; }
.ai-hero__visual {
  margin: 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 28px 60px rgba(12, 45, 88, 0.14);
  background: #E8F2FC;
}
.ai-hero__visual::before {
  content: "";
  position: absolute;
  inset: 20px -16px -20px 24px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(69,137,208,0.2), rgba(157,192,230,0.1));
  z-index: -1;
}
.ai-hero__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.ai-features-section .section-head { margin-bottom: var(--section-head-gap); }

.ai-slider {
  position: relative;
  outline: none;
}
.ai-slider__viewport {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}
.ai-slider__track {
  position: relative;
  min-height: clamp(360px, 52vw, 460px);
}
.ai-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(28px);
  z-index: 0;
  transition: opacity .16s ease, transform .28s cubic-bezier(.22,1,.36,1), visibility .28s;
}
.ai-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  position: relative;
  z-index: 1;
}
.ai-slide__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #E8F2FC, #fff);
}
.ai-slide__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(255,255,255,0.35) 100%);
  pointer-events: none;
}
.ai-slide__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.ai-slide__body {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.ai-slide__index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(12,45,88,0.35);
  margin-bottom: 14px;
}
.ai-slide__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(145deg, var(--blue-soft), #fff);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(69,137,208,0.14);
}
.ai-slide__icon svg { width: 24px; height: 24px; }
.ai-slide__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--navy);
}
.ai-slide__body > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36ch;
}
.ai-slide__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-slide__points li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-mist);
  border: 1px solid rgba(215,228,242,0.95);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.ai-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.ai-slider__btn {
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
}
.ai-slider__btn svg { width: 20px; height: 20px; }
.ai-slider__btn:hover {
  transform: translateY(-2px);
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.ai-slider__btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.ai-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-slider__dot {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(12,45,88,0.18);
  cursor: pointer;
  transition: width .1s ease, background .1s ease;
}
.ai-slider__dot::before {
  content: "";
  position: absolute;
  inset: -17px -8px;
}
.ai-slider__dot.is-active {
  width: 28px;
  background: var(--blue);
}
.ai-slider__dot:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .ai-slide {
    grid-template-columns: 1fr;
  }
  .ai-slider__track { min-height: 0; }
  .ai-slide__media img {
    min-height: 220px;
    aspect-ratio: 16 / 11;
    height: auto;
  }
  .ai-slide__media::after {
    background: linear-gradient(180deg, transparent 60%, rgba(255,255,255,0.5) 100%);
  }
  .ai-slide__body { padding: 24px 22px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-slide { transition: none; transform: none; }
  .ai-slider__btn:hover { transform: none; }
}

.ai-audience .section-head { margin-bottom: var(--section-head-gap); }
.ai-audience__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 28px);
}
.ai-audience__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12,45,88,0.06);
  transition: transform .1s ease, box-shadow .1s ease;
}
.ai-audience__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.ai-audience__media { margin: 0; }
.ai-audience__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.ai-audience__body { padding: 28px 26px 30px; }
.ai-audience__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.2;
}
.ai-audience__body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 36ch;
}

.ai-cta { padding: clamp(56px, 7vw, 88px) 0; }
.ai-cta .final-cta { margin: 0; }

@media (max-width: 960px) {
  .ai-hero__grid,
  .ai-audience__row { grid-template-columns: 1fr; }
  .ai-hero__copy h1 { max-width: 14ch; }
  .ai-hero__visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .ai-hero__visual::before { display: none; }
}
@media (max-width: 640px) {
  .ai-audience__body { padding: 22px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-audience__card:hover { transform: none; }
}
