/* ============================================================
   Empirisoft — v2 design system  ("editorial / academic modern")
   Heritage blue #156eba + warm paper + Fraunces serif display.
   ============================================================ */

:root {
  /* Brand — carried over from the original 2004 site */
  --blue:      #156eba;   /* the signature Empirisoft blue */
  --blue-dk:   #0f5187;
  --blue-br:   #2f92de;
  --blue-tint: #e8f1fa;
  --coral:     #d8453b;   /* refined take on the old red "NEW!" badge */
  --coral-tint:#fbeae8;

  /* Neutrals — warm, paper-like (not cold SaaS gray) */
  --navy:   #0e2338;      /* hero + footer */
  --navy-2: #16324f;
  --paper:  #f7f3ec;      /* page background */
  --paper-2:#fffdfa;      /* raised surfaces */
  --card:   #ffffff;

  --ink:       #1a2836;
  --ink-soft:  #46586a;
  --ink-faint: #7b8a99;

  --line:      #e6ddcd;   /* warm hairline on paper */
  --line-cool: #d8e2ec;   /* cool hairline on white */
  --line-navy: rgba(255,255,255,.14);

  --r:    14px;
  --r-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(14,35,56,.06), 0 1px 3px rgba(14,35,56,.05);
  --shadow-md: 0 10px 30px rgba(14,35,56,.10);
  --shadow-lg: 0 26px 60px rgba(14,35,56,.20);

  --maxw: 1160px;
  --serif: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;  /* display face */
  --sans:  "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-dk); text-decoration: none; }
a:hover { color: var(--blue); }

/* ---------- Type ---------- */

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.05rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-size: 1.3rem;
  margin: 0 0 .5em;
}
h4 { font-family: var(--sans); font-weight: 700; font-size: .95rem; margin: 0 0 .5em; color: var(--navy); }
p  { margin: 0 0 1.1em; }

.lede { font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft); }
.text-soft { color: var(--ink-soft); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.narrow { max-width: 780px; }

/* Eyebrow with a leading tick — a small editorial signature */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--coral);
  display: inline-block;
}
.eyebrow.on-navy { color: #8fc4f0; }
.eyebrow.on-navy::before { background: var(--coral); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,243,236,.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand .mark { width: 36px; height: 36px; flex: none; transform: translateY(-1.5px); }
.brand .word {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-feature-settings: "kern" 1, "liga" 1;
}
.brand .word b { color: var(--blue); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--ink-soft); font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { background: rgba(21,110,186,.08); color: var(--blue-dk); }
.nav-links a.active { color: var(--blue); }
.nav-links a.cta {
  margin-left: 8px; background: var(--blue); color: #fff; padding: 10px 20px;
  box-shadow: 0 1px 2px rgba(15,81,135,.4);
}
.nav-links a.cta:hover { background: var(--blue-dk); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px; display: none; box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-links a.cta { margin-left: 0; text-align: center; margin-top: 6px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arw { transition: transform .15s ease; }
.btn:hover .arw { transform: translateX(3px); }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(21,110,186,.28); }
.btn-primary:hover { background: var(--blue-dk); color: #fff; box-shadow: 0 10px 24px rgba(21,110,186,.32); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); box-shadow: var(--shadow-md); }
.btn-line { border-color: var(--line-cool); color: var(--navy); background: transparent; }
.btn-line:hover { border-color: var(--blue); color: var(--blue-dk); }
.btn-line.on-navy { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-line.on-navy:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% 6%, rgba(47,146,222,.28), transparent 60%),
    linear-gradient(155deg, #0c2035 0%, var(--navy) 48%, #12304e 100%);
  color: #eaf2fb;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center;
  padding: 96px 0 104px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #9fd0f6; font-weight: 600; }
.hero .lede { color: #b8cde3; max-width: 560px; margin-bottom: 34px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero .trust {
  display: flex; align-items: center; gap: 12px;
  font-size: .93rem; color: #8ba7c4; border-top: 1px solid var(--line-navy); padding-top: 22px;
}
.hero .trust b { color: #dce8f5; font-weight: 700; }

.hero-art { position: relative; }
.hero-art .frame {
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.10);
  background: #0b1c2e;
}
.hero-art .frame img { width: 100%; }
.hero-art .chip {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--paper-2); color: var(--navy);
  border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 13px;
}
.hero-art .chip .big { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--blue); line-height: 1; }
.hero-art .chip .cap { font-size: .78rem; color: var(--ink-faint); font-weight: 600; line-height: 1.3; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 68px 0 76px; }
  /* Not enough room to sit beside the copy — hide rather than stack below */
  .hero-art { display: none; }
}

/* ---------- Marquee / credibility strip ---------- */

.stripe {
  background: var(--navy); color: #9fb6ce;
  border-top: 1px solid var(--line-navy);
  padding: 20px 0; font-size: .92rem;
}
.stripe .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; justify-content: center; text-align: center; }
.stripe b { color: #dce8f5; font-weight: 700; }
.stripe .sep { color: rgba(255,255,255,.25); }
.stripe-label { color: #8ba7c4; font-weight: 600; margin-right: 6px; }
.chip-pill {
  border: 1px solid rgba(255,255,255,.22); color: #dce8f5;
  padding: 7px 15px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: rgba(255,255,255,.04);
}

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
.section.pad-sm { padding: 64px 0; }
.section.white { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }
@media (max-width: 900px) {
  /* 92px top/bottom is too generous once sections stack — taper it down. */
  .section { padding: 60px 0; }
  .section.pad-sm { padding: 44px 0; }
  .section-head { margin-bottom: 34px; }
}
@media (max-width: 520px) {
  /* Phones: adjacent panels double up their padding at the seam, so the top of
     each panel after the hero looks over-spaced. Keep it tight. */
  .section { padding: 40px 0; }
  .section.pad-sm { padding: 30px 0; }
  .section-head { margin-bottom: 24px; }
  .hero-grid { padding: 52px 0 56px; }
}

/* ---------- Feature split rows (product highlights) ---------- */

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.feature + .feature { margin-top: 96px; }
.feature.flip .feature-media { order: 2; }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 34px; }
  .feature.flip .feature-media { order: 0; }
  .feature + .feature { margin-top: 60px; }
}
.feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.feature .kicker { color: var(--blue); font-weight: 700; font-size: .9rem; letter-spacing: .04em; margin-bottom: 8px; }

/* ---------- Browser-framed screenshots ---------- */

.browser {
  border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid var(--line-cool); box-shadow: var(--shadow-md);
}
.browser .bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: #eef2f6; border-bottom: 1px solid var(--line-cool);
}
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfd8e2; display: block; }
.browser .bar i:nth-child(1) { background: #f0a29b; }
.browser .bar i:nth-child(2) { background: #f4d68a; }
.browser .bar i:nth-child(3) { background: #a8d8ac; }
.browser .shot { background: var(--blue-tint); padding: 26px; display: flex; justify-content: center; }
.browser .shot img { border-radius: 6px; box-shadow: var(--shadow-sm); }

/* ---------- Checklist ---------- */

.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23156eba' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks li b { color: var(--navy); font-weight: 700; }

/* ---------- Value cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.tile {
  background: var(--card); border: 1px solid var(--line-cool); border-radius: var(--r);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile .ic {
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 18px;
  background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.tile .ic svg { width: 23px; height: 23px; }
.tile h3 { font-size: 1.18rem; margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* Product intro cards (home) */
.pcard {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line-cool);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
/* Splash bleeds flush to the top edge — square those corners so the card
   frame doesn't peek over the dark artwork. Bottom stays rounded. */
.pcard:has(> .shot:first-child) {
  border-top-left-radius: 0; border-top-right-radius: 0; border-top: 0;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard .top { padding: 30px 30px 0; flex: 1 1 auto; }
.pcard .badge {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--coral); background: var(--coral-tint);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.pcard h3 { font-size: 1.7rem; margin-bottom: 10px; }
.pcard p { color: var(--ink-soft); }
.pcard .shot { margin-top: 0; background: #081a30; padding: 0; }
.pcard .shot img { display: block; width: 100%; border-radius: 0; box-shadow: none; }
.pcard .foot { padding: 20px 30px; border-top: 1px solid var(--line-cool); }
.arrow-link { font-weight: 700; color: var(--blue-dk); display: inline-flex; align-items: center; gap: 7px; }
.arrow-link .arw { transition: transform .15s ease; }
.arrow-link:hover .arw { transform: translateX(4px); }

/* ---------- Stats (editorial) ---------- */

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.stats .s { padding: 34px 28px; border-right: 1px solid var(--line); }
.stats .s:last-child { border-right: 0; }
.stats .n { font-family: var(--serif); font-size: 2.7rem; font-weight: 600; color: var(--blue); line-height: 1; letter-spacing: -0.03em; }
.stats .l { color: var(--ink-soft); font-size: .95rem; margin-top: 10px; }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .s:nth-child(2) { border-right: 0; }
  .stats .s:nth-child(1), .stats .s:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } .stats .s { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Quote / testimonial ---------- */

.pullquote { max-width: 900px; margin: 0 auto; text-align: center; }
.pullquote blockquote {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.24; color: var(--navy); margin: 0 0 22px; letter-spacing: -0.025em;
}
.pullquote blockquote em { color: var(--blue); font-style: normal; }
.pullquote .by { color: var(--ink-faint); font-size: .95rem; font-weight: 600; }

/* ---------- CTA band ---------- */

.cta {
  position: relative; overflow: hidden; border-radius: 20px;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(47,146,222,.34), transparent 60%),
    linear-gradient(150deg, var(--navy-2), var(--navy));
  color: #fff; padding: 60px 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
}
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { color: #b8cde3; margin: 0; max-width: 460px; }
@media (max-width: 640px) { .cta { padding: 40px 28px; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #9fb6ce; padding: 66px 0 30px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand .word { color: #fff; }
.site-footer .brand .word b { color: var(--blue-br); }
.site-footer .about { margin: 16px 0 0; color: #8ba7c4; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #a9c1d9; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-navy); padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: .85rem; color: #7690ac;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background:
    radial-gradient(700px 360px at 92% -30%, rgba(47,146,222,.22), transparent 60%),
    linear-gradient(155deg, #0c2035, var(--navy) 70%);
  color: #eaf2fb; padding: 66px 0 60px;
}
.page-hero .crumb { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #8fc4f0; font-weight: 700; margin-bottom: 16px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #b8cde3; max-width: 640px; margin: 0; font-size: 1.12rem; }
.page-hero .badge {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--coral); padding: 4px 11px; border-radius: 999px; margin-bottom: 16px;
}

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list .k { color: var(--ink-soft); }
.spec-list .v { color: var(--navy); font-weight: 600; text-align: right; }

/* ---------- Product splash banner (interior hero) ---------- */
.splash { background: #00071d; }
.splash--medialab { background: #00071d; }
.splash--directrt { background: #000a02; }
.splash .wrap { max-width: 1160px; margin: 0 auto; }
.splash img { width: 100%; display: block; }
.subhero { padding: 42px 0 44px; }
.subhero .lede { max-width: 720px; margin: 0 0 20px; }
.subhero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.subhero .crumb { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 14px; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- "Rebuilt for 2026" relaunch band (navy) ---------- */
.relaunch {
  background:
    radial-gradient(720px 400px at 85% -25%, rgba(47,146,222,.26), transparent 60%),
    linear-gradient(150deg, var(--navy-2), var(--navy));
  color: #eaf2fb;
}
.relaunch h2 { color: #fff; }
.relaunch .section-head p { color: #b8cde3; }
.relaunch .tile { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12); box-shadow: none; }
.relaunch .tile:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.relaunch .tile h3 { color: #fff; }
.relaunch .tile p { color: #a9c1d9; }
.relaunch .tile .ic { background: rgba(47,146,222,.18); color: #7fbdf0; }

/* "New in 2026" pill on tiles */
.tile .newpill {
  display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--coral); background: var(--coral-tint);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 12px;
}

/* ============================================================
   Interior pages — pricing, downloads, contact
   ============================================================ */

/* Anchor offset so sticky header doesn't cover jump targets */
.anchor-offset { scroll-margin-top: 96px; }

/* In-page section pills */
.pill-toggle {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px; margin-bottom: 36px; box-shadow: var(--shadow-sm);
}
.pill-toggle a { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.pill-toggle a:hover { color: var(--blue-dk); background: rgba(21,110,186,.08); }
.pill-toggle a.active { background: var(--blue); color: #fff; }
/* On phones the pill row wraps; drop the in-page "How to order" jump so the
   Academic / Business toggle fits on one line (the section is still reachable by scroll + nav). */
@media (max-width: 560px) { .pill-toggle .pill-order { display: none; } }

/* Callout / notice boxes */
.callout {
  background: var(--blue-tint); border: 1px solid #cfe2f4; border-left: 3px solid var(--blue);
  border-radius: var(--r-sm); padding: 18px 22px; margin: 0 0 20px; color: var(--ink-soft); font-size: .98rem;
}
.callout strong { color: var(--navy); }
.callout a { font-weight: 600; }
.callout.warn { background: #fbf3e6; border-color: #f0dcae; border-left-color: #d9a441; }

/* Pricing blocks + tables */
.price-block {
  background: var(--card); border: 1px solid var(--line-cool); border-radius: var(--r);
  padding: 30px 30px 26px; box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.price-block h3 { font-size: 1.28rem; }
.price-block > p { color: var(--ink-soft); font-size: .98rem; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .98rem; }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.price-table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.price-table th:not(:first-child), .price-table td:not(:first-child) { text-align: right; width: 118px; }
.price-table td:first-child { color: var(--navy); font-weight: 500; }
.price-table td:not(:first-child) { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.price-table tr:last-child td { border-bottom: 0; }
.price-note { font-size: .85rem; color: var(--ink-faint); margin: 12px 0 0; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px) { .cols-2 { grid-template-columns: 1fr; } }

/* ---------- Pricing tiers (grouped by license, self-labelling prices) ---------- */
.tiers { display: grid; gap: 16px; margin-top: 6px; }
.tier {
  background: var(--card); border: 1px solid var(--line-cool);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.tier > header { padding: 22px 28px 0; }
.tier > header h3 { font-size: 1.16rem; margin: 0 0 3px; }
.tier > header .sub { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.tier-rows { padding: 10px 28px 22px; }
.prow {
  display: grid; grid-template-columns: 1fr 150px 150px;
  align-items: end; gap: 4px 22px;
  padding: 15px 0; border-top: 1px solid var(--line);
}
.tier-rows .prow:first-child { border-top: 0; }
.prow .scope { align-self: center; color: var(--navy); font-weight: 600; font-size: 1.01rem; }
.prow .scope em { font-style: normal; font-weight: 500; color: var(--ink-faint); }
.prow .scope .hint { display: block; font-weight: 500; font-size: .84rem; color: var(--ink-faint); margin-top: 2px; }
.prow .cell { text-align: right; }
.prow .cell .lab {
  display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; margin-bottom: 4px;
}
.prow .cell .val { font-size: 1.14rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.prow .cell .val.free { color: #1f7a43; }
.prow .cell .see { display: block; font-size: .8rem; font-weight: 600; margin-top: 3px; }
.prow.solo { grid-template-columns: 1fr auto; align-items: center; }
.prow.solo .cell .val { font-size: 1.04rem; font-weight: 700; }
/* On desktop the column labels only need to show once per card */
@media (min-width: 641px) {
  .tier-rows .prow:not(:first-child) .cell .lab { display: none; }
}
@media (max-width: 640px) {
  .tier > header { padding: 20px 20px 0; }
  .tier-rows { padding: 8px 20px 18px; }
  .prow { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .prow .scope { grid-column: 1 / -1; margin-bottom: 2px; }
  .prow .cell { text-align: left; }
  .prow.solo { grid-template-columns: 1fr; }
}

/* Downloads */
.dl-card {
  background: var(--card); border: 1px solid var(--line-cool); border-radius: var(--r);
  padding: 30px; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.dl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 8px; }
.dl-head h2 { font-size: 1.5rem; margin: 0; }
.dl-head .meta { font-size: .85rem; color: var(--ink-faint); font-weight: 600; }
.dl-card > p { color: var(--ink-soft); font-size: .98rem; }
.dl-links { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.small-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; }
.small-links a { color: var(--blue-dk); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--card); border: 1px solid var(--line-cool); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.contact-card .icon { color: var(--blue); font-size: 1.15rem; line-height: 1; }
.contact-card p { color: var(--ink-soft); font-size: .97rem; }
.contact-card p:last-child { margin-bottom: 0; }

/* User-guide cards (support page) */
.guide-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 6px; }
@media (max-width: 760px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line-cool); border-radius: var(--r);
  padding: 28px 30px; box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue-br); }
.guide-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.2rem; margin: 0; color: var(--navy); }
.guide-card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.guide-card .guide-go { margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--blue-dk); display: inline-flex; align-items: center; gap: 7px; }
.guide-card .guide-go .arw { transition: transform .15s ease; }
a.guide-card:hover .guide-go .arw { transform: translateX(4px); }
.guide-card.is-disabled { opacity: .72; box-shadow: none; }
.guide-card.is-disabled .guide-go { color: var(--ink-soft); font-weight: 600; }
.guide-card .soon {
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); background: var(--coral-tint); padding: 3px 9px; border-radius: 999px;
}

/* ---------- Testimonials + institutions (reviews page) ---------- */
.quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--card); border: 1px solid var(--line-cool); border-radius: var(--r-sm);
  padding: 26px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote p { color: var(--ink); font-size: 1.02rem; line-height: 1.6; margin: 0 0 16px; }
.quote .cite { margin-top: auto; color: var(--ink-faint); font-size: .88rem; }
.quote .cite b { display: block; color: var(--ink); font-weight: 700; font-size: .95rem; }
.inst-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
@media (max-width: 900px) { .inst-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .inst-grid { grid-template-columns: 1fr; } }
.inst {
  background: var(--card); border: 1px solid var(--line-cool); border-radius: 10px;
  padding: 13px 15px; font-size: .92rem; font-weight: 600; color: var(--ink); text-align: center;
}
.inst span { display: block; margin-top: 3px; font-weight: 500; font-size: .78rem; color: var(--ink-faint); }

/* Country-grouped institution roll-call */
.inst-countries { display: flex; flex-direction: column; gap: 30px; }
.inst-country h3 {
  display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line-cool);
  font-size: 1.02rem; color: var(--ink);
}
.inst-country h3 span { font-weight: 500; font-size: .8rem; color: var(--ink-faint); }
.inst-list {
  list-style: none; margin: 0; padding: 0;
  columns: 4; column-gap: 30px;
}
.inst-list li {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  padding: 3px 0; font-size: .9rem; color: var(--ink);
}
@media (max-width: 900px) { .inst-list { columns: 2; } }
@media (max-width: 560px) { .inst-list { columns: 1; } }

/* Two-column split (about / how-to-order / credibility) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.split img { border-radius: var(--r); box-shadow: var(--shadow-md); }

/* ---------- Conceptual product art panel (interior feature rows) ---------- */
.media-art {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-cool); box-shadow: var(--shadow-md);
}
.media-art img { display: block; width: 100%; }

/* ---------- Cross-product splash (interior "better together") ---------- */
.cross-splash {
  display: block; border-radius: var(--r); overflow: hidden;
  background: #081a30; border: 1px solid var(--line-cool); box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cross-splash:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cross-splash img { display: block; width: 100%; }

/* ---------- Product relationship flow (home) ---------- */
.flow {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  gap: 12px; max-width: 820px; margin: -8px auto 48px;
}
.flow-node {
  flex: 1 1 190px; background: var(--card); border: 1px solid var(--line-cool);
  border-radius: var(--r-sm); padding: 16px 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.flow-node .tag {
  display: inline-block; font-weight: 700; font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; padding: 3px 11px; border-radius: 999px; margin-bottom: 9px;
}
.flow-node.ml .tag { color: var(--blue-dk); background: var(--blue-tint); }
.flow-node.dr .tag { color: #1d7a49; background: #e3f3ea; }
.flow-node .d { display: block; color: var(--ink-soft); font-size: .92rem; line-height: 1.35; }
.flow-arw { align-self: center; color: var(--ink-faint); font-size: 1.35rem; }
@media (max-width: 600px) {
  /* The schematic reads as empty boxes on a narrow screen and duplicates the
     product cards just below, so drop it where space is tight. */
  .flow { display: none; }
}

/* ---------- Credibility metrics ---------- */
.metrics { display: flex; flex-wrap: wrap; gap: 16px 38px; margin-top: 28px; }
.metrics .n {
  display: block; font-family: var(--serif); font-size: 2.5rem; font-weight: 600;
  color: var(--blue); line-height: 1; letter-spacing: -0.03em;
}
.metrics .l { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: 7px; }
@media (max-width: 600px) {
  /* Keep 3,000+ / 80+ / 1997 on a single row instead of wrapping 2 + 1. */
  .metrics { flex-wrap: nowrap; gap: 18px; }
  .metrics .m { flex: 1 1 0; min-width: 0; text-align: center; }
  .metrics .n { font-size: 1.8rem; }
  .metrics .l { font-size: .78rem; }
}

/* ---------- Credibility checklist (larger) ---------- */
.big-checks { margin-top: 4px; }
.big-checks li { font-size: 1.06rem; padding-left: 34px; margin-bottom: 15px; color: var(--ink); }
.big-checks li::before { top: 4px; width: 22px; height: 22px; background-size: 13px; }

/* ---------- About / founder ---------- */
.founder-bio p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.7; margin: 0 0 16px; }
.founder-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; font-size: .95rem; }
.signature { margin-top: 26px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
/* Unmarked easter-egg link: looks like plain text but leads to the "real" story.
   Do NOT remove — it's an intentional hidden page (about2.html). */
.egg { color: inherit; text-decoration: none; }

/* ---------- Curriculum vitae (vita.html) ---------- */
.vita-toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 2px 0 0; }
.vita-toc a {
  font-size: .82rem; font-weight: 600; color: var(--blue-dk); text-decoration: none;
  border: 1px solid var(--line-cool); background: var(--card);
  border-radius: 999px; padding: 6px 14px; transition: background .15s ease;
}
.vita-toc a:hover { background: var(--blue-tint); }

.vita-entry { padding: 16px 0; border-top: 1px solid var(--line); max-width: 900px; }
.vita-entry:first-child { border-top: 0; padding-top: 4px; }
.vita-entry .when {
  color: var(--blue-dk); font-weight: 700; font-size: .76rem;
  letter-spacing: .06em; text-transform: uppercase; margin: 0 0 4px;
}
.vita-entry h3 { margin: 0 0 3px; font-size: 1.06rem; color: var(--ink); }
.vita-entry .meta { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.vita-entry p.note { color: var(--ink-soft); font-size: .93rem; margin: 7px 0 0; line-height: 1.6; }

.vita-list { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.vita-list li {
  padding: 12px 0 12px 28px; text-indent: -28px;
  border-top: 1px solid var(--line); color: var(--ink);
  font-size: .95rem; line-height: 1.6;
}
.vita-list li:first-child { border-top: 0; }
.vita-list em { font-style: italic; color: var(--ink-soft); }
.vita-list b { font-weight: 600; color: var(--navy); }
.vita-list .tag {
  display: inline-block; margin-left: 8px; text-indent: 0; vertical-align: middle;
  font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--coral); background: var(--coral-tint); border-radius: 999px; padding: 2px 9px;
}

.client-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 46px; max-width: 900px; }
.client-list li {
  break-inside: avoid; padding: 8px 0; font-size: .92rem;
  color: var(--ink-soft); border-bottom: 1px solid var(--line);
}
.client-list li b { color: var(--navy); font-weight: 600; }
@media (max-width: 640px) { .client-list { columns: 1; } }

/* ---------- Spec / requirements rows (system-requirements.html) ---------- */
.req-list { max-width: 880px; margin: 0; }
.req {
  display: grid; grid-template-columns: 220px 1fr; gap: 4px 30px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.req:first-child { border-top: 0; }
.req .k { font-weight: 600; color: var(--navy); font-size: .96rem; }
.req .v { color: var(--ink-soft); font-size: .96rem; line-height: 1.62; }
.req .v strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .req { grid-template-columns: 1fr; gap: 3px; padding: 13px 0; } }

/* ---------- What's New / Changelog ---------- */
.wn-h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin: 36px 0 10px; letter-spacing: -0.01em;
}
.wn-h3:first-of-type { margin-top: 8px; }
.wn-list { max-width: 880px; }
.wn-list .req .k { min-width: 0; }
.cl-entry {
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
}
.cl-entry:first-of-type { border-top: 0; padding-top: 0; }
.cl-entry h3 {
  margin: 0 0 4px; font-size: 1.2rem; color: var(--navy); font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.cl-meta { display: block; font-size: .88rem; color: var(--ink-faint); margin-bottom: 14px; }
.cl-tag {
  flex: 0 0 auto; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
}
.cl-tag.new { background: #1f7a4314; color: #1f7a43; }
.cl-tag.improved { background: #156eba14; color: #156eba; }
.cl-tag.fixed { background: #d8453b14; color: #b53a32; }

.cl-item { border-bottom: 1px solid var(--line); }
.cl-item summary {
  list-style: none; cursor: pointer;
  display: flex; gap: 12px; align-items: center;
  padding: 12px 28px 12px 0; position: relative;
  color: var(--navy); font-size: .98rem; font-weight: 600; line-height: 1.45;
}
.cl-item summary::-webkit-details-marker { display: none; }
.cl-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg); transition: transform .18s ease;
}
.cl-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.cl-item summary:hover { color: var(--brand, #156eba); }
.cl-detail {
  padding: 0 28px 16px 0; margin-left: 0;
  color: var(--ink-soft); font-size: .94rem; line-height: 1.6;
}
.cl-more { font-size: .92rem; font-weight: 600; margin: 16px 0 0; }
