/* Anitarian — site styles */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #201a16;
  --ink-2: #302721;
  --muted: #4f473f;
  --subtle: #7c775f;
  --line: #d8ccba;
  --line-2: #ebe1d3;
  --bg: #f2eadc;
  --bg-2: #f8f2e7;
  --surface: #fffaf2;
  --surface-tint: #f3eadb;
  --brand-1: #8d6933;
  --brand-2: #b08a42;
  --brand-3: #c7a25d;
  --brand-soft: #f3e8cf;
  --brand-ring: rgba(176, 138, 66, 0.16);
  --accent: #7c775f;
  --accent-2: #8f8a6b;
  --accent-soft: #ece7d9;
  --warn: #8f5c29;
  --warn-soft: #f6eadc;
  --shadow-sm: 0 1px 2px rgba(32, 26, 22, 0.05), 0 1px 3px rgba(32, 26, 22, 0.05);
  --shadow: 0 8px 24px rgba(32, 26, 22, 0.08), 0 2px 6px rgba(32, 26, 22, 0.05);
  --shadow-lg: 0 24px 60px rgba(32, 26, 22, 0.14), 0 6px 18px rgba(32, 26, 22, 0.08);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(32,26,22,.04) 1px, transparent 0),
    linear-gradient(180deg, #f6efe3 0%, #f2eadc 100%);
  background-size: 24px 24px, auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-1); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--ink); }

h1, h2, h3, h4, .brand-name {
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
}

/* ========== Layout primitives ========== */
.shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow.green { background: var(--accent-soft); color: var(--accent); }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  background: transparent;
  pointer-events: none;
}
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 0 18px 0 20px;
  border: 1px solid rgba(255, 250, 242, 0.58);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.82), rgba(255, 250, 242, 0.58)),
    linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.14));
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow:
    0 22px 60px rgba(32, 26, 22, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.72),
    inset 0 -1px 0 rgba(176, 138, 66, 0.10);
  pointer-events: auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex: 0 0 auto;
}
.brand-name { font-size: 1.05rem; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a,
.nav-trigger {
  padding: 8px 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.site-nav a:hover,
.site-nav a.active,
.nav-menu:hover .nav-trigger,
.nav-menu:focus-within .nav-trigger,
.nav-trigger:hover {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: inset 0 0 0 1px rgba(216, 204, 186, 0.58);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }
.nav-menu {
  position: relative;
  padding: 12px 0;
  margin: -12px 0;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.72;
  transition: transform 160ms ease;
}
.nav-menu:hover .nav-trigger::after,
.nav-menu:focus-within .nav-trigger::after {
  transform: rotate(225deg) translateY(-1px);
}
.nav-dropdown {
  position: fixed;
  top: 84px;
  left: 50%;
  width: min(920px, calc(100vw - 32px));
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px) scale(0.985);
  transition: opacity 150ms ease, transform 180ms ease, visibility 150ms ease;
}
.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 242, 0.64);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(255, 250, 242, 0.72)),
    linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.16));
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  box-shadow:
    0 28px 80px rgba(32, 26, 22, 0.20),
    inset 0 1px 0 rgba(255,255,255,0.76);
}
.nav-list {
  display: grid;
  gap: 3px;
  padding: 14px;
}
.nav-list a {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border-radius: 16px;
  color: var(--ink);
}
.nav-list a:hover {
  background: rgba(255,255,255,0.58);
  box-shadow: inset 0 0 0 1px rgba(216, 204, 186, 0.56);
}
.nav-ic {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-1);
  background: rgba(243, 232, 207, 0.82);
  box-shadow: inset 0 0 0 1px rgba(176, 138, 66, 0.18);
}
.nav-ic svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}
.nav-title {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.22;
}
.nav-desc {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.35;
}
.site-nav .nav-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  margin: 14px 14px 14px 0;
  padding: 22px;
  border-radius: 20px;
  color: var(--surface);
  background:
    radial-gradient(circle at 22% 16%, rgba(199, 162, 93, 0.42), transparent 38%),
    linear-gradient(135deg, rgba(32, 26, 22, 0.94), rgba(80, 61, 36, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 14px 32px rgba(32, 26, 22, 0.16);
}
.site-nav .nav-feature:hover {
  color: var(--surface);
  background:
    radial-gradient(circle at 22% 16%, rgba(199, 162, 93, 0.50), transparent 38%),
    linear-gradient(135deg, rgba(32, 26, 22, 0.96), rgba(80, 61, 36, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 18px 38px rgba(32, 26, 22, 0.20);
}
.site-nav .nav-feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.site-nav .nav-feature span {
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.84rem;
  line-height: 1.5;
}
.site-nav .nav-feature .more {
  margin-top: 18px;
  color: #fffaf2;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-2);
  color: var(--surface);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover { background: var(--brand-1); color: var(--surface); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: #c8d2e0; background: var(--surface); }
.btn-link { padding: 0; background: transparent; color: var(--brand-2); }
.btn-link:hover { color: var(--brand-1); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

/* ========== Hero ========== */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(1100px 480px at 75% -10%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(800px 400px at 0% 30%, rgba(132, 204, 22, 0.07), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-art .logo-large { width: 220px; height: auto; }
.hero-art.center-logo { background: var(--surface); border: 1px solid var(--line); padding: 36px; display: grid; place-items: center; aspect-ratio: auto; }
.hero-art.center-logo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(180px 120px at 30% 30%, rgba(132, 204, 22, 0.15), transparent 60%),
    radial-gradient(220px 160px at 70% 70%, rgba(37, 99, 235, 0.12), transparent 60%);
  pointer-events: none;
}

.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, transform 200ms ease;
}
.trust-pill:hover { border-color: #c9d4e3; transform: translateY(-1px); }
.trust-pill .ic {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: 0 0 auto;
}
.trust-pill .ic svg { width: 12px; height: 12px; }
.trust-pill .label { color: var(--ink); }
.trust-pill .sub { color: var(--subtle); font-weight: 500; margin-left: 4px; }

/* ========== Page-hero (smaller hero for subpages) ========== */
.page-hero {
  padding: 68px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 380px at 80% -10%, rgba(176, 138, 66, 0.10), transparent 60%);
}
.page-hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 12px 0 14px;
}
.page-hero p.lede { color: var(--muted); font-size: 1.08rem; max-width: 64ch; margin: 0 0 18px; }
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.page-hero.with-art .shell { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.page-hero .art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.page-hero .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-hero-bg {
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(248, 242, 231, .92) 0%, rgba(248, 242, 231, .68) 34%, rgba(248, 242, 231, .18) 62%, rgba(248, 242, 231, 0) 100%),
    linear-gradient(180deg, rgba(248, 242, 231, .04), rgba(242, 234, 220, .12)),
    url("/assets/about-parliament-hero.jpg") center 46% / cover no-repeat;
}
.about-hero-bg .shell {
  width: 100%;
}
.about-hero-bg .shell > div {
  max-width: 640px;
}
.legal-hero-bg {
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, .92) 0%, rgba(255, 250, 242, .74) 34%, rgba(255, 250, 242, .20) 58%, rgba(255, 250, 242, 0) 82%),
    linear-gradient(180deg, rgba(255, 250, 242, .18), rgba(242, 234, 220, .04)),
    url("/assets/legal-hero-watercolor.jpg") 55% center / cover no-repeat;
}
.legal-hero-bg .shell {
  width: 100%;
}
.legal-hero-bg .shell > div {
  max-width: 650px;
}
.security-hero-bg {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, .90) 0%, rgba(255, 250, 242, .74) 31%, rgba(255, 250, 242, .22) 56%, rgba(255, 250, 242, .02) 100%),
    linear-gradient(180deg, rgba(255, 250, 242, .20), rgba(242, 234, 220, .04)),
    url("/assets/security-hero-maple-circuit.jpg") 66% center / cover no-repeat;
}
.security-hero-bg .shell {
  width: 100%;
}
.security-hero-bg .shell > div {
  max-width: 650px;
}

@media (max-width: 720px) {
  .about-hero-bg {
    min-height: 560px;
    align-items: flex-start;
    padding-top: 44px;
    background:
      linear-gradient(180deg, rgba(248, 242, 231, .94) 0%, rgba(248, 242, 231, .76) 42%, rgba(248, 242, 231, .24) 72%, rgba(248, 242, 231, .04) 100%),
      url("/assets/about-parliament-hero.jpg") center bottom / cover no-repeat;
  }
  .legal-hero-bg {
    min-height: 620px;
    align-items: flex-start;
    padding-top: 48px;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, .94) 0%, rgba(255, 250, 242, .78) 42%, rgba(255, 250, 242, .18) 72%, rgba(255, 250, 242, 0) 100%),
      url("/assets/legal-hero-watercolor.jpg") 68% center / cover no-repeat;
  }
  .security-hero-bg {
    min-height: 640px;
    align-items: flex-start;
    padding-top: 48px;
    background:
      linear-gradient(180deg, rgba(255, 250, 242, .86) 0%, rgba(255, 250, 242, .58) 36%, rgba(255, 250, 242, .10) 66%, rgba(255, 250, 242, 0) 100%),
      url("/assets/security-hero-maple-circuit.jpg") 68% center / cover no-repeat;
  }
}

/* ========== Manifesto ========== */
.manifesto-hero {
  padding: 86px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(780px 340px at 50% -10%, rgba(176, 138, 66, 0.16), transparent 64%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.78), rgba(242, 234, 220, 0.2));
}
.manifesto-hero h1 {
  margin: 14px 0 6px;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.manifesto-subtitle {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
  color: var(--brand-1);
}
.manifesto-hero .lede {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
}
.manifesto-doc {
  padding: 66px 0 92px;
}
.manifesto-shell {
  width: min(780px, calc(100% - 48px));
  margin: 0 auto;
}
.manifesto-doc section + section {
  margin-top: 58px;
}
.manifesto-doc h2 {
  margin: 0 0 20px;
  padding-top: 2px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0;
}
.manifesto-doc p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.78;
}
.manifesto-doc p:last-child {
  margin-bottom: 0;
}
.manifesto-doc strong {
  color: var(--ink);
}
.manifesto-doc ol {
  margin: 6px 0 0;
  padding-left: 24px;
  color: var(--ink-2);
}
.manifesto-doc li {
  margin: 0 0 14px;
  padding-left: 4px;
  font-size: 1.05rem;
  line-height: 1.68;
}

/* ========== Cards / grids ========== */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.card:hover { border-color: #c9d4e3; box-shadow: var(--shadow); }
.card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-1);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.card .icon.green { background: var(--accent-soft); color: var(--accent); }
.card .icon svg { width: 22px; height: 22px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 0.92rem; }

.card.feature h3 { font-size: 1.1rem; }
.card.linked { display: flex; flex-direction: column; }
.card.linked p { flex: 1; }

.team-grid { align-items: stretch; }
.team-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.team-card h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}
.team-initials {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-1));
  color: var(--surface);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 10px 24px rgba(32, 26, 22, 0.12);
}
.team-initials.green {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}
.team-initials.amber {
  background: linear-gradient(135deg, var(--brand-2), var(--warn));
}
.team-initials.blue {
  background: linear-gradient(135deg, #4f6f96, #243f64);
}
.team-photo {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(32, 26, 22, 0.12);
  filter: grayscale(100%);
}
.team-role {
  margin: 0 0 8px;
  color: var(--brand-1);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Pillars (3 main columns with bigger emphasis) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d4e3; }
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(280px 160px at -10% -20%, rgba(176, 138, 66, 0.10), transparent 60%);
}
.pillar.green::before { background: radial-gradient(280px 160px at -10% -20%, rgba(124, 119, 95, 0.12), transparent 60%); }
.pillar.amber::before { background: radial-gradient(280px 160px at -10% -20%, rgba(141, 105, 51, 0.10), transparent 60%); }
.pillar .stamp {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand-1) 100%);
  color: var(--surface);
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.30), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative;
}
.pillar.green .stamp { background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%); box-shadow: 0 8px 22px rgba(132, 204, 22, 0.30), inset 0 1px 0 rgba(255,255,255,0.30); }
.pillar.amber .stamp { background: linear-gradient(135deg, var(--gold, var(--brand-2)) 0%, var(--warn) 100%); box-shadow: 0 8px 22px rgba(194, 65, 12, 0.28), inset 0 1px 0 rgba(255,255,255,0.25); }
.pillar .stamp svg { width: 28px; height: 28px; }
.pillar .tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-1);
  font-size: 11px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  position: relative;
}
.pillar.green .tag { background: var(--accent-soft); color: var(--accent); }
.pillar.amber .tag { background: var(--warn-soft); color: var(--warn); }
.pillar h3 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; position: relative; }
.pillar p { color: var(--muted); margin: 0; font-size: 0.97rem; position: relative; }

/* Compliance badge strip */
.badges {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
}
.badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent-2); }

/* Steps row (replaces "1. 2. 3.") */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step .phase {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Compare table replacement */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.95rem;
  color: var(--muted);
  vertical-align: top;
}
.compare th { background: var(--surface-tint); color: var(--ink); font-weight: 600; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.row-label { color: var(--ink); font-weight: 600; }
.compare .star { color: var(--brand-2); }
.compare .yes { color: var(--accent); font-weight: 600; }
.compare .no { color: var(--subtle); }
.compare .highlight { background: rgba(37, 99, 235, 0.04); color: var(--ink); font-weight: 600; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.tier .name { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.tier .price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 6px; }
.tier .price .amount { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.tier .price .per { color: var(--muted); font-size: 0.9rem; }
.tier .desc { color: var(--muted); font-size: 0.92rem; margin: 0 0 18px; }
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.tier ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.tier ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d8c0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 9px 9px;
}
.tier ul li.muted { color: var(--subtle); }
.tier ul li.muted::before {
  background: var(--line-2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}
.tier .btn { width: 100%; }
.tier.featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--brand-2), 0 24px 60px rgba(37, 99, 235, 0.22), 0 6px 16px rgba(11, 30, 54, 0.08);
  position: relative;
  background: linear-gradient(180deg, var(--surface)fff 0%, var(--bg-2) 100%);
  transform: translateY(-8px);
  z-index: 1;
}
.tier.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.tier.featured .name { color: var(--brand-1); }
.tier.featured .ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-2), var(--brand-1));
  color: var(--surface);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 6px 14px; border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

/* Solutions tile grid */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink);
  transition: border-color 200ms ease, transform 240ms ease, box-shadow 240ms ease;
  position: relative;
  overflow: hidden;
}
.tile::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.06), transparent);
  opacity: 0; transition: opacity 240ms ease;
}
.tile:hover { color: var(--ink); border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.tile:hover::after { opacity: 1; }
.tile .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-1);
  margin-bottom: 14px;
  flex: 0 0 auto;
  transition: transform 240ms ease;
}
.tile.green .ic { background: var(--accent-soft); color: var(--accent); }
.tile:hover .ic { transform: scale(1.06); }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.tile p { margin: 0 0 14px; color: var(--muted); font-size: 0.93rem; flex: 1; }
.tile .arrow {
  color: var(--brand-2);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.tile .arrow svg { transition: transform 240ms ease; width: 14px; height: 14px; }
.tile:hover .arrow svg { transform: translateX(4px); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.quote:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9d4e3; }
.quote .qmark {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 3.2rem;
  font-family: Georgia, serif;
  color: var(--brand-soft);
  line-height: 1;
  pointer-events: none;
}
.quote .industry {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-1);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 16px;
}
.quote .industry .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-2); }
.quote .industry.green { background: var(--accent-soft); color: var(--accent); }
.quote .industry.green .dot { background: var(--accent-2); }
.quote .industry.amber { background: var(--warn-soft); color: var(--warn); }
.quote .industry.amber .dot { background: var(--gold, var(--brand-2)); }
.quote p.qbody { color: var(--ink-2); font-size: 0.98rem; line-height: 1.65; margin: 0 0 18px; flex: 1; }
.quote .who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.quote .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-1));
  color: var(--surface);
  font-weight: 700; font-size: 0.85rem;
  flex: 0 0 auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.quote .avatar.green { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.quote .who-meta { display: flex; flex-direction: column; gap: 2px; }
.quote .who-meta strong { color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.quote .who-meta span { color: var(--subtle); font-size: 0.84rem; }

/* Highlight (callout) */
.callout {
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.7;
}
.callout.warn {
  background: var(--warn-soft);
  border-color: #ffd7b8;
}
.callout strong { color: var(--ink); }

/* Risk panel — promoted callout, full-bleed visual block */
.risk-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px 40px;
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(245, 158, 11, 0.18), transparent 60%),
    radial-gradient(380px 220px at 100% 100%, rgba(194, 65, 12, 0.14), transparent 60%),
    linear-gradient(135deg, #1a1207 0%, #2a1b0a 60%, #2a1308 100%);
  color: #fde9c8;
  border-radius: var(--radius-lg);
  border: 1px solid #4a2e0b;
  box-shadow: 0 24px 60px rgba(120, 53, 15, 0.18);
  position: relative;
  overflow: hidden;
}
.risk-panel .rmark {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #1a1207;
  flex: 0 0 auto;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}
.risk-panel .rmark svg { width: 32px; height: 32px; }
.risk-panel .rcopy h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--surface);
}
.risk-panel .rcopy p {
  margin: 0;
  color: #f4d8a8;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 60ch;
}
.risk-panel .rcopy strong { color: var(--surface); }
.risk-panel .ract {
  flex: 0 0 auto;
}
.risk-panel .ract .btn {
  background: var(--surface); color: #2a1308; border-color: transparent;
}
.risk-panel .ract .btn:hover { background: #fde9c8; color: #2a1308; }

/* CTA section */
.cta {
  background: linear-gradient(135deg, #14224a 0%, #1f3b8c 60%, var(--brand-2) 100%);
  color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(380px 220px at 80% 30%, rgba(132, 204, 22, 0.25), transparent 60%),
    radial-gradient(420px 240px at 20% 80%, rgba(96, 165, 250, 0.25), transparent 60%);
  pointer-events: none;
}
.cta h2 { color: var(--surface); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta p { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 60ch; margin: 0 auto 24px; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta .btn-primary { background: var(--surface); color: var(--brand-1); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.cta .btn-primary:hover { background: var(--accent-soft); color: var(--brand-1); }
.cta .btn-ghost { color: var(--surface); border-color: rgba(255,255,255,0.4); background: transparent; }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--surface); border-color: rgba(255,255,255,0.6); }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color 160ms ease;
}
.faq details[open] { border-color: #c9d4e3; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-2);
  font-weight: 400;
  transition: transform 200ms ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* Article (legal text, long-form content) */
.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 0 auto;
}
.article h2 {
  font-size: 1.35rem;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--ink); }
.article p, .article li { color: var(--ink-2); line-height: 1.75; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--ink); font-weight: 600; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* Arctic MDA brief */
.arctic-hero {
  background:
    linear-gradient(90deg, rgba(248, 242, 231, .94), rgba(248, 242, 231, .72) 46%, rgba(248, 242, 231, .42)),
    url("/assets/arctic-mda-hero.jpg") 62% 48% / cover no-repeat;
}
.arctic-hero .shell {
  min-height: 360px;
  display: flex;
  align-items: center;
}
.arctic-hero .shell > div {
  max-width: 720px;
}
.brief-shell {
  max-width: 980px;
}
.brief-meta {
  color: var(--subtle);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 auto 18px;
  max-width: 880px;
}
.brief-article .brief-section {
  padding: 0 0 44px;
  border-bottom: 1px solid var(--line-2);
  margin: 0 0 44px;
}
.brief-article .brief-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}
.brief-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 30px 0 6px;
}
.brief-facts .stat {
  background: var(--surface-tint);
  padding: 22px 18px;
}
.brief-facts .stat strong {
  display: block;
  color: var(--brand-1);
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 8px;
}
.brief-facts .stat span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
.brief-stack {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 26px 0;
}
.brief-layer {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brief-layer:last-child {
  border-bottom: 0;
}
.brief-layer-tag {
  border-right: 1px solid var(--line);
  color: var(--brand-1);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 20px 18px;
}
.brief-layer > div:last-child {
  padding: 20px 22px;
}
.brief-layer h3 {
  margin-top: 0;
}
.brief-layer p {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .brief-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .brief-facts {
    grid-template-columns: 1fr;
  }
  .brief-layer {
    grid-template-columns: 1fr;
  }
  .brief-layer-tag {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
  }
}

/* Code (developer page) */
.code-window {
  position: relative;
  background: #241f1a;
  border-radius: var(--radius);
  border: 1px solid #4a4034;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.code-window .titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #2d261f;
  border-bottom: 1px solid #1a2742;
}
.code-window .traffic { display: inline-flex; gap: 6px; }
.code-window .traffic span {
  width: 11px; height: 11px; border-radius: 50%; background: #2a3656;
}
.code-window .filename {
  color: #6c7a92;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
}
.code-window .copy-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #2a3656;
  border-radius: 8px;
  color: var(--line);
  font-size: 12px;
  font-weight: 600;
  font-family: Inter, sans-serif;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.code-window .copy-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--surface); border-color: #3a4866; }
.code-window .copy-btn svg { width: 13px; height: 13px; }
.code-window .copy-btn.copied { color: var(--accent-2); border-color: var(--accent); background: rgba(132, 204, 22, 0.08); }
.code-window pre {
  margin: 0;
  padding: 22px 24px;
  background: transparent;
  color: #d8e1f1;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.65;
}
.code-window code { font-family: inherit; }
.code-window .tok-k { color: #93c5fd; }
.code-window .tok-s { color: #b8e8a3; }
.code-window .tok-c { color: #6c7a92; }
.code-window .tok-f { color: #f0d27c; }
.code-window .tok-v { color: #f4a8b3; }
.code-window .tok-n { color: #d8e1f1; }
/* Backwards compat */
.code-block {
  position: relative;
  background: #241f1a;
  color: #d8e1f1;
  padding: 22px 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  box-shadow: var(--shadow);
  border: 1px solid #4a4034;
}

/* Contact info */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.contact-grid .info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-grid .info dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 22px; }
.contact-grid .info dt { color: var(--subtle); font-weight: 500; font-size: 0.9rem; }
.contact-grid .info dd { margin: 0; color: var(--ink); font-weight: 500; font-size: 0.95rem; }

/* Models comparison */
.model-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.model-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.model-card .name {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.model-card .pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-1);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.model-card .pill.green { background: var(--accent-soft); color: var(--accent); }
.model-card .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.model-card .stat { padding: 12px 14px; background: var(--surface-tint); border-radius: 10px; }
.model-card .stat .k { color: var(--subtle); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.model-card .stat .v { color: var(--ink); font-weight: 700; font-size: 1.05rem; margin-top: 2px; }
.model-card p { color: var(--muted); margin: 0 0 18px; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.stat-block .num { font-size: 2.2rem; font-weight: 800; color: var(--brand-1); letter-spacing: -0.02em; }
.stat-block .lbl { color: var(--ink); font-weight: 600; margin-top: 6px; }
.stat-block .det { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* Footer */
.site-footer {
  margin-top: 80px;
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(37, 99, 235, 0.05), transparent 60%),
    radial-gradient(700px 260px at 90% 100%, rgba(132, 204, 22, 0.06), transparent 60%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-3) 30%, var(--accent-2) 70%, transparent);
  opacity: 0.55;
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -160px;
  width: 460px; height: 460px;
  background: url("/assets/anitarian-mark.svg") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  align-items: start;
}
.site-footer h4 {
  color: var(--ink); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul a { color: var(--muted); font-size: 0.93rem; }
.site-footer ul a:hover { color: var(--ink); }
.site-footer .brandcol p { color: var(--muted); font-size: 0.93rem; max-width: 32ch; margin: 12px 0 0; }
.site-footer .bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--subtle);
  font-size: 0.86rem;
}
.site-footer .bottom a { color: var(--subtle); margin-left: 16px; }
.site-footer .bottom a:hover { color: var(--ink); }
.maple { color: #c1392b; }

/* Solutions hero icon mosaic */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.icon-grid .ic {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.icon-grid .ic .label { font-size: 0.85rem; color: var(--ink-2); font-weight: 600; }
.icon-grid svg { width: 24px; height: 24px; color: var(--brand-2); }

/* Misc utilities */
.center { text-align: center; }
.lede { font-size: 1.1rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.divider { height: 1px; background: var(--line); margin: 48px 0; border: 0; }
.spacer-sm { height: 24px; }
.spacer { height: 48px; }
.spacer-lg { height: 80px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-tint); color: var(--ink-2);
  font-size: 12px; font-weight: 600;
  border: 1px solid var(--line);
}

.trust-compare td {
  min-width: 160px;
}
.trust-tabs {
  position: sticky;
  top: 72px;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  scrollbar-width: none;
}
.trust-tabs::-webkit-scrollbar {
  display: none;
}
.trust-tabs a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.trust-tabs a:hover {
  color: var(--ink);
  background: var(--surface-tint);
}
.trust-section {
  scroll-margin-top: 118px;
}
.trust-doc {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.trust-doc p {
  flex: 1;
}
.doc-status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.doc-status.restricted {
  color: var(--brand-1);
  background: var(--brand-soft);
}
.doc-status.public {
  color: var(--accent);
  background: var(--accent-soft);
}

.datasets-hero {
  background: radial-gradient(900px 380px at 80% -10%, rgba(176, 138, 66, 0.10), transparent 60%), linear-gradient(180deg, rgba(255,250,242,.65), rgba(242,234,220,.95));
}
.datasets-stats .stat-card {
  padding: 20px 22px;
}
.datasets-stats .k,
.stat-card .k {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--subtle);
  margin-bottom: 8px;
}
.datasets-stats .v,
.stat-card .v {
  font-family: 'Libre Baskerville', Baskerville, Georgia, serif;
  font-size: 1.8rem;
  color: var(--ink);
}
.datasets-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, .7fr) minmax(180px, .7fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}
.datasets-search-wrap,
.datasets-filter-wrap {
  display: grid;
  gap: 8px;
}
.datasets-search,
.datasets-select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  box-shadow: var(--shadow-sm);
}
.datasets-search:focus,
.datasets-select:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px var(--brand-ring);
}
.datasets-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.datasets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.dataset-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dataset-card h3 {
  margin: 6px 0 0;
  font-size: 1.28rem;
}
.dataset-card h3 a {
  color: var(--ink);
}
.dataset-card h3 a:hover {
  color: var(--brand-1);
}
.dataset-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.dataset-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-1);
  font-weight: 700;
}
.dataset-link {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
}
.dataset-publisher {
  margin-top: -4px;
}
.datasets-empty {
  margin-top: 12px;
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .hero { padding: 64px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { padding: 28px; }
  .pillars, .grid.cols-3, .grid.cols-4, .steps, .steps.cols-4, .quotes, .tiles, .stats-row, .datasets-grid { grid-template-columns: 1fr; }
  .grid.cols-2, .model-pair, .contact-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .article { padding: 32px 26px; }
  .cta { padding: 40px 24px; }
  .datasets-controls { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .site-header { padding: 10px 0; }
  .site-header .shell { min-height: 58px; border-radius: 20px; padding: 0 12px 0 14px; }
  .site-nav { display: none; gap: 4px; }
  .site-nav.open {
    display: grid;
    grid-template-columns: 1fr;
    position: fixed;
    top: 82px;
    left: 14px;
    right: 14px;
    max-height: calc(100vh - 96px);
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(255, 250, 242, 0.64);
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(255, 250, 242, 0.78)),
      linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.16));
    backdrop-filter: saturate(180%) blur(26px);
    -webkit-backdrop-filter: saturate(180%) blur(26px);
    box-shadow: 0 24px 70px rgba(32, 26, 22, 0.20), inset 0 1px 0 rgba(255,255,255,0.76);
  }
  .site-nav.open > a,
  .site-nav.open .nav-trigger { width: 100%; justify-content: space-between; padding: 12px 14px; }
  .site-nav.open .nav-menu { padding: 0; margin: 0; }
  .site-nav.open .nav-dropdown {
    position: static;
    width: 100%;
    padding-top: 4px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .site-nav.open .nav-panel {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.54);
    box-shadow: inset 0 0 0 1px rgba(216, 204, 186, 0.48);
  }
  .site-nav.open .nav-list { padding: 8px; }
  .site-nav.open .nav-list a { grid-template-columns: 34px 1fr; padding: 10px; }
  .site-nav.open .nav-ic { width: 34px; height: 34px; border-radius: 12px; }
  .site-nav.open .nav-feature { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid rgba(216, 204, 186, 0.78); border-radius: 14px;
    background: rgba(255, 250, 242, 0.50); color: var(--ink); cursor: pointer;
  }
  .header-cta .btn { padding: 9px 14px; font-size: 13.5px; }
  .pricing { grid-template-columns: 1fr; }
  .compare table th, .compare table td { padding: 12px 10px; font-size: 0.88rem; }
  .compare { overflow-x: auto; }
  .site-footer .top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .bottom { flex-direction: column; align-items: flex-start; }
  .site-footer .bottom a { margin: 0 16px 0 0; }
  .trust-tabs { top: 64px; margin-bottom: 0; }
  .trust-section { scroll-margin-top: 110px; }
  .dataset-card-top { flex-direction: column; }
}


.hero-cinematic {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 96px 0 82px;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, .96) 0%, rgba(255, 250, 242, .90) 32%, rgba(255, 250, 242, .56) 56%, rgba(255, 250, 242, .18) 100%),
    linear-gradient(180deg, rgba(255, 250, 242, .50), rgba(242, 234, 220, .18)),
    url("/assets/anitarian-hero-canada.jpg") center center / cover no-repeat;
}
.hero-grid-cinematic {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 7vw, 120px);
  padding-right: 24px;
}
.hero-copy {
  max-width: 620px;
}
.hero-kicker {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-benefits {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.hero-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink-2);
}
.hero-benefit-ic {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,250,242,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--brand-1);
  flex: 0 0 42px;
}
.hero-benefit-ic svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 900px) {
  .hero-cinematic {
    min-height: 680px;
    background:
      linear-gradient(90deg, rgba(255, 250, 242, .96) 0%, rgba(255, 250, 242, .84) 42%, rgba(255, 250, 242, .28) 100%),
      linear-gradient(180deg, rgba(255, 250, 242, .68), rgba(242, 234, 220, .30)),
      url("/assets/anitarian-hero-canada.jpg") 70% center / cover no-repeat;
  }
}
@media (max-width: 720px) {
  .hero-cinematic {
    min-height: 760px;
    align-items: flex-start;
    padding: 44px 0 48px;
    background:
      linear-gradient(90deg, rgba(255, 250, 242, .96) 0%, rgba(255, 250, 242, .82) 48%, rgba(255, 250, 242, .18) 100%),
      linear-gradient(180deg, rgba(255, 250, 242, .74) 0%, rgba(255, 250, 242, .46) 58%, rgba(242, 234, 220, .22) 100%),
      url("/assets/anitarian-hero-canada.jpg") 86% center / cover no-repeat;
  }
  .hero-copy {
    max-width: 92%;
    text-align: left;
  }
}
