/* ============================================================
   Langdi Australia — global stylesheet
   Palette: deep navy base, ice text, technical blue accent #2E7DFF (logo diamond stays green)
   ============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-800-normal.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #0A101C;
  --bg-2: #0D1524;
  --card: #111B2E;
  --card-2: #14203699;
  --line: rgba(154, 178, 214, 0.14);
  --text: #E9EFF8;
  --muted: #A9B9D2;
  --grn: #3ED598;
  --pur: #B98CFF;
  --amb: #FFC46B;
  --accent: #2E7DFF;
  --accent-bright: #57A0FF;
  --accent-dim: rgba(46, 125, 255, 0.14);
  --radius: 14px;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; user-select: none; }
video { -webkit-user-drag: none; user-select: none; }
a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-bright);
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 640px; font-size: 18px; }

section { padding: 60px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px;
  font-weight: 700; font-size: 16px; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #2E7DFF, #4E96FF); color: #fff;
  box-shadow: 0 4px 16px rgba(46,125,255,.3);
}
.btn-primary:hover { background: linear-gradient(135deg, #3E8AFF, #57A0FF); box-shadow: 0 8px 28px rgba(46,125,255,.5); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(154,178,214,.45);
}
.btn-ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); box-shadow: 0 4px 16px rgba(46,125,255,.18); }

/* key-fact highlight */
.hl { color: var(--accent-bright); font-weight: 700; font-style: normal; }

/* horizontal-scroll wrapper for wide tables on small screens */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .spec-table { min-width: 640px; }
.table-scroll .spec-table th { white-space: normal; }

/* upload-ready photo slots — imgs hide themselves until the file exists on the server */
.photo-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.photo-row img {
  flex: 1 1 240px; min-width: 220px; max-width: 420px;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line); background: var(--card);
}
.photo-row img.wide { aspect-ratio: 16 / 9; max-width: 560px; }

/* family jump-nav chips (Standard Testbeds etc.) */
.fam-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fam-nav a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--text); background: var(--card); border: 1px solid var(--line);
  transition: border-color .15s ease, color .15s ease;
}
.fam-nav a:hover { border-color: var(--accent-bright); color: var(--accent-bright); text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 28, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 26px; width: auto; }
.brand .brand-sub {
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  color: var(--muted); text-transform: uppercase;
  border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.3;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15.5px; }
.nav-links a:hover { color: var(--accent-bright); text-decoration: none; }
.nav-links .has-sub { position: relative; }
.nav-links .sub {
  position: absolute; top: calc(100% + 14px); left: -16px; min-width: 300px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px; list-style: none;
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.nav-links .has-sub:hover .sub,
.nav-links .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .sub a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 15px;
}
.nav-links .sub a:hover { background: var(--accent-dim); }
.nav-links .sub .sub-note { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.nav-cta { white-space: nowrap; padding: 11px 20px; font-size: 15px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 64px;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(46,125,255,.17), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(43,108,209,.16), transparent 60%),
    var(--bg);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(154,178,214,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,178,214,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
}
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 58px); font-weight: 800; max-width: 780px;
}
.hero h1 .accent { color: var(--accent-bright); }
.hero p.tagline {
  margin: 22px 0 34px; font-size: clamp(17px, 2vw, 20px);
  color: var(--muted); max-width: 640px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-wave { margin-top: 64px; width: 100%; height: 90px; opacity: .9; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 8px;
}
.hero-stats .stat { background: var(--bg-2); padding: 20px 22px; }
.hero-stats .stat b { display: block; font-size: 26px; font-weight: 800; color: var(--accent-bright); letter-spacing: -0.02em; }
.hero-stats .stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- Solution cards ---------- */
.cards-4 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px;
}
.sol-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.sol-card:hover {
  transform: translateY(-4px); border-color: rgba(87,160,255,.5);
  box-shadow: 0 18px 44px rgba(0,0,0,.45); text-decoration: none;
}
.sol-card .thumb { aspect-ratio: 16 / 8.4; overflow: hidden; background: #0a121f; }
.sol-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sol-card .thumb svg { width: 100%; height: 100%; display: block; }
.sol-card .body { padding: 24px 26px 28px; }
.sol-card .kind {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-bright);
}
.sol-card h3 { font-size: 21px; font-weight: 700; margin: 8px 0 8px; color: var(--text); }
.sol-card p { color: var(--muted); font-size: 15.5px; }
.sol-card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; }
.sol-card .kind.grn { color: var(--grn); }
.sol-card .kind.pur { color: var(--pur); }

/* card row labels (Products / Services) */
.row-label {
  display: flex; align-items: center; gap: 12px; margin-top: 46px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.row-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); }
.row-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.row-label + .cards-4, .row-label + .cards-3 { margin-top: 20px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }

/* ---------- How we work (process flow) ---------- */
.steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 20px; align-items: stretch; margin-top: 44px;
}
.step {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background:
    radial-gradient(420px 180px at 12% 0%, var(--s-glow, rgba(46,125,255,.12)), transparent 70%),
    var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
/* coloured cap across the top of each card */
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--s-accent, var(--accent-bright)), transparent 78%);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--s-border, rgba(87,160,255,.45));
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
/* per-step colour identity */
.step.s1 { --s-accent: #57A0FF; --s-dim: rgba(46,125,255,.14); --s-border: rgba(87,160,255,.45); --s-glow: rgba(46,125,255,.14); }
.step.s2 { --s-accent: #B98CFF; --s-dim: rgba(185,140,255,.14); --s-border: rgba(185,140,255,.45); --s-glow: rgba(185,140,255,.13); }
.step.s3 { --s-accent: #3ED598; --s-dim: rgba(62,213,152,.14); --s-border: rgba(62,213,152,.45); --s-glow: rgba(62,213,152,.12); }

.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--s-dim, var(--accent-dim)); color: var(--s-accent, var(--accent-bright));
  border: 1px solid var(--s-border, transparent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.step-ico {
  width: 42px; height: 42px; border-radius: 11px; margin-left: auto; flex: 0 0 auto;
  background: var(--s-dim, rgba(46,125,255,.1)); border: 1px solid var(--s-border, rgba(87,160,255,.28));
  color: var(--s-accent, var(--accent-bright)); display: flex; align-items: center; justify-content: center;
}
/* illustration pinned to the bottom so cards line up */
.step-visual { margin-top: auto; padding-top: 20px; }
.step-visual svg { width: 100%; height: auto; display: block; border-radius: 10px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
/* connector between steps — sized to read across the whole flow */
.step-flow {
  display: flex; align-items: center; justify-content: center;
  min-width: 60px;
  filter: drop-shadow(0 0 12px rgba(46,125,255,.35));
}
.step-flow.to-2 { color: rgba(185,140,255,.85); }   /* leads into step 2 */
.step-flow.to-3 { color: rgba(62,213,152,.85); }    /* leads into step 3 */
/* the two delivery routes inside step 2 */
.step-paths { list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.step-paths li {
  position: relative; padding-left: 26px;
  color: var(--muted); font-size: 14.5px; line-height: 1.55;
}
.step-paths li::before {
  content: ""; position: absolute; left: 6px; top: 4px;
  width: 9px; height: 9px; border-left: 1.6px solid var(--s-accent, rgba(87,160,255,.7));
  border-bottom: 1.6px solid var(--s-accent, rgba(87,160,255,.7)); border-bottom-left-radius: 3px;
  opacity: .8;
}
.step-paths b { color: var(--text); font-weight: 700; }

/* ---------- AI section ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .shot {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
/* two overlapping shots (e.g. LDEV-X AI section) */
.shot-stack { position: relative; margin-bottom: 15%; }
.shot-stack .shot-front {
  position: absolute; left: -7%; bottom: -15%; width: 80%;
  box-shadow: 0 26px 80px rgba(0,0,0,.65);
}
.feature-list { list-style: none; margin-top: 26px; display: grid; gap: 20px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-dim); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
}
.feature-list b { display: block; font-size: 16.5px; }
.feature-list span { color: var(--muted); font-size: 15px; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 22px; margin-top: 44px; }
.ind {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; color: var(--text);
  transition: border-color .18s ease, transform .18s ease;
}
.ind:hover { border-color: rgba(87,160,255,.5); transform: translateY(-3px); text-decoration: none; }
.ind .ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: var(--accent-dim); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
}
.ind h3 { font-size: 17.5px; margin-bottom: 6px; }
.ind p { color: var(--muted); font-size: 14.5px; }

/* ---------- Credibility ---------- */
.cred {
  background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cred-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cred img.photo { border-radius: var(--radius); border: 1px solid var(--line); }
.cred p { color: var(--muted); margin-top: 10px; }

.video-embed {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16/9; background: #000; cursor: pointer;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-embed iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-embed video { width: 100%; height: 100%; display: block; background: #000; }
.video-embed.no-shade { cursor: default; }
.video-embed.no-shade::after { display: none; }
.video-embed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
}
.video-play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: rgba(10,16,28,.55); border: 2px solid rgba(255,255,255,.85); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.video-play:hover, .video-play:focus-visible { transform: scale(1.06); background: rgba(46,125,255,.85); border-color: #57A0FF; }

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  background:
    radial-gradient(640px 300px at 50% 0%, rgba(46,125,255,.18), transparent 70%),
    var(--bg);
}
.cta-banner h2 { max-width: 660px; margin-inline: auto; }
.cta-banner p { color: var(--muted); max-width: 560px; margin: 12px auto 30px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding: 56px 0 36px; font-size: 15px;
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .95fr .9fr 1.05fr; gap: 36px; }
.site-footer h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent-bright); text-decoration: none; }
.site-footer .blurb { color: var(--muted); margin-top: 16px; max-width: 320px; }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  section { padding: 48px 0; }
  .cards-4 { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step-flow { transform: rotate(90deg); padding: 10px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 20px 24px 28px; gap: 18px; display: none; max-height: calc(100vh - 72px); overflow: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 6px 0 0 14px; min-width: 0;
  }
  .nav-links .sub .sub-note { display: none; }
  .nav-links .sub a { padding: 7px 10px; }
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 72px 0 64px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 84px 0 64px;
  background:
    radial-gradient(760px 400px at 80% -20%, rgba(46,125,255,.16), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; max-width: 820px; }
.page-hero .tagline { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 680px; }
.page-hero .hero-actions { margin-top: 30px; }
.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent-bright); }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge {
  font-size: 13px; font-weight: 600; color: var(--text);
  background: var(--card); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}

/* module / feature grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 28px;
}
.tile .chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: var(--accent-dim); color: var(--accent-bright); font-weight: 800; font-size: 17px;
  border: 1px solid transparent;
}
/* capability tiles — icon beside the heading */
.tile.feat .feat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tile.feat .feat-head h3 { margin-bottom: 0; }
.feat-ico {
  width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto;
  background: var(--accent-dim); border: 1px solid rgba(87,160,255,.25);
  color: var(--accent-bright); display: flex; align-items: center; justify-content: center;
}
/* supported protocols as chips */
.proto-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.proto-chips span {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 12px;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(46,125,255,.1); border: 1px solid rgba(87,160,255,.26); color: var(--accent-bright);
}
.proto-chips span.more {
  font-family: inherit; background: transparent; border-style: dashed;
  border-color: rgba(154,178,214,.3); color: var(--muted);
}

/* three test models — colour-capped tiles with icon + capability tags */
.tile.tm { position: relative; overflow: hidden; }
.tile.tm::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--tm), transparent 80%);
}
.tile.tm .chip { background: var(--tm-dim); border-color: var(--tm-bd); color: var(--tm); }
.tile.tm h3 { color: var(--tm); }
.tm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tm-tags span {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: rgba(154,178,214,.07); border: 1px solid rgba(154,178,214,.18);
  color: var(--muted);
}

/* per-module icon colours — matched to the module tiles in the homepage hero */
.tile .chip.m-cf { background: rgba(46,125,255,.13);  border-color: rgba(87,160,255,.3);  color: #57A0FF; }
.tile .chip.m-au { background: rgba(53,196,111,.13);  border-color: rgba(53,196,111,.32); color: #35C46F; }
.tile .chip.m-pr { background: rgba(79,209,197,.13);  border-color: rgba(79,209,197,.32); color: #4FD1C5; }
.tile .chip.m-sc { background: rgba(185,140,255,.13); border-color: rgba(185,140,255,.32); color: #B98CFF; }
.tile .chip.m-dv { background: rgba(255,163,92,.13);  border-color: rgba(255,163,92,.32); color: #FFA35C; }
.tile .chip.m-sm { background: rgba(255,196,107,.13); border-color: rgba(255,196,107,.32); color: #FFC46B; }
.tile .chip.m-op { background: rgba(154,178,214,.12); border-color: rgba(154,178,214,.3);  color: #A9B9D2; }
.tile h3 { font-size: 18px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .mono { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 13px; color: var(--accent-bright); letter-spacing: .02em; }

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: 15.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border: 1px solid var(--line); }
.spec-table th { width: 220px; color: var(--muted); font-weight: 600; background: var(--card); white-space: nowrap; }
.spec-table td { background: var(--bg-2); }

/* checklist */
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list li::before {
  content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 6px; margin-top: 2px;
  background: var(--accent-dim); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.check-list span { color: var(--muted); }

/* process timeline */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; counter-reset: tstep; }
.timeline .t {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px;
}
.timeline .t::before {
  counter-increment: tstep; content: counter(tstep, decimal-leading-zero);
  display: block; font-weight: 800; font-size: 13px; letter-spacing: .1em;
  color: var(--accent-bright); margin-bottom: 10px;
}
.timeline .t b { display: block; font-size: 15px; margin-bottom: 4px; }
.timeline .t span { font-size: 13.5px; color: var(--muted); }

/* video placeholder */
.video-slot {
  margin-top: 40px; border: 1px dashed rgba(154,178,214,.35); border-radius: var(--radius);
  aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--muted); background: var(--bg-2); text-align: center; padding: 20px;
}
.video-slot .play {
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent-dim);
  color: var(--accent-bright); display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; margin-top: 44px; }
.form { display: grid; gap: 18px; }
.form label { font-size: 14.5px; font-weight: 600; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; font: inherit; font-size: 15.5px;
  background: var(--card); border: 1px solid rgba(154,178,214,.28); color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(46,125,255,.18);
}
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.info-card ul { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.info-card li b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.form-status { display: none; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.form-status.ok { display: block; background: rgba(36,179,11,.14); color: #7BE063; }
.form-status.err { display: block; background: rgba(255,86,86,.12); color: #FF9C9C; }

/* prose (privacy etc.) */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; margin: 12px 0; }

@media (max-width: 980px) {
  .shot-stack .shot-front { left: 0; width: 86%; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .spec-table th { width: 40%; white-space: normal; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .form .row-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Home hero slider (rotating product banner)
   ============================================================ */
.hero-slider { position: relative; }
.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;
}
.hs-slides { display: grid; }
.hs-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .55s ease, transform .55s ease, visibility .55s;
  pointer-events: none;
}
.hs-slide.active {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
}
.hs-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 52px; align-items: center; min-height: 400px;
}
.hs-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: 16px;
}
.hs-kicker .tag {
  letter-spacing: .06em; font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-dim); border: 1px solid rgba(87,160,255,.4);
}
.hs-kicker .tag.soon { color: var(--amb); background: rgba(255,170,60,.1); border-color: rgba(255,170,60,.35); }
/* product-family colour system: blue = software (default), green = hardware, purple = LD-LMS, amber = coming soon */
.hs-kicker.k-hw { color: var(--grn); }
.hs-kicker.k-hw .tag { color: var(--grn); background: rgba(62,213,152,.1); border-color: rgba(62,213,152,.35); }
.hs-kicker.k-lms { color: var(--pur); }
.hs-kicker.k-lms .tag { color: var(--pur); background: rgba(185,140,255,.1); border-color: rgba(185,140,255,.35); }
.hs-slide h2.hs-title {
  font-size: clamp(32px, 4.8vw, 52px); font-weight: 800; margin-bottom: 0;
}
.hs-slide h2.hs-title .accent { color: var(--accent-bright); }
.hs-lead { margin: 18px 0 10px; font-size: clamp(16.5px, 1.9vw, 19px); color: var(--muted); max-width: 560px; }
.hs-points { list-style: none; display: grid; gap: 8px; margin: 18px 0 4px; }
.hs-points li { position: relative; padding-left: 22px; color: var(--text); font-size: 15.5px; }
.hs-points li::before {
  content: "▸"; color: var(--accent-bright); font-size: 14px;
  position: absolute; left: 2px; top: 0;
}
.hs-points li span { color: var(--muted); }
.hs-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hs-art { position: relative; }
.hs-art svg { width: 100%; height: auto; display: block; }

/* controls: side arrows + dots */
.hs-arrow {
  position: absolute; top: calc(50% - 24px); transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(17,27,46,.72); border: 1px solid var(--line); color: var(--text);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
  backdrop-filter: blur(3px);
}
.hs-prev { left: -66px; }
.hs-next { right: -66px; }
.hs-arrow:hover { border-color: var(--accent-bright); color: var(--accent-bright); background: rgba(17,27,46,.92); }
@media (max-width: 1330px) {
  .hs-prev { left: -12px; }
  .hs-next { right: -12px; }
}
.hs-belt { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.hs-dots { display: flex; justify-content: center; gap: 10px; }
.hs-dot {
  position: relative;
  width: 9px; height: 9px; border-radius: 999px; padding: 0; border: 0; cursor: pointer;
  background: rgba(154,178,214,.3);
  transition: background .2s ease, width .25s ease;
}
.hs-dot::before { content: ""; position: absolute; inset: -8px; } /* larger tap target */
.hs-dot:hover { background: rgba(154,178,214,.55); }
.hs-dot.active { background: var(--accent-bright); width: 26px; }
.hs-pause {
  width: 30px; height: 30px; border-radius: 50%; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid rgba(154,178,214,.35); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: color .15s ease, border-color .15s ease;
}
.hs-pause:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.hs-pause .i-play { display: none; }
.hs-pause.paused .i-pause { display: none; }
.hs-pause.paused .i-play { display: block; }

/* AI-agent banner above the slider */
.ai-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content; max-width: 100%; margin: 0 auto 34px;
  background: linear-gradient(90deg, rgba(46,125,255,.18), rgba(46,125,255,.05));
  border: 1px solid rgba(87,160,255,.45); border-radius: 999px;
  padding: 9px 20px 9px 12px; font-size: 14px; line-height: 1.45;
  box-shadow: 0 0 26px rgba(46,125,255,.22), inset 0 0 18px rgba(46,125,255,.07);
}
.ai-banner .ico {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-dim); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
}
.ai-banner p { margin: 0; }
.ai-banner b { color: var(--text); white-space: nowrap; }
.ai-banner .sep { color: rgba(87,160,255,.6); margin: 0 7px; }
.ai-banner span:not(.sep) { color: var(--muted); }
@media (max-width: 700px) {
  .ai-banner { border-radius: 16px; padding: 10px 16px; align-items: flex-start; }
  .ai-banner .ico { margin-top: 1px; }
}

/* diagram styling shared by slide art */
.diag-box { fill: #111B2E; stroke: rgba(154,178,214,.35); }
.diag-box2 { fill: #0D1524; stroke: rgba(154,178,214,.25); }
.diag-hl { fill: rgba(46,125,255,.14); stroke: rgba(87,160,255,.55); }
.diag-line { stroke: rgba(154,178,214,.4); fill: none; }
.diag-acc { stroke: #57A0FF; fill: none; }
.diag-txt { fill: #E9EFF8; font-family: 'Inter', sans-serif; font-weight: 600; }
.diag-mut { fill: #9DABC0; font-family: 'Inter', sans-serif; }
.diag-mono { fill: #57A0FF; font-family: ui-monospace, Consolas, monospace; }
.diag-grn { fill: #35C46F; }

@media (max-width: 980px) {
  .hs-grid { grid-template-columns: 1fr; gap: 34px; min-height: 0; }
  .hs-art { max-width: 520px; }
  .hs-arrow { display: none; } /* swipe + dots on small screens */
  .hs-belt { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slide { transition: none; }
}
