/* ==========================================================================
   StrataLens — shared stylesheet
   One file for every page. Edit here, not in page <style> blocks.
   ========================================================================== */

/* Brand palette matches the pitch deck: indigo #2F409B, teal #24B6C3, navy #131B3E. */
:root {
  --primary: #2F409B;
  --primary-dark: #1F2B6E;     /* hover/pressed states only - never a background block */
  --secondary: #24B6C3;
  --secondary-dark: #0E7C86;   /* teal dark enough for text on white (AA) */

  --ink: #131B3E;
  --text: #1C2447;
  --muted: #525E7E;
  --line: #D7DEE8;
  --wash: #F5F8FB;
  --wash-blue: #EEF1FA;
  --white: #ffffff;

  --max: 1200px;
  --header-h: 76px;
  --radius: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 24px rgba(15, 23, 42, .07);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, .12);

  --font: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease; }
a:hover { color: var(--secondary-dark); }

:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { color: var(--primary); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 700; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--primary-dark); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 1000; display: flex; align-items: center;
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; z-index: 1001; }
.brand img { height: 36px; width: auto; }
.brand span { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--primary); }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; cursor: pointer; color: var(--primary); z-index: 1001; line-height: 0;
}

.nav-menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .94rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius); font-weight: 600; font-size: .93rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-align: center;
}
.btn-primary {
  background: var(--primary); color: #fff; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--line); color: var(--primary); background: #fff; }
.btn-outline:hover { border-color: var(--primary); background: var(--wash-blue); color: var(--primary-dark); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--wash); color: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ---------- Section scaffolding ---------- */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.bg-wash { background: var(--wash); }
.bg-blue { background: var(--primary); color: #fff; }
.bg-blue h2, .bg-blue h3 { color: #fff; }
.bg-blue p { color: rgba(255,255,255,.82); }

.eyebrow {
  display: block; color: var(--secondary-dark); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px;
}
.bg-blue .eyebrow { color: var(--secondary); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; margin-top: 14px; }

.lede { font-size: 1.15rem; line-height: 1.6; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; background: linear-gradient(160deg, var(--wash-blue) 0%, #fff 60%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--secondary-dark); }
.hero-sub { font-size: 1.18rem; line-height: 1.6; margin-bottom: 28px; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-visual img { filter: drop-shadow(0 24px 48px rgba(47, 64, 155, .14)); }

/* Animated "how it works" diagram in the hero (inline SVG, no scripts). */
.flow-diagram { display: block; width: 100%; height: auto; overflow: visible; }
.flow-diagram .hdr { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; fill: var(--secondary-dark); }
.flow-diagram .wires path { fill: none; stroke: #C5CEDD; stroke-width: 1.5; }
.flow-diagram .card { fill: #fff; stroke: var(--line); filter: drop-shadow(0 2px 4px rgba(19, 27, 62, .06)); }
.flow-diagram .lbl { font-size: 15px; font-weight: 600; fill: var(--text); }
.flow-diagram .mk-in, .flow-diagram .dot-in { fill: #F6626D; }
.flow-diagram .mk-out, .flow-diagram .dot-out { fill: var(--secondary); }
.flow-diagram .core { fill: var(--primary); filter: drop-shadow(0 14px 28px rgba(47, 64, 155, .28)); }
.flow-diagram .pulse { fill: none; stroke: var(--secondary); stroke-width: 2; opacity: 0; }
.flow-diagram .core-title { font-size: 16px; font-weight: 700; fill: #fff; }
.flow-diagram .core-step { font-size: 13.5px; font-weight: 600; fill: #8FDDE3; }
.flow-diagram .static { display: none; }
.flow-diagram .lineage rect { fill: var(--wash-blue); stroke: var(--line); }
.flow-diagram .lineage path { fill: none; stroke: var(--secondary-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.flow-diagram .lineage text { font-size: 12.5px; font-weight: 600; fill: var(--primary); }
@media (prefers-reduced-motion: reduce) {
  .flow-diagram .dot, .flow-diagram .pulse, .flow-diagram .cycle { display: none; }
  .flow-diagram .static { display: inline; }
}

/* ---------- Proof strip ---------- */
.proof { background: var(--primary); color: #fff; padding: 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.14); }
.proof-item:last-child { border-right: none; }
.proof-item .n { font-size: 1.85rem; font-weight: 800; color: #fff; line-height: 1.1; display: block; }
.proof-item .l { font-size: .85rem; color: rgba(255,255,255,.72); margin-top: 6px; display: block; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 10px; background: var(--wash-blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--primary);
}
.card-icon img { width: 30px; height: 30px; object-fit: contain; }

/* ---------- Problem list ---------- */
.stat-rows { display: grid; gap: 22px; margin-top: 8px; }
.stat-row { display: grid; grid-template-columns: 118px 1fr; gap: 20px; align-items: start; padding-left: 18px; border-left: 3px solid var(--secondary); }
.stat-row .big { font-size: 1.5rem; white-space: nowrap; font-weight: 800; color: var(--primary); line-height: 1.15; }
.stat-row .txt { font-size: 1rem; color: var(--muted); }
.stat-row .txt b { color: var(--text); display: block; font-size: .95rem; margin-bottom: 2px; }

.headline-stat {
  background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 36px;
}
.headline-stat .n { font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 800; line-height: 1; color: #fff; }
.headline-stat .n small { font-size: 1.6rem; }
.headline-stat .c { color: rgba(255,255,255,.88); font-size: 1.02rem; margin-top: 14px; }
.headline-stat cite { display: block; margin-top: 18px; font-size: .82rem; color: rgba(255,255,255,.6); font-style: normal; }

/* ---------- Steps ---------- */
/* Four step cards, illustrations from the pitch deck, arrow badges in the gaps. */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 8px; }
.step {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.step-art {
  height: 180px; padding: 20px; display: flex; align-items: center; justify-content: center;
  background: #F6F7FB; border-bottom: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.step-art img { max-height: 140px; width: auto; }
.step-core { border-color: var(--primary); box-shadow: var(--shadow); }
.step-core .step-art { background: #040E32; border-bottom-color: #040E32; }
.step-body { padding: 22px 22px 26px; }
.step-n { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--secondary-dark); margin-bottom: 6px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .93rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; z-index: 2; top: 76px; right: -28px; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F409B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.subhead {
  text-align: center; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--secondary-dark); margin: 64px 0 26px;
}
.section-cta { text-align: center; margin-top: 40px; font-size: 1.02rem; }
.section-cta a { font-weight: 700; margin-left: 6px; white-space: nowrap; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }

.check-list { list-style: none; display: grid; gap: 13px; margin-top: 22px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 1rem; color: var(--text); }
.check-list svg { margin-top: 4px; color: var(--secondary-dark); flex-shrink: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-grid-3 { grid-template-columns: repeat(3, 1fr); }
.person { text-align: center; }
.avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; border: 3px solid var(--wash-blue);
}
.person .nm { font-weight: 700; color: var(--primary); font-size: 1rem; }
.person .rl { color: var(--secondary-dark); font-weight: 600; font-size: .86rem; margin-top: 2px; }
.person .bg { color: var(--muted); font-size: .85rem; margin-top: 4px; }

.founder-block { display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: start; }
.founder-block .avatar { width: 150px; height: 150px; font-size: 2.6rem; margin: 0; }
.quote { font-size: 1.22rem; line-height: 1.55; color: var(--text); font-style: italic; margin-bottom: 18px; }

/* ---------- Contact / CTA ---------- */
.cta { background: var(--primary); color: #fff; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 42em; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #94a3b8; padding: 60px 0 24px; font-size: .9rem; }
footer p { color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: var(--secondary); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-badges { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.footer-badges iframe { flex: none; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--secondary); }
.footer-legal-note { color: #64748b; font-size: .8rem; max-width: 70ch; margin-top: 14px; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: var(--primary); color: #fff; padding: 64px 0; }
.page-head h1 { color: #fff; margin-bottom: 14px; }
.page-head p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 46em; }

/* ---------- Prose (roles, policy pages) ---------- */
.prose h2 { margin: 36px 0 14px; font-size: 1.5rem; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 9px; color: var(--muted); }

.role-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: #fff; box-shadow: var(--shadow-sm); }
.badge { display: inline-block; background: var(--wash-blue); color: var(--primary); font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }

.note-box { background: var(--wash); border-left: 3px solid var(--secondary); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.note-box p { font-size: .95rem; margin: 0; }

/* ---------- Responsive ---------- */
/* Small laptops: tighten the nav and drop the phone button (it stays in the footer). */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav-menu, .nav-links { gap: 11px; }
  .nav-links a { font-size: .88rem; }
  .nav-actions .btn { padding: 10px 14px; }
  .nav-actions .btn-outline { display: none; }
}

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .team-grid, .team-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .nav-menu {
    display: none; position: fixed; top: var(--header-h); left: 0; width: 100%;
    height: calc(100dvh - var(--header-h)); background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--wash); }
  .nav-links a { display: block; padding: 18px 24px; font-size: 1.05rem; font-weight: 600; }
  .nav-actions { flex-direction: column; align-items: stretch; padding: 22px 24px; gap: 12px; background: var(--wash); margin-top: auto; }
  .nav-actions .btn { width: 100%; padding: 14px; font-size: 1rem; }

  .hero { padding: 48px 0; }
  .hero-grid, .split, .split.wide-left, .grid-3, .grid-2, .founder-block { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .founder-block { justify-items: center; text-align: center; }
  .founder-block .avatar { margin: 0 auto; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .proof-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  section { padding: 60px 0; }
}

@media (max-width: 560px) {
  .steps, .team-grid, .team-grid-3, .footer-grid, .proof-grid { grid-template-columns: 1fr; }
  .step:nth-child(2)::after { display: block; }
  .step:not(:last-child)::after { top: auto; right: auto; bottom: -28px; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .proof-item:nth-child(odd) { border-right: none; }
  .stat-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  header, .menu-toggle, .cta-actions, .hero-cta { display: none; }
  body { padding-top: 0; }
}

/* ---------- Pilot programme page ---------- */
.badge-light { background: rgba(255,255,255,.14); color: #fff; margin-bottom: 18px; }
.plain-list { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.plain-list li { position: relative; padding-left: 18px; color: var(--text); font-size: .98rem; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }

.price-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: stretch; }
.price-main { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 36px; }
.price-main .badge { background: rgba(255,255,255,.14); color: #fff; }
.price-main .plain-list li { color: rgba(255,255,255,.88); }
.price-main .plain-list li::before { background: var(--secondary); }
.price-figure { margin: 18px 0 6px; line-height: 1; color: #fff; }
.price-amount { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.price-term { font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,.75); }

.price-tiers { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: #fff; box-shadow: var(--shadow-sm); }
.tiers-intro { font-size: .95rem; }
.tier-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.tier { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: baseline; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.tier-current { border-color: var(--primary); background: var(--wash-blue); }
.tier-name { font-weight: 700; color: var(--primary); font-size: .95rem; }
.tier-price { font-weight: 800; color: var(--ink); font-size: 1.25rem; }
.tier-note { grid-column: 2; font-size: .88rem; color: var(--muted); }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: tl; }
.timeline li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 28px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--secondary); }
.tl-when { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary-dark); margin-bottom: 8px; }
.timeline h3 { font-size: 1.08rem; margin-bottom: 8px; }
.timeline p { font-size: .93rem; }

@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .price-block { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } .price-main { padding: 28px 22px; } }

/* ---------- Trust centre page ---------- */
.page-head-meta { font-size: .9rem !important; color: rgba(255,255,255,.7) !important; margin-top: 14px; }

.status-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.status-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 28px; box-shadow: var(--shadow-sm); }
.status-item h3 { margin: 14px 0 8px; font-size: 1.1rem; }
.status-item p { font-size: .93rem; }
/* Certificate cards: badges sit on a shared baseline at the foot of each card, whatever the text length. */
.status-item.has-badge { display: flex; flex-direction: column; align-items: flex-start; }
.status-item .cert-badge { margin-top: auto; padding-top: 18px; box-sizing: content-box; }

.pill { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; line-height: 1.2; }
.pill-held { background: #E3F6EC; color: #1B6B3E; }
.pill-progress { background: var(--wash-blue); color: var(--primary); }
.pill-planned { background: var(--wash); color: var(--muted); border: 1px solid var(--line); }

.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.facts-grid > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.facts-grid dt { font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.facts-grid dd { font-size: .93rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--wash); color: var(--primary); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.table-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

@media (max-width: 1000px) { .status-list, .facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .status-list, .facts-grid { grid-template-columns: 1fr; } }
/* ---------- Use cases page ---------- */
.uc-index { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uc-index a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--text); font-weight: 600; }
.uc-index a:hover { border-color: var(--primary); color: var(--primary); }
.uc-index .n { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--secondary-dark); }
.uc-howto { margin-top: 20px; font-size: .95rem; }

.uc { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.uc-main h2 { margin-bottom: 22px; }
.uc-main h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--secondary-dark); margin: 26px 0 8px; }
.uc-main h3:first-of-type { margin-top: 0; }
.uc-main p { font-size: 1.02rem; }
.uc-main .check-list { margin-top: 10px; }
.uc-main .note-box { margin-top: 28px; }

.uc-glance { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 24px); }
.uc-glance h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--secondary-dark); margin-bottom: 14px; }
.uc-glance dl { display: grid; gap: 12px; }
.uc-glance dt { font-weight: 700; color: var(--text); font-size: .85rem; }
.uc-glance dd { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.uc-example { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.uc-example-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary-dark); margin-bottom: 8px; }
.uc-example p { font-size: .9rem; font-style: italic; color: var(--text); margin-bottom: 6px; }

.rule-steps { list-style: none; counter-reset: rs; display: grid; gap: 14px; }
.rule-steps li { counter-increment: rs; position: relative; padding-left: 52px; color: rgba(255,255,255,.85); font-size: .98rem; }
.rule-steps li strong { color: #fff; display: block; }
.rule-steps li::before { content: counter(rs, decimal-leading-zero); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--secondary); color: #fff; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }

.demand-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.demand-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.demand-table th, .demand-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.demand-table th { background: var(--wash-blue); color: var(--primary); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.demand-table tbody tr:last-child td { border-bottom: none; }
.demand-table td:first-child { font-weight: 700; color: var(--text); width: 26%; }
.demand-table td:nth-child(2) { color: var(--muted); }
.demand-table td:last-child { width: 20%; }
.status { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin: 2px 4px 2px 0; }
.status.in-place { background: #E3F7F8; color: var(--secondary-dark); }
.status.before { background: var(--wash-blue); color: var(--primary); }

.references { padding-left: 22px; display: grid; gap: 10px; font-size: .9rem; color: var(--muted); }
.references li { padding-left: 4px; }
.references-note { margin-top: 20px; font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
  .uc { grid-template-columns: 1fr; gap: 28px; }
  .uc-glance { position: static; }
  .uc-index { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .demand-table { min-width: 680px; }   /* scrolls sideways inside .demand-table-wrap instead of squashing */
}

/* ---------- Forms (pilot pack request) ---------- */
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--text); margin: 14px 0 6px; }
.form label:first-of-type { margin-top: 0; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
}
.form input:focus-visible { outline: 3px solid var(--secondary); outline-offset: 1px; border-color: var(--primary); }
.form .check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: 16px; }
.form .check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); }
.form button { width: 100%; margin-top: 22px; }
.form-note { font-size: .82rem; margin-top: 14px; text-align: center; }
.form .hp { position: absolute; left: -9999px; }
.uc-downloads { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
