/* =========================================================
   UOB Intelligent Library System — public showcase website
   Tokens follow the approved UOB Library design system
   (UOB blue #004FA3, gold #CFAE78, IBM Plex Sans).
   ========================================================= */

:root {
  /* Brand */
  --primary: #004FA3;
  --primary-dark: #004185;
  --primary-deep: #00366F;
  --accent: #CFAE78;
  --accent-text: #8A6A33;

  /* Light-blue direction */
  --sky-50: #F4F8FD;
  --sky-100: #E8F0F9;
  --sky-200: #DCE6F2;
  --sky-300: #BFD3EA;
  --on-blue-soft: #DCE6F2;

  /* Text & neutrals */
  --text: #212934;
  --text-body: #4A4E57;
  --text-muted: #5F636B;
  --bg: #FFFFFF;
  --border: #E3E8EF;
  --border-input: #7D8189;

  /* Status */
  --error: #B42318;   --error-bg: #FEF3F2;
  --success: #1F6F43; --success-bg: #EEF6F0;

  /* Shape & depth */
  --r-sm: 2px;
  --r-lg: 6px;
  --shadow-float: 0 8px 24px -8px rgba(33, 41, 52, .22);
  --shadow-frame: 0 30px 60px -24px rgba(0, 54, 111, .35), 0 12px 24px -12px rgba(0, 54, 111, .18);

  /* Layout */
  --container: 1200px;
  --gutter: 16px;
  --section: 64px;

  --font: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (min-width: 768px)  { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --section: 96px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--text-body); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--text); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.on-blue :focus-visible { outline-color: #fff; }
::selection { background: var(--sky-200); color: var(--text); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Type scale ---------- */
.display { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); line-height: 1.08; letter-spacing: -0.025em; }
.h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.875rem); line-height: 1.14; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem); line-height: 1.2; letter-spacing: -0.015em; }
.h3 { font-size: 1.25rem; line-height: 1.35; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--text-body); }
.small { font-size: .875rem; line-height: 1.5; }
.muted { color: var(--text-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .8125rem; font-weight: 500; letter-spacing: .02em;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.on-blue .eyebrow { color: var(--accent); }
.gold-bar { display: block; width: 40px; height: 3px; background: var(--accent); margin-bottom: 16px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm);
  font: 500 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -8px rgba(0,79,163,.6); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-primary:active { background: var(--primary-deep); transform: none; }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--sky-100); color: var(--primary-dark); }
.on-blue .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.on-blue .btn-primary:hover { background: var(--sky-100); color: var(--primary-dark); }
.on-blue .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.on-blue .btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .btn-row .btn { flex: 1 1 100%; } }

.link-action {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none;
  color: var(--primary); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px;
}
.link-action::after { content: "→"; transition: transform .2s; }
.link-action:hover::after { transform: translateX(3px); }
.on-blue .link-action { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(33,41,52,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.brand-text span { font-size: .75rem; color: var(--text-muted); font-family: var(--mono); }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .9375rem;
  background: linear-gradient(var(--accent), var(--accent)) 50% 100% / 0 2px no-repeat; transition: background-size .25s, color .2s;
}
.nav a:hover { color: var(--primary); background-size: calc(100% - 24px) 2px; }
.nav a[aria-current="page"] { color: var(--primary); background-size: calc(100% - 24px) 2px; font-weight: 600; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--border); background: #fff; border-radius: var(--r-sm); color: var(--text); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-nav a { display: block; padding: 14px 0; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a[aria-current="page"] { color: var(--primary); }
.mobile-nav .btn { width: 100%; margin-top: 16px; }
@media (min-width: 1024px) {
  .nav, .header-cta { display: block; }
  .menu-toggle, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-tint { background: var(--sky-50); }
.section-line { border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }

.band-blue {
  background: var(--primary); color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
.band-blue::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(0,54,111,.6), transparent 70%);
}
.band-blue h2, .band-blue h3 { color: #fff; }
.band-blue p { color: var(--on-blue-soft); }
.grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at 85% 10%, rgba(191,211,234,.75), transparent 70%),
    radial-gradient(45% 50% at 5% 20%, rgba(232,240,249,1), transparent 70%),
    linear-gradient(180deg, var(--sky-50) 0%, #fff 78%);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(0,79,163,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,79,163,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  background: #fff; border: 1px solid var(--sky-200); border-radius: 999px;
  font-size: .875rem; color: var(--text-body); box-shadow: 0 4px 14px -8px rgba(0,79,163,.35);
}
.hero-badge b { background: var(--primary); color: #fff; font-weight: 500; font-size: .75rem; padding: 3px 10px; border-radius: 999px; font-family: var(--mono); }
.hero h1 { margin-top: 24px; }
.hero h1 .hl { color: var(--primary); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--accent); opacity: .85; z-index: -1;
  transform-origin: left; animation: underline 1s .4s both cubic-bezier(.2,.7,.2,1);
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lead { margin: 22px auto 0; max-width: 680px; }
.hero .btn-row { justify-content: center; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 28px; color: var(--text-muted); font-size: .875rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--primary); }
.hero-visual { position: relative; margin: 56px auto 0; max-width: 1080px; }
.hero-visual::after { /* fade into next section */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 38%; background: linear-gradient(transparent, #fff 88%); pointer-events: none; z-index: 3;
}

/* Floating chips around hero mockup */
.float-chip {
  position: absolute; z-index: 4; display: none; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px 14px;
  box-shadow: var(--shadow-float); font-size: .8125rem; color: var(--text); font-weight: 500;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--primary); flex: none; }
.float-chip .ic svg { width: 16px; height: 16px; }
.float-chip small { display: block; color: var(--text-muted); font-weight: 400; font-size: .75rem; }
.float-chip.c1 { left: -28px; top: 18%; }
.float-chip.c2 { right: -34px; top: 34%; animation-delay: -2s; }
.float-chip.c3 { left: 6%; top: 56%; animation-delay: -4s; }
@media (min-width: 1100px) { .float-chip { display: inline-flex; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Browser / product frames (interface illustrations) ---------- */
.frame {
  position: relative; background: #fff; border: 1px solid #D5DFEC; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-frame);
}
.frame-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; background: #F3F6FA; border-bottom: 1px solid #E1E8F1; }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 10px; height: 10px; border-radius: 50%; background: #D3DCE7; }
.frame-url { flex: 1; max-width: 360px; margin: 0 auto; height: 22px; border-radius: 4px; background: #fff; border: 1px solid #E1E8F1; font: 500 11px/20px var(--mono); color: var(--text-muted); text-align: center; overflow: hidden; white-space: nowrap; }
.frame-body { position: relative; }
.frame-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 2; background: #fff; }
.frame-caption { margin-top: 14px; font-size: .8125rem; color: var(--text-muted); text-align: center; }

/* Mock: library homepage */
.mk { font-size: 10px; line-height: 1.4; color: var(--text); user-select: none; }
.mk-util { height: 18px; background: var(--primary-dark); display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 3%; }
.mk-util i { display: block; width: 36px; height: 4px; background: rgba(255,255,255,.55); border-radius: 2px; }
.mk-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 3%; gap: 12px; }
.mk-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 11px; color: var(--primary); }
.mk-logo b { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); display: inline-block; box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--primary); }
.mk-search { flex: 0 1 34%; height: 20px; border: 1px solid var(--border); border-radius: 2px; display: flex; align-items: center; padding: 0 8px; color: var(--text-muted); font-size: 9px; }
.mk-menu { display: flex; gap: 4%; padding: 0 3% 8px; border-bottom: 1px solid var(--border); font-weight: 500; font-size: 9.5px; }
.mk-menu span:first-child { color: var(--primary); box-shadow: 0 2px 0 var(--accent); }
.mk-hero {
  position: relative; padding: 9% 6% 13%; color: #fff; text-align: center;
  background:
    linear-gradient(rgba(0,54,111,.72), rgba(0,54,111,.72)),
    repeating-linear-gradient(90deg, #6d7f97 0 6%, #8293aa 6% 7%, #5c6e86 7% 13%, #7a8ba2 13% 14%),
    linear-gradient(#90a2b8, #4e6079);
}
.mk-hero h4 { color: #fff; font-size: clamp(12px, 2.2vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.mk-tabs { display: flex; justify-content: center; gap: 4px; margin-top: 4%; flex-wrap: wrap; }
.mk-tabs span { padding: 4px 8px; border: 1px solid rgba(255,255,255,.55); border-radius: 2px; font-size: 8.5px; }
.mk-tabs span.on { background: #fff; color: var(--primary); border-color: #fff; font-weight: 600; }
.mk-sbox { max-width: 70%; margin: 8px auto 0; height: 28px; background: #fff; border-radius: 2px; display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 10px; color: var(--text-muted); font-size: 9px; box-shadow: 0 0 0 2px rgba(207,174,120,.9); }
.mk-sbox b { background: var(--primary-dark); color: #fff; padding: 5px 12px; border-radius: 2px; font-weight: 500; }
.mk-stats { position: relative; z-index: 1; margin: -7% 8% 0; background: #fff; border-top: 2px solid var(--accent); display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 0; box-shadow: var(--shadow-float); }
.mk-stats div { text-align: center; }
.mk-stats strong { display: block; color: var(--primary); font-size: clamp(11px, 1.7vw, 17px); font-weight: 600; }
.mk-stats span { color: var(--text-muted); font-size: 8.5px; }
.mk-sec { padding: 7% 6% 4%; }
.mk-sec-t { width: 18px; height: 2px; background: var(--accent); margin-bottom: 6px; }
.mk-sec h5 { font-size: 11px; margin: 0 0 8px; }
.mk-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mk-tiles div { aspect-ratio: 1; border-radius: 2px; position: relative; overflow: hidden; background: linear-gradient(160deg, #8aa0bb, #4c5f7a); }
.mk-tiles div::after { content: ""; position: absolute; inset: 0; background: rgba(0,54,111,.62); }
.mk-tiles div::before { content: ""; position: absolute; left: 10%; bottom: 14%; width: 22%; height: 2px; background: var(--accent); z-index: 1; }
.mk-tiles div:nth-child(2) { background: linear-gradient(160deg, #a7b6c8, #63758e); }
.mk-tiles div:nth-child(3) { background: linear-gradient(160deg, #7f93ad, #3f526c); }
.mk-tiles div:nth-child(4) { background: linear-gradient(160deg, #9aabbf, #5a6c85); }

/* Mock: AI assistant panel */
.mk-chat { background: #fff; border-radius: 10px; border: 1px solid #D5DFEC; box-shadow: var(--shadow-frame); overflow: hidden; font-size: 13px; color: var(--text); }
.mk-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--primary); color: #fff; }
.mk-chat-head .av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--primary); flex: none; }
.mk-chat-head .av svg { width: 18px; height: 18px; }
.mk-chat-head strong { display: block; font-weight: 600; font-size: 14px; }
.mk-chat-head small { color: var(--on-blue-soft); font-size: 12px; }
.mk-chat-head .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--on-blue-soft); }
.mk-chat-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 3px rgba(126,226,168,.25); }
.mk-chat-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(#fff, var(--sky-50)); min-height: 300px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 12px; line-height: 1.5; font-size: 13px; }
.bubble.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 3px; }
.bubble.bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 3px; color: var(--text-body); }
.bubble.bot b { color: var(--text); font-weight: 600; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sources span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--sky-100); color: var(--primary); font-weight: 500; }
.sources span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky-300); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.mk-chat-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 12.5px; }
.mk-chat-input .fld { flex: 1; height: 36px; border: 1px solid var(--border); border-radius: 18px; display: flex; align-items: center; padding: 0 14px; }
.mk-chat-input .mic, .mk-chat-input .send { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mk-chat-input .mic { background: var(--sky-100); color: var(--primary); }
.mk-chat-input .send { background: var(--primary); color: #fff; }
.mk-chat-input svg { width: 16px; height: 16px; }
[data-chat] .step { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
[data-chat] .step.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-chat] .step { opacity: 1; transform: none; } }

/* Mock: admin panel */
.mk-admin { display: grid; grid-template-columns: 30% 1fr; min-height: 320px; font-size: 11px; color: var(--text); }
.mk-side { background: #F7F9FC; border-right: 1px solid var(--border); padding: 14px 10px; }
.mk-side .t { font-weight: 600; font-size: 11.5px; color: var(--primary); padding: 0 8px 12px; display: flex; align-items: center; gap: 6px; }
.mk-side .t::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--primary); }
.mk-side p { font-size: 9px; color: var(--text-muted); text-transform: none; padding: 8px 8px 4px; font-family: var(--mono); }
.mk-side span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; color: var(--text-body); }
.mk-side span::before { content: ""; width: 10px; height: 10px; border-radius: 2px; border: 1.5px solid currentColor; opacity: .6; }
.mk-side span.on { background: var(--sky-100); color: var(--primary); font-weight: 600; }
.mk-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mk-main-h { display: flex; align-items: center; justify-content: space-between; }
.mk-main-h strong { font-size: 13px; }
.mk-main-h b { background: var(--primary); color: #fff; padding: 5px 10px; border-radius: 3px; font-weight: 500; font-size: 10px; }
.mk-table { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.mk-table div { display: grid; grid-template-columns: 1.6fr 1fr .8fr; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--border); align-items: center; }
.mk-table div:first-child { border-top: 0; background: #F7F9FC; color: var(--text-muted); font-size: 9.5px; font-weight: 500; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 9px; font-weight: 600; }
.pill.pub { background: var(--success-bg); color: var(--success); }
.pill.draft { background: #F1F2F4; color: var(--text-muted); }
.pill.sch { background: var(--sky-100); color: var(--primary); }
.mk-agent { border: 1px solid var(--sky-300); background: var(--sky-50); border-radius: 6px; padding: 10px 12px; display: grid; gap: 6px; }
.mk-agent .h { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary); }
.mk-agent .h::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mk-agent .act { display: flex; gap: 6px; margin-top: 2px; }
.mk-agent .act b { padding: 4px 10px; border-radius: 3px; font-size: 9.5px; font-weight: 500; background: var(--primary); color: #fff; }
.mk-agent .act i { font-style: normal; padding: 4px 10px; border-radius: 3px; font-size: 9.5px; border: 1px solid var(--border); background: #fff; }

/* ---------- Logo / tech strip ---------- */
.strip { padding: 28px 0 8px; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; }
.strip-label { font-size: .875rem; color: var(--text-muted); width: 100%; text-align: center; }
.tech { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #6B7280; font-size: 1rem; letter-spacing: -.01em; transition: color .2s; }
.tech:hover { color: var(--primary); }
.tech svg { width: 22px; height: 22px; }

/* ---------- Problem / solution ---------- */
.compare { display: grid; gap: 20px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; gap: 28px; } }
.compare-col { border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--border); background: #fff; }
.compare-col.after { border-color: var(--sky-300); background: linear-gradient(160deg, #fff 40%, var(--sky-50)); box-shadow: 0 24px 48px -32px rgba(0,79,163,.45); position: relative; }
.compare-col.after::before { content: ""; position: absolute; top: -1px; left: 32px; width: 48px; height: 3px; background: var(--accent); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; }
.compare-col ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.compare-col li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.compare-col li svg { width: 20px; height: 20px; margin-top: 3px; }
.compare-col.before li svg { color: #9AA1AB; }
.compare-col.after li svg { color: var(--primary); }
.tag { display: inline-block; font-family: var(--mono); font-size: .75rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.tag-grey { background: #F1F2F4; color: var(--text-muted); }
.tag-blue { background: var(--sky-100); color: var(--primary); }
.tag-gold { background: #F7EFE1; color: var(--accent-text); }

/* ---------- Bento feature grid ---------- */
.bento { display: grid; gap: 20px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.bento-item {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff; padding: 28px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.bento-item:hover { border-color: var(--sky-300); box-shadow: 0 20px 40px -28px rgba(0,79,163,.45); transform: translateY(-2px); }
.bento-item .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--primary); margin-bottom: 6px; }
.bento-item .ico svg { width: 22px; height: 22px; }
.bento-item p { font-size: .9688rem; }
@media (min-width: 768px) {
  .b-wide { grid-column: span 4; } .b-narrow { grid-column: span 2; } .b-third { grid-column: span 2; } .b-half { grid-column: span 3; }
}
.bento-item.blue { background: var(--primary); border-color: var(--primary); color: #fff; }
.bento-item.blue h3 { color: #fff; } .bento-item.blue p { color: var(--on-blue-soft); }
.bento-item.blue .ico { background: rgba(255,255,255,.14); color: #fff; }
.bento-visual { margin-top: auto; padding-top: 18px; }

/* Search tabs visual inside bento */
.tabs-demo { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs-demo span { font-size: .8125rem; padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid var(--border); color: var(--text-body); background: #fff; transition: all .3s; }
.tabs-demo span.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.sbar { margin-top: 10px; display: flex; align-items: center; gap: 10px; height: 46px; border: 1px solid var(--border-input); border-radius: var(--r-sm); padding: 0 6px 0 14px; color: var(--text-muted); font-size: .9375rem; background: #fff; }
.sbar svg { width: 18px; height: 18px; color: var(--text-muted); }
.sbar .q { flex: 1; color: var(--text); white-space: nowrap; overflow: hidden; }
.sbar .q::after { content: "|"; color: var(--primary); animation: caret 1s steps(1) infinite; margin-left: 1px; }
@keyframes caret { 50% { opacity: 0; } }
.sbar b { background: var(--primary-dark); color: #fff; font-weight: 500; font-size: .875rem; padding: 8px 14px; border-radius: var(--r-sm); }

.lang-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang-demo div { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px; font-size: .875rem; }
.lang-demo div[dir="rtl"] { font-family: "IBM Plex Sans Arabic", var(--font); text-align: right; }
.lang-demo b { display: block; color: var(--text); font-weight: 600; }
.lang-demo i { display: block; width: 28px; height: 2px; background: var(--accent); margin: 8px 0; font-style: normal; }
.lang-demo div[dir="rtl"] i { margin-right: 0; margin-left: auto; }

/* ---------- Spotlight split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.05fr; gap: 64px; } .split.rev > :first-child { order: 2; } }
.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist .ck { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--primary); }
.checklist .ck svg { width: 14px; height: 14px; }
.checklist strong { color: var(--text); font-weight: 600; display: block; }
.band-blue .checklist .ck { background: rgba(255,255,255,.14); color: #fff; }
.band-blue .checklist strong { color: #fff; }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .numbers { grid-template-columns: repeat(3, 1fr); } }
.numbers > div { background: #fff; padding: 32px 28px; }
.numbers strong { display: block; font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: 600; color: var(--primary); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.numbers span { display: block; margin-top: 6px; color: var(--text-body); }
.numbers-note { margin-top: 14px; font-size: .875rem; color: var(--text-muted); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step-card { position: relative; padding: 28px 28px 30px; border-top: 2px solid var(--border); transition: border-color .3s; }
.step-card:hover { border-top-color: var(--accent); }
.step-card::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: .875rem; color: var(--primary); font-weight: 500; display: block; margin-bottom: 14px; }
.step-card h3 { margin-bottom: 8px; }
.band-blue .step-card { border-top-color: rgba(255,255,255,.25); }
.band-blue .step-card::before { color: var(--accent); }

/* ---------- Solutions list ---------- */
.solution { display: grid; gap: 32px; align-items: center; padding: 56px 0; border-top: 1px solid var(--border); }
.solution:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 960px) { .solution { grid-template-columns: 1fr 1fr; gap: 72px; padding: 80px 0; } .solution:nth-child(even) .sol-visual { order: -1; } }
.sol-num { font-family: var(--mono); font-size: .875rem; color: var(--accent-text); font-weight: 500; }
.solution h2 { margin: 10px 0 16px; }
.pb { display: grid; gap: 14px; margin-top: 24px; }
.pb div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.pb dt { font-family: var(--mono); font-size: .8125rem; color: var(--text-muted); padding-top: 3px; }
.pb dd { margin: 0; }
.sol-visual {
  position: relative; border-radius: var(--r-lg); padding: 28px; min-height: 300px; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--sky-100), var(--sky-50) 60%, #fff);
  border: 1px solid var(--sky-200); display: flex; align-items: center; justify-content: center;
}
.sol-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: radial-gradient(rgba(0,79,163,.14) 1px, transparent 1px); background-size: 18px 18px;
  mask-image: linear-gradient(135deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%);
}
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-float); padding: 18px; width: 100%; max-width: 420px; }
.panel + .panel { margin-top: 12px; }
.panel-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text); font-size: .9375rem; margin-bottom: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: .875rem; }
.row:first-of-type { border-top: 0; }
.row .k { display: flex; align-items: center; gap: 10px; color: var(--text); }
.row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.row .arr { color: var(--primary); }
.date-blk { width: 48px; height: 52px; background: var(--primary); color: #fff; border-radius: var(--r-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; flex: none; }
.date-blk b { font-size: 1.125rem; font-weight: 600; } .date-blk span { font-size: .6875rem; text-transform: none; }
.ev { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); }
.ev:first-of-type { border-top: 0; }
.ev .c { font-size: .75rem; color: var(--accent-text); font-weight: 500; } .ev strong { display: block; font-size: .9375rem; color: var(--text); font-weight: 600; } .ev small { color: var(--text-muted); font-size: .8125rem; }
.banner-demo { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--sky-100); border-inline-start: 4px solid var(--primary); border-radius: var(--r-sm); font-size: .875rem; color: var(--text); margin-bottom: 12px; }
.access-demo { display: flex; gap: 8px; }
.access-demo span { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--r-sm); display: grid; place-items: center; font-weight: 600; color: var(--text); background: #fff; }
.access-demo span.on { border-color: var(--primary); color: var(--primary); box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 72px; isolation: isolate; border-bottom: 1px solid var(--border); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(50% 80% at 90% 0%, rgba(191,211,234,.8), transparent 70%), linear-gradient(180deg, var(--sky-50), #fff);
}
.page-hero .hero-grid-bg { mask-image: radial-gradient(50% 80% at 85% 20%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(50% 80% at 85% 20%, #000 10%, transparent 70%); }
.crumbs { font-size: .875rem; color: var(--text-muted); display: flex; gap: 8px; align-items: center; margin-bottom: 20px; }
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--primary); }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { margin-top: 18px; max-width: 680px; }
@media (min-width: 1024px) { .page-hero { padding: 88px 0 96px; } }

/* ---------- Cards (used sparingly) ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .cards.c2 { grid-template-columns: repeat(2, 1fr); } .cards.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) and (max-width: 1023px) { .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
.card { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; background: #fff; }
.card h3 { margin-bottom: 8px; }

/* Mission / vision */
.mv { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 860px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv > div { background: #fff; padding: 40px 36px; }
.mv h3 { font-size: 1rem; font-family: var(--mono); font-weight: 500; color: var(--primary); margin-bottom: 14px; }
.mv p.big { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.45; color: var(--text); font-weight: 500; letter-spacing: -.01em; }

/* Objectives */
.objectives { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: obj; }
@media (min-width: 860px) { .objectives { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.objectives li { counter-increment: obj; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border); }
.objectives li::before { content: counter(obj, decimal-leading-zero); font-family: var(--mono); color: var(--accent-text); font-weight: 500; padding-top: 2px; }
.objectives strong { color: var(--text); font-weight: 600; display: block; }

/* Team */
.team { display: grid; gap: 20px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.member:hover { box-shadow: 0 24px 48px -32px rgba(0,79,163,.5); transform: translateY(-2px); }
.member-top { position: relative; height: 128px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); overflow: hidden; }
.member-top::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 24px 24px; }
.avatar { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%; margin: -42px 0 0 28px; background: #fff; border: 3px solid #fff; display: grid; place-items: center; font-weight: 600; font-size: 1.5rem; color: var(--primary); box-shadow: 0 8px 20px -10px rgba(0,54,111,.5); background: linear-gradient(var(--sky-100), #fff); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-body { padding: 18px 28px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.member-body .role { color: var(--primary); font-weight: 500; font-size: .9375rem; }
.member-body .dept { color: var(--text-muted); font-size: .875rem; }
.member-body p { font-size: .9375rem; margin-top: 8px; }
.member-links { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: .875rem; font-weight: 500; background: #fff; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn.pending { color: var(--text-muted); border-style: dashed; cursor: default; }
.icon-btn.pending:hover { border-color: var(--border); color: var(--text-muted); }

.supervisors { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 700px) { .supervisors { grid-template-columns: 1fr 1fr; } }
.sup { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.sup .avatar { margin: 0; width: 56px; height: 56px; font-size: 1rem; border-color: var(--sky-100); box-shadow: none; }
.sup strong { color: var(--text); font-weight: 600; display: block; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.ctable { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9688rem; }
.ctable th, .ctable td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--border); vertical-align: top; }
.ctable thead th { border-top: 0; font-weight: 600; color: var(--text); background: #FAFBFD; font-size: .9375rem; }
.ctable thead th.us { color: var(--primary); background: var(--sky-50); box-shadow: inset 0 3px 0 var(--accent); }
.ctable td.us { background: var(--sky-50); color: var(--text); }
.ctable th[scope="row"] { font-weight: 500; color: var(--text); width: 26%; }
.ctable .yes, .ctable .no { display: inline-flex; align-items: center; gap: 8px; }
.ctable .yes svg { color: var(--primary); width: 18px; height: 18px; flex: none; }
.ctable .no svg { color: #9AA1AB; width: 18px; height: 18px; flex: none; }

/* Stack */
.stack { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stack { grid-template-columns: repeat(4, 1fr); } }
.stack > div { background: #fff; padding: 24px; }
.stack h3 { font-size: .8125rem; font-family: var(--mono); font-weight: 500; color: var(--text-muted); margin-bottom: 12px; }
.stack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stack li { color: var(--text); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.stack li::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }

/* Audience */
.audience { display: grid; gap: 20px; }
@media (min-width: 860px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.aud { padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.aud .ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.aud .ico svg { width: 22px; height: 22px; }
.aud ul { margin: 14px 0 0; padding-left: 18px; color: var(--on-blue-soft); display: grid; gap: 6px; font-size: .9375rem; }

/* Roadmap */
.roadmap { display: grid; gap: 16px; }
@media (min-width: 760px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .roadmap { grid-template-columns: repeat(4, 1fr); } }
.rm { padding: 22px; border: 1px dashed var(--sky-300); border-radius: var(--r-lg); background: #fff; }
.rm h3 { font-size: 1.0625rem; margin: 10px 0 6px; }
.rm p { font-size: .9375rem; }

/* Interaction journey */
.journey { display: grid; gap: 0; position: relative; }
@media (min-width: 960px) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .journey::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .35; }
}
.jstep { position: relative; padding: 0 0 28px 64px; }
@media (min-width: 960px) { .jstep { padding: 64px 0 0; } }
.jstep .n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: .875rem; z-index: 1; }
.jstep h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.jstep p { font-size: .9375rem; }

/* AI capability tabs */
.ai-tabs { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .ai-tabs { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.tablist { display: grid; gap: 10px; }
.tab {
  text-align: left; font: inherit; cursor: pointer; border: 1px solid var(--border); background: #fff; border-radius: var(--r-lg);
  padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; transition: border-color .2s, box-shadow .2s, background .2s;
}
.tab:hover { border-color: var(--sky-300); }
.tab[aria-selected="true"] { border-color: var(--primary); box-shadow: 0 16px 36px -28px rgba(0,79,163,.7); background: linear-gradient(160deg, #fff, var(--sky-50)); }
.tab .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--sky-100); color: var(--primary); display: grid; place-items: center; }
.tab[aria-selected="true"] .ico { background: var(--primary); color: #fff; }
.tab .ico svg { width: 22px; height: 22px; }
.tab strong { display: block; color: var(--text); font-weight: 600; font-size: 1.0625rem; }
.tab span { display: block; margin-top: 4px; color: var(--text-body); font-size: .9375rem; line-height: 1.55; }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fadeUp .4s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Voice visual */
.voice { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px 24px; }
.voice-orb { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3d7fc7, var(--primary) 55%, var(--primary-deep)); display: grid; place-items: center; color: #fff; position: relative; box-shadow: 0 20px 40px -16px rgba(0,79,163,.6); }
.voice-orb svg { width: 40px; height: 40px; }
.voice-orb::before, .voice-orb::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(0,79,163,.25); animation: ring 2.4s infinite; }
.voice-orb::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.wave { display: flex; gap: 4px; align-items: center; height: 40px; }
.wave i { width: 4px; border-radius: 2px; background: var(--primary); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd) { background: var(--accent); }
@keyframes wave { 0%,100% { height: 8px; } 50% { height: 36px; } }
.voice-field { width: 100%; max-width: 360px; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; background: #fff; font-size: .875rem; }
.voice-field label { display: block; font-weight: 500; color: var(--text); font-size: .8125rem; margin-bottom: 4px; }
.voice-field span { color: var(--primary); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .voice-orb::before, .voice-orb::after, .wave i, .float-chip { animation: none; } }

/* ---------- Demo ---------- */
.video-shell { position: relative; border-radius: 12px; overflow: hidden; background: var(--primary-deep); box-shadow: var(--shadow-frame); aspect-ratio: 16 / 9; isolation: isolate; }
.video-shell iframe, .video-shell video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; color: #fff; padding: 24px;
  background: radial-gradient(60% 70% at 70% 20%, rgba(61,127,199,.55), transparent 70%), linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.video-poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; }
.play { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 0 0 10px rgba(255,255,255,.16); transition: transform .2s, box-shadow .2s; }
.play:hover { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255,255,255,.2); }
.play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-poster h2 { color: #fff; font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
.video-poster p { color: var(--on-blue-soft); max-width: 520px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: .8125rem; color: #fff; font-family: var(--mono); }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.chapters li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); }
.chapters li:first-child { border-top: 0; }
.chapters time { font-family: var(--mono); color: var(--primary); font-weight: 500; font-size: .875rem; padding-top: 2px; }
.chapters strong { color: var(--text); font-weight: 600; display: block; }
.access-options { display: grid; gap: 16px; }
@media (min-width: 860px) { .access-options { grid-template-columns: repeat(3, 1fr); } }
.opt { padding: 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.opt .state { align-self: flex-start; }
.opt .btn, .opt .link-action { margin-top: auto; align-self: flex-start; }
.opt-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.contact-card { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--sky-200); background: linear-gradient(160deg, var(--sky-50), #fff); }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card h2 { font-size: 1.125rem; margin-bottom: 6px; }
.contact-line { display: flex; gap: 14px; align-items: center; margin-top: 16px; }
.contact-line .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.contact-line .ico svg { width: 20px; height: 20px; }
.contact-line a { font-weight: 600; font-size: 1.0625rem; word-break: break-all; }
.placeholder { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .8125rem; color: var(--accent-text); background: #F7EFE1; border: 1px dashed #DCC59C; padding: 2px 8px; border-radius: var(--r-sm); }
.people-links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.people-links li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.people-links li:first-child { border-top: 0; }
.people-links strong { color: var(--text); font-weight: 600; display: block; font-size: .9375rem; }
.people-links small { color: var(--text-muted); }

.form { display: grid; gap: 22px; padding: 32px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; box-shadow: 0 24px 48px -36px rgba(0,54,111,.45); }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 500; color: var(--text); margin-bottom: 8px; font-size: 1rem; }
.field label .opt-l { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--border-input); border-radius: var(--r-sm);
  font: 400 1rem/1.5 var(--font); color: var(--text); background: #fff; transition: border-color .15s;
}
.field textarea { min-height: 150px; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23212934' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 2px; border-color: var(--primary); }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.field .hint { font-size: .875rem; color: var(--text-muted); margin: -2px 0 8px; }
.field .err { display: none; margin-top: 8px; color: var(--error); font-weight: 500; font-size: .9375rem; }
.field .err.show { display: flex; gap: 6px; }
.field .err::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; font-weight: 700; flex: none; margin-top: 3px; }
.counter { text-align: right; font-size: .8125rem; color: var(--text-muted); margin-top: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9375rem; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; }
.msg { display: none; padding: 16px 18px; border-radius: var(--r-sm); border-inline-start: 4px solid; color: var(--text); }
.msg.show { display: block; }
.msg strong { display: block; font-weight: 600; }
.msg.ok { background: var(--success-bg); border-color: var(--success); }
.msg.bad { background: var(--error-bg); border-color: var(--error); }
.msg.info { background: var(--sky-100); border-color: var(--primary); }
.btn[disabled] { background: #ECE8E1; color: #6B6F76; box-shadow: none; cursor: not-allowed; transform: none; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 12px; padding: 56px 32px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 80% 0%, rgba(255,255,255,.18), transparent 70%); }
.cta .grid-lines { mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent); }
.cta h2 { color: #fff; max-width: 720px; margin: 14px auto 0; }
.cta p { color: var(--on-blue-soft); max-width: 600px; margin: 14px auto 0; }
.cta .btn-row { justify-content: center; margin-top: 28px; }
@media (min-width: 1024px) { .cta { padding: 80px 64px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0E1B2C; color: #B9C3D0; padding: 64px 0 28px; position: relative; margin-top: var(--section); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text span { color: #8C99AA; }
.footer-about { margin-top: 16px; font-size: .9375rem; max-width: 340px; }
.site-footer h2 { color: #fff; font-size: .875rem; font-family: var(--mono); font-weight: 500; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.site-footer a { color: #D6DEE8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; color: #8C99AA; }
.site-footer .placeholder { color: #E6D2AC; background: rgba(207,174,120,.12); border-color: rgba(207,174,120,.4); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .hl::after { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* 404 */
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf .code { font-family: var(--mono); font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 600; color: var(--sky-200); line-height: 1; }

/* Grid children must be allowed to shrink below their content width */
.split > *, .ai-tabs > *, .contact-grid > *, .solution > *, .compare > *, .bento > * { min-width: 0; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) { [data-chat] .typing { display: none !important; } }

/* ===== Real assets (logo, photos, screenshots) ===== */
:root { --accent: #E9A94A; }   /* current project gold (since 4 Nov 2026) */
.brand { gap: 14px; }
.brand-logo { height: 44px; width: auto; }
.brand .brand-text { padding-left: 14px; border-left: 1px solid var(--border); }
.brand .brand-text strong { font-size: .9375rem; }
.site-footer .brand .brand-text { border-left-color: rgba(255,255,255,.2); }
.site-footer .brand-logo { height: 48px; }
@media (max-width: 420px) { .brand-logo { height: 36px; } .brand .brand-text { display: none; } }

.mk-logo-img { height: 22px; width: auto; }
.mk-hero { background: linear-gradient(rgba(0,54,111,.7), rgba(0,54,111,.7)), url(students-table.webp) center 35% / cover; }
.mk-tiles div { background-size: cover !important; background-position: center !important; }
.mk-tiles div span { position: absolute; left: 10%; right: 8%; bottom: 22%; z-index: 2; color: #fff; font-size: 8.5px; font-weight: 600; line-height: 1.2; }

.frame-real { display: block; width: 100%; height: auto; }
.shot-stack { display: grid; gap: 20px; }
@media (min-width: 960px) { .shot-stack figure:last-child { width: 82%; margin-left: auto !important; margin-top: -90px !important; position: relative; } }

.db-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .db-strip { grid-template-columns: repeat(5, 1fr); } }
.db { height: 92px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); display: grid; place-items: center; padding: 14px; transition: border-color .2s, transform .2s; }
.db:hover { border-color: var(--sky-300); transform: translateY(-2px); }
.db img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }

.photo-band { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 72px; }
.photo-band img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 760px) { .photo-band { grid-template-columns: 1.3fr 1fr 1fr; } .photo-band img { height: 300px; } }
@media (max-width: 759px) { .photo-band img:not(:first-child) { display: none; } }

.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.photo figcaption { margin-top: 10px; font-size: .875rem; color: var(--text-muted); }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; max-width: 460px; }
.svc { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); }
.svc img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc:hover img { transform: scale(1.05); }
.svc::after { content: ""; position: absolute; inset: 0; background: rgba(0,54,111,.62); }
.svc figcaption { position: absolute; left: 14px; right: 12px; bottom: 14px; z-index: 1; color: #fff; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.svc figcaption::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 8px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.tour { position: relative; border-radius: 12px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; isolation: isolate; }
.tour img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tour::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,54,111,.92) 0%, rgba(0,54,111,.55) 45%, rgba(0,54,111,.05) 75%); }
.tour-copy { padding: 40px 32px; max-width: 640px; color: #fff; }
.tour-copy h2 { color: #fff; margin-top: 12px; }
.tour-copy p { color: var(--on-blue-soft); margin-top: 12px; }
@media (min-width: 1024px) { .tour { min-height: 520px; } .tour-copy { padding: 56px; } }

.video-poster { background: linear-gradient(rgba(0,54,111,.78), rgba(0,54,111,.86)), var(--poster, none) center / cover, var(--primary-deep); }
.brand-logo { height: 52px; }
@media (min-width: 1024px) { .brand-logo { height: 58px; } .header-inner { height: 84px; } }
.mk-logo-img { height: 34px; }

/* ===== Gold flowing lines (same artwork as the library website's x-header-lines / college-lines) ===== */
.hero-grid-bg, .page-hero .hero-grid-bg {
  inset: 0 0 auto auto; width: min(70%, 1000px); height: 300px; opacity: .55;
  background: url(gold-lines-light.svg) no-repeat right top / 100% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.hero > .hero-grid-bg { height: 360px; }
.grid-lines, .cta .grid-lines {
  opacity: 1; background: url(gold-lines-dark.svg) no-repeat right bottom / 100% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, #000 88%); mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, #000 88%);
}
.cta .grid-lines { -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 100%); mask-image: linear-gradient(180deg, transparent 35%, #000 100%); }
@media (max-width: 1023px) {
  .grid-lines { opacity: .6; -webkit-mask-image: linear-gradient(180deg, transparent 55%, #000 100%); mask-image: linear-gradient(180deg, transparent 55%, #000 100%); }
  .hero-grid-bg, .page-hero .hero-grid-bg { width: 100%; height: 200px; opacity: .4; }
}
.member-top::after { background: url(gold-lines-dark.svg) no-repeat right bottom / 140% 100%; }
.video-poster::before { background: url(gold-lines-dark.svg) no-repeat right bottom / 100% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000 100%); mask-image: linear-gradient(180deg, transparent 40%, #000 100%); }
.sol-visual::before { opacity: .45; background: url(gold-lines-light.svg) no-repeat right top / 100% 70%; -webkit-mask-image: none; mask-image: none; }

/* ===== Technology logos ===== */
.tech svg { width: 24px; height: 24px; flex: none; }
.strip .tech { color: var(--text); font-weight: 500; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-tile { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s; }
.tech-tile:hover { border-color: var(--sky-300); transform: translateY(-2px); }
.tech-tile .tech { color: var(--text); font-size: 1.0625rem; gap: 12px; }
.tech-tile .tech svg { width: 30px; height: 30px; }
.tech-tile .tech svg[stroke] { color: var(--primary); }
.tech-tile small { color: var(--text-muted); font-size: .875rem; line-height: 1.45; }
.grid-lines { inset: 0 0 auto 0; height: 260px; }
.cta .grid-lines { inset: auto 0 0 0; height: 220px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%); mask-image: linear-gradient(90deg, transparent 0%, #000 70%); }
.hero-grid-bg, .page-hero .hero-grid-bg { opacity: .8; }

/* ===================== Design pass (28 Nov) ===================== */
:root { --r-lg: 4px; --sky-50: #F1F6FC; }
.section-tint { background: #EAF1F8; }
.section-head .h2, .gold-bar + .h2, .gold-bar + h2 { margin-top: 0; }
.section-head.center .gold-bar { margin-left: auto; margin-right: auto; }
.cta .gold-bar { margin: 0 auto 16px; }
.cta h2 { margin-top: 0; }

/* One load sequence in the hero; everything else is simply there. */
.reveal { opacity: 1 !important; transform: none !important; transition: none; }
.rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.rise.r1 { animation-delay: .1s; } .rise.r2 { animation-delay: .2s; } .rise.r3 { animation-delay: .35s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.bento-item:hover, .member:hover, .db:hover, .tech-tile:hover { transform: none; box-shadow: none; }

/* Home hero: the Central Library's actual front door */
.hero2 { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 72px 0 200px; background: var(--primary-deep); }
.hero2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; }
.hero2::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,54,111,.94) 0%, rgba(0,54,111,.86) 38%, rgba(0,54,111,.42) 72%, rgba(0,54,111,.3) 100%); }
.hero2 .grid-lines { inset: auto 0 0 0; height: 300px; z-index: -1; }
.hero2-copy { max-width: 640px; }
.hero2 h1 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.5rem); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.hero2 .lead { color: var(--on-blue-soft); margin-top: 24px; max-width: 520px; }
.hero2 .btn-row { margin-top: 36px; }
.hero2-frame { position: relative; z-index: 2; margin-top: -140px; max-width: calc(1080px + var(--gutter) * 2); }
@media (min-width: 1024px) { .hero2 { padding: 120px 0 280px; } .hero2-frame { margin-top: -190px; } }
@media (max-width: 700px) { .hero2::before { background: rgba(0,54,111,.84); } }
.strip { padding-top: 48px; }

/* Inner pages: compact UOB-blue header band with the gold lines */
.page-hero { background: var(--primary); border-bottom: 0; padding: 48px 0 56px; }
.page-hero::before { background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.1), transparent 60%); }
.page-hero h1 { color: #fff; text-wrap: balance; }
.page-hero .lead { color: var(--on-blue-soft); }
.page-hero .crumbs, .page-hero .crumbs a { color: var(--on-blue-soft); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .grid-lines { inset: auto 0 0 0; height: 100%; max-height: 240px; }
@media (min-width: 1024px) { .page-hero { padding: 72px 0 80px; } }

/* Solutions index (home) */
.idx { border-top: 2px solid var(--text); }
.idx-row { display: grid; grid-template-columns: 1fr; gap: 6px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background-color .2s, padding .2s; }
.idx-row p { color: var(--text-body); }
.idx-go { display: none; color: var(--primary); font-size: 1.25rem; transition: transform .2s; }
@media (min-width: 800px) { .idx-row { grid-template-columns: 34% 1fr 32px; padding: 26px 12px; } .idx-go { display: block; } .idx-row h3 { font-size: 1.375rem; } }
.idx-row:hover { background: var(--sky-50); }
.idx-row:hover h3 { color: var(--primary); }
.idx-row:hover .idx-go { transform: translateX(4px); }

/* Feature groups (Product Features) */
.fgroups { display: grid; gap: 40px; }
@media (min-width: 900px) { .fgroups { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.fgroup h3 { padding-bottom: 14px; border-bottom: 2px solid var(--text); }
.fgroup ul { list-style: none; margin: 0; padding: 0; }
.fgroup li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: .9688rem; }
.fgroup li svg { width: 22px; height: 22px; color: var(--primary); margin-top: 2px; }
.fgroup strong { display: block; color: var(--text); font-weight: 600; }

/* Objectives are a list, not a sequence */
.objectives li { grid-template-columns: 28px 1fr; }
.objectives li::before { content: ""; width: 18px; height: 3px; background: var(--accent); margin-top: 12px; padding: 0; }
.solution h2 { margin-top: 0; }
.tour-copy .gold-bar { margin-bottom: 14px; } .tour-copy h2 { margin-top: 0; }
.hero2-bg { object-position: 50% 0; }
.hero2-copy { max-width: 560px; }
@media (min-width: 1024px) { .hero2 { padding: 110px 0 250px; } .hero2-frame { margin-top: -120px; }
  .hero2 h1 { font-size: clamp(3rem, 1.2rem + 3.6vw, 4.25rem); } }
.play[hidden] { display: none; }

/* Product name beside the logo: one font, one weight, clearly readable */
.brand .brand-text strong { font-family: var(--font); font-size: 1.0625rem; font-weight: 600; line-height: 1.2; color: var(--text); letter-spacing: -.01em; }
.site-footer .brand .brand-text strong { color: #fff; }
@media (min-width: 1024px) and (max-width: 1180px) { .brand .brand-text strong { font-size: .9375rem; } }

/* Feature boxes (Product Features overview) */
.fboxes { display: grid; gap: 56px; }
.fbox-group { display: grid; gap: 24px; }
@media (min-width: 1024px) { .fbox-group { grid-template-columns: 240px 1fr; gap: 48px; align-items: start; } .fbox-head { position: sticky; top: 112px; } }
.fbox-head h3 { font-size: 1.5rem; padding-top: 14px; border-top: 3px solid var(--accent); display: inline-block; }
.fbox-head p { margin-top: 10px; font-size: .9688rem; }
.fbox-count { display: inline-block; margin-top: 14px; font-size: .8125rem; font-weight: 500; color: var(--primary); background: var(--sky-100); padding: 4px 10px; border-radius: var(--r-sm); }
.fbox-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .fbox-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .fbox-grid { grid-template-columns: repeat(3, 1fr); } .fbox.wide { grid-column: span 2; } }
.fbox { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: border-color .2s, box-shadow .2s; }
.fbox:hover { border-color: var(--primary); box-shadow: 0 14px 30px -22px rgba(0,79,163,.55); }
.fbox-ico { width: 46px; height: 46px; border-radius: 6px; background: var(--sky-100); color: var(--primary); display: grid; place-items: center; flex: none; }
.fbox-ico svg { width: 24px; height: 24px; }
.fbox strong { display: block; color: var(--text); font-weight: 600; font-size: 1.0625rem; }
.fbox p { margin-top: 6px; font-size: .9375rem; line-height: 1.55; }
.fbox.wide { background: var(--primary); border-color: var(--primary); }
.fbox.wide strong { color: #fff; font-size: 1.25rem; } .fbox.wide p { color: var(--on-blue-soft); font-size: 1rem; }
.fbox.wide .fbox-ico { background: rgba(255,255,255,.14); color: #fff; }
@media (min-width: 900px) { .fbox.wide { flex-direction: row; align-items: center; gap: 20px; } }
.fbox-head h3 { border-top: 0; padding-top: 0; display: block; }
.fbox-head h3::before { content: ""; display: block; width: 40px; height: 3px; background: var(--accent); margin-bottom: 14px; }

/* ===================== Responsive pass (29 Nov) ===================== */
img, video { height: auto; }
.frame-shot, .hero2-bg, .tour img, .svc img, .photo-band img, .avatar img { height: 100%; }
.photo-band img { height: 220px; }
@media (min-width: 760px) { .photo-band img { height: 300px; } }
h1, h2, h3 { overflow-wrap: break-word; }

/* Small phones (320–400px) */
.tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tech-tile { min-width: 0; padding: 16px; }
.tech-tile .tech { flex-wrap: wrap; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .tech-grid, .db-strip { grid-template-columns: 1fr 1fr; }
  .tech-tile .tech { font-size: .9375rem; gap: 8px; } .tech-tile .tech svg { width: 24px; height: 24px; }
  .compare-col, .form, .contact-card, .mv > div { padding: 22px 18px; }
  .hero2 h1 { font-size: 2.125rem; }
  .cta { padding: 44px 20px; }
  .lang-demo { grid-template-columns: 1fr; }
}
.mk-sbox span, .mk-search { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mk-sbox b { flex: none; }
.date-blk span { font-size: .75rem; }
.sbar .q { min-width: 0; text-overflow: clip; }

/* Phones: comfortable tap targets, full-width actions */
@media (max-width: 639px) {
  .icon-btn { height: 44px; }
  .form .btn, .opt .btn { width: 100%; }
  .people-links li { flex-wrap: wrap; }
  .pb div { grid-template-columns: 1fr; gap: 2px; }
  .chapters li { grid-template-columns: 40px 1fr; }
  .numbers > div { padding: 24px 20px; }
  .section-head-row { margin-bottom: 28px; }
  .tour { min-height: 360px; } .tour-copy { padding: 28px 20px; }
  .video-shell { aspect-ratio: 4 / 3; }
  .hero2 { padding: 48px 0 150px; } .hero2-frame { margin-top: -110px; }

  /* Comparison table becomes stacked blocks instead of sideways scrolling */
  .table-wrap { overflow: visible; border: 0; background: none; }
  .ctable { min-width: 0; display: block; }
  .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .ctable tbody { display: grid; gap: 14px; }
  .ctable tr { display: block; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: #fff; }
  .ctable th[scope="row"], .ctable td { display: block; width: auto; border-top: 0; padding: 12px 16px; }
  .ctable th[scope="row"] { font-weight: 600; font-size: 1.0625rem; padding-bottom: 4px; }
  .ctable td::before { display: block; font-size: .8125rem; font-weight: 500; margin-bottom: 4px; color: var(--text-muted); content: "Traditional library website"; }
  .ctable td.us::before { content: "Intelligent Library System"; color: var(--primary); }
  .ctable td.us { box-shadow: inset 3px 0 0 var(--accent); }
}

/* Tablets (640–1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero2::before { background: linear-gradient(90deg, rgba(0,54,111,.93) 0%, rgba(0,54,111,.86) 60%, rgba(0,54,111,.6) 100%); }
  .hero2-copy { max-width: 520px; }
  .journey { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .audience { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .bento .b-third { grid-column: span 3; }
  .bento .b-third:nth-child(3) { grid-column: span 6; }
  .bento .b-wide { grid-column: span 6; } .bento .b-narrow { grid-column: span 6; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .contact-grid { gap: 32px; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: .875rem; }
  .header-inner { gap: 14px; } .header-cta { padding: 0 16px; }
  .brand-logo { height: 48px; }
}

/* Landscape phones: don't let the sticky header eat the screen */
@media (max-height: 480px) and (orientation: landscape) { .site-header { position: static; } .hero2 { padding-top: 32px; } }

/* Very wide screens */
@media (min-width: 1600px) { .hero2 { padding: 150px 0 300px; } .hero2-bg { object-position: 50% 12%; } }
.shot-stack { grid-template-columns: minmax(0, 1fr); }
figure, .frame, .tabpanel, .ai-tabs > div { min-width: 0; max-width: 100%; }
.mk-admin { grid-template-columns: minmax(0, 30%) minmax(0, 1fr); overflow: hidden; }

/* ===================== Restructure + Technology page (29 Nov) ===================== */
.nav a { white-space: nowrap; }
.section-head .lead a { color: var(--primary); }

/* Home: three parts of the system */
.pillars { display: grid; gap: 20px; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pillar { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 6px; text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s; }
.pillar:hover { box-shadow: 0 18px 36px -26px rgba(0,79,163,.6); border-color: var(--sky-300); border-top-color: var(--accent); }
.pillar-ico { width: 48px; height: 48px; border-radius: 6px; background: var(--sky-100); color: var(--primary); display: grid; place-items: center; }
.pillar-ico svg { width: 24px; height: 24px; }
.pillar p { color: var(--text-body); }
.pillar .link-action { margin-top: auto; align-self: flex-start; }

/* Home: simplified flow on blue */
.mini-arch { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; min-width: 0; }
.mini-arch > li, .mini-arch .pair > span { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 6px; color: #fff; }
.mini-arch > li.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; background: none; border: 0; }
.mini-arch > li + li::before { content: ""; position: absolute; left: 50%; top: -35px; height: 34px; width: 2px; background: var(--accent); opacity: .8; }
.mini-arch svg { width: 24px; height: 24px; flex: none; color: var(--accent); }
.mini-arch strong { display: block; font-weight: 600; }
.mini-arch small { display: block; color: var(--on-blue-soft); font-size: .875rem; }
@media (max-width: 480px) { .mini-arch > li.pair { grid-template-columns: 1fr; } }

/* In-page navigation on Technology */
.subnav { background: #fff; border-bottom: 1px solid var(--border); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 6px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 12px; white-space: nowrap; text-decoration: none; color: var(--text); font-weight: 500; font-size: .9375rem; background: linear-gradient(var(--accent), var(--accent)) 50% 100% / 0 3px no-repeat; transition: background-size .2s, color .2s; }
.subnav a:hover { color: var(--primary); background-size: 100% 3px; }
@media (min-width: 1024px) { .subnav { position: sticky; top: 84px; z-index: 40; } }
html { scroll-padding-top: 150px; }

/* Architecture diagram */
.arch { background: var(--sky-50); border: 1px solid var(--sky-200); border-radius: 8px; padding: 20px; }
@media (min-width: 768px) { .arch { padding: 36px; } }
.arch-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .arch-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; } .arch-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .arch-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .arch-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.node { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.node > div { min-width: 0; }
.arch-app .node { display: block; }
.node strong { display: block; color: var(--text); font-weight: 600; }
.node small { display: block; color: var(--text-body); font-size: .875rem; line-height: 1.45; margin-top: 2px; }
.node > svg { width: 26px; height: 26px; flex: none; color: var(--primary); margin-top: 2px; }
.node em { display: inline-block; margin-top: 8px; font-style: normal; font-size: .8125rem; font-weight: 500; color: var(--accent-text); background: #FBF1DE; padding: 2px 8px; border-radius: 2px; }
.n-user { border-color: var(--sky-300); }
.n-ai { border-color: var(--primary); box-shadow: inset 0 3px 0 var(--accent); }
.n-iso { border: 2px dashed var(--primary); }
.arch-app { background: var(--primary); border-radius: 8px; padding: 18px; }
.arch-app-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #fff; margin-bottom: 14px; }
.arch-app-title strong { font-size: 1.125rem; font-weight: 600; }
.arch-app-title small { color: var(--on-blue-soft); font-size: .875rem; }
.arch-app-title .n-logo { width: 26px; height: 26px; background: #fff; border-radius: 4px; padding: 3px; }
.arch-link { display: flex; justify-content: center; align-items: center; height: 54px; position: relative; }
.arch-link::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 50%; width: 2px; background: var(--primary); opacity: .45; }
.arch-link span { position: relative; background: var(--sky-50); padding: 2px 10px; font-size: .8125rem; font-weight: 500; color: var(--primary); }
.facts { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.facts > div { border-top: 2px solid var(--text); padding-top: 16px; }
.facts strong { color: var(--text); font-weight: 600; font-size: 1.125rem; }
.facts p { margin-top: 6px; font-size: .9688rem; }

/* Step flows (RAG, Admin Agent) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 0; counter-reset: f; grid-template-columns: minmax(0, 1fr); }
.flow li { position: relative; counter-increment: f; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.flow li::before { content: counter(f); position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--sky-100); color: var(--primary); font-weight: 600; font-size: .8125rem; display: grid; place-items: center; }
.flow li + li::after { content: ""; position: absolute; left: 34px; top: -29px; height: 28px; width: 2px; background: var(--primary); opacity: .45; }
.flow-ico { width: 40px; height: 40px; border-radius: 6px; background: var(--sky-100); color: var(--primary); display: grid; place-items: center; margin-bottom: 6px; }
.flow-ico svg { width: 22px; height: 22px; }
.flow strong { color: var(--text); font-weight: 600; font-size: 1.0625rem; }
.flow p { font-size: .9063rem; line-height: 1.5; }
.flow-by { margin-top: auto; padding-top: 10px; font-size: .8125rem; font-weight: 500; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.flow-by::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9AA1AB; }
.flow-by.by-ai { color: var(--accent-text); } .flow-by.by-ai::before { background: var(--accent); }
.flow li:has(.by-ai) { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
@media (min-width: 640px) and (max-width: 1099px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .flow li + li::after { display: none; } }
@media (min-width: 1100px) {
  .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 18px; } .flow.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .flow li + li::after { left: -19px; top: 38px; width: 18px; height: 2px; }
}
.flow.on-dark li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.flow.on-dark strong { color: #fff; } .flow.on-dark p { color: var(--on-blue-soft); }
.flow.on-dark .flow-ico, .flow.on-dark li::before { background: rgba(255,255,255,.14); color: #fff; }
.flow.on-dark .flow-by { color: var(--on-blue-soft); } .flow.on-dark .flow-by.by-ai { color: var(--accent); }
.flow.on-dark li + li::after { background: var(--accent); opacity: .9; }
.flow-note { margin-top: 28px; max-width: 760px; color: var(--on-blue-soft); font-size: .9688rem; }
.kb { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; counter-reset: k; }
.kb li { position: relative; counter-increment: k; background: #fff; border: 1px solid var(--sky-300); border-radius: 4px; padding: 10px 14px; font-weight: 500; color: var(--text); font-size: .9375rem; }
.kb li::before { content: counter(k) ". "; color: var(--primary); }
.kb li + li::after { content: "→"; position: absolute; left: -22px; top: 9px; color: var(--primary); }

/* Models */
.models { display: grid; gap: 20px; }
@media (min-width: 900px) { .models { grid-template-columns: repeat(3, 1fr); } }
.model { border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 6px; padding: 26px; background: #fff; }
.model-alt { border-top-color: var(--accent); }
.model-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.model-top svg { width: 32px; height: 32px; color: var(--primary); }
.model-meta { color: var(--text-muted); font-size: .875rem; margin-top: 4px; }
.model ul { margin: 16px 0 0; padding: 16px 0 0 18px; border-top: 1px solid var(--border); display: grid; gap: 8px; font-size: .9688rem; }

/* Stack groups */
.stack-groups { display: grid; gap: 36px; }
.stack-group h3 { margin-bottom: 14px; font-size: 1.125rem; }
@media (min-width: 1024px) { .stack-group { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; } .stack-group h3 { margin: 18px 0 0; } }

/* Security columns */
.sec-cols { display: grid; gap: 24px; }
@media (min-width: 900px) { .sec-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
.sec-col { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 28px; }
.sec-col h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 2px solid var(--text); }
.sec-col h3 svg { width: 24px; height: 24px; color: var(--primary); }
.sec-col ul { list-style: none; margin: 0; padding: 0; }
.sec-col li { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: .9688rem; }
.sec-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.sec-col li strong { display: block; color: var(--text); font-weight: 600; }

/* Integrations table */
.itable { width: 100%; border-collapse: collapse; font-size: .9688rem; min-width: 620px; }
.itable th, .itable td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--border); vertical-align: top; }
.itable thead th { border-top: 0; background: #FAFBFD; font-weight: 600; color: var(--text); }
.itable th[scope="row"] { font-weight: 600; color: var(--primary); width: 26%; }
@media (max-width: 639px) {
  .itable { min-width: 0; display: block; } .itable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .itable tbody { display: grid; gap: 14px; } .itable tr { display: block; border: 1px solid var(--border); border-radius: 6px; background: #fff; padding: 14px 16px; }
  .itable th[scope="row"], .itable td { display: block; width: auto; border: 0; padding: 0; }
  .itable td { margin-top: 6px; } .itable td:nth-child(2) { font-weight: 500; color: var(--text); }
}
@media (min-width: 1024px) and (max-width: 1180px) { .nav a { padding: 10px 7px; } }

/* ===================== Real product screens (29 Nov) ===================== */
.pillar { padding: 0; overflow: hidden; border-top-width: 1px; }
.pillar-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); background: var(--sky-50); }
.pillar h3, .pillar p, .pillar .link-action { margin-left: 24px; margin-right: 24px; }
.pillar h3 { margin-top: 10px; } .pillar .link-action { margin-bottom: 24px; }
.panel-shot { margin: 0; text-align: center; }
.panel-shot img { width: 294px; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid #D5DFEC; box-shadow: var(--shadow-frame); margin: 0 auto; }
.agent-caps { border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 6px; padding: 28px; background: #fff; }
.agent-caps ul { list-style: none; margin: 14px 0 16px; padding: 0; }
.agent-caps li { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .9688rem; }
.agent-caps li strong { display: block; color: var(--text); font-weight: 600; }
.frame-real { background: #fff; }

/* ===================== Requirement alignment (30 Nov) ===================== */
.caps { display: grid; gap: 0 40px; }
@media (min-width: 700px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.caps > div { border-top: 2px solid var(--text); padding: 16px 0 28px; }
.caps strong { color: var(--text); font-weight: 600; font-size: 1.125rem; }
.caps p { margin-top: 6px; font-size: .9688rem; }
#technical .tech { color: var(--text); font-weight: 500; }
#technical .strip-inner { gap: 12px 32px; }
/* seven full menu labels: keep the header from crowding on small laptops */
@media (min-width: 1024px) and (max-width: 1279px) { .nav a { padding: 10px 6px; font-size: .8125rem; } .brand .brand-text { display: none; } .header-inner { gap: 12px; } }
.site-footer .brand-logo { background: #fff; border-radius: 6px; padding: 5px 10px; height: 56px; }

/* Hero tagline */
.hero2 .tagline { margin-top: 22px; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem); line-height: 1.2; font-weight: 500; color: var(--accent); letter-spacing: .005em; text-wrap: balance; }
.hero2 .tagline + .lead { margin-top: 18px; }

/* Demo video cover: the product's own title card (logo, name, tagline) */
.video-poster.cover { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); gap: 0; }
.video-poster.cover::before { display: none; }
.video-poster.cover .grid-lines { inset: 0 0 auto 0; height: 46%; z-index: 0; }
.video-poster.cover > *:not(.grid-lines) { position: relative; z-index: 1; }
.cover-logo { height: clamp(48px, 7vw, 88px); width: auto; background: #fff; border-radius: 10px; padding: clamp(6px, 1vw, 12px) clamp(12px, 2vw, 24px); }
.video-poster.cover h2 { margin-top: clamp(14px, 2.4vw, 30px); font-size: clamp(1.25rem, .8rem + 2.4vw, 2.75rem); letter-spacing: -.02em; }
.video-poster.cover h2::before { content: ""; display: block; width: 48px; height: 4px; background: var(--accent); margin: 0 auto clamp(10px, 1.6vw, 20px); }
.cover-tag { color: var(--accent) !important; font-weight: 500; font-size: clamp(1rem, .7rem + 1.3vw, 1.75rem); margin-top: clamp(4px, .8vw, 10px); max-width: none !important; }
.video-poster.cover .play { margin-top: clamp(14px, 2.6vw, 34px); width: clamp(56px, 7vw, 84px); height: clamp(56px, 7vw, 84px); }
.video-poster.cover .status-pill { margin-top: clamp(10px, 1.6vw, 20px); font-family: var(--font); }
@media (max-width: 480px) { .video-poster.cover .status-pill { display: none; } }
.video-poster.cover .play, .cover-logo { flex: none; }
@media (max-width: 480px) { .cover-logo { height: 40px; } .video-poster.cover h2 { font-size: 1.125rem; line-height: 1.25; } .video-poster.cover .play { width: 52px; height: 52px; margin-top: 12px; } .video-poster.cover .play svg { width: 22px; height: 22px; } }
.mini-arch > li.pair { align-items: stretch; }
