/* BotClub — shared styles. Tokens are documented in BRAND.md. */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/open-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/open-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/open-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* BotClub master brand (sampled from BotClub_Mkt_logo.JPG) */
  --bc-blue: #1F3FAE;
  --bc-blue-700: #18338F;
  --bc-blue-50: #EEF2FC;
  --ink: #111A33;
  --ink-2: #3A4560;
  --muted: #5B6680;
  --line: #E2E7F2;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --bg-warm: #FBFAF6;

  /* BOTCLUB Labs (sampled from BOTCLUB Labs Logo.png) */
  --labs-navy: #18245A;
  --labs-blue: #0A6CFF;
  --labs-sky: #00B4FF;
  --labs-teal: #1CD3C4;
  --labs-grad: linear-gradient(110deg, #0A55E0 0%, #0A8CFF 45%, #1CD3C4 100%);

  /* Luminary (sampled from Luminary Logo.png) */
  --lum-grad: linear-gradient(90deg, #6D7BFF 0%, #22D3EE 18%, #7BE495 36%, #F8E36A 52%, #FFB45E 66%, #FF6FAE 82%, #B57CFF 100%);
  --lum-ink: #101426;
  --lum-blue: #2F6BFF;

  /* Solve'D (sampled from Solve'D logo & poster) */
  --sd-navy: #0B1A33;
  --sd-blue: #0A7CFF;
  --sd-cyan: #00C2F0;
  --sd-green: #1FBF73;
  --sd-grad: linear-gradient(100deg, #0A7CFF 0%, #00C2F0 50%, #1FBF73 100%);

  /* Page accent (overridden per product theme) */
  --accent: var(--bc-blue);
  --accent-ink: #FFFFFF;
  --accent-soft: var(--bc-blue-50);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 26, 51, .06), 0 8px 28px rgba(17, 26, 51, .07);
  --shadow-lg: 0 2px 4px rgba(17, 26, 51, .05), 0 24px 60px rgba(17, 26, 51, .12);
  --wrap: 1180px;
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
}

.theme-labs { --accent: var(--labs-blue); --accent-soft: #E8F2FF; }
.theme-luminary { --accent: var(--lum-blue); --accent-soft: #EEF1FF; }
.theme-solved { --accent: #0A6FE0; --accent-soft: #E7F6F4; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.eyebrow { font-family: var(--font-display); font-size: .82rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: inline-block; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 46rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; min-height: 48px; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-primary:hover { box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.arrow::after { content: "→"; transition: transform .15s ease; }
a:hover .arrow::after, .btn:hover.arrow::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-word { font-family: "Open Sans", "Segoe UI", sans-serif; font-weight: 700; font-size: 1.62rem; color: var(--bc-blue); letter-spacing: -0.01em; }
.brand-tag { font-family: "Open Sans", "Segoe UI", sans-serif; font-size: .7rem; color: #3b4152; margin-top: 4px; letter-spacing: .01em; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.nav-links a:hover { background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--bc-blue); background: var(--bc-blue-50); }
.nav-links .btn { padding: 10px 18px; min-height: 42px; margin-left: 8px; color: #fff; background: var(--bc-blue); }
.nav-links .btn:hover { background: var(--bc-blue-700); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; border-radius: 2px; transition: transform .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 12px 0 20px; }
.nav-open .mobile-menu { display: block; }
.mobile-menu a { display: block; padding: 14px 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--bc-blue); }
.mobile-menu .btn { margin-top: 16px; width: 100%; color: #fff; background: var(--bc-blue); border: 0; }
@media (min-width: 960px) { .nav-links { display: flex; } .nav-toggle, .mobile-menu, .nav-open .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 88px 0 104px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 .hl { color: var(--accent); }
.hero-media { position: relative; }
.hero-media img, .hero-media video { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.home-hero { background: radial-gradient(1200px 500px at 85% -10%, #E8EEFF 0%, rgba(232, 238, 255, 0) 60%), radial-gradient(800px 400px at -10% 110%, #F1F6FF 0%, rgba(241, 246, 255, 0) 60%); }
.trio-strip { display: flex; height: 6px; border-radius: 6px; overflow: hidden; max-width: 240px; margin: 28px 0 0; }
.trio-strip i { flex: 1; } .trio-strip i:nth-child(1) { background: var(--labs-grad); } .trio-strip i:nth-child(2) { background: var(--lum-grad); } .trio-strip i:nth-child(3) { background: var(--sd-grad); }

/* Hero mosaic on home */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic .tile { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #fff; aspect-ratio: 4 / 3; }
.mosaic .tile img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .tile.tall { grid-row: span 2; aspect-ratio: auto; }
.mosaic .tile.wide { grid-column: span 2; aspect-ratio: 16 / 7; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }

.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .pc-logo { height: 168px; display: grid; place-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.product-card .pc-logo img { max-height: 118px; width: auto; }
.product-card .pc-logo.dark { background: #000; }
.product-card .pc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product-card .pc-kicker { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.product-card h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.product-card .pc-body p { color: var(--ink-2); }
.product-card .pc-link { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--pc-accent, var(--bc-blue)); display: inline-flex; gap: 8px; }
.product-card .pc-bar { height: 5px; }
.pc-labs { --pc-accent: var(--labs-blue); } .pc-labs .pc-bar { background: var(--labs-grad); }
.pc-lum { --pc-accent: #3A55E6; } .pc-lum .pc-bar { background: var(--lum-grad); }
.pc-sd { --pc-accent: #0A6FE0; } .pc-sd .pc-bar { background: var(--sd-grad); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .steps.cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps.cols-4 { grid-template-columns: repeat(4, 1fr); } .steps.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.steps > li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 26px 26px; }
.steps > li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; display: inline-block; margin-bottom: 14px; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* Timeline (school model) */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--labs-blue), #F8C64A, var(--sd-green)); border-radius: 2px; }
.timeline > li { position: relative; padding: 0 0 34px 64px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--bc-blue); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--bc-blue); }
.timeline h3 { margin-bottom: 6px; padding-top: 6px; }
.timeline .when { font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.timeline ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: var(--ink); }
.stat .num.pending { color: #A3ACC0; }
.stat .lbl { margin-top: 10px; font-size: .95rem; color: var(--ink-2); line-height: 1.4; }
.stat .src { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.placeholder-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: #8A5A00; background: #FFF4D6; border: 1px dashed #E8B84A; padding: 6px 12px; border-radius: 999px; }

/* ---------- Media ---------- */
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #0B1220; }
.frame video { width: 100%; }
.screen { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.gallery { display: grid; gap: 20px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery figcaption { padding: 12px 4px 0; font-size: .95rem; color: var(--ink-2); }
.gallery figcaption b { font-family: var(--font-display); font-weight: 600; color: var(--ink); display: block; }
.chip { display: inline-block; font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }

.phones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 760px) { .phones { grid-template-columns: repeat(4, 1fr); } }
.phone { margin: 0; border-radius: 26px; padding: 8px; background: #0A1222; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 19px; width: 100%; }
.phone figcaption { color: #C8D3EA; font-size: .82rem; text-align: center; padding: 8px 4px 2px; }

/* ---------- Split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.rev > :first-child { order: 2; } }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111A33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks li b { color: var(--ink); }

/* ---------- Product page heroes ---------- */
.hero-labs { background: radial-gradient(900px 480px at 90% 0%, #DDF1FF 0%, rgba(221, 241, 255, 0) 65%), radial-gradient(700px 400px at 0% 100%, #E5FBF8 0%, rgba(229, 251, 248, 0) 60%); }
.hero-labs .tagline { font-family: var(--font-display); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #4A5578; font-size: .95rem; }
.on-light { mix-blend-mode: multiply; } /* lets white-background logos sit cleanly on tinted sections */
.hero-lum { background: #000; color: #E9ECF7; }
.hero-lum h1, .hero-lum h2 { color: #fff; }
.hero-lum .lead { color: #BAC2DA; }
.hero-lum .grad-text { background: var(--lum-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lum .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero-lum .btn-ghost:hover { border-color: #fff; }
.hero-lum .btn-primary { background: #fff; color: #05070D; box-shadow: none; }
.hero-sd { background: radial-gradient(900px 480px at 100% 0%, #DDF6FF 0%, rgba(221, 246, 255, 0) 60%), radial-gradient(700px 420px at 0% 100%, #DDF8EA 0%, rgba(221, 248, 234, 0) 60%); }
.hero-sd h1 .hl { background: var(--sd-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-logo { max-width: 340px; width: 70%; margin-bottom: 26px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: .95rem; }
.hero-lum .pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #E9ECF7; }

/* Pillars (Luminary) */
.pillars .card { text-align: left; }
.pillar-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
.pillar-ico svg { width: 30px; height: 30px; }
.p-obs { background: #E3EEFF; color: #2457E6; } .p-dem { background: #DDF6EA; color: #138A57; } .p-int { background: #FFF2C9; color: #8A6400; }

/* ---------- Catalogue (Luminary) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.filters .seg { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font-family: var(--font-display); font-weight: 600; font-size: .95rem; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .search { flex: 1 1 220px; min-width: 0; }
.filters input[type="search"] { width: 100%; font: inherit; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; min-height: 44px; }
.cat-count { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.cat-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.model { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.model .ph { aspect-ratio: 4 / 3; background: #F3EFE7; position: relative; }
.model .ph img { width: 100%; height: 100%; object-fit: cover; }
.model .ph .noimg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: #7A6F5E; font-family: var(--font-display); font-weight: 500; background: repeating-linear-gradient(45deg, #F6F1E8, #F6F1E8 12px, #F1EADF 12px, #F1EADF 24px); }
.model .ph .more { position: absolute; right: 10px; bottom: 10px; background: rgba(17, 26, 51, .78); color: #fff; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.model .mb { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.model .sku { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.model h3 { font-size: 1.18rem; margin: 4px 0 10px; }
.grades { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.grades span { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #EEF1FF; color: #2F45B8; }
.model details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 10px; }
.model summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--accent); padding: 6px 0; list-style: none; min-height: 32px; }
.model summary::-webkit-details-marker { display: none; }
.model summary::after { content: " +"; }
.model details[open] summary::after { content: " –"; }
.model dl { margin: 6px 0 0; font-size: .92rem; }
.model dt { font-weight: 700; margin-top: 8px; }
.model dd { margin: 2px 0 0; color: var(--ink-2); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-display); font-weight: 600; background: var(--bg-soft); position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: center; white-space: nowrap; }
.raci { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.raci.R { background: #1F3FAE; color: #fff; } .raci.A { background: #0E7A4F; color: #fff; } .raci.C { background: #FFF1C7; color: #6B4A00; } .raci.I { background: #EEF1F7; color: #3A4560; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 16px; font-size: .92rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.type { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.type.live { background: #FFF0D9; color: #8A4B00; } .type.revision { background: #E5EDFF; color: #2443A8; } .type.enrich { background: #F0E6FF; color: #5B2DA8; } .type.vis { background: #DDF6EA; color: #0E6B44; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bc-blue); color: #fff; border-radius: 28px; padding: 48px 28px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { padding: 72px 64px; } }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #0A6CFF 0 33.3%, #F6C945 33.3% 66.6%, #1FBF73 66.6% 100%); }
.cta-band h2 { color: #fff; max-width: 760px; }
.cta-band p { color: #D9E1FB; max-width: 640px; font-size: 1.1rem; }
.cta-band .btn-primary { background: #fff; color: var(--bc-blue); box-shadow: none; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-ghost:hover { border-color: #fff; }
.theme-labs .cta-band { background: var(--labs-navy); }
.theme-luminary .cta-band { background: #0B0E1A; }
.theme-solved .cta-band { background: var(--sd-navy); }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 6px; font-size: 1rem; }
.field .hint { font-size: .85rem; color: var(--muted); margin: -2px 0 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1.5px solid #CBD3E4; border-radius: 12px; background: #fff; min-height: 48px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bc-blue); outline: 3px solid color-mix(in srgb, var(--bc-blue) 22%, transparent); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #C42B2B; }
.field .err { color: #B42318; font-size: .88rem; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1.5px solid #CBD3E4; border-radius: 12px; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: .96rem; margin: 0; min-height: 46px; background: #fff; }
.opt label::before { content: ""; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #9AA6C0; background: #fff; flex: none; }
.opt input:checked + label { border-color: var(--bc-blue); background: var(--bc-blue-50); }
.opt input:checked + label::before { background: var(--bc-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--bc-blue); }
.opt input:focus-visible + label { outline: 3px solid var(--bc-blue); outline-offset: 2px; }
.field .consent { font-family: var(--font-body); font-weight: 400; margin: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--bc-blue); }
.form-note { font-size: .9rem; color: var(--muted); }
.notice { padding: 16px 18px; border-radius: 12px; background: #FFF4D6; border: 1px solid #F0CF7A; color: #5F4300; display: none; }
.notice.show { display: block; }
.notice.error { background: #FDECEC; border-color: #F2B8B5; color: #7A1C1C; }
.thanks { display: none; text-align: center; padding: 56px 24px; }
.thanks.show { display: block; }
.thanks .tick { width: 72px; height: 72px; border-radius: 50%; background: #DDF6EA; color: #0E7A4F; display: grid; place-items: center; margin: 0 auto 18px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: #0D1430; color: #C3CBE2; padding: 64px 0 32px; margin-top: 0; font-size: .96rem; }
.site-footer a { color: #E6EAF7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: #8C97B8; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.foot-brand .brand-word { color: #fff; font-size: 1.9rem; }
.foot-brand .brand-tag { color: #AEB8D6; font-size: .8rem; }
.foot-brand p { margin-top: 16px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: rgba(255, 255, 255, .16); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: #8C97B8; }
.foot-trio { display: flex; height: 4px; width: 120px; border-radius: 4px; overflow: hidden; }
.foot-trio i { flex: 1; } .foot-trio i:nth-child(1) { background: #0A6CFF; } .foot-trio i:nth-child(2) { background: #F6C945; } .foot-trio i:nth-child(3) { background: #1FBF73; }
[data-link-slot][hidden] { display: none !important; }

/* ---------- Reveal ---------- */
.sticky-lg { position: static; }
@media (min-width: 960px) { .sticky-lg { position: sticky; top: 96px; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Grade bars (home) */
.grade-bars { display: grid; gap: 10px; margin: 18px 0 8px; }
.gb-row { display: grid; grid-template-columns: 74px 1fr 84px; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding: 6px 4px; border-radius: 10px; }
.gb-row:hover { background: var(--bg-soft); }
.gb-label { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.gb-track { height: 12px; background: #EEF1F7; border-radius: 999px; overflow: hidden; }
.gb-fill { display: block; height: 100%; border-radius: 999px; background: var(--lum-grad); background-size: 400px 100%; }
.gb-n { font-size: .9rem; color: var(--ink-2); text-align: right; }

/* =========================================================
   Iteration 2: composed scenes, devices, annotations, gate
   ========================================================= */

/* Devices built in CSS around real screenshots */
.laptop { position: relative; }
.laptop .lid { background: #0E1426; border-radius: 16px 16px 6px 6px; padding: 2.2% 2.2% 3%; box-shadow: var(--shadow-lg); }
.laptop .lid img { border-radius: 6px; width: 100%; display: block; }
.laptop .base { height: 14px; margin: 0 -6%; background: linear-gradient(#DCE2EE, #AEB8CB); border-radius: 0 0 18px 18px; box-shadow: 0 18px 30px -12px rgba(17, 26, 51, .35); position: relative; }
.laptop .base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: #9AA5BB; border-radius: 0 0 8px 8px; }
.phone-x { position: relative; background: #0A1222; border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px -20px rgba(10, 18, 34, .55), 0 0 0 1.5px #2A3550 inset; }
.phone-x img { border-radius: 26px; width: 100%; display: block; }
.phone-x::before { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 15px; transform: translateX(-50%); background: #0A1222; border-radius: 0 0 12px 12px; z-index: 2; }
.tablet { background: #0E1426; border-radius: 22px; padding: 12px; box-shadow: var(--shadow-lg); }
.tablet img { border-radius: 12px; width: 100%; display: block; }

/* Annotation tags: a label pinned to a point with a hairline */
.anno { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .96); color: var(--ink); border: 1px solid rgba(17, 26, 51, .1); border-radius: 999px; padding: 7px 14px 7px 8px; font-family: var(--font-display); font-weight: 600; font-size: .86rem; line-height: 1.2; box-shadow: 0 10px 24px -8px rgba(17, 26, 51, .28); white-space: nowrap; }
.anno small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.anno .dot { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--anno, var(--bc-blue)); color: #fff; font-size: .7rem; font-weight: 700; }
.anno.dark { background: rgba(14, 20, 38, .92); color: #fff; border-color: rgba(255, 255, 255, .14); }
.anno.dark small { color: #AEB8D6; }
.anno-line { position: absolute; z-index: 4; height: 1.5px; background: repeating-linear-gradient(90deg, rgba(17, 26, 51, .55) 0 5px, transparent 5px 9px); transform-origin: 0 50%; }
.anno-line.light { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 5px, transparent 5px 9px); }
.anno-pin { position: absolute; z-index: 5; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 3px solid var(--anno, var(--bc-blue)); box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
@media (max-width: 700px) { .anno { font-size: .74rem; padding: 5px 10px 5px 6px; } .anno small { display: none; } .anno .dot { width: 18px; height: 18px; } .anno-line, .anno-pin { display: none; } }

/* Home: one scene for all three products */
.scene { position: relative; aspect-ratio: 1.12 / 1; max-width: 640px; margin: 0 auto; width: 100%; }
.scene .blob { position: absolute; inset: 6% 0 4% 4%; border-radius: 42% 58% 52% 48% / 48% 42% 58% 52%; background: radial-gradient(circle at 30% 30%, #DDE7FF 0%, #EEF2FF 45%, rgba(238, 242, 255, 0) 72%), conic-gradient(from 200deg at 50% 50%, rgba(10, 108, 255, .14), rgba(246, 201, 69, .14), rgba(31, 191, 115, .14), rgba(10, 108, 255, .14)); filter: blur(2px); }
.scene { aspect-ratio: 1 / 1.02; }
.scene .s-laptop { position: absolute; left: 14%; top: 6%; width: 66%; }
.scene .s-phone { position: absolute; right: 0; top: 14%; width: 22%; }
.scene .s-model { position: absolute; filter: drop-shadow(0 22px 22px rgba(17, 26, 51, .22)); z-index: 3; }
.scene .s-model.m1 { left: -6%; bottom: -2%; width: 58%; }
.scene .s-model.m2 { left: 38%; bottom: -6%; width: 46%; z-index: 4; }
.scene .s-model.m3 { right: -4%; bottom: 10%; width: 32%; }
[data-parallax] { will-change: transform; transition: transform .1s linear; }

/* Product order strip on cards */
.usp-tag { display: inline-block; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6B4A00; background: #FFF1C7; padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }

/* Luminary hero stage */
.lum-stage { position: relative; aspect-ratio: 1 / .9; width: 100%; max-width: 620px; margin: 0 auto; }
.lum-stage .glow { position: absolute; inset: 8% 4% 2%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, rgba(120, 140, 255, .38) 0%, rgba(34, 211, 238, .16) 35%, rgba(0, 0, 0, 0) 68%); }
.lum-stage .ring { position: absolute; left: 6%; right: 6%; bottom: 6%; height: 26%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .14); background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 70%); }
.lum-stage .ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; padding: 1.5px; background: var(--lum-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; }
.lum-stage img { position: absolute; filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .5)); }
.lum-stage .hero-a { left: 24%; top: 26%; width: 52%; z-index: 3; }
.lum-stage .hero-b { left: -2%; top: 46%; width: 40%; z-index: 2; }
.lum-stage .hero-c { right: -2%; top: 45%; width: 37%; z-index: 2; }
.lum-stage .hero-d { left: 10%; top: 10%; width: 29%; z-index: 1; }
.lum-stage .hero-e { right: 10%; top: 8%; width: 28%; z-index: 1; }
.lum-stage .ring { bottom: 3%; height: 30%; }
main { overflow-x: clip; }

/* Hardware + visualisation pairing */
.pair { position: relative; padding: 4% 0 0; }
.pair .hw { width: 78%; position: relative; z-index: 1; filter: drop-shadow(0 20px 22px rgba(17, 26, 51, .2)); }
.pair .vis { position: absolute; right: 0; top: 0; width: 46%; z-index: 2; background: #0E1426; border-radius: 18px; padding: 14px; box-shadow: var(--shadow-lg); color: #DCE4F8; }
.pair .vis .vis-h { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8FA3D8; margin-bottom: 6px; }
.pair .vis svg { width: 100%; height: auto; display: block; }
.flow { stroke-dasharray: 6 8; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }

/* Model showcase collage */
.collage { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .collage { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } .collage .big { grid-column: span 2; grid-row: span 2; } .collage .wide { grid-column: span 2; } }
.tile-m { position: relative; border-radius: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 18px 14px 54px; min-height: 200px; background: radial-gradient(circle at 50% 38%, #fff 0%, var(--tint, #EEF1FF) 75%); border: 1px solid rgba(17, 26, 51, .06); transition: transform .25s ease, box-shadow .25s ease; }
.tile-m:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile-m img { max-height: 100%; width: auto; max-width: 92%; object-fit: contain; transition: transform .35s ease; }
.tile-m:hover img { transform: scale(1.04) rotate(-1deg); }
.tile-m .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.tile-m .cap b { font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.15; color: var(--ink); }
.tile-m .cap b small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.tile-m .cap span { flex: none; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: #2F45B8; border: 1px solid rgba(47, 69, 184, .15); }
.collage .big { min-height: 300px; }
.tint-1 { --tint: #E6ECFF; } .tint-2 { --tint: #E2F7F1; } .tint-3 { --tint: #FFF2D6; } .tint-4 { --tint: #FDE6F0; } .tint-5 { --tint: #EAE6FF; } .tint-6 { --tint: #E1F4FD; }

/* Grade counts (Luminary 6–9) */
.gcount { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .gcount { grid-template-columns: repeat(4, 1fr); } }
.gcount div { border-radius: 18px; padding: 20px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.gcount div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lum-grad); }
.gcount b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; display: block; }
.gcount span { color: var(--ink-2); font-size: .95rem; }

/* Gate (name + phone unlock) */
.gate { border-radius: 24px; padding: clamp(22px, 4vw, 40px); background: linear-gradient(135deg, #0D1430 0%, #18245A 100%); color: #DCE4F8; position: relative; overflow: hidden; }
.gate::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 140, 255, .35), rgba(124, 140, 255, 0) 70%); }
.gate h3 { color: #fff; font-size: 1.5rem; }
.gate p { color: #BAC4E2; }
.gate form { display: grid; gap: 14px; margin-top: 18px; position: relative; z-index: 1; }
@media (min-width: 720px) { .gate form { grid-template-columns: 1fr 1fr auto; align-items: start; } .gate .consent-line { grid-column: 1 / -1; } }
.gate label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: #fff; }
.gate input[type=text], .gate input[type=tel] { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; min-height: 48px; }
.gate input::placeholder { color: #8C97B8; }
.gate input:focus { outline: 3px solid rgba(124, 140, 255, .55); outline-offset: 0; border-color: #9FB0FF; }
.gate .err { color: #FFB4B4; font-size: .85rem; margin-top: 6px; display: none; }
.gate .invalid .err { display: block; }
.gate .invalid input { border-color: #FF8A8A; }
.gate .btn { margin-top: 27px; background: #fff; color: #0D1430; }
.gate .consent-line { font-size: .85rem; color: #9AA6C8; margin: 0; }
.gate .locked-preview { margin-top: 22px; position: relative; z-index: 1; filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.unlocked .gate-form-wrap { display: none; }
.gate-done { display: none; }
.unlocked .gate-done { display: block; }

/* Mapping table */
.map-table td.g { font-size: .88rem; color: var(--ink-2); min-width: 170px; }
.map-table td.g:empty::after { content: "–"; color: #C3CAD9; }
.map-table .mname { font-family: var(--font-display); font-weight: 600; }
.map-table .mid { font-size: .78rem; color: var(--muted); letter-spacing: .06em; }

/* Labs grade ladder */
.ladder-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ladder-tabs button { font-family: var(--font-display); font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; min-height: 44px; color: var(--ink); }
.ladder-tabs button[aria-selected="true"] { background: var(--labs-blue); color: #fff; border-color: var(--labs-blue); }
.ladder-panel[hidden] { display: none; }
.ladder-panel figcaption { margin-top: 14px; color: var(--ink-2); }
.grade-fan { position: relative; aspect-ratio: 16 / 11; }
.grade-fan .card-s { position: absolute; width: 68%; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.grade-fan .card-s img { display: block; width: 100%; }
.grade-fan .card-s .gtag { position: absolute; left: 10px; top: 10px; background: var(--labs-blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.grade-fan .f1 { left: 0; top: 2%; transform: rotate(-4deg); }
.grade-fan .f2 { left: 19%; top: 20%; transform: rotate(-1deg); z-index: 2; }
.grade-fan .f3 { right: 0; top: 40%; transform: rotate(3deg); z-index: 3; }
.grade-scale { display: flex; margin-top: 18px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.grade-scale span { flex: 1; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: .85rem; padding: 8px 0; background: linear-gradient(90deg, #E8F2FF, #E5FBF8); color: var(--labs-navy); border-right: 1px solid #fff; }

/* Skills (higher education & industry) */
.skills { background: linear-gradient(160deg, #0B1230 0%, #14204F 55%, #0F3B57 100%); color: #DCE4F8; }
.skills h2, .skills h3 { color: #fff; }
.skills .lead, .skills p { color: #BAC4E2; }
.skills .eyebrow { color: #7FD8FF; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.skill-chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: #E6ECFA; }
.vid-card { border-radius: 18px; overflow: hidden; background: #0A0F22; border: 1px solid rgba(255, 255, 255, .1); }
.vid-card .vc-body { padding: 16px 18px 18px; }
.vid-card .vc-body b { font-family: var(--font-display); color: #fff; font-size: 1.1rem; display: block; }
.vid-card .vc-body span { color: #9AA6C8; font-size: .9rem; }
.vid-lock { position: relative; }
.vid-lock img { width: 100%; display: block; filter: blur(3px) saturate(.8); opacity: .7; }
.vid-lock .lk { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; font-family: var(--font-display); font-weight: 600; background: linear-gradient(rgba(10, 15, 34, .2), rgba(10, 15, 34, .55)); }
.vid-lock .lk i { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-style: normal; font-size: 1.3rem; }
.unlocked .vid-lock { display: none; }
.vid-real { display: none; }
.unlocked .vid-real { display: block; }
.vid-real video { width: 100%; display: block; background: #000; }

/* Solve'D composed visuals */
.sd-stage { position: relative; aspect-ratio: 1 / .95; width: 100%; max-width: 600px; margin: 0 auto; }
.sd-stage .bg { position: absolute; inset: 8% 4% 4% 8%; border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%; background: radial-gradient(circle at 30% 30%, #D8F3FF 0%, #E3FBEF 50%, rgba(227, 251, 239, 0) 75%); }
.sd-stage .p1 { position: absolute; left: 10%; top: 2%; width: 44%; transform: rotate(-4deg); }
.sd-stage .p2 { position: absolute; right: 6%; top: 14%; width: 44%; transform: rotate(3deg); z-index: 2; }
.sd-visual { position: relative; padding: 4% 6%; }
.sd-visual .phone-x { width: 56%; margin: 0 auto; }
.sd-visual .panel { position: absolute; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .86rem; z-index: 3; width: 48%; max-width: 250px; }
.sd-visual .panel b { font-family: var(--font-display); font-size: .95rem; display: block; margin-bottom: 6px; }
.sd-visual .panel .bar { height: 8px; border-radius: 99px; background: #EEF1F7; margin: 6px 0 2px; overflow: hidden; }
.sd-visual .panel .bar i { display: block; height: 100%; border-radius: 99px; background: var(--sd-grad); }
.sd-visual .panel .row { display: flex; justify-content: space-between; color: var(--ink-2); }
.sd-visual .pl { left: 0; top: 14%; }
.sd-visual .pr { right: 0; bottom: 12%; }

/* School view (accountability dashboard, rebuilt in brand styling) */
.sv { background: linear-gradient(160deg, #0E1633 0%, #14204F 60%, #10304F 100%); color: #DCE4F8; border-radius: 22px; padding: clamp(14px, 2.4vw, 24px); box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.sv-top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sv-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); }
.sv-brand b { color: #fff; font-weight: 600; }
.sv-brand span:last-child { color: #8FA3D8; font-size: .85rem; padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .15); }
.sv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--labs-grad); box-shadow: 0 0 0 4px rgba(10, 140, 255, .2); }
.sv-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sv-period { display: inline-flex; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 3px; }
.sv-period span { padding: 5px 10px; border-radius: 8px; font-family: var(--font-display); font-size: .8rem; color: #AEB8D6; }
.sv-period span.on { background: #fff; color: #0E1633; font-weight: 600; }
.sv-export { font-family: var(--font-display); font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.sv-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .sv-kpis { grid-template-columns: repeat(4, 1fr); } }
.sv-kpi { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-left: 3px solid #00B4FF; border-radius: 12px; padding: 12px 14px; }
.sv-kpi.k1 { border-left-color: #1CD3C4; } .sv-kpi.k2 { border-left-color: #F6C945; } .sv-kpi.k3 { border-left-color: #B57CFF; }
.sv-kpi small { display: block; font-family: var(--font-display); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #8FA3D8; }
.sv-kpi b { font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1.15; }
.sv-kpi i { font-style: normal; color: #AEB8D6; margin-left: 3px; }
.sv-kpi span { display: block; color: #8FA3D8; font-size: .8rem; }
.sv-panel { margin-top: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px 16px; }
.sv-panel h4 { margin: 0; color: #fff; font-size: 1rem; }
.sv-panel p { margin: 2px 0 10px; color: #8FA3D8; font-size: .82rem; }
.sv-spark { width: 100%; height: 110px; display: block; }
.sv-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease; }
.sv.on .sv-line { stroke-dashoffset: 0; }
.sv-classes { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 760px) { .sv-classes { grid-template-columns: repeat(3, 1fr); } }
.sv-class { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px; }
.sv-ch { display: flex; justify-content: space-between; align-items: baseline; }
.sv-ch b { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.sv-ch span { color: #8FA3D8; font-size: .8rem; }
.sv-prog, .sv-chap .bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 10px; }
.sv-prog i, .sv-chap .bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #0A8CFF, #5CC8FF); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.sv-pl { font-size: .82rem; color: #AEB8D6; margin-top: 6px; }
.sv-pl b { color: #fff; }
.sv-class ul { list-style: none; margin: 10px 0 0; padding: 0; }
.sv-class li { display: flex; justify-content: space-between; padding: 7px 10px; margin-top: 6px; border-radius: 9px; background: rgba(0, 0, 0, .18); font-size: .82rem; }
.sv-class li span:first-child { color: #fff; font-weight: 600; }
.sv-class li span:last-child { color: #AEB8D6; }
.sv-chap { list-style: none; margin: 0; padding: 0; }
.sv-chap li { display: grid; grid-template-columns: 1fr 90px 52px; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .84rem; }
.sv-chap li:first-child { border-top: 0; }
.sv-chap .t { color: #E6ECFA; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-chap .bar { margin-top: 0; }
.sv-chap .m { color: #AEB8D6; text-align: right; }
@media (max-width: 520px) { .sv-chap li { grid-template-columns: 1fr 48px; } .sv-chap .bar { display: none; } }
.sv-foot { margin: 12px 2px 0; font-size: .76rem; color: #7F8AAE; }

/* Solve'D institutions: two laptops built around the real web-app screens */
.inst-stage { position: relative; aspect-ratio: 1 / .86; width: 100%; max-width: 640px; margin: 0 auto; }
.inst-stage .il-back { position: absolute; left: 0; top: 8%; width: 70%; opacity: .96; }
.inst-stage .il-front { position: absolute; right: 0; top: 40%; width: 72%; z-index: 2; }

/* =========================================================
   Readability & responsive pass
   ========================================================= */
.section-head p, .split > div > p, .card p, .steps p, .timeline p { max-width: 68ch; }
.note { font-size: .95rem; }
.chip { font-size: .8rem; }
.grades span { font-size: .82rem; }
.gallery figcaption { font-size: 1rem; }
.tile-m .cap b small { font-size: .84rem; }
.tile-m .cap span { font-size: .78rem; }
.gb-n { font-size: .95rem; }
.legend { font-size: .95rem; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.site-footer li { margin-bottom: 2px; }
.sv { font-size: .95rem; }
.sv-kpi small { font-size: .74rem; }
.sv-kpi span { font-size: .86rem; color: #A9B5D6; }
.sv-panel p, .sv-ch span, .sv-pl { font-size: .88rem; color: #A9B5D6; }
.sv-class li { font-size: .88rem; }
.sv-chap li { font-size: .9rem; }
.sv-foot { font-size: .84rem; color: #9AA6C8; }
.sv-period span { font-size: .84rem; padding: 6px 11px; }
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 56px; }
  .lead { font-size: 1.06rem; }
  .card { padding: 22px; }
  .anno { font-size: .8rem; padding: 6px 11px 6px 7px; }
  .sv-chap li { grid-template-columns: 1fr auto; row-gap: 6px; }
  .sv-chap .t { white-space: normal; overflow: visible; }
  .sv-chap .bar { display: block; grid-column: 1 / -1; grid-row: 2; }
  .sv-tools { width: 100%; }
  .table-wrap table { font-size: .92rem; }
  th, td { padding: 12px 12px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav-links .btn, .filters button, .ladder-tabs button, .gate .btn { width: auto; }
  .gcount b { font-size: 2rem; }
  .collage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile-m { min-height: 180px; padding: 14px 10px 64px; }
  .tile-m .cap { flex-direction: column; align-items: flex-start; gap: 6px; bottom: 10px; left: 10px; right: 10px; }
  .inst-stage { aspect-ratio: 1 / 1; }
}
@media (min-width: 1600px) { :root { --wrap: 1280px; } body { font-size: 18px; } }

/* ---------- Misc ---------- */
.kicker-row { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; color: var(--ink-2); font-size: .96rem; }
.kicker-row b { font-family: var(--font-display); color: var(--ink); }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 18px 22px; border-radius: 0 14px 14px 0; color: var(--ink-2); }
.page-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.sv-compact .sv-kpis { grid-template-columns: repeat(2, 1fr); }
.inst-wide { display: grid; gap: 28px; margin-top: 44px; }
@media (min-width: 900px) { .inst-wide { grid-template-columns: 1fr 1fr; gap: 40px; } }
.inst-wide figure { margin: 0; }
.inst-wide figcaption { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; color: var(--ink-2); }
.inst-wide figcaption b { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.08rem; }
.dotn { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--anno); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
