/* ───────────────────────────────────────────────────────────────────────────
   PMI North Macedonia — board deck, 29 Sep 2026.
   Every token below is copied verbatim from PMI-v2/src/styles/global.css.
   No build step, no framework, no CDN. Desktop.
   ─────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-cyrillic-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* The site's measured, metric-matched stand-ins. Downloads nothing. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Roboto');
  size-adjust: 104.45%; ascent-override: 92.77%; descent-override: 23.07%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback Display';
  src: local('Arial'), local('Helvetica Neue'), local('Roboto');
  size-adjust: 97.82%; ascent-override: 99.06%; descent-override: 24.64%; line-gap-override: 0%;
}

:root {
  --color-brand-cyan: #05bfe0;
  --color-brand-orange: #ff610f;
  --color-brand-purple: #4f17a8;

  --color-purple-50:#f3f2fb; --color-purple-100:#e7e5f7; --color-purple-200:#cfcaee;
  --color-purple-300:#b0a8e1; --color-purple-400:#8c7dd0; --color-purple-500:#6c51bd;
  --color-purple-600:#4f17a8; --color-purple-700:#3e1087; --color-purple-800:#2b0962;
  --color-purple-900:#19043f; --color-purple-950:#0a0121;

  --color-cyan-50:#f3fbfd; --color-cyan-100:#e6f6fb; --color-cyan-200:#cdeef7;
  --color-cyan-300:#a7e1f1; --color-cyan-400:#75d2e9; --color-cyan-500:#05bfe0;
  --color-cyan-600:#0397b1; --color-cyan-700:#027185; --color-cyan-800:#014d5b;
  --color-cyan-900:#002f39; --color-cyan-950:#00141a;

  --color-orange-50:#fff6f3; --color-orange-100:#ffece4; --color-orange-200:#ffd9c9;
  --color-orange-300:#ffbfa4; --color-orange-400:#ff966c; --color-orange-500:#ff610f;
  --color-orange-600:#d14e0a; --color-orange-700:#9e3905; --color-orange-800:#6f2502;
  --color-orange-900:#481501; --color-orange-950:#240700;

  --color-neutral-0:#ffffff; --color-neutral-25:#faf9fd; --color-neutral-50:#f5f4fa;
  --color-neutral-100:#eceaf4; --color-neutral-200:#d9d6e6; --color-neutral-300:#b4b0c6;
  --color-neutral-400:#7f7a95; --color-neutral-500:#5a5570; --color-neutral-600:#3d3852;
  --color-neutral-700:#27223a; --color-neutral-800:#16112a; --color-neutral-900:#0d0a1a;
  --color-neutral-950:#06040f;

  --color-ground: #f7f6fb;
  --color-surface: #ffffff;
  --color-surface-2: #f1eff8;
  --color-surface-3: #e7e5f7;
  --color-glass: rgba(255,255,255,0.72);
  --color-glass-strong: rgba(255,255,255,0.84);
  --color-glass-border: rgba(255,255,255,0.85);
  --color-hairline: rgba(22,17,42,0.08);
  --color-line: rgba(22,17,42,0.16);

  --color-ink: #16112a;
  --color-ink-muted: #4a4560;
  --color-ink-faint: #67617e;
  --color-accent: #4f17a8;
  --color-accent-soft: #e7e5f7;
  --color-action: #ff610f;
  --color-on-action: #000000;
  --color-orange-text: #9e3905;
  --color-cyan-text: #014d5b;
  --color-footer: #0d0a1a;

  --gradient-brand: linear-gradient(135deg,#4f17a8 0%,#6c51bd 48%,#027185 100%);
  --gradient-brand-text: linear-gradient(90deg,#4f17a8 0%,#6c51bd 55%,#027185 100%);
  --gradient-deep: linear-gradient(160deg,#3e1087 0%,#19043f 60%,#0a0121 100%);
  --gradient-action: linear-gradient(135deg,#ff7a33 0%,#ff610f 60%,#f0570a 100%);
  --gradient-mesh:
    radial-gradient(42% 46% at 18% 30%, rgba(176,168,225,0.55) 0%, transparent 70%),
    radial-gradient(38% 42% at 82% 22%, rgba(167,225,241,0.6) 0%, transparent 70%),
    radial-gradient(34% 38% at 68% 78%, rgba(255,191,164,0.55) 0%, transparent 70%),
    radial-gradient(50% 50% at 40% 90%, rgba(231,229,247,0.9) 0%, transparent 70%);
  --gradient-scrim-side: linear-gradient(90deg,
    rgba(247,246,251,0.96) 0%, rgba(247,246,251,0.92) 36%,
    rgba(247,246,251,0.4) 62%, rgba(247,246,251,0.06) 100%);

  --duotone-highlight: #e6f6fb;
  --duotone-shadow: #8c7dd0;

  --radius-xs:6px; --radius-sm:10px; --radius-md:16px; --radius-lg:22px;
  --radius-xl:30px; --radius-pill:999px;

  --shadow-xs: 0 1px 2px rgba(22,17,42,0.05), 0 1px 1px rgba(79,23,168,0.03);
  --shadow-sm: 0 1px 2px rgba(22,17,42,0.05), 0 4px 12px rgba(79,23,168,0.07);
  --shadow-md: 0 2px 4px rgba(22,17,42,0.05), 0 12px 32px rgba(79,23,168,0.10);
  --shadow-lg: 0 4px 8px rgba(22,17,42,0.05), 0 24px 56px rgba(79,23,168,0.16);
  --shadow-xl: 0 8px 16px rgba(22,17,42,0.06), 0 40px 90px rgba(79,23,168,0.22);
  --shadow-glow-accent: 0 0 0 1px rgba(79,23,168,0.1), 0 14px 40px rgba(79,23,168,0.22);
  --shadow-glow-cyan: 0 0 0 1px rgba(2,113,133,0.12), 0 14px 40px rgba(5,191,224,0.22);
  --shadow-glow-orange: 0 10px 30px rgba(255,97,15,0.35);
  --blur-glass: 18px;

  --font-sans: 'Inter Variable','Inter','Inter Fallback',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-display: 'Inter Variable','Inter','Inter Fallback Display',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;

  --duration-fast:150ms; --duration-base:280ms; --duration-slow:560ms;
  --duration-reveal:1000ms; --duration-cinema:2200ms;
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-in-out: cubic-bezier(0.65,0,0.35,1);
  --ease-cinema: cubic-bezier(0.22,0.61,0.36,1);
  --ease-spring: cubic-bezier(0.34,1.4,0.64,1);

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 52px);
  --section-y: clamp(48px, 3.8vw + 24px, 88px);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3 { font-family: var(--font-display); font-weight: 700; margin: 0; }
h1 { line-height: 1.02; letter-spacing: -0.032em; }
h2 { line-height: 1.02; letter-spacing: -0.032em; }
h3 { line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1em; max-width: 38.67em; }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.shell { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section.band { padding-block: var(--section-y); position: relative; }

/* ── chrome ─────────────────────────────────────────────────────────────── */
.chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--color-glass);
  -webkit-backdrop-filter: blur(var(--blur-glass));
  backdrop-filter: blur(var(--blur-glass));
  border-bottom: 1px solid var(--color-hairline);
}
.chrome-in {
  max-width: var(--container); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 20px;
}
.chrome img { height: 30px; width: auto; display: block; }
.chrome nav { margin-left: auto; display: flex; gap: 4px; }
.chrome nav a {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; color: var(--color-ink-muted);
  padding: 8px 12px; border-radius: var(--radius-pill);
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.chrome nav a:hover { background: var(--color-accent-soft); color: var(--color-accent); }
.chrome nav a.on { background: var(--color-ink); color: #fff; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(1.02); }
.hero-photo::before, .hero-photo::after { content:''; position:absolute; inset:0; pointer-events:none; }
.hero-photo::before { background: var(--duotone-highlight); mix-blend-mode: multiply; }
.hero-photo::after  { background: var(--duotone-shadow);   mix-blend-mode: screen; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: var(--gradient-scrim-side); }
.hero-scrim::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(247,246,251,0.16) 0%, rgba(247,246,251,0) 30%,
              rgba(247,246,251,0) 64%, #f7f6fb 100%);
}
.hero .shell { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.875rem, 1.2rem + 6vw, 5.75rem); max-width: 15ch; }
.grad {
  background: var(--gradient-brand-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-accent); margin: 0 0 18px;
}
.lede { font-size: clamp(1.0625rem,1rem + 0.4vw,1.3125rem); line-height: 1.6; color: var(--color-ink-muted); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-pill);
  font-weight: 600; text-decoration: none; font-size: 1.0625rem;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.btn-action { background: var(--gradient-action); color: var(--color-on-action); box-shadow: var(--shadow-glow-orange); }
.btn-ghost { background: var(--color-glass-strong); color: var(--color-ink); border: 1px solid var(--color-glass-border); box-shadow: var(--shadow-sm); }
.btn:hover { transform: translateY(-2px); }
.btnrow { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ── section heads ──────────────────────────────────────────────────────── */
.chapno {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem,1.2rem+3.4vw,3.75rem);
  line-height: 1; letter-spacing: -0.032em; flex: none;
  background: var(--gradient-brand-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.head { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 40px; }
.head h2 { font-size: clamp(2.25rem,1.2rem + 3.4vw,3.75rem); max-width: 18ch; }
.head .lede { margin-top: 14px; margin-bottom: 0; }

/* ── cards & grids ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2,1fr); }
.g3 { grid-template-columns: repeat(3,1fr); }
.g4 { grid-template-columns: repeat(4,1fr); }
.card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 26px 28px; border: 1px solid var(--color-hairline);
}
.card h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.card p { font-size: 0.9375rem; color: var(--color-ink-muted); margin-bottom: 0; max-width: none; }
.panel {
  background: var(--color-surface); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 34px 38px; border: 1px solid var(--color-hairline);
}
.label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-ink-faint); margin: 0 0 14px; max-width: none;
}
.stack { display: grid; gap: 28px; }

/* ── swatches ───────────────────────────────────────────────────────────── */
.ramp { display: grid; grid-template-columns: repeat(11,1fr); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.ramp .stop { aspect-ratio: 1/1.15; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; }
.ramp .stop b { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; display: block; }
.ramp .stop span { font-size: 0.625rem; font-variant-numeric: tabular-nums; opacity: 0.85; }
.ramp-name { font-size: 0.8125rem; font-weight: 600; color: var(--color-ink-muted); margin: 18px 0 8px; max-width: none; }

.brandrow { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.brandchip { border-radius: var(--radius-lg); padding: 20px; min-height: 132px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-md); }
.brandchip b { display: block; font-size: 0.9375rem; }
.brandchip span { font-size: 0.8125rem; opacity: 0.9; font-variant-numeric: tabular-nums; }

.semrow { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.semchip { display: flex; align-items: center; gap: 12px; background: var(--color-surface); border: 1px solid var(--color-hairline); border-radius: var(--radius-md); padding: 12px 14px; box-shadow: var(--shadow-xs); }
.semchip i { width: 30px; height: 30px; border-radius: var(--radius-xs); flex: none; border: 1px solid var(--color-hairline); }
.semchip div { min-width: 0; }
.semchip b { display: block; font-size: 0.875rem; }
.semchip span { font-size: 0.75rem; color: var(--color-ink-faint); font-variant-numeric: tabular-nums; }

/* ── type specimen ──────────────────────────────────────────────────────── */
.spec { border-top: 1px solid var(--color-hairline); padding: 18px 0; display: grid; grid-template-columns: 214px 1fr; gap: 24px; align-items: baseline; }
.spec .meta { font-size: 0.75rem; color: var(--color-ink-faint); font-variant-numeric: tabular-nums; line-height: 1.5; }
.spec .meta b { display: block; color: var(--color-ink); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.spec .sample { min-width: 0; }
.s-dxl { font-family: var(--font-display); font-weight: 700; font-size: 4rem; line-height: 1.02; letter-spacing: -0.032em; }
.s-dlg { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1.02; letter-spacing: -0.032em; }
.s-dmd { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.02; letter-spacing: -0.032em; }
.s-dsm { font-weight: 700; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.015em; }
.s-title { font-weight: 600; font-size: 1.1875rem; line-height: 1.2; letter-spacing: -0.015em; }
.s-lede { font-size: 1.3125rem; line-height: 1.6; color: var(--color-ink-muted); }
.s-body { font-size: 1.0625rem; line-height: 1.6; }
.s-small { font-size: 0.9375rem; line-height: 1.6; color: var(--color-ink-muted); }
.s-label { font-size: 0.75rem; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--color-ink-faint); }

.opsz { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.opsz > div { background: var(--color-surface-2); border-radius: var(--radius-md); padding: 20px 22px; }
.opsz .big { font-family: var(--font-display); font-weight: 700; font-size: 3.25rem; line-height: 1.02; letter-spacing: -0.032em; }
.opsz .sm { font-size: 0.9375rem; line-height: 1.6; max-width: none; }

/* ── effects ────────────────────────────────────────────────────────────── */
.shadows { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.shadowbox { background: var(--color-surface); border-radius: var(--radius-md); height: 104px; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-faint); }
.glows { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 22px; }

.radii { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.radbox { width: 108px; height: 108px; background: var(--gradient-brand); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; box-shadow: var(--shadow-sm); }

.glassdemo { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 268px; background: var(--gradient-mesh), var(--color-surface-3); display: flex; align-items: center; justify-content: center; }
.glasscard { background: var(--color-glass); -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass)); border: 1px solid var(--color-glass-border); border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.9); max-width: 340px; }
.glasscard b { display: block; font-size: 1.1875rem; letter-spacing: -0.015em; }
.glasscard span { font-size: 0.875rem; color: var(--color-ink-muted); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo figure { margin: 0; }
.duo .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; isolation: isolate; aspect-ratio: 16/10; background: var(--color-surface-3); }
.duo .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.duo .treated img { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.duo .treated::before, .duo .treated::after { content:''; position:absolute; inset:0; pointer-events:none; }
.duo .treated::before { background: var(--duotone-highlight); mix-blend-mode: multiply; }
.duo .treated::after  { background: var(--duotone-shadow); mix-blend-mode: screen; }
.duo figcaption { font-size: 0.8125rem; color: var(--color-ink-faint); margin-top: 10px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }

.gradrow { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.gradbox { height: 96px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: flex; align-items: flex-end; padding: 12px; color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; }

/* ── motion demos ───────────────────────────────────────────────────────── */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.statband .n {
  font-family: var(--font-display); font-weight: 700; font-size: 3.5rem; line-height: 1.02;
  letter-spacing: -0.032em; font-variant-numeric: tabular-nums;
  background: var(--gradient-brand-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.statband .k { font-size: 0.8125rem; color: var(--color-ink-faint); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--duration-reveal) var(--ease-out), transform var(--duration-reveal) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 90ms; } .reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; } .reveal.d4 { transition-delay: 360ms; }

.timeline { position: relative; padding-left: 34px; margin: 0; }
.timeline .rail { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--color-line); }
.timeline .rail i { position: absolute; inset: 0 0 auto 0; width: 2px; height: 0; background: var(--gradient-brand); transition: height var(--duration-cinema) var(--ease-cinema); }
.timeline li { list-style: none; margin: 0 0 22px; position: relative; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before { content:''; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 999px; background: var(--color-surface); border: 2px solid var(--color-accent); box-shadow: var(--shadow-xs); transform: scale(0); transition: transform var(--duration-base) var(--ease-spring); }
.timeline.in .rail i { height: 100%; }
.timeline.in li::before { transform: scale(1); }
.timeline.in li:nth-child(2)::before { transition-delay: 460ms; }
.timeline.in li:nth-child(3)::before { transition-delay: 860ms; }
.timeline.in li:nth-child(4)::before { transition-delay: 1260ms; }
.timeline.in li:nth-child(5)::before { transition-delay: 1660ms; }
.timeline b { display: block; font-size: 1.0625rem; letter-spacing: -0.015em; }
.timeline span { font-size: 0.9375rem; color: var(--color-ink-muted); }
.replay { background: none; border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: 8px 16px; font: inherit; font-size: 0.8125rem; font-weight: 600; color: var(--color-ink-muted); cursor: pointer; }
.replay:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ── dark bookend ───────────────────────────────────────────────────────── */
.dark { background: var(--color-footer); color: #fff; border-radius: var(--radius-xl); padding: 44px 46px; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #b0a8e1; }
.dark .label { color: #a7e1f1; }
.dark a { color: #a7e1f1; }
.dark .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.dark .card p { color: #b0a8e1; }
.dark .chapno { background: linear-gradient(90deg,#a7e1f1 0%,#b0a8e1 100%); -webkit-background-clip: text; background-clip: text; }

/* ── facts / tables ─────────────────────────────────────────────────────── */
.facts { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.facts th, .facts td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--color-hairline); vertical-align: top; }
.facts th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink-faint); font-weight: 700; }
.facts td b { font-variant-numeric: tabular-nums; }
.facts tr:last-child td { border-bottom: 0; }

.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 178px 1fr 92px; gap: 14px; align-items: center; font-size: 0.875rem; }
.bar .track { height: 12px; border-radius: 999px; background: var(--color-surface-3); overflow: hidden; }
.bar .fill { display: block; height: 100%; border-radius: 999px; background: var(--gradient-brand); width: 0; transition: width var(--duration-cinema) var(--ease-cinema); }
.bar .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--color-ink-muted); }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pill-live { background: var(--color-accent-soft); color: var(--color-accent); }
.pill-wip { background: var(--color-orange-100); color: var(--color-orange-text); }
.pill-wip::before { content:''; width: 8px; height: 8px; border-radius: 999px; background: var(--color-action); animation: pulse 2s var(--ease-in-out) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }

.q { background: var(--color-surface-2); border-left: 3px solid var(--color-accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 18px 22px; }
.q p { font-size: 1.0625rem; font-style: italic; color: var(--color-ink); margin-bottom: 8px; }
.q cite { font-style: normal; font-size: 0.8125rem; color: var(--color-ink-faint); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }

.itemdemo { background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-hairline); box-shadow: var(--shadow-md); padding: 26px 28px; }
.itemdemo .stem { font-size: 1.0625rem; margin-bottom: 16px; max-width: none; }
.itemdemo ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.itemdemo li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.9375rem; }
.itemdemo li.right { border-color: var(--color-accent); background: var(--color-accent-soft); }
.itemdemo li .key { font-weight: 700; color: var(--color-ink-faint); }
.itemdemo li.right .key { color: var(--color-accent); }
.itemdemo .why { font-size: 0.875rem; color: var(--color-ink-muted); margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--color-hairline); max-width: none; }

.meshband { background: var(--gradient-mesh), var(--color-ground); border-radius: var(--radius-xl); padding: 40px 44px; }

.tick { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.9375rem; margin-bottom: 12px; }
.tick:last-child { margin-bottom: 0; }
.tick .m { color: var(--color-accent); font-weight: 700; line-height: 1.5; }
.tick.wip .m { color: var(--color-orange-text); }

footer.deckfoot { background: var(--color-footer); color: #fff; padding-block: 56px; margin-top: var(--section-y); }
footer.deckfoot p { color: #b0a8e1; font-size: 0.9375rem; }
footer.deckfoot a { color: #a7e1f1; }
footer.deckfoot h2 { color: #fff; font-size: clamp(2.25rem,1.2rem + 3.4vw,3.75rem); margin-bottom: 18px; }
/* Buttons keep their own inks on the dark bookend — the footer link colour
   would put light cyan on a white pill. */
footer.deckfoot a.btn-ghost, .dark a.btn-ghost { color: var(--color-ink); background: #fff; border-color: #fff; }
footer.deckfoot a.btn-action, .dark a.btn-action { color: var(--color-on-action); }

.note { font-size: 0.8125rem; color: var(--color-ink-faint); max-width: none; }
.srcline { font-size: 0.75rem; color: var(--color-ink-faint); letter-spacing: 0.04em; margin: 14px 0 0; max-width: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .timeline .rail i { height: 100%; transition: none; }
  .timeline li::before { transform: scale(1); transition: none; }
  .bar .fill { transition: none; }
  .pill-wip::before { animation: none; }
  .btn:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ROUND 2 — the colour, pushed. Everything below is lifted from the site's
   own vocabulary: the four radial washes of the mesh band, the gradient card
   border, the tinted shadows, the deep purple bookend. Nothing here invents a
   hue. Every text/background pair below was measured, not guessed.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* The site's gradient card border, both states — global.css ll. 301-312. */
  --gradient-border-rest: linear-gradient(135deg,
    rgba(207,202,238,1), rgba(205,238,247,1) 55%, rgba(255,217,201,1));
  --gradient-border: linear-gradient(135deg,
    rgba(140,125,208,0.8), rgba(117,210,233,0.8) 55%, rgba(255,150,108,0.7));
}

/* ── the ground stops being flat ────────────────────────────────────────── */
section.band { isolation: isolate; }
section.band > .wash {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
section.band > .shell { position: relative; z-index: 1; }

#design > .wash {
  background:
    radial-gradient(46% 38% at 88% 0%,  rgba(205,238,247,0.85) 0%, transparent 72%),
    radial-gradient(40% 34% at 0% 14%,  rgba(207,202,238,0.70) 0%, transparent 70%),
    radial-gradient(34% 30% at 62% 96%, rgba(255,217,201,0.45) 0%, transparent 70%);
}
#practice > .wash {
  background:
    radial-gradient(44% 36% at 4% 0%,   rgba(205,238,247,0.85) 0%, transparent 72%),
    radial-gradient(38% 32% at 96% 22%, rgba(255,217,201,0.55) 0%, transparent 70%),
    radial-gradient(36% 30% at 30% 92%, rgba(207,202,238,0.60) 0%, transparent 70%);
}
#ai > .wash {
  background:
    radial-gradient(44% 34% at 92% 2%,  rgba(207,202,238,0.80) 0%, transparent 70%),
    radial-gradient(38% 30% at 2% 26%,  rgba(205,238,247,0.70) 0%, transparent 70%);
}
#console > .wash {
  background:
    radial-gradient(44% 36% at 8% 0%,   rgba(255,217,201,0.60) 0%, transparent 70%),
    radial-gradient(40% 34% at 92% 22%, rgba(207,202,238,0.70) 0%, transparent 70%),
    radial-gradient(34% 28% at 50% 96%, rgba(205,238,247,0.55) 0%, transparent 70%);
}
#together > .wash {
  background:
    radial-gradient(52% 42% at 50% 0%,  rgba(207,202,238,0.75) 0%, transparent 72%),
    radial-gradient(34% 30% at 8% 60%,  rgba(205,238,247,0.55) 0%, transparent 70%);
}

/* A hairline of the brand gradient closing each band. */
section.band + section.band::before {
  content: ''; position: absolute; inset: 0 auto auto 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(140,125,208,0.45) 22%,
    rgba(117,210,233,0.45) 58%, rgba(255,150,108,0.4) 82%, transparent);
  z-index: 2;
}

/* ── the hero picks up the mesh over the scrim ──────────────────────────── */
.hero-scrim::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 12% 22%, rgba(176,168,225,0.42) 0%, transparent 70%),
    radial-gradient(30% 38% at 40% 88%, rgba(255,191,164,0.34) 0%, transparent 70%),
    radial-gradient(34% 40% at 66% 10%, rgba(167,225,241,0.30) 0%, transparent 70%);
}

/* ── the palette note, right under the hero lede ────────────────────────── */
.paletteline {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 58ch; margin-top: 26px;
  padding: 14px 18px 14px 16px;
  background: var(--color-glass-strong);
  -webkit-backdrop-filter: blur(var(--blur-glass));
  backdrop-filter: blur(var(--blur-glass));
  border: 1px solid rgba(255,255,255,0.85); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.9);
}
.paletteline .dots { display: flex; gap: 6px; flex: none; padding-top: 4px; }
.paletteline .dots i {
  width: 13px; height: 13px; border-radius: 999px; display: block;
  box-shadow: 0 0 0 1px rgba(22,17,42,0.10);
}
.paletteline p {
  margin: 0; font-size: 0.9375rem; line-height: 1.55;
  color: var(--color-ink); max-width: none;
}
.paletteline strong { color: var(--color-accent); font-weight: 700; }

/* ── panels and cards wear the gradient border ──────────────────────────── */
.panel {
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    var(--gradient-border-rest) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: box-shadow var(--duration-base) var(--ease-out);
}
.panel:hover {
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    var(--gradient-border) border-box;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.9);
}
.card {
  background:
    linear-gradient(180deg, #ffffff 0%, #faf9fd 100%) padding-box,
    var(--gradient-border-rest) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.dark .card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}
.dark .card p { color: #cfcaee; }

/* The four AI numerals get four different brand hues along their top edge. */
.g4 .card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
}
.g4 .card:nth-child(1)::before { background: linear-gradient(90deg,#4f17a8,#6c51bd); }
.g4 .card:nth-child(2)::before { background: linear-gradient(90deg,#027185,#05bfe0); }
.g4 .card:nth-child(3)::before { background: linear-gradient(90deg,#d14e0a,#ff966c); }
.g4 .card:nth-child(4)::before { background: linear-gradient(90deg,#6c51bd,#75d2e9); }
.g4 .card h3 {
  background: var(--gradient-brand-text); -webkit-background-clip: text;
  background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  width: max-content;
}

/* ── labels carry the accent, with a gradient dash ──────────────────────── */
.label {
  color: var(--color-accent);
  display: flex; align-items: center; gap: 10px;
}
.label::after {
  content: ''; flex: 1; height: 2px; border-radius: 2px; min-width: 24px;
  background: linear-gradient(90deg, rgba(140,125,208,0.55), rgba(117,210,233,0.45) 60%, transparent);
}
.dark .label { color: #a7e1f1; }
.dark .label::after {
  background: linear-gradient(90deg, rgba(167,225,241,0.55), rgba(176,168,225,0.35) 60%, transparent);
}
.label .pill { flex: none; }

/* ── the brand chips glow in their own colour ───────────────────────────── */
.brandchip:nth-child(1) { box-shadow: 0 14px 40px rgba(22,17,42,0.32); }
.brandchip:nth-child(2) { box-shadow: var(--shadow-glow-cyan); }
.brandchip:nth-child(3) { box-shadow: var(--shadow-glow-orange); }
.brandchip:nth-child(4) { box-shadow: var(--shadow-glow-accent); }

/* ── the stat band sits on the mesh, like the site's own ────────────────── */
.statband {
  /* The mesh, veiled 42% toward white. Undiluted, its purple blob drags
     ink-faint down to 3.8:1 — the veil and the step up to ink-muted below
     put the caption back over AA at the darkest point of every blob. */
  background:
    linear-gradient(rgba(255,255,255,0.42), rgba(255,255,255,0.42)),
    var(--gradient-mesh), var(--color-surface-2);
  border-radius: var(--radius-lg); padding: 26px 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}
.statband .k { color: var(--color-ink-muted); }

/* ── tracks, quotes, tables pick up the tint ────────────────────────────── */
.bar .track { background: var(--color-purple-100); box-shadow: inset 0 1px 2px rgba(22,17,42,0.08); }
.q {
  background: linear-gradient(135deg, var(--color-purple-50), var(--color-cyan-50) 100%);
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg,#4f17a8,#027185) 1;
  border-radius: 0;
}
.facts th { color: var(--color-accent); }
.itemdemo li.right { box-shadow: 0 0 0 1px rgba(79,23,168,0.25); }
.glassdemo { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7); }

/* ── the dark bookend becomes the site's deep gradient ──────────────────── */
.dark {
  background: var(--gradient-deep), var(--color-footer);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 60% at 88% 8%,  rgba(5,191,224,0.22) 0%, transparent 70%),
    radial-gradient(34% 54% at 4% 92%,  rgba(255,97,15,0.16) 0%, transparent 70%);
}
.dark > * { position: relative; z-index: 1; }
.dark p { color: #cfcaee; }

footer.deckfoot {
  background: var(--gradient-deep), var(--color-footer);
  position: relative; overflow: hidden;
}
footer.deckfoot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 70% at 86% 0%, rgba(5,191,224,0.20) 0%, transparent 70%),
    radial-gradient(38% 62% at 6% 100%, rgba(255,97,15,0.15) 0%, transparent 70%);
}
footer.deckfoot > .shell { position: relative; z-index: 1; }
footer.deckfoot p { color: #cfcaee; }

/* The two dark bookends keep their own button inks — restated after the
   background change so these still win. */
footer.deckfoot a.btn-ghost, .dark a.btn-ghost {
  color: var(--color-ink); background: #fff; border: 1px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
footer.deckfoot a.btn-action, .dark a.btn-action { color: var(--color-on-action); }

/* ── the header gets the gradient hairline ──────────────────────────────── */
.chrome {
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(22,17,42,0.06), 0 8px 24px rgba(79,23,168,0.06);
}
.chrome::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, rgba(79,23,168,0.55), rgba(2,113,133,0.45) 55%, rgba(255,97,15,0.35));
}

/* ── the console section's own pieces ───────────────────────────────────── */
.collrow { display: flex; flex-wrap: wrap; gap: 9px; }
.collchip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 0.875rem; font-weight: 600; color: var(--color-ink);
  background: var(--color-surface);
  box-shadow: 0 0 0 1px rgba(22,17,42,0.08), var(--shadow-xs);
}
.collchip::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px; flex: none;
  background: var(--gradient-brand);
}
.panel.tinted {
  background:
    linear-gradient(140deg, #fff6f3 0%, #f3f2fb 100%) padding-box,
    var(--gradient-border-rest) border-box;
}

@media (prefers-reduced-motion: reduce) {
  .panel { transition: none; }
}
