/* Research2IC marketing site — design system (Brand & Frontend Guidelines v1.0, "Modern Research")
   Eucalyptus and charcoal on linen, warm sand accents. The variable names (--navy, --gold) are kept from the
   previous palette: --navy is now deep eucalyptus, --gold sand (#B08A5A for lines, #7D5F35 for text on light,
   #D8BC93 on deep eucalyptus). Sand is never small text on white. */

:root {
  --ink: #2A322E;             /* headings ("--white" in the type guideline) */
  --text: #333B37;
  --navy: #33433D;
  --navy-2: #3E4F49;
  --navy-3: #475B54;
  --gold: #B08A5A;
  --gold-2: #C9A477;
  --gold-3: #D8BC93;
  --gold-text: #7D5F35;          /* gold that passes contrast on cream */
  --paper: #FBFAF7;
  --cream: #F5F3EE;
  --sand: #ECE9E1;
  --line: #DFE5DF;
  --muted: #63736B;            /* --text-dim */
  --muted-2: #9AABA3;
  --teal: #2E7353;
  --teal-soft: #DCEDE3;
  --red: #A63E3E;
  --white: #ffffff;

  /* Type guideline: Inter for all UI text, headings, buttons and labels;
     JetBrains Mono for codes, references, timestamps, prices and badges. */
  --sans: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(31,41,37, .06), 0 8px 28px rgba(31,41,37, .08);
  --shadow-lg: 0 2px 6px rgba(31,41,37, .08), 0 24px 60px rgba(31,41,37, .16);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 18px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type ── */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 4.6vw, 56px); font-weight: 900; letter-spacing: -0.03em; }   /* Landing Hero H1: 56 / 900 */
h2 { font-size: clamp(1.75rem, 3.2vw, 40px); }
h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }  /* card titles */
h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
em.gild, .gild { font-style: normal; color: var(--gold-text); }
.dark em.gild, .dark .gild { color: var(--gold-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.dark .eyebrow { color: var(--gold-3); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.dark .lede { color: #CDD5D2; }
.small { font-size: .875rem; color: var(--muted); }
.mono { font-family: var(--mono); font-weight: 500; }

/* ── Buttons ── */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 700 14px/1 var(--sans); letter-spacing: .01em; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(31,41,37, .18); }
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
/* The primary button: eucalyptus with a white label on light backgrounds (5.6:1); warm sand with charcoal text on
   the dark eucalyptus sections, where eucalyptus wouldn't stand out (the class name is kept from the gold palette). */
.btn-gold { background: #566D65; color: #fff; }
.btn-gold:hover { background: #475B54; box-shadow: 0 12px 30px rgba(51,67,61, .28); }
.dark .btn-gold { background: linear-gradient(135deg, #C9A477, #D8BC93); color: var(--ink); }
.dark .btn-gold:hover { background: linear-gradient(135deg, #C9A477, #D8BC93); box-shadow: 0 12px 30px rgba(176,138,90, .38); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.dark .btn-ghost { color: #fff; border-color: rgba(255,255,255, .28); }
.btn-ghost:hover { border-color: var(--gold); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--gold-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.dark .link-arrow { color: var(--gold-3); }

/* ── Header ── */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,247, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 30px; height: 36px; }
.brand-name { font: 700 19px/1 var(--sans); letter-spacing: -.01em; }
.brand-name b { color: var(--gold); font-weight: 700; }
.brand-badge { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 99px; vertical-align: 3px;
  font: 700 9.5px/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #7D5F35; background: #F3E8D6; border: 1px solid #E3CFAE; }
.brand-sub { display: block; font: 500 10.5px/1.2 var(--sans); color: var(--muted-2); letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 13px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--navy); }
.nav a:hover { background: var(--sand); }
.nav a[aria-current="page"] { color: var(--gold-text); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--gold); border-radius: 2px; margin-top: 3px; }
.head-cta { display: flex; gap: 10px; align-items: center; }
.head-cta .btn { padding: 11px 18px; font-size: 13px; }
/* Menu items and header buttons stay on one line; a little tighter on mid-size screens. */
.nav a, .head-cta .btn { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 1101px) { .nav a { padding: 9px 9px; font-size: 14.5px; } .head-cta { gap: 8px; } .head-cta .btn { padding: 10px 14px; } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav, .head-cta .signin { display: none; }
  .menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; inset: 72px 0 auto 0; background: var(--paper); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px rgba(31,41,37, .12);
  }
  .menu-open .nav a { padding: 14px 12px; font-size: 17px; }
  .menu-open .nav a[aria-current="page"]::after { display: none; }
  .menu-open .nav .nav-signin { display: block; }
}
.nav .nav-signin { display: none; }
@media (max-width: 520px) { .head-cta .btn-gold { padding: 10px 14px; font-size: 13px; } }

/* ── Sections ── */
section { position: relative; }
.sec { padding: clamp(56px, min(9vw, 12vh), 120px) 0; }
.sec-tight { padding: clamp(48px, 7vw, 84px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin: 14px 0 18px; }
.dark { background: var(--navy); color: #F1F5F3; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.cream { background: var(--cream); --muted: #63736B; } /* --text-dim is 4.2:1 on cream; this shade keeps 4.5:1+ */
/* Ruled paper (FAQ, Terms, Privacy): faint lines under a soft sand glow, fading out towards the left. */
.ruled {
  background-image:
    radial-gradient(ellipse 55% 90% at 92% 0%, rgba(201,164,119,.20), transparent 62%),
    linear-gradient(90deg, var(--cream) 0%, rgba(245,243,238,.6) 45%, rgba(245,243,238,0) 100%),
    linear-gradient(rgba(51,67,61,.045) 1px, transparent 1px);
  background-size: auto, auto, 100% 36px; background-position: 0 0, 0 0, 0 18px;
}
.soft-bg {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 88% 8%, rgba(201,164,119,.22), transparent 62%),
    radial-gradient(ellipse 50% 60% at 4% 100%, rgba(86,109,101,.08), transparent 60%),
    linear-gradient(180deg, #FAF8F6, var(--cream));
}
.soft-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(51,67,61,.11) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 38%, #000 82%); mask-image: linear-gradient(100deg, transparent 38%, #000 82%);
}
.soft-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Hero ── */
/* The hero fills the first screen (below the header) and everything in it stays visible on laptop screens. */
.hero { overflow: hidden; isolation: isolate; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; align-items: center; padding: clamp(28px, 5vh, 72px) 0; }
.hero > .wrap { width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .glow-a { position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,164,119, .35), transparent); filter: blur(10px); }
.hero-bg .glow-b { position: absolute; width: 640px; height: 640px; left: -260px; bottom: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(86,109,101, .45), transparent); }
.hero-bg .gridlines { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 0 0 clamp(14px, 2.4vh, 24px); font-size: clamp(2.2rem, min(4.5vw, 7.4vh), 56px); }
.hero h1 .line2 { display: block; color: var(--gold-3); font-weight: 800; }
.hero .lede { margin-bottom: clamp(20px, 3.6vh, 34px); max-width: 46ch; }
.hero .eyebrow { margin-bottom: clamp(12px, 2vh, 20px); }
/* The student's journey: project → thesis → patent */
.hero-journey { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0 0 clamp(20px, 3.4vh, 32px); max-width: 620px; }
.hero-journey li { counter-increment: step; position: relative; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.05); }
.hero-journey li::before { content: counter(step, decimal-leading-zero); display: block; font: 700 10.5px/1 var(--mono); letter-spacing: .12em; color: var(--gold-3); margin-bottom: 6px; }
.hero-journey li:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 50%; transform: translate(50%, -50%); color: var(--gold-3); font-size: 14px; z-index: 1; }
.hero-journey li:last-child { border-color: rgba(201,164,119,.45); background: rgba(201,164,119,.1); }
.hero-journey b { display: block; color: #fff; font-size: 14.5px; }
.hero-journey span { display: block; color: #B4BFBA; font-size: 12.5px; line-height: 1.45; margin-top: 3px; }
@media (max-width: 600px) { .hero-journey { grid-template-columns: minmax(0, 1fr); } .hero-journey li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -10px; transform: translate(50%, 50%); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: clamp(20px, 3.6vh, 38px); font-size: 13.5px; color: #B4BFBA; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--gold-3); }
.hero-art { position: relative; aspect-ratio: 1 / 1; width: min(100%, calc(100svh - 150px)); justify-self: center; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 900px) { .hero { min-height: 0; } .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { max-width: 440px; margin: 0 auto; width: 100%; } }
/* Desktop: the whole hero fits on one screen, so spacing and type scale with the screen's height. */
@media (min-width: 901px) {
  .hero { height: calc(100svh - 73px); min-height: 560px; padding: clamp(16px, 3vh, 48px) 0; }
  .hero .eyebrow { margin-bottom: clamp(8px, 1.6vh, 18px); }
  .hero h1 { font-size: clamp(2rem, min(4.2vw, 6.2vh), 56px); margin-bottom: clamp(10px, 1.8vh, 22px); }
  .hero .lede { font-size: clamp(.98rem, 2.1vh, 1.2rem); line-height: 1.55; margin-bottom: clamp(12px, 2.4vh, 28px); }
  .hero-journey { margin-bottom: clamp(14px, 2.6vh, 30px); gap: 8px; }
  .hero-journey li { padding: clamp(8px, 1.3vh, 12px) 12px; }
  .hero-journey li::before { margin-bottom: 4px; }
  .hero-journey span { font-size: clamp(11.5px, 1.6vh, 12.5px); }
  .hero-meta { margin-top: clamp(12px, 2.4vh, 34px); }
  .hero-art { width: min(100%, calc(100svh - 150px)); }
}

.page-hero { padding: clamp(44px, min(7vw, 9vh), 96px) 0 clamp(40px, min(6vw, 8vh), 80px); overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2rem, min(4.2vw, 6.4vh), 52px); margin: 16px 0 18px; max-width: 20ch; }
.page-hero .lede { max-width: 60ch; }
.page-hero .ornament { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: min(520px, 48vw); opacity: .9; z-index: -1; }
@media (max-width: 760px) { .page-hero .ornament { opacity: .18; right: -120px; } }

/* ── Frameworks strip ── */
.frameworks { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.frameworks .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; justify-content: space-between; }
.frameworks .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #99A7A1; }
.frameworks ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.frameworks li { font: 600 15px/1.2 var(--sans); color: #E5EBE9; display: inline-flex; align-items: center; gap: 10px; }
/* Customers logo band (Home, under the opening) */
.customers-band { background: var(--cream); padding: 26px 0; border-bottom: 1px solid var(--line); }
.customers-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.customers-band .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.customers-band .logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.cust-logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.cust-logo img { max-height: 44px; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
a.cust-logo:hover img { filter: none; opacity: 1; }
.cust-logo span { font-weight: 700; font-size: 15px; color: var(--navy); }
.frameworks li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-2); }

/* ── Cards & grids ── */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D3DAD3; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.dark .card p { color: #C2CCC8; }
.dark .card:hover { border-color: rgba(201,164,119,.4); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #F7F1E9, #EADECB); color: var(--gold-text); border: 1px solid #DDCDB6;
}
.icon svg { width: 26px; height: 26px; }
.dark .icon { background: linear-gradient(145deg, rgba(201,164,119,.18), rgba(201,164,119,.06)); color: var(--gold-3); border-color: rgba(201,164,119,.25); }
.num-tag { font: 700 11px/1 var(--mono); color: var(--gold-text); letter-spacing: .08em; }

/* ── Problem / contrast ── */
.contrast { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .contrast { grid-template-columns: minmax(0, 1fr); } }
.pain { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.pain li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.pain li:last-child { border-bottom: 1px solid var(--line); }
.pain .n { font: 700 1.1rem/1.6 var(--mono); color: var(--gold); }
.pain h4 { margin-bottom: 6px; }
.pain p { margin: 0; color: var(--muted); font-size: 15.5px; }
/* Process flows (Platform page): a row of steps, gates in gold, wrapping to a column on phones */
.flow-card { margin-top: clamp(36px, 5vw, 60px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: clamp(18px, 3vw, 28px); }
.cream .flow-card { background: #fff; }
.flow-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 18px; }
.flow-head b { font-size: 16px; color: var(--navy); }
.flow-head span { font-size: 13px; color: var(--muted); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 22px; }
.flow li { position: relative; padding: 14px 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--gold-2); font-weight: 700; }
.flow small { display: block; font: 700 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.flow b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.flow span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.flow .gate { border: 1.5px solid var(--gold-2); background: #F8F4ED; }
.flow .gate small { color: #8A6A3E; }
.flow .end { background: var(--navy); border-color: var(--navy); }
.flow .end b { color: #fff; } .flow .end span { color: #C2CCC8; } .flow .end small { color: var(--gold-3); }
/* Vertical flow: steps stacked, beside a module's text */
.flow.v { grid-auto-flow: row; grid-auto-columns: auto; gap: 16px; }
.flow.v li:not(:last-child)::after { content: "↓"; right: auto; left: 22px; top: auto; bottom: -18px; transform: none; line-height: 1; font-size: 13px; }
.flow.v li { padding: 12px 16px; }
@media (max-width: 900px) {
  .flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 18px; }
  .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 22px; top: auto; bottom: -19px; transform: none; line-height: 1; font-size: 13px; }
}
/* Why timing matters: two timelines, usual order vs. with an IPR review first */
.timing { margin-top: clamp(40px, 6vw, 72px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: clamp(18px, 3vw, 30px); display: grid; gap: 22px; }
.tl-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: center; }
.tl-row + .tl-row { border-top: 1px dashed var(--line); padding-top: 22px; }
.tl-label b { display: block; font-size: 15px; color: var(--navy); }
.tl-label span { font-size: 12.5px; color: var(--muted); }
.tl-row ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; position: relative; }
.tl-row li { flex: 1; position: relative; padding: 26px 8px 0; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.tl-row li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--muted-2); z-index: 1; }
.tl-row li::after { content: ""; position: absolute; top: 11px; left: 50%; width: 100%; height: 2px; background: var(--line); }
.tl-row li:last-child::after { display: none; }
.tl-row li small { display: block; font: 600 10.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.tl-row li.pub::before { border-color: #8A5A1F; background: #8A5A1F; }
.tl-row li.pub small { color: #8A5A1F; }
.tl-row.bad li.pub::after, .tl-row.bad li.late::after { background: #f3c9b5; }
.tl-row li.late { color: #7A4E1A; }
.tl-row li.late::before { border-color: #8A5A1F; }
.tl-row li.late small { color: #7A4E1A; }
.tl-row li.gate::before, .tl-row li.file::before { border-color: var(--gold-2); background: var(--gold-2); }
.tl-row li.safe::before { border-color: var(--teal); background: var(--teal); }
.tl-row li.safe small { color: var(--teal); }
@media (max-width: 760px) {
  .tl-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tl-row ol { flex-direction: column; gap: 14px; }
  .tl-row li { text-align: left; padding: 0 0 0 28px; }
  .tl-row li::before { top: 3px; left: 0; margin-left: 0; }
  .tl-row li::after { top: 15px; left: 5px; width: 2px; height: calc(100% + 2px); }
}
.pull { font: 600 clamp(1.35rem, 2.2vw, 1.8rem)/1.35 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.pull cite { display: block; margin-top: 18px; font: 500 13px/1.4 var(--sans); font-style: normal; color: var(--muted); letter-spacing: .04em; }

/* ── Journey ── */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.journey-line { position: absolute; left: 4%; right: 4%; top: 37px; height: 2px; background: rgba(255,255,255,.12); }
.journey-line i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-3)); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.journey.in .journey-line i { transform: scaleX(1); }
.step { position: relative; text-align: left; }
.step .dot {
  position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--navy-2); border: 1.5px solid rgba(201,164,119,.35); color: var(--gold-3);
  box-shadow: 0 0 0 8px var(--navy), 0 0 0 9px rgba(255,255,255,.06);
}
.step .dot svg { width: 30px; height: 30px; }
.step .k { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.step h4 { color: #fff; margin: 8px 0 8px; font-size: 1.2rem; }
.step p { font-size: 14.5px; color: #B9C5C0; margin: 0; }
@media (max-width: 980px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .journey-line { left: 37px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .journey-line i { transform-origin: top; transform: scaleY(0); }
  .journey.in .journey-line i { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding-bottom: 28px; }
  .step .dot { margin: 0; }
}

/* ── Product mock ── */
.mock-wrap { position: relative; }
.mock {
  position: relative; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid #E2E7E2; overflow: hidden;
  transform: perspective(1600px) rotateX(4deg) rotateY(-6deg); transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.mock-wrap:hover .mock { transform: perspective(1600px) rotateX(0) rotateY(0); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #EBE5DD; background: #F9F6F2; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9DED8; }
.mock-bar span { margin-left: 12px; font: 500 12px/1 var(--sans); color: var(--muted-2); }
.mock-body { display: grid; grid-template-columns: 138px 1fr; min-height: 380px; }
.mock-side { background: var(--navy); padding: 16px 12px; color: #ADBCB6; font-size: 12px; }
.mock-side b { display: block; color: #fff; font-size: 13px; margin: 2px 6px 16px; }
.mock-side div { padding: 8px 10px; border-radius: 8px; margin-bottom: 2px; }
.mock-side .on { background: rgba(201,164,119,.14); color: var(--gold-3); }
.mock-main { padding: 18px 20px; background: var(--cream); }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: #fff; border-radius: 10px; padding: 12px; border: 1px solid #EBE4DA; }
.kpi b { display: block; font: 800 22px/1 var(--sans); color: var(--ink); }
.kpi span { font-size: 10px; color: var(--muted); white-space: nowrap; display: block; margin-top: 6px; }
.mock-rows { background: #fff; border-radius: 10px; border: 1px solid #EBE4DA; overflow: hidden; }
.mrow { display: grid; grid-template-columns: 1.55fr .95fr 1.05fr; gap: 10px; padding: 11px 14px; border-top: 1px solid #EFEBE4; font-size: 12px; align-items: center; }
.mrow:first-child { border-top: 0; background: #F9F6F2; font-weight: 600; color: var(--muted); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.mrow .t { font-weight: 600; color: var(--navy); }
.mrow .t small { display: block; font-weight: 500; color: var(--muted-2); font-size: 10.5px; margin-top: 2px; }
.mrow .o { font-family: var(--mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
/* Phones: drop the order number so the invention and its stage have room. */
@media (max-width: 520px) { .mrow { grid-template-columns: minmax(0, 1.4fr) auto; } .mrow > :nth-child(3) { display: none; } }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 800 10px/1.3 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.g { background: var(--teal-soft); color: var(--teal); }
.chip.a { background: #F2EADF; color: #6E5430; }
.chip.b { background: #ECF3F0; color: #4C6F60; }
.chip.p { background: #efe8fa; color: #6a3fb4; }
.mock-float {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid #E9E2D8; padding: 12px 14px; font-size: 12px; line-height: 1.4;
  animation: floaty 7s ease-in-out infinite;
}
.mock-float.f1 { left: -44px; bottom: -18px; width: 214px; }
.mock-float.f2 { right: -30px; top: -58px; width: 196px; animation-delay: -3.5s; }
.mock-float .small { font-size: 11.5px; line-height: 1.45; }
.mock-float b { color: var(--navy); }
.bar { height: 6px; border-radius: 6px; background: #EEE9E1; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #3D8F69); border-radius: 6px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mock-caption { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--muted-2); }
@media (max-width: 760px) {
  .mock { transform: none; }
  .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-side { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-float { display: none; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split.wide-art { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.split.rev > :first-child { order: 2; }
/* Recognition (About → Who we are): DPIIT, StartinUP, KLTIF. A logo file that's missing shows the name instead. */
.recog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.recog-card { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 18px; min-height: 150px; padding: 26px 16px 20px; text-align: center; background: #FBFAF7; border: 1px solid #EBDFCE; border-radius: var(--r-lg); }
.recog-logo { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; }
.recog-logo img { max-height: 48px; max-width: 100%; object-fit: contain; }
.recog-logo .wm { display: none; font-weight: 800; font-size: 22px; letter-spacing: .12em; color: var(--ink); line-height: 1.1; }
.recog-logo .wm small { display: block; font-size: 12px; letter-spacing: 0; font-weight: 700; color: #e46b1b; }
.recog-logo .wm.on, .recog-logo.no-img .wm { display: block; }
.recog-logo.no-img img { display: none; }
.recog-label { font: 600 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .recog { grid-template-columns: minmax(0, 1fr); } .recog-card { min-height: 0; } }
@media (max-width: 900px) { .split, .split.rev, .split.wide-art { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 16px; }
.ticks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232E7353' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.dark .ticks li::before { background-color: rgba(46,115,83,.25); }
.ticks b { color: var(--navy); }
.dark .ticks b { color: #fff; }

/* ── Roles (tabs) ── */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font: 700 13px/1 var(--sans); color: var(--navy); transition: .2s;
}
.tab:hover { border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.panel[hidden] { display: none; }
[hidden] { display: none !important; } /* content sections stay hidden until they have something to show */
.panel .quote { font: 700 clamp(1.25rem, 2vw, 1.6rem)/1.35 var(--sans); color: var(--ink); letter-spacing: -.015em; }
.panel .who { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin-bottom: 14px; }
@media (max-width: 820px) { .panel { grid-template-columns: minmax(0, 1fr); } }

/* ── Accreditation outcomes ── */
.acc { border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 28px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); position: relative; overflow: hidden; }
.acc .tag { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.acc h3 { margin: 14px 0 10px; }
.acc p { color: #C2CCC8; font-size: 15px; margin: 0; }
.acc::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(201,164,119,.18); box-shadow: 0 0 0 18px rgba(201,164,119,.04), 0 0 0 36px rgba(201,164,119,.03); }

/* ── Trust ── */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust > div { padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust h4 { margin: 14px 0 8px; }
.trust p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* ── Plans ── */
/* One column per plan (data-count, set from the plans on offer), centred; cards never wider than ~320px. */
.plans { --n: 4; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; align-items: stretch;
  max-width: calc(var(--n) * 320px + (var(--n) - 1) * 16px); margin-inline: auto; }
.plans[data-count="1"] { --n: 1; } .plans[data-count="2"] { --n: 2; } .plans[data-count="3"] { --n: 3; }
@media (max-width: 1080px) { .plans[data-count="4"] { --n: 2; } }
@media (max-width: 760px) { .plans[data-count="3"] { --n: 1; max-width: 440px; } }
@media (max-width: 600px) { .plans { --n: 1 !important; max-width: 440px; } }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; position: relative; }
.plan.featured { background: var(--navy); color: #ECF1EF; border-color: var(--navy); box-shadow: var(--shadow-lg); }
.plan.featured h3 { color: #fff; }
.plan .badge { position: absolute; top: -12px; left: 24px; background: linear-gradient(135deg, #B8935F, #D8BC93); color: var(--ink); font: 800 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.plan .for { font-size: 14px; color: var(--muted); margin: 8px 0 18px; min-height: 44px; }
.plan.featured .for { color: #C2CCC8; }
.plan .limits { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.plan.featured .limits { border-color: rgba(255,255,255,.14); }
.plan .limits b { display: block; font: 700 1.4rem/1.1 var(--mono); }
.plan .limits span { font-size: 12px; color: var(--muted); }
.plan.featured .limits span { color: #ADBCB6; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; align-content: start; font-size: 14.5px; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.plan li.no { color: var(--muted-2); }
.plan li.plus { display: block; font-weight: 600; } .plan li.plus::before { content: none; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.plan.featured li::before { color: #7CC4A0; }
.plan li.no::before { content: "–"; color: var(--muted-2); }
.plan .btn { width: 100%; }
/* Compare plans: full feature table (scrolls sideways on phones, with the feature names kept in view) */

/* ── FAQ ── */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 700 1.05rem/1.4 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); margin: 0 0 20px; max-width: 70ch; }

/* ── CTA band ── */
.cta-band { overflow: hidden; isolation: isolate; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; }
.cta-inner h2 { margin: 14px 0 16px; }
.cta-seal { width: 100%; max-width: 280px; margin-left: auto; }
@media (max-width: 820px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } .cta-seal { margin: 0 auto; max-width: 200px; } }
.spin-slow { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Forms ── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
label.f { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
label.f .opt { font-weight: 400; color: var(--muted-2); }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 14px; border: 1.5px solid #D5DCD5; border-radius: 10px; background: var(--paper);
  font: 400 15.5px/1.4 var(--sans); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,119,.15); }
textarea.input { min-height: 120px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid #D5DCD5; border-radius: 999px; font-size: 14px; cursor: pointer; background: var(--paper); }
.checks input { accent-color: var(--gold); }
.checks label:has(input:checked) { border-color: var(--gold); background: #F7F1E9; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.form-msg.ok { background: var(--teal-soft); color: #245C43; }
.form-msg.err { background: #fbe6e3; color: var(--red); }
.contact-aside { display: grid; gap: 22px; align-content: start; }
.contact-aside .card:hover { transform: none; }

/* ── Footer ── */
.site-foot { background: var(--ink); color: #ADBCB6; padding: 72px 0 32px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.site-foot .brand { color: #fff; }
.site-foot h5 { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; color: #C4CFCA; }
.site-foot a:hover { color: var(--gold-3); }
.foot-note { max-width: 36ch; margin-top: 16px; }
.foot-legal { display: flex; gap: 20px; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #8A9993; }

/* ── Motion ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s 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; } .reveal.d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock, .mock-float, .spin-slow { animation: none !important; transform: none !important; }
  .journey-line i { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ── Long-form pages (Terms, Privacy) ── */
.legal { max-width: 780px; margin: 0 auto; font-size: 16.5px; }
.legal h2 { font-size: 1.35rem; margin: 44px 0 12px; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.legal a { color: var(--gold-text); }
.legal .meta { font: 500 13px/1.6 var(--mono); color: var(--muted); }
.toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; margin: 28px 0 8px; --muted: #63736B; }
.toc b { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.toc ol { margin: 12px 0 0; columns: 2; column-gap: 32px; font-size: 15px; display: block; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.draft-note { display: flex; gap: 12px; align-items: flex-start; background: #F7F1E7; border: 1px solid #DDCDB6; color: #5A4428; border-radius: var(--r); padding: 14px 18px; font-size: 14.5px; margin-top: 22px; }
.draft-note b { color: #45351F; }
.placeholder { background: #F7F1E7; border-bottom: 1.5px dashed #B8935F; padding: 0 3px; font-family: var(--mono); font-size: .9em; }

/* ── FAQ page groups ── */
.faq-groups { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.faq-nav a { padding: 9px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.faq-nav a:hover { background: var(--sand); }
.faq-group { margin-bottom: 40px; scroll-margin-top: 90px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 4px; }
.faq-group .faq { max-width: none; margin: 0; }
@media (max-width: 820px) { .faq-groups { grid-template-columns: minmax(0, 1fr); } .faq-nav { position: static; display: flex; flex-wrap: wrap; } }

/* ── About ── */
.principles { counter-reset: p; display: grid; gap: 0; }
.principles > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.principles > div:last-child { border-bottom: 1px solid var(--line); }
.principles > div::before { counter-increment: p; content: "0" counter(p); font: 700 14px/1.7 var(--mono); color: var(--gold-text); }
.principles h3 { margin: 0 0 6px; }
.principles p { margin: 0; color: var(--muted); font-size: 16px; }

/* ── First screen on every page ──
   Overview pages: the opening fills the screen below the header (like the home hero).
   Task pages: a compact title so the page's key content is visible without scrolling. */
.page-hero.full { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; align-items: center; padding: clamp(28px, 5vh, 64px) 0; }
.page-hero.full > .wrap { width: 100%; }
.page-hero.full .ornament { width: min(540px, 44vw, 68vh); right: clamp(-40px, -2vw, 0px); }
.page-hero.full h1 { font-size: clamp(2.1rem, min(4.4vw, 7vh), 54px); max-width: 17ch; }
.page-hero.full .hero-cta { margin-top: clamp(20px, 3.4vh, 32px); }
.page-hero.compact { padding: clamp(26px, 5vh, 52px) 0 clamp(18px, 3.2vh, 32px); }
.page-hero.compact h1 { font-size: clamp(1.8rem, min(3.4vw, 5.6vh), 44px); margin: 12px 0 10px; max-width: 28ch; }
.page-hero.compact .lede { font-size: 1.05rem; }
.after-compact { padding-top: clamp(14px, 2.6vh, 28px) !important; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(18px, 3.2vh, 30px); }
.jump span { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--navy); background: rgba(255,255,255,.6); }
.jump a:hover { border-color: var(--gold); }
.dark .jump span { color: #99A7A1; }
.dark .jump a { border-color: rgba(255,255,255,.18); color: #EAEFED; background: rgba(255,255,255,.04); }
.dark .jump a:hover { border-color: var(--gold-3); }
@media (max-width: 900px) { .page-hero.full { min-height: 0; } }

/* Book a demo: intro and form side by side in the first screen */
.demo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.demo-grid .form-card { padding: clamp(18px, 2.6vh, 30px) clamp(18px, 2.4vw, 30px); }
.demo-grid .fgrid { gap: 12px 14px; }
.demo-grid .input { padding: 10px 12px; }
.demo-grid textarea.input { min-height: 72px; }
.demo-grid label.f { margin-bottom: 5px; }
.demo-grid .checks label { padding: 7px 12px; font-size: 13.5px; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── Advisors & partners ── */
.people-label { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 16px; }
.people-label.next { margin-top: clamp(36px, 5vw, 56px); }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 12px 20px; transition: transform .3s ease, box-shadow .3s ease; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.person .ph { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #3E4F49, #33433D); margin-bottom: 16px; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.person:hover .ph img { transform: scale(1.04); }
.person .ph::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(201,164,119,.35); pointer-events: none; }
.person .ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.person h3 { font-size: 1.05rem; margin: 0 6px 4px; }
.person .role { font-size: 14px; color: var(--text); margin: 0 6px; line-height: 1.45; }
.person .org { font: 700 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); margin: 8px 6px 0; }
.person a.in { display: inline-block; margin: 10px 6px 0; font-size: 13px; font-weight: 700; color: var(--gold-text); text-decoration: none; }
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .2s; }
a.partner:hover { border-color: var(--gold); }
.partner .lg { width: 64px; height: 64px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.partner .lg img { max-width: 80%; max-height: 80%; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.partner:hover .lg img { filter: none; opacity: 1; }
.partner .lg b { font: 800 18px/1 var(--sans); color: var(--gold-text); }
.partner h4 { font-size: 1rem; margin: 0 0 3px; }
.partner p { margin: 0; font-size: 13.5px; color: var(--muted); }
.person.is-placeholder, .partner.is-placeholder { border-style: dashed; border-color: #DCC6A2; background: #FBFAF7; }
.is-placeholder h3, .is-placeholder h4, .is-placeholder .role, .is-placeholder .org, .is-placeholder p { color: var(--muted-2); }
@media (max-width: 980px) { .people, .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .partners { grid-template-columns: minmax(0, 1fr); } }
.no-js [data-people-section] { display: none; }
.person .bio { font-size: 13.5px; color: var(--muted); margin: 8px 6px 0; line-height: 1.5; }

/* ── Featured message (photo + their words); hidden until switched on in the admin console ── */
.message { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin: 0; max-width: 1040px; margin-inline: auto; }
.message-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #3E4F49, #33433D); box-shadow: var(--shadow-lg); }
.message-ph img, .message-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.message-ph::after { content: ""; position: absolute; inset: 0; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(201,164,119,.4); pointer-events: none; }
.message blockquote { margin: 14px 0 24px; font-size: clamp(1.12rem, 1.8vw, 1.4rem); line-height: 1.55; font-weight: 500; color: var(--ink); }
.message blockquote::before { content: "“"; display: block; font: 800 4.6rem/.5 var(--sans); color: var(--gold-3); margin: 18px 0 6px; }
.message blockquote p { margin: 0 0 .7em; max-width: 58ch; }
.message blockquote p:last-child { margin-bottom: 0; }
.message figcaption { border-left: 3px solid var(--gold-3); padding-left: 14px; }
.message figcaption b { display: block; font-size: 1.05rem; color: var(--ink); }
.message figcaption span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.message figcaption .org { font: 700 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); margin-top: 6px; }
.message figcaption a.in { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--gold-text); text-decoration: none; }
@media (max-width: 760px) { .message { grid-template-columns: minmax(0, 1fr); } .message-ph { width: min(240px, 70%); } }

/* Plans: cards compact enough to sit under the title on a 768px-tall screen */
.plan { padding: clamp(18px, 2.6vh, 26px) 20px; }
.plan .for { min-height: 0; margin: 6px 0 12px; font-size: 13.5px; line-height: 1.5; }
.plan .limits { padding: 10px 0; margin-bottom: 12px; }
.plan .limits b { font-size: 1.2rem; }
.plan ul { gap: 5px; margin-bottom: 16px; font-size: 14px; }
.plan .btn { padding: 11px 16px; }
.plans-head h1 { max-width: none; }
/* Book a demo form: tighter rhythm */
.demo-grid .input { padding: 9px 12px; font-size: 15px; }
.demo-grid textarea.input { min-height: 58px; }
.demo-grid .checks { gap: 6px; }
.demo-grid .checks label { padding: 6px 11px; font-size: 13px; gap: 6px; }
.demo-grid legend { margin-bottom: 6px !important; }

/* Book a demo: three columns on wide screens (three rows of fields instead of four) */
.demo-grid .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-grid .fgrid .s2 { grid-column: span 2; }
@media (max-width: 1100px) { .demo-grid .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .demo-grid .fgrid .s2 { grid-column: 1 / -1; } }
@media (max-width: 640px) { .demo-grid .fgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-height: 740px) { .demo-grid textarea.input { min-height: 42px; } .demo-grid .form-card { padding-top: 14px; padding-bottom: 14px; } .demo-grid .fgrid { gap: 10px 14px; } }
.plan .price { font: 800 1.5rem/1.1 var(--sans); color: inherit; margin: 0 0 12px; letter-spacing: -.01em; }
.plan .price span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.plan.featured .price span { color: #ADBCB6; }

/* ── Home hero: "Shaped by…" attribution under the heading ── */
.shaped { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 clamp(20px, 3.6vh, 32px); padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(201,164,119,.3); color: #CDD5D2; font-size: 15px; line-height: 1.4; max-width: 100%; }
.shaped b { color: #fff; font-weight: 700; }
.shaped-ic { display: inline-flex; flex: none; }
.shaped-ic i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #3E4F49; border: 2px solid var(--gold-3); color: var(--gold-3); }
.shaped-ic i + i { margin-left: -9px; }
.shaped-ic i:nth-child(2) { background: #475B54; } .shaped-ic i:nth-child(3) { background: linear-gradient(135deg, #B08A5A, #D8BC93); color: var(--navy); }
.shaped-ic svg { width: 16px; height: 16px; }
@media (min-width: 901px) { .shaped { white-space: nowrap; font-size: 14.5px; } }
@media (max-width: 480px) { .shaped { border-radius: 18px; font-size: 14px; } }

/* ── Plans: who pays for what, and four-step order flows ── */
.payers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto clamp(26px, 4vw, 40px); }
.payer { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.payer-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-3); }
.payer-ic svg { width: 24px; height: 24px; }
.payer b { font-size: 15px; color: var(--ink); }
.payer-arrow { display: none; }
.payer-what { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gold-text); }
.payer-what svg { width: 16px; height: 16px; }
.payer.free .payer-ic { background: var(--teal); color: #fff; } .payer.free .payer-what { color: var(--teal); }
@media (max-width: 760px) { .payers { grid-template-columns: minmax(0, 1fr); max-width: 380px; } }
.mini-flow { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.mini-flow li::before { content: ""; position: absolute; top: 27px; left: -50%; right: 50%; border-top: 2px dashed #D3DAD3; }
.mini-flow li:first-child::before { display: none; }
.mini-flow span { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--navy); color: var(--navy); }
.mini-flow li:last-child span { background: linear-gradient(135deg, #B08A5A, #D8BC93); border-color: #B08A5A; color: var(--navy); }
.cream .mini-flow span { background: #fff; }
.mini-flow svg { width: 24px; height: 24px; }
@media (max-width: 420px) { .mini-flow span { width: 46px; height: 46px; } .mini-flow li::before { top: 22px; } .mini-flow li { font-size: 12px; } }

/* ── Trust: who sees what ── */
.scopes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.scopes li { display: grid; grid-template-columns: minmax(0, 1.1fr) 40px minmax(0, 1fr); align-items: center; gap: 10px; }
.sc-who { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.sc-who i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-3); }
.sc-who svg { width: 20px; height: 20px; }
.sc-line { border-top: 2px dashed #D3DAD3; position: relative; }
.sc-line::after { content: ""; position: absolute; right: -2px; top: -6px; border: 5px solid transparent; border-left: 7px solid #C7B9A0; border-right: 0; }
.sc-what { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 7px 12px; border-radius: 999px; background: var(--teal-soft); color: #245C43; font-size: 13.5px; font-weight: 600; }
.sc-what svg { width: 16px; height: 16px; flex: none; }
.sc-note { margin: 18px 0 0; }
@media (max-width: 520px) { .scopes li { grid-template-columns: minmax(0, 1fr); gap: 6px; } .sc-line { display: none; } .sc-what { margin-left: 50px; } }
.trust-tiles .desk span:last-child { line-height: 1.4; }

/* ── About: why we built it (before/after) and the five commitments as tiles ── */
.handoffs { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.hd-row { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.hd-row.bad { background: linear-gradient(90deg, #fff, #fdf3f1); }
.hd-row.good { grid-template-rows: auto auto; background: linear-gradient(90deg, #fff, #EAF4EE); border-color: #C9E3D3; box-shadow: var(--shadow); }
.hd-tag { font-weight: 800; font-size: 15px; color: var(--ink); }
.hd-row.good .hd-tag { color: var(--teal); grid-row: span 2; }
.hd-chain { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.hd-desk { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--navy); min-width: 62px; }
.hd-desk i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #ADBCB6; color: #566D65; }
.hd-desk svg { width: 22px; height: 22px; }
.hd-mail { color: #C7B9A0; display: grid; place-items: center; margin-top: -18px; }
.hd-mail svg { width: 18px; height: 18px; }
.hd-out { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fbe9e6; color: var(--red); font-weight: 800; font-size: 14px; margin-top: -18px; }
.hd-out svg { width: 16px; height: 16px; }
.hd-chain.together .hd-desk i { border-color: var(--teal); color: var(--teal); }
.hd-record { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 9px 14px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 700; font-size: 14px; position: relative; }
.hd-record::before { content: ""; position: absolute; left: 6%; right: 6%; top: -12px; height: 10px; border: 2px dashed rgba(46,115,83,.45); border-bottom: 0; border-radius: 8px 8px 0 0; }
.hd-record svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .hd-row { grid-template-columns: minmax(0, 1fr); padding: 16px; } .hd-row.good .hd-tag { grid-row: auto; }
  .hd-mail { display: none; } .hd-out { margin-top: 8px; } .hd-chain { justify-content: center; gap: 10px; } .hd-desk { min-width: 56px; }
}
.pr-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.principles.pr-tiles > div { display: block; padding: 0; border: 0; }
.principles.pr-tiles > div::before { display: none; }
.pr-tiles > div > div { position: relative; height: 100%; text-align: center; padding: 74px 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .3s ease, box-shadow .3s ease; }
.pr-tiles > div > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pr-tiles > div > div::before { content: ""; position: absolute; top: 18px; left: 50%; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; background: var(--navy) center / 22px no-repeat; }
.pr-tiles > div:nth-child(1) > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8BC93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8.5-8 9.5C7.5 20.5 4 17 4 12V6z'/%3E%3C/svg%3E"); }
.pr-tiles > div:nth-child(2) > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8BC93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E"); }
.pr-tiles > div:nth-child(3) > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8BC93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 5h10M7 9h10M10 5c4 0 4 8 0 8H7l7 7'/%3E%3C/svg%3E"); }
.pr-tiles > div:nth-child(4) > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8BC93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11h14v10H5zM8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.pr-tiles > div:nth-child(5) > div::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8BC93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z'/%3E%3C/svg%3E"); }
.pr-tiles h3 { font-size: 1rem; margin: 0 0 6px; line-height: 1.3; }
.pr-tiles p { font-size: 13.5px; }
@media (max-width: 980px) { .pr-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Contact us: pick who you are ── */
.routes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.route { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 16px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; scroll-margin-top: 100px; }
.route:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.route:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,119,.25); }
.route-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; background: var(--navy); color: var(--gold-3); box-shadow: 0 0 0 6px #EADECB; }
.route-ic svg { width: 30px; height: 30px; }
.route b { font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.route-hint { font-size: 13.5px; color: var(--muted); }
.route-go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--gold-text); }
.route-go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.route:hover .route-go svg { transform: translateX(3px); }
.route.main { background: linear-gradient(160deg, #33433D, #475B54); border-color: #33433D; }
.route.main b { color: #fff; } .route.main .route-hint { color: #C2CCC8; }
.route.main .route-ic { background: linear-gradient(135deg, #B08A5A, #D8BC93); color: var(--navy); box-shadow: 0 0 0 6px rgba(201,164,119,.2); }
.route.main .route-go { color: var(--gold-3); }
@media (max-width: 1060px) { .routes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .route.main { grid-column: 1 / -1; } }
.co { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; padding: 18px 22px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.co span, .co a { display: inline-flex; align-items: center; gap: 8px; }
.co a { color: var(--gold-text); font-weight: 600; text-decoration: none; }
.co b { color: var(--ink); }
.co svg { width: 18px; height: 18px; color: var(--gold-text); flex: none; }

/* ── Home: the gap as icon tiles, and the five desks ── */
.pain.pain-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pain.pain-icons li { grid-template-columns: 1fr; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; align-content: start; }
.pain.pain-icons li:last-child { border-bottom: 1px solid var(--line); }
.pain.pain-icons h4 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.pi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fbe9e6; color: var(--red); }
.pi svg { width: 24px; height: 24px; }
@media (max-width: 420px) { .pain.pain-icons { grid-template-columns: minmax(0, 1fr); } }
.desks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.desk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 14px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .3s ease, box-shadow .3s ease; }
.desk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.desk-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; background: var(--navy); color: var(--gold-3); box-shadow: 0 0 0 6px #EADECB; }
.desk-ic svg { width: 28px; height: 28px; }
.desk b { color: var(--ink); font-size: 15.5px; }
.desk > span:last-child { font-size: 13.5px; color: var(--muted); }
@media (max-width: 980px) { .desks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .desks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Home: the gap (four problems, and the two timelines side by side) ── */
.gap-pains { list-style: none; margin: 0 0 clamp(26px, 4vw, 40px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gap-pains li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.gap-pains b { font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.gap-pains .pi { flex: none; }
@media (max-width: 980px) { .gap-pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gap-pains { grid-template-columns: minmax(0, 1fr); } }
.gapviz { display: grid; gap: 14px; }
.gv-lane { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.gv-lane.bad { background: linear-gradient(90deg, #fff, #fdf3f1); }
.gv-lane.good { background: linear-gradient(90deg, #fff, #EAF4EE); border-color: #C9E3D3; box-shadow: var(--shadow); }
.gv-who b { font-size: 16px; color: var(--ink); }
.gv-lane.good .gv-who b { color: var(--teal); }
.gv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gv-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy); text-align: center; }
.gv-steps li::before { content: ""; position: absolute; top: 23px; left: -50%; right: 50%; height: 3px; background: #D3DAD3; }
.gv-steps li:first-child::before { display: none; }
.gv-n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #ADBCB6; color: #566D65; }
.gv-n svg { width: 22px; height: 22px; }
.bad li.pub .gv-n { border-color: var(--red); color: var(--red); background: #fbe9e6; box-shadow: 0 0 0 5px rgba(166,62,62,.1); }
.bad li.late { color: var(--muted); } .bad li.late .gv-n { border-style: dashed; color: var(--muted-2); border-color: #D3DAD3; }
.bad li.pub::before, .bad li.late::before { background: var(--red); opacity: .5; }
.good li::before { background: var(--teal); opacity: .5; }
.good li.gate .gv-n { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }
.good li.file .gv-n { border-color: var(--gold); color: #fff; background: linear-gradient(135deg, #B08A5A, #D8BC93); box-shadow: 0 0 0 5px rgba(201,164,119,.18); }
.good li.safe .gv-n { border-color: var(--teal); color: var(--teal); }
.gv-out { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.gv-out svg { width: 18px; height: 18px; }
.gv-out.no { background: #fbe9e6; color: var(--red); }
.gv-out.yes { background: var(--teal); color: #fff; }
@media (max-width: 860px) {
  .gv-lane { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who out" "steps steps"; padding: 18px 16px; }
  .gv-who { grid-area: who; } .gv-out { grid-area: out; } .gv-steps { grid-area: steps; margin-top: 6px; }
}
@media (max-width: 480px) { .gv-n { width: 40px; height: 40px; } .gv-steps li::before { top: 19px; } .gv-steps li { font-size: 11.5px; } .gv-out { padding: 7px 12px; font-size: 13px; } }

/* ── Home: one governed pathway, drawn as a road ── */
.gp { position: relative; max-width: 1080px; margin: 0 auto; }
.gp-line { position: absolute; top: 58px; left: 10%; right: 10%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); transform: none !important; }
.gp-line i { position: absolute; inset: 0; border-radius: 4px; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #88A599, #D8BC93); transition: transform 2s cubic-bezier(.2,.7,.2,1) .2s; }
.gp-line.in i { transform: scaleX(1); }
.gp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.gp-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.gp-node { position: relative; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; background: radial-gradient(circle at 50% 35%, #566D65, #3E4F49); border: 2px solid rgba(201,164,119,.45); color: var(--gold-3); box-shadow: 0 0 0 10px var(--navy), 0 18px 40px rgba(0,0,0,.35); transition: transform .3s ease, border-color .3s ease; }
.gp-node svg { width: 46px; height: 46px; }
.gp-steps li:hover .gp-node { transform: translateY(-5px); border-color: var(--gold-3); }
.gp-n { position: absolute; top: -2px; right: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); background: var(--gold-3); color: var(--navy); box-shadow: 0 0 0 4px var(--navy); }
.gp-steps h4 { color: #fff; font-size: 1.15rem; margin: 0; }
.gp-steps li > span:last-child { font-size: 14px; color: #B4BFBA; }
.gp-end .gp-node { background: linear-gradient(135deg, #B08A5A, #D8BC93); border-color: #D8BC93; color: var(--navy); box-shadow: 0 0 0 10px var(--navy), 0 0 0 11px rgba(201,164,119,.4), 0 18px 50px rgba(201,164,119,.25); }
.gp-end .gp-n { background: #fff; }
.gp-end h4 { color: var(--gold-3); }
.gp-4 { max-width: 900px; } .gp-4 .gp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gp-4 .gp-line { left: 12.5%; right: 12.5%; }
.gp-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: clamp(30px, 4vw, 44px) 0 0; font-weight: 600; font-size: 15px; color: var(--gold-3); }
.gp-note svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .gp, .gp-4 { max-width: 340px; } .gp-4 .gp-steps { grid-template-columns: minmax(0, 1fr); } .gp-4 .gp-line { left: 44px; right: auto; }
  .gp-line { top: 40px; bottom: 40px; left: 44px; right: auto; width: 4px; height: auto; }
  .gp-line i { transform-origin: top; transform: scaleY(0); } .gp-line.in i { transform: scaleY(1); }
  .gp-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gp-steps li { display: grid; grid-template-columns: 90px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; text-align: left; }
  .gp-node { grid-row: span 2; width: 88px; height: 88px; margin: 0; } .gp-node svg { width: 36px; height: 36px; }
  .gp-steps h4 { align-self: end; } .gp-steps li > span:last-child { align-self: start; }
}

/* ── Home: one view for the institution (the screen, numbered pins and their key) ── */
.gl-stage { position: relative; max-width: 860px; margin: 0 auto; }
.gl-stage .mock-wrap { position: relative; }
.gl-pin { position: absolute; z-index: 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 14px var(--sans); color: var(--navy); background: linear-gradient(135deg, #B8935F, #D8BC93); box-shadow: 0 0 0 5px rgba(201,164,119,.28), 0 8px 18px rgba(31,41,37,.25); }
.gl-stage .gl-pin { animation: gl-pulse 2.6s ease-in-out infinite; }
@keyframes gl-pulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(201,164,119,.28), 0 8px 18px rgba(31,41,37,.25); } 50% { box-shadow: 0 0 0 11px rgba(201,164,119,.1), 0 8px 18px rgba(31,41,37,.25); } }
.gl-key { list-style: none; margin: clamp(26px, 4vw, 40px) auto 0; padding: 0; max-width: 860px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gl-key li { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px 16px 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.gl-key .gl-pin { position: absolute; top: -12px; left: -10px; width: 26px; height: 26px; font-size: 12px; box-shadow: 0 0 0 4px var(--cream); }
.gl-ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-3); }
.gl-ic svg { width: 22px; height: 22px; }
.gl-key b { font-size: 15px; color: var(--ink); align-self: end; }
.gl-key li > span:last-child { font-size: 13px; color: var(--muted); align-self: start; }
@media (max-width: 760px) { .gl-key { grid-template-columns: minmax(0, 1fr); max-width: 380px; } .gl-stage .gl-pin, .gl-key .gl-pin { display: none; } }
@media (prefers-reduced-motion: reduce) { .gl-stage .gl-pin { animation: none; } }

/* ── Home: outcomes that count (one record branching to NAAC, NIRF and NEP) ── */
.oc { max-width: 980px; margin: 0 auto; }
.oc-root { display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: 100%; margin: 0 auto; padding: 12px 22px; border-radius: 999px; background: linear-gradient(135deg, #B08A5A, #D8BC93); color: var(--navy); font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px rgba(201,164,119,.25); }
.oc-root svg { width: 20px; height: 20px; }
.oc-tree { position: relative; height: 48px; transform: none !important; }
.oc-tree::before { content: ""; position: absolute; left: 50%; top: 0; height: 24px; border-left: 2px dashed rgba(201,164,119,.6); }
.oc-tree::after { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 24px; border-top: 2px dashed rgba(201,164,119,.6); }
.oc-tree i { position: absolute; top: 24px; height: 24px; border-left: 2px dashed rgba(201,164,119,.6); }
.oc-tree i:nth-child(1) { left: 16.66%; } .oc-tree i:nth-child(2) { left: 50%; } .oc-tree i:nth-child(3) { left: 83.33%; }
.oc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.oc-card { text-align: center; padding: 14px 14px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: transform .3s ease, border-color .3s ease; }
.oc-card:hover { transform: translateY(-4px); border-color: rgba(201,164,119,.45); }
.oc-art { border-radius: 14px; padding: 14px 10px 8px; margin-bottom: 16px; background: radial-gradient(ellipse at 50% 100%, rgba(201,164,119,.14), transparent 70%), rgba(255,255,255,.03); }
.oc-art svg { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto; }
.oc-tag { display: inline-block; font: 700 11px/1 var(--mono); letter-spacing: .14em; color: var(--navy); background: var(--gold-3); padding: 5px 10px; border-radius: 999px; }
.oc-card h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.oc-card p { margin: 0; font-size: 14px; color: #C2CCC8; }
@media (max-width: 760px) { .oc-tree { display: none; } .oc-root { margin-bottom: 18px; } .oc-cards { grid-template-columns: minmax(0, 1fr); max-width: 380px; margin: 0 auto; } }

/* ── Key gains (institutions.html): a picture, a label, a title and one line each ── */
.gain { display: flex; flex-direction: column; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 26px; transition: transform .3s ease, box-shadow .3s ease; }
.gain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gain-art { border-radius: 14px; background: linear-gradient(160deg, #F9F7F2, var(--cream)); border: 1px solid #ECE6DD; padding: 14px 10px 6px; margin-bottom: 20px; }
.gain-art svg { width: 100%; height: auto; display: block; }
.gain-k { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.gain h3 { font-size: 1.3rem; margin: 10px 0 6px; }
.gain p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── Institutions hero: every desk around one record ── */
.page-hero .ornament.hub { overflow: visible; }
/* Fits inside the page margins at every laptop size, and never under the text. */
@media (min-width: 761px) {
  .page-hero.full .ornament.hub { width: min(470px, 38vw, calc(100svh - 200px)); right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  .page-hero.full:has(.ornament.hub) .wrap > * { max-width: min(620px, calc(100% - min(470px, 38vw) - 40px)); }
}
@media (max-width: 760px) {
  .page-hero.full:has(.ornament.hub) { flex-direction: column; align-items: stretch; }
  .page-hero .ornament.hub { position: static; order: 2; transform: none; opacity: 1; width: min(330px, 86%); margin: 8px auto 0; }
}

/* ── Who it is for (institutions.html): a picture of each kind of institution ── */
.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.who-card { text-align: center; padding: 14px 14px 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.who-card:hover { transform: translateY(-4px); border-color: rgba(201,164,119,.45); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.who-art { border-radius: 14px; padding: 16px 12px 8px; margin-bottom: 18px; background: radial-gradient(ellipse at 50% 100%, rgba(201,164,119,.14), transparent 70%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.who-art svg { width: 100%; height: auto; display: block; }
.who-tag { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.who-card h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.who-card p { margin: 0; font-size: 14.5px; color: #C2CCC8; }
@media (max-width: 980px) { .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .who-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── Onboarding (institutions.html): four steps on a dashed line ── */
.onb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); position: relative; }
.onb::before { content: ""; position: absolute; top: 74px; left: 12%; right: 12%; border-top: 2px dashed #D3DAD3; z-index: 0; }
.onb-step { position: relative; z-index: 1; text-align: center; }
.onb-art { width: 148px; height: 148px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 0 0 8px var(--paper), var(--shadow); transition: transform .3s ease; }
.onb-art svg { width: 64%; height: auto; }
.onb-step:hover .onb-art { transform: translateY(-4px); }
.onb-art-final { border-color: #DDCDB6; background: linear-gradient(145deg, #FBFAF7, #F6EDE1); }
.onb-n { display: inline-block; font: 700 11px/1 var(--mono); letter-spacing: .14em; color: var(--gold-text); padding: 5px 10px; border-radius: 999px; background: #F2EADF; }
.onb-step h3 { font-size: 1.2rem; margin: 10px 0 4px; }
.onb-step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .onb { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } .onb::before { display: none; } }
@media (max-width: 420px) { .onb-art { width: 120px; height: 120px; } }

/* ── Platform (platform.html): the pathway, module cards, AI flow and a case's stages ── */
.pf-path { list-style: none; margin: 0 auto clamp(28px, 4vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 980px; position: relative; }
.pf-path::before { content: ""; position: absolute; left: 10%; right: 10%; top: 38px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #B1C4BC, #566D65 45%, #B08A5A 80%, #D8BC93); }
.pf-path li { position: relative; text-align: center; }
.pf-path a { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.pf-node { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #566D65; color: #566D65; box-shadow: 0 0 0 7px var(--paper); transition: transform .25s ease, background .25s ease, color .25s ease; }
.pf-node svg { width: 32px; height: 32px; }
.pf-path li.end .pf-node { background: linear-gradient(135deg, #B08A5A, #D8BC93); border-color: #B08A5A; color: #fff; }
.pf-path a:hover .pf-node { transform: translateY(-4px); background: #566D65; color: #fff; }
.pf-path b { font-size: 15px; }
.pf-mods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pf-mod { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 18px 22px; scroll-margin-top: 90px; transition: transform .3s ease, box-shadow .3s ease; }
.pf-mod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pf-mod:target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,119,.25); }
.pf-mod { text-align: center; }
.pf-mod-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #F7F1E9, #EADECB); color: var(--gold-text); border: 1px solid #DDCDB6; }
.pf-mod-ic svg { width: 26px; height: 26px; }
.pf-mod h3 { font-size: 1.05rem; margin: 6px 0 6px; line-height: 1.25; }
.pf-mod p { margin: 0; font-size: 14px; color: var(--muted); }
.pf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pf-steps li { position: relative; padding: 0 0 14px 24px; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.pf-steps li::before { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #566D65; }
.pf-steps li::after { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: #DFE5DF; }
.pf-steps li:last-child { padding-bottom: 0; } .pf-steps li:last-child::after { display: none; }
.pf-steps li.gate::before { border-color: #2E7353; background: #DCEDE3; }
.pf-steps li.end::before { border-color: #B08A5A; background: #D8BC93; }
.pf-routes { display: flex; flex-wrap: wrap; gap: 5px; margin: -4px 0 14px; }
.pf-routes span { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #F2EADF; color: #6E5430; }
.pf-link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--gold-text); text-decoration: none; }
.pf-link:hover { text-decoration: underline; }
@media (max-width: 1060px) { .pf-mods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pf-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-path { grid-template-columns: repeat(5, minmax(0, 1fr)); } .pf-node { width: 54px; height: 54px; } .pf-node svg { width: 24px; height: 24px; }
  .pf-path::before { top: 26px; } .pf-path b { font-size: 11.5px; }
}
@media (max-width: 460px) { .pf-mods { grid-template-columns: minmax(0, 1fr); } .pf-path b { font-size: 10.5px; } .pf-node { width: 46px; height: 46px; box-shadow: 0 0 0 4px var(--paper); } .pf-path::before { top: 22px; } }

.pf-ai { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1.25fr) 60px minmax(0, 1fr); align-items: center; max-width: 960px; margin: 0 auto; }
.pf-ai-node { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 26px 16px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.pf-ai-node.mid { background: rgba(201,164,119,.1); border-color: rgba(201,164,119,.4); padding: 34px 16px; }
.pf-ai-node b { color: #fff; font-size: 16px; }
.pf-ai-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(201,164,119,.15); color: var(--gold-3); }
.pf-ai-node.mid .pf-ai-ic { background: linear-gradient(135deg, #B08A5A, #D8BC93); color: var(--navy); }
.pf-ai-ic svg { width: 28px; height: 28px; }
.pf-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.pf-tags i { font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #CDD5D2; }
.pf-ai-arrow { height: 2px; background: linear-gradient(90deg, rgba(201,164,119,.2), var(--gold-3)); position: relative; margin: 0 6px; }
.pf-ai-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--gold-3); border-right: 0; }
.pf-ai-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 0; color: var(--gold-3); font-weight: 600; font-size: 15px; }
.pf-ai-note svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .pf-ai { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 360px; }
  .pf-ai-arrow { width: 2px; height: 32px; margin: 0 auto; background: linear-gradient(180deg, rgba(201,164,119,.2), var(--gold-3)); }
  .pf-ai-arrow::after { right: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 8px solid var(--gold-3); border-bottom: 0; }
}

.pf-case { list-style: none; margin: 0 auto clamp(30px, 4vw, 48px); padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 900px; }
.pf-case li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-align: center; }
.pf-case li::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 3px; background: #DFE5DF; }
.pf-case li:first-child::before { display: none; }
.pf-case li.on::before { background: var(--gold); }
.pf-case i { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid #D3DAD3; }
.pf-case li.on { color: var(--navy); } .pf-case li.on i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,119,.2); }
.pf-case li.end i { border-color: var(--gold); }
@media (max-width: 560px) { .pf-case li { font-size: 10.5px; } .pf-case i { width: 16px; height: 16px; } .pf-case li::before { top: 7px; } }
.pf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.pf-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.pf-tile-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; background: linear-gradient(145deg, #F7F1E9, #EADECB); color: var(--gold-text); border: 1px solid #DDCDB6; }
.pf-tile-ic svg { width: 26px; height: 26px; }
.pf-tile b { color: var(--ink); font-size: 16px; }
.pf-tile > span:last-child { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .pf-tiles { grid-template-columns: minmax(0, 1fr); } }

/* ── Innovation marketplace (innovation.html) ── */
/* Hero: shorter than the home hero, so the figures and the list start soon after. */
.mk-hero { min-height: 0; padding: clamp(36px, 7vh, 88px) 0 clamp(40px, 7vh, 88px); }
.mk-hero .hero-art { width: min(100%, 520px); }
.mk-who-label { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); margin: 0 0 10px; }
.mk-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.mk-who-btn { position: relative; text-align: left; font: inherit; cursor: pointer; padding: 14px 14px 14px 14px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #CDD5D2; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.mk-who-btn:hover { border-color: rgba(201,164,119,.6); transform: translateY(-2px); }
.mk-who-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(201,164,119,.14); color: var(--gold-3); margin-bottom: 10px; }
.mk-who-ic svg { width: 20px; height: 20px; }
.mk-who-btn b { display: block; color: #fff; font-size: 15px; line-height: 1.25; }
.mk-who-btn > span:last-child { display: block; font-size: 12.5px; color: #B4BFBA; margin-top: 3px; line-height: 1.4; }
.mk-who-btn[aria-pressed="true"] { border-color: var(--gold-3); background: rgba(201,164,119,.16); box-shadow: 0 0 0 1px var(--gold-3), 0 12px 30px rgba(0,0,0,.25); }
.mk-who-btn[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 10px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-3); color: var(--navy); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 640px) { .mk-who { grid-template-columns: minmax(0, 1fr); } .mk-who-btn { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; } .mk-who-ic { grid-row: span 2; margin: 0; } }

/* Live figures */
.mk-stats-sec { padding: clamp(36px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.mk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.mk-kpi { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.mk-kpi-ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-3); }
.mk-kpi-ic svg { width: 22px; height: 22px; }
.mk-kpi b { font: 800 clamp(26px, 3vw, 34px)/1 var(--sans); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mk-kpi > span:last-child { font-size: 13px; color: var(--muted); }
.mk-charts { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.mk-chart { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.mk-chart figcaption { margin-bottom: 14px; }
.mk-chart figcaption b { display: block; color: var(--ink); font-size: 15px; }
.mk-chart figcaption span { font-size: 12.5px; color: var(--muted); }
.mk-donut-wrap { display: flex; align-items: center; gap: 18px; }
.mk-donut { width: 132px; height: 132px; flex: none; }
.mk-arc { transition: stroke-dasharray 1.1s cubic-bezier(.2,.7,.2,1); }
.mk-stats-sec:not(.drawn) .mk-arc { stroke-dasharray: 0 400 !important; }
.mk-donut-n { font: 800 24px var(--sans); fill: var(--ink); }
.mk-donut-l { font: 600 9px var(--mono); fill: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.mk-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 13px; flex: 1; min-width: 0; }
.mk-legend li { display: flex; align-items: center; gap: 8px; }
.mk-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.mk-legend b { margin-left: auto; font: 700 12px var(--mono); color: var(--ink); }
.mk-bars { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; height: 118px; align-items: end; }
.mk-bar { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; }
.mk-bar-n { font: 700 11px var(--mono); color: var(--ink); min-height: 14px; }
.mk-bar-f { align-self: end; height: calc(var(--h) * .9); min-height: 3px; border-radius: 5px 5px 2px 2px; background: #DFE5DF; transition: height 1s cubic-bezier(.2,.7,.2,1); }
.mk-stats-sec:not(.drawn) .mk-bar-f { height: 3px; }
.mk-bar.r .mk-bar-f { background: #B1C4BC; } .mk-bar.d .mk-bar-f { background: #566D65; } .mk-bar.p .mk-bar-f { background: linear-gradient(#D8BC93, #B08A5A); }
.mk-bar-k { font: 600 11px var(--mono); color: var(--muted); margin-top: 6px; }
.mk-bands { display: grid; grid-template-columns: 3fr 3fr 3fr; gap: 6px; margin-top: 8px; font: 600 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.mk-bands span { border-top: 2px solid #B1C4BC; padding-top: 5px; } .mk-bands span:nth-child(2) { border-color: #566D65; } .mk-bands span:nth-child(3) { border-color: #B08A5A; }
.mk-stack { display: flex; height: 34px; border-radius: 10px; overflow: hidden; background: #ECE9E1; margin: 6px 0 16px; }
.mk-stack span { display: grid; place-items: center; font: 700 12px var(--mono); color: #fff; min-width: 26px; transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mk-stats-sec:not(.drawn) .mk-stack span { transform: scaleX(0); }
.mk-s1 { background: #88A599; } .mk-s2 { background: #566D65; } .mk-s3 { background: linear-gradient(90deg, #B08A5A, #D8BC93); }
.mk-legend i.mk-s1, .mk-legend i.mk-s2, .mk-legend i.mk-s3 { display: inline-block; }
@media (max-width: 980px) { .mk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-charts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .mk-kpi { padding: 14px; column-gap: 10px; } .mk-kpi-ic { width: 38px; height: 38px; } .mk-donut { width: 110px; height: 110px; } }

/* Sector mosaic */
.mk-sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 22px; }
.mk-sector-tile { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-align: left; font: inherit; cursor: pointer; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; color: var(--text); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.mk-sector-tile:hover { transform: translateY(-2px); border-color: var(--sc); box-shadow: var(--shadow); }
.mk-st-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--tint); color: var(--sc); }
.mk-st-name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.mk-st-n { font: 700 12px var(--mono); padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--sc); }
.mk-sector-tile[aria-pressed="true"] { border-color: var(--sc); box-shadow: inset 0 0 0 1px var(--sc); background: var(--tint); }
.mk-sector-tile[aria-pressed="true"] .mk-st-n { background: var(--sc); color: #fff; }

/* Filters */
.mk-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 10px; }
.mk-search { position: relative; }
.mk-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.mk-search .input { padding-left: 42px; }
@media (max-width: 760px) { .mk-filters { grid-template-columns: minmax(0, 1fr); } }
.mk-count { margin: 0 0 18px; min-height: 1.4em; }

/* Cards */
.mk-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.mk-card > :not(.mk-card-band) { margin-left: clamp(20px, 2.2vw, 26px); margin-right: clamp(20px, 2.2vw, 26px); }
.mk-card-band { position: relative; height: 92px; background: linear-gradient(135deg, var(--tint), #fff 140%); border-bottom: 1px solid var(--line); overflow: hidden; }
.mk-card-ic { position: absolute; left: clamp(20px, 2.2vw, 26px); bottom: -22px; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--sc); color: #fff; box-shadow: 0 10px 24px rgba(31,41,37,.18); z-index: 1; }
.mk-card-pattern { position: absolute; right: -14px; top: -14px; color: var(--sc); opacity: .12; transform: rotate(-12deg); }
.mk-card-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(51,67,61,.08) 1px, transparent 1.2px); background-size: 14px 14px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.mk-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 34px; }
.mk-sector-name { font: 700 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sc); }
.mk-ref { font-size: 11px; color: var(--muted); }
.mk-card h3 { font-size: 19px; margin: 8px 0 8px; line-height: 1.25; }
.mk-card .mk-sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
.mk-card-viz { display: grid; gap: 10px; margin-top: 16px; padding: 12px 14px; background: var(--cream); border-radius: var(--r-sm); }
.mk-card .mk-place { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--navy); font-weight: 600; margin-top: 14px; line-height: 1.45; }
.mk-place svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--gold); }
.mk-offers { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 20px; }
.mk-offer { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.mk-offer i { width: 7px; height: 7px; border-radius: 50%; }
.mk-card .mk-open { margin-top: auto; margin-bottom: clamp(20px, 2.2vw, 26px); align-self: stretch; justify-content: center; padding: 11px 16px; font-size: 14px; }
.mk-none { grid-column: 1 / -1; color: var(--muted); }
.mk-none button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Readiness meter and patent track (cards, dialog, explainer) */
.mk-trl { display: flex; align-items: center; gap: 10px; }
.mk-trl-k { font: 600 11px var(--mono); color: var(--muted); white-space: nowrap; min-width: 58px; }
.mk-trl-k b { color: var(--ink); font-size: 13px; }
.mk-trl-cells { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; flex: 1; }
.mk-trl-cells i { height: 8px; border-radius: 2px; background: #DFE5DF; }
.mk-trl-cells i.on.r { background: #B1C4BC; } .mk-trl-cells i.on.d { background: #566D65; } .mk-trl-cells i.on.p { background: #B08A5A; }
.mk-trl-lg .mk-trl-cells i { height: 12px; border-radius: 3px; }
.mk-track { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 11px; color: var(--muted); }
.mk-track span { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; line-height: 1.2; }
.mk-track span::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; background: #DFE5DF; z-index: 0; }
.mk-track span:first-child::before { display: none; }
.mk-track span.on::before { background: var(--gold); }
.mk-track i { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #D3DAD3; }
.mk-track span.on { color: var(--navy); font-weight: 600; }
.mk-track span.on i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,119,.2); }
.mk-track-lg { font-size: 13px; } .mk-track-lg i { width: 18px; height: 18px; } .mk-track-lg span::before { top: 8px; }

/* Empty state */
.mk-empty { text-align: center; max-width: 620px; margin: 10px auto; padding: 40px 24px; border: 1px dashed #D3DAD3; border-radius: var(--r-lg); background: var(--cream); }
.mk-empty-art { width: 110px; height: 110px; margin: 0 auto 14px; }
.mk-empty h2 { font-size: clamp(1.4rem, 2.6vw, 30px); margin-bottom: 12px; }
.mk-empty p { color: var(--muted); margin: 0; }

/* How it works */
@media (min-width: 981px) { .mk-journey { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Your way in */
.mk-path { display: flex; flex-direction: column; }
.mk-path-art { height: 96px; margin: -6px -6px 6px; border-radius: var(--r); background: linear-gradient(160deg, #fff, var(--cream)); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.mk-path-art svg { width: 82%; height: 88%; }
.mk-path h3 { margin: 16px 0 8px; }
.mk-path-list { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 9px; font-size: 14.5px; color: var(--muted); }
.mk-path-list li { position: relative; padding-left: 22px; line-height: 1.5; }
.mk-path-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #B08A5A, #D8BC93); }
.mk-path-list b { display: block; color: var(--navy); font-size: 14.5px; }
.mk-path-go { margin-top: auto; justify-content: center; }

/* Technology readiness, explained */
.mk-trl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.mk-trl-wrap .sec-head { margin-bottom: 0; }
.mk-ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; grid-row: span 2; }
.mk-ladder li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin-left: calc((var(--n) - 1) * 10px); transition: transform .2s ease; }
.mk-ladder li:hover { transform: translateX(4px); }
.mk-rung { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 800 15px var(--mono); color: #fff; }
.mk-ladder li.r .mk-rung { background: #B1C4BC; color: var(--navy); } .mk-ladder li.d .mk-rung { background: #566D65; } .mk-ladder li.p .mk-rung { background: linear-gradient(135deg, #B08A5A, #D8BC93); color: var(--ink); }
.mk-rung-t { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.mk-rung-b { font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: right; }
.mk-patent-key { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.mk-patent-key h3 { font-size: 17px; margin-bottom: 16px; }
.mk-patent-key .small { margin: 16px 0 0; }
@media (max-width: 900px) { .mk-trl-wrap { grid-template-columns: minmax(0, 1fr); } .mk-ladder { grid-row: auto; } .mk-ladder li { margin-left: calc((var(--n) - 1) * 4px); } }
@media (max-width: 480px) { .mk-rung-b { display: none; } .mk-ladder li { grid-template-columns: auto 1fr; } }

/* For institutions */
.mk-inst-sec { padding: clamp(48px, 7vw, 88px) 0; }
.mk-inst { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.mk-inst > div { max-width: 640px; }
.mk-inst h2 { margin: 12px 0 10px; font-size: clamp(1.6rem, 3vw, 36px); }
.mk-inst .lede { margin: 0; }
.mk-note { margin-top: 28px; max-width: 80ch; }
.dark .mk-note { color: #ADBCB6; }

/* Dialog */
.mk-dialog { width: min(780px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0 clamp(20px, 3.4vw, 36px) clamp(20px, 3.4vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: var(--text); box-shadow: var(--shadow-lg); overflow-y: auto; }
.mk-dialog::backdrop { background: rgba(31,41,37, .6); backdrop-filter: blur(4px); }
.mk-d-band { position: relative; height: 110px; margin: 0 calc(-1 * clamp(20px, 3.4vw, 36px)); background: linear-gradient(135deg, var(--tint), #fff 150%); border-bottom: 1px solid var(--line); overflow: hidden; }
.mk-d-band .mk-card-ic { left: clamp(20px, 3.4vw, 36px); bottom: 18px; width: 64px; height: 64px; border-radius: 18px; }
.mk-d-band .mk-card-pattern { right: 10px; top: -30px; }
.mk-d-head { position: absolute; top: 14px; right: 14px; }
.mk-d-head > div { display: none; }
.mk-close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); flex: none; box-shadow: var(--shadow); }
.mk-close svg { width: 18px; height: 18px; }
.mk-dialog h2 { font-size: clamp(1.4rem, 3vw, 30px); margin: 22px 0 6px; }
.mk-d-inst { font-size: 15px; color: var(--navy); font-weight: 600; margin: 0 0 18px; }
.mk-d-visual { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
.mk-d-visual > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.mk-d-k { display: block; font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.mk-d-facts { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 18px; }
.mk-d-facts > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; }
.mk-d-facts > div > span { display: block; font: 600 10.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mk-d-facts .mk-offers { margin: 8px 0 0; }
.mk-d-facts b { font-size: 14px; color: var(--ink); }
@media (max-width: 520px) { .mk-d-facts { grid-template-columns: minmax(0, 1fr); } }
.mk-d-body h4 { font-size: 15px; margin: 16px 0 6px; letter-spacing: 0; }
.mk-d-body p { font-size: 16px; margin: 0 0 10px; }
.mk-form { margin-top: 22px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.mk-form h3 { font-size: 20px; }
.mk-fs { border: 0; padding: 0; margin: 0 0 14px; }
.mk-fs legend { margin-bottom: 8px; }
.mk-form textarea.input { min-height: 80px; }
.mk-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.mk-consent input { margin-top: 4px; accent-color: var(--gold); }
.mk-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .mk-arc, .mk-bar-f, .mk-stack span, .mk-who-btn, .mk-sector-tile { transition: none; } }

/* ─── Home: the project portfolio (hero) ─── */
.hero-art.pf-art { aspect-ratio: auto; width: 100%; max-width: 520px; }
.pfo { background: #FBFAF7; color: var(--text); border-radius: 18px; padding: 18px; box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 30px 70px rgba(0,0,0,.35); font-size: 13px; }
.pfo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pfo-head b { font-size: 15px; color: var(--ink); }
.pfo-head span { font-size: 12px; color: var(--muted); }
.pfo-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 8px; }
.pfo-tabs span { padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); background: #fff; }
.pfo-tabs span.on { background: #566D65; border-color: #566D65; color: #fff; }
.pfo-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 4px; border-top: 1px solid var(--line); }
.pfo-who { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.pfo-who.s { background: #E3EAE6; color: #3E4F49; }
.pfo-who.f { background: #F1E8DA; color: #6E5430; }
.pfo-t { font-weight: 600; color: var(--ink); min-width: 0; }
.pfo-t small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pfo-st { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #ECE9E1; color: #4A524E; white-space: nowrap; }
.pfo-st.live { background: #DCEDE3; color: #245C43; }
.pfo-st.ip { background: #F1E8DA; color: #6E5430; }
.pfo-open { margin: 2px -8px; padding: 0 8px 12px; border-radius: 14px; background: #fff; border: 1px solid #CCD8D2; }
.pfo-open > .pfo-row:first-child { border-top: 0; }
.pfo-prog { display: flex; align-items: center; gap: 10px; margin: 2px 4px 10px; font-size: 11.5px; color: var(--muted); }
.pfo-bar { flex: 1; height: 6px; border-radius: 6px; background: #E3EAE6; overflow: hidden; }
.pfo-bar i { display: block; width: 64%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #566D65, #C9A477); }
.pfo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 0 4px; }
.pfo-box { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: #FBFAF7; }
.pfo-box b { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pfo-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12px; }
.pfo-box li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.pfo-box li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed #9AABA3; flex: none; }
.pfo-box li.ok { color: var(--ink); }
.pfo-box li.ok::before { display: none; }
.pfo-box li svg { width: 14px; height: 14px; flex: none; color: #fff; background: #2E7353; border-radius: 50%; padding: 2px; }
.pfo-box.hand { background: #F7F1E6; border-color: #E6D6BC; }
.pfo-box.hand b { color: #6E5430; }
.pfo-box p { margin: 0; font-size: 12px; color: var(--ink); font-weight: 600; }
.pfo-box p.m { font-weight: 400; color: #6E5430; margin-top: 3px; line-height: 1.4; }
.pfo-ev { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 4px 0; font-size: 11.5px; }
.pfo-ev span { color: var(--muted); margin-right: 2px; }
.pfo-ev em { font-style: normal; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: #E3EAE6; color: #33433D; }
.pfo-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: #B4BFBA; }
@media (max-width: 480px) { .pfo { padding: 14px; } .pfo-grid { grid-template-columns: minmax(0, 1fr); } }

/* ─── Home: one project, several outcomes ─── */
.ro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 0 56px; align-items: center; max-width: 1040px; margin: 0 auto; }
.ro-hub { position: relative; padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(201,164,119,.45); }
.ro-hub::after { content: ""; position: absolute; right: -57px; top: 50%; width: 28px; height: 2px; background: #C9A477; }
.ro-hub-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #C9A477; color: var(--navy); margin-bottom: 14px; }
.ro-hub-ic svg { width: 28px; height: 28px; stroke-width: 2.1; }
.ro-hub b { display: block; font-size: 20px; color: #fff; }
.ro-hub > span:not(.ro-hub-ic) { display: block; color: #B4BFBA; font-size: 14px; margin-top: 4px; line-height: 1.5; }
.ro-hub ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ro-hub li { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.08); color: #E3EAE6; }
.ro-list { position: relative; list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-left: 2px solid rgba(201,164,119,.55); }
.ro-list li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.ro-list li:nth-child(odd)::before { content: ""; position: absolute; left: -29px; top: 50%; width: 28px; height: 2px; background: rgba(201,164,119,.55); }
.ro-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,164,119,.14); color: var(--gold-3); }
.ro-ic svg { width: 22px; height: 22px; }
.ro-list b { color: #fff; font-size: 15.5px; }
.ro-list li > span:last-child { color: #B4BFBA; font-size: 13px; line-height: 1.4; }
@media (max-width: 900px) {
  .ro { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ro-hub::after { right: auto; left: 50%; top: auto; bottom: -29px; width: 2px; height: 28px; }
  .ro-list { border-left: 0; padding: 0; border-top: 2px solid rgba(201,164,119,.55); padding-top: 18px; }
  .ro-list li:nth-child(odd)::before { display: none; }
}
@media (max-width: 560px) { .ro-list { grid-template-columns: minmax(0, 1fr); } }

/* ─── The brand line: "From Research to Impact", a lockup of its own (not an eyebrow label) ─── */
.brandline { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 clamp(16px, 2.8vh, 26px); padding: 0 0 10px;
  border-bottom: 2px solid rgba(201,164,119,.55);
  font: 600 clamp(19px, 2vw, 25px)/1.15 var(--sans); letter-spacing: -.015em; color: #fff; }
.brandline em { font-style: normal; font-weight: 800; color: var(--gold-3); }
.brandline .bl-arrow { width: 36px; height: 22px; flex: none; color: var(--gold-3); }
.foot-brandline { display: block; font-size: 17px; letter-spacing: -.01em; color: var(--gold-3); margin-bottom: 4px; }
@media (max-width: 420px) { .brandline { gap: 8px; } .brandline .bl-arrow { width: 28px; height: 17px; } }

/* ─── Home hero: the problems an institution faces, around it ─── */
.hero-art.pm-art { aspect-ratio: auto; width: 100%; max-width: 580px; container-type: inline-size; }
.pm { position: relative; aspect-ratio: 1 / 1; }
.pm-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.pm-lines line { stroke: rgba(216,188,147,.45); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.pm-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 24%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 4px;
  background: radial-gradient(circle at 50% 35%, #566D65, #33433D); border: 2px solid rgba(216,188,147,.6); box-shadow: 0 0 0 12px rgba(255,255,255,.04), 0 20px 50px rgba(0,0,0,.35); color: #fff; }
.pm-core span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--gold-3); }
.pm-core span svg { width: 24px; height: 24px; }
.pm-core b { font-size: 14px; line-height: 1.2; }
.pm-core small { font-size: 11px; color: #CDD5D2; }
.pm-cards { list-style: none; margin: 0; padding: 0; }
.pm-card { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 36%; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 12px;
  background: #FBFAF7; color: var(--ink); box-shadow: 0 10px 28px rgba(0,0,0,.28); border-left: 4px solid #C9A477; animation: pm-float 6s ease-in-out var(--d) infinite; }
.pm-ic { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #F3E8D6; color: #8A5A1F; }
.pm-ic svg { width: 18px; height: 18px; }
.pm-t { min-width: 0; }
.pm-t b { display: block; font-size: 12px; line-height: 1.25; }
.pm-t small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.pm-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: #CDD5D2; }
.pm-note span { color: var(--gold-3); font-weight: 700; }
@keyframes pm-float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 6px)); } }
/* The problem map needs room: below 470px wide the cards stack in a list under "Your institution". */
@container (max-width: 470px) {
  .pm { aspect-ratio: auto; display: grid; gap: 14px; }
  .pm-lines { display: none; }
  .pm-core { position: static; transform: none; width: auto; aspect-ratio: auto; border-radius: 16px; grid-auto-flow: column; justify-content: center; align-items: center; padding: 12px 16px; gap: 10px; text-align: left; }
  .pm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pm-card { position: static; transform: none; width: auto; animation: none; }
}
@container (max-width: 360px) { .pm-cards { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pm-card { animation: none; } }
@media (max-width: 900px) {
  .pm { aspect-ratio: auto; display: grid; gap: 14px; }
  .pm-lines { display: none; }
  .pm-core { position: static; transform: none; width: auto; aspect-ratio: auto; border-radius: 16px; grid-auto-flow: column; justify-content: center; align-items: center; padding: 12px 16px; gap: 10px; text-align: left; }
  .pm-core span { width: 36px; height: 36px; }
  .pm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pm-card { position: static; transform: none; width: auto; max-width: none; animation: none; }
}
@media (max-width: 420px) { .pm-cards { grid-template-columns: minmax(0, 1fr); } }

/* The project portfolio, in "One view for the institution" */
.gl-pf { max-width: 560px; margin: 0 auto; }
.gl-pf .pfo { box-shadow: 0 2px 6px rgba(31,41,37,.08), 0 24px 60px rgba(31,41,37,.14); }
.pfo-note.gl { color: var(--muted); }

/* ─── Home: funded research (budget by head, a purchase request with quotations) ─── */
.fr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.fr-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 2px 6px rgba(31,41,37,.05), 0 18px 44px rgba(31,41,37,.08); font-size: 13px; }
.fr-head b { display: block; font-size: 15px; color: var(--ink); }
.fr-head span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.fr-key { display: flex; gap: 14px; margin: 14px 0 6px; font-size: 11.5px; color: var(--muted); }
.fr-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.fr-key i.s, .fr-bar i.s { background: #566D65; } .fr-key i.c, .fr-bar i.c { background: #C9A477; } .fr-key i.a { background: #E3EAE6; }
.fr-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 84px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid #EEF1EE; }
.fr-l { font-weight: 600; color: var(--ink); } .fr-l small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.fr-bar { display: flex; height: 10px; border-radius: 6px; background: #E3EAE6; overflow: hidden; }
.fr-v { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.fr-why { margin: 12px 0; color: var(--text); }
.fr-q { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fr-q th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.fr-q th:last-child, .fr-q td:last-child { text-align: right; }
.fr-q td { padding: 8px; border-bottom: 1px solid #EEF1EE; }
.fr-q tr.low td { background: #EEF6F1; font-weight: 600; }
.fr-q em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #245C43; background: #DCEDE3; padding: 2px 7px; border-radius: 99px; margin-left: 6px; }
.fr-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; }
.fr-steps li { font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: #F5F3EE; color: var(--muted); }
.fr-steps li.done { background: #DCEDE3; color: #245C43; } .fr-steps li.done::before { content: "✓ "; }
.fr-steps li.now { background: #fff; color: var(--ink); font-weight: 700; border: 1.5px solid #566D65; }
.fr-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 0; margin: 26px auto 0; max-width: 980px; color: var(--muted); font-size: 14px; }
.fr-points li::before { content: "✓"; color: #2E7353; font-weight: 700; margin-right: 8px; }
@media (max-width: 860px) { .fr { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .fr-row { grid-template-columns: 88px minmax(0, 1fr) 70px; gap: 8px; } }

/* ─── Ranking & Accreditation page ─── */
.rk-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.rk-head h2 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.rk-badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.rk-badge.live { background: #DCEDE3; color: #245C43; } .rk-badge.planned { background: #F3E8D6; color: #7A4E1A; }
.rk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: start; }
.rk-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 2px 6px rgba(31,41,37,.05), 0 18px 44px rgba(31,41,37,.08); font-size: 13px; }
.rk-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; } .rk-bar b { font-size: 15px; color: var(--ink); } .rk-bar span { font-size: 12px; color: var(--muted); }
.rk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.rk-tiles div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; } .rk-tiles b { display: block; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; } .rk-tiles span { font-size: 11px; color: var(--muted); }
.rk-table { width: 100%; border-collapse: collapse; }
.rk-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 7px 8px; border-bottom: 1px solid var(--line); }
.rk-table td { padding: 9px 8px; border-bottom: 1px solid #EEF1EE; vertical-align: top; } .rk-table td b { display: block; color: var(--ink); } .rk-table td small { color: var(--muted); font-size: 11px; }
.rk-table td.ok { color: #245C43; } .rk-table td.miss { color: #7A4E1A; }
.rk-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.rk-tag.ok { background: #DCEDE3; color: #245C43; } .rk-tag.wait { background: #F3E8D6; color: #7A4E1A; } .rk-tag.todo { background: #EEF1EE; color: #4A5650; }
.rk-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.rk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rk-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.rk-steps li > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #E3EAE6; color: #33433D; } .rk-steps svg { width: 20px; height: 20px; }
.rk-steps b { color: var(--ink); font-size: 15px; } .rk-steps p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.rk-planned { max-width: 760px; border: 1px dashed #C9A477; border-radius: 16px; padding: 18px 22px; background: #FBFAF7; } .rk-planned p { margin: 0 0 10px; } .rk-small { font-size: 13px; color: var(--muted); margin: 0 !important; }
@media (max-width: 900px) { .rk-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .rk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
