/* =========================================================
   Me2You - Final Presentation Deck
   Brand-aligned slide system. 1920×1080 canvas.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand */
  --brand-orange: #F89A1F;
  --brand-orange-600: #E8851A;
  --brand-orange-700: #C76B0F;
  --brand-orange-100: #FFE7C8;
  --brand-orange-50: #FFF6E9;
  --brand-plum: #8E7CA0;
  --brand-plum-700: #5C4A6E;
  --brand-plum-100: #ECE6F2;

  /* Neutrals */
  --ink-900: #1F1A17;
  --ink-700: #3D342E;
  --ink-500: #6B5E55;
  --ink-400: #948578;
  --ink-300: #C9BEB3;
  --ink-200: #E7DFD5;
  --ink-100: #F4EEE5;
  --ink-50: #FAF6EF;
  --paper: #FFFFFF;

  /* Semantic */
  --success: #2F9E5A;
  --success-100: #DDF1E4;
  --warning: #E8A400;
  --warning-100: #FFF1CD;
  --danger: #D44A3A;
  --danger-100: #FCE2DD;
  --info: #2D7AC7;
  --info-100: #DCEAF8;

  /* Type */
  --font-display: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* deck-stage canvas */
deck-stage { background: #000; }
deck-stage > section {
  width: 1920px; height: 1080px;
  position: relative;
  overflow: hidden;
  background: var(--ink-50);
  font-family: var(--font-body);
  color: var(--ink-900);
}

/* =========================================================
   SLIDE BACKGROUND VARIANTS
   ========================================================= */
section[data-bg="paper"]  { background: var(--paper); }
section[data-bg="cream"]  { background: var(--ink-50); }
section[data-bg="orange"] { background: var(--brand-orange); color: var(--paper); }
section[data-bg="plum"]   { background: var(--brand-plum-700); color: var(--paper); }
section[data-bg="dark"]   { background: var(--ink-900); color: var(--ink-100); }
section[data-bg="dots"]   {
  background:
    radial-gradient(circle at 1px 1px, rgba(248,154,31,.18) 1px, transparent 0) 0 0 / 40px 40px,
    var(--brand-orange-50);
}

section[data-bg="orange"] h1, section[data-bg="orange"] h2, section[data-bg="orange"] h3,
section[data-bg="plum"]   h1, section[data-bg="plum"]   h2, section[data-bg="plum"]   h3,
section[data-bg="dark"]   h1, section[data-bg="dark"]   h2, section[data-bg="dark"]   h3 {
  color: var(--paper);
}

/* =========================================================
   COMMON TYPE
   ========================================================= */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange-700);
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before {
  content: "";
  width: 56px; height: 4px;
  background: var(--brand-orange);
  border-radius: 2px;
  display: inline-block;
}
section[data-bg="orange"] .eyebrow,
section[data-bg="plum"]   .eyebrow,
section[data-bg="dark"]   .eyebrow { color: rgba(255,255,255,.85); }
section[data-bg="orange"] .eyebrow::before,
section[data-bg="plum"]   .eyebrow::before,
section[data-bg="dark"]   .eyebrow::before { background: rgba(255,255,255,.85); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink-900);
}
.h-mega   { font-size: 180px; line-height: .95; letter-spacing: -.04em; }
.h-hero   { font-size: 120px; line-height: 1.0;  letter-spacing: -.035em; }
.h-xl     { font-size: 96px;  line-height: 1.05; letter-spacing: -.03em; }
.h-l      { font-size: 72px;  line-height: 1.1;  letter-spacing: -.025em; }
.h-m      { font-size: 48px;  line-height: 1.15; }
.h-s      { font-size: 32px;  line-height: 1.25; }
.h-xs     { font-size: 24px;  line-height: 1.3; }

p, li { font-size: 22px; line-height: 1.5; color: var(--ink-700); text-wrap: pretty; margin: 0; }
section[data-bg="orange"] p, section[data-bg="orange"] li,
section[data-bg="plum"]   p, section[data-bg="plum"]   li { color: rgba(255,255,255,.92); }
section[data-bg="dark"]   p, section[data-bg="dark"]   li { color: var(--ink-300); }

.lead   { font-size: 32px; line-height: 1.4; color: var(--ink-700); font-weight: 500; }
.kicker { font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); font-weight: 500; }

/* =========================================================
   COMMON FRAMING - page chrome
   ========================================================= */
.slide-pad { position: absolute; inset: 80px 100px; display: flex; flex-direction: column; }
.slide-pad--lg { inset: 120px 140px; }

.deck-foot {
  position: absolute;
  left: 100px; right: 100px; bottom: 48px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--ink-400);
}
.deck-foot__brand { display: flex; align-items: center; gap: 8px; }
.deck-foot__brand img { height: 18px; width: auto; opacity: .85; }
.deck-foot__brand span { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-500); letter-spacing: -0.01em; text-transform: none; }
section[data-bg="orange"] .deck-foot,
section[data-bg="plum"]   .deck-foot,
section[data-bg="dark"]   .deck-foot { color: rgba(255,255,255,.6); }
section[data-bg="orange"] .deck-foot__brand img,
section[data-bg="plum"]   .deck-foot__brand img,
section[data-bg="dark"]   .deck-foot__brand img { display: none; }
section[data-bg="orange"] .deck-foot__brand span,
section[data-bg="plum"]   .deck-foot__brand span,
section[data-bg="dark"]   .deck-foot__brand span { color: rgba(255,255,255,.92); }

/* page counter via CSS counter not needed - deck-stage handles it */

/* =========================================================
   SECTION DIVIDERS
   ========================================================= */
.section-divider { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.section-divider .section-num {
  font-family: var(--font-mono);
  font-size: 28px;
  letter-spacing: 0.3em;
  font-weight: 600;
  opacity: .85;
  margin-bottom: 32px;
}
.section-divider .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 200px;
  line-height: .95;
  letter-spacing: -.04em;
}
.section-divider .section-sub {
  font-size: 36px;
  line-height: 1.35;
  max-width: 1200px;
  margin-top: 40px;
  opacity: .92;
  font-weight: 500;
}

/* watermark peace logo */
.watermark {
  position: absolute;
  width: 900px; height: 900px;
  right: -180px; bottom: -240px;
  background: url('assets/logo-peace-orange.png') no-repeat center/contain;
  opacity: .1;
  pointer-events: none;
}
section[data-bg="orange"] .watermark { filter: brightness(0) invert(1); opacity: .12; }
section[data-bg="plum"] .watermark { filter: brightness(0) invert(1); opacity: .08; }
section[data-bg="dark"] .watermark { opacity: .06; }

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--paper);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 6px 18px rgba(46,33,22,.08);
  border: 1px solid var(--ink-200);
}
.card--soft { background: var(--brand-orange-50); border-color: var(--brand-orange-100); }
.card--ink  { background: var(--ink-900); color: var(--ink-100); border-color: var(--ink-900); }
.card--ink h1, .card--ink h2, .card--ink h3, .card--ink h4 { color: var(--paper); }
.card--ink p, .card--ink li { color: var(--ink-300); }

.card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--brand-orange-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-orange-100);
  margin-bottom: 24px;
}
.card h3 { font-size: 32px; margin-bottom: 12px; }
.card p { font-size: 20px; line-height: 1.5; }

/* Stat block */
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: .9; letter-spacing: -.03em; color: var(--brand-orange-700); }
.stat__lbl { font-size: 22px; line-height: 1.35; color: var(--ink-700); max-width: 360px; }
section[data-bg="orange"] .stat__num,
section[data-bg="plum"]   .stat__num,
section[data-bg="dark"]   .stat__num { color: var(--paper); }
section[data-bg="orange"] .stat__lbl,
section[data-bg="plum"]   .stat__lbl { color: rgba(255,255,255,.85); }
section[data-bg="dark"]   .stat__lbl { color: var(--ink-300); }

/* Tags / badges */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-700);
}
.tag--orange   { background: var(--brand-orange-100); color: var(--brand-orange-700); }
.tag--plum     { background: var(--brand-plum-100); color: var(--brand-plum-700); }
.tag--success  { background: var(--success-100); color: #1E6E3E; }
.tag--warning  { background: var(--warning-100); color: #8A5E00; }
.tag--info     { background: var(--info-100); color: #1B4F86; }
.tag--danger   { background: var(--danger-100); color: #8C2A1F; }
.tag--ink      { background: var(--ink-900); color: var(--paper); }

/* =========================================================
   PHONE FRAME (lightweight, fits within slide)
   ========================================================= */
.phone {
  width: 300px; height: 620px;
  border-radius: 40px;
  background: var(--ink-900);
  padding: 14px;
  box-shadow: 0 30px 60px rgba(46,33,22,.25), 0 8px 24px rgba(46,33,22,.18);
  position: relative;
  flex-shrink: 0;
}
.phone::after {
  content: "";
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: var(--ink-900);
  border-radius: 14px;
  z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%;
  box-sizing: border-box;
  border-radius: 36px;
  background: var(--paper);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone--lg { width: 360px; height: 740px; }
.phone--wf { width: 320px; height: 640px; }

/* utility */
.flex { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 32px; } .gap-5 { gap: 48px; } .gap-6 { gap: 64px; }
.grow { flex: 1; }
.center { align-items: center; justify-content: center; }
.between { justify-content: space-between; }
.middle { align-items: center; }
.wrap { flex-wrap: wrap; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* =========================================================
   TITLE SLIDE
   ========================================================= */
.title-slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.title-slide__left {
  background: var(--ink-50);
  padding: 120px 100px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.title-slide__right {
  background: var(--brand-orange);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.title-slide__right::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.12), transparent 55%);
}
.title-slide__logo {
  width: 560px; height: 560px;
  background: url('assets/logo-peace-orange.png') no-repeat center/contain;
  filter: brightness(0) invert(1);
  position: relative; z-index: 2;
}
.title-slide__stripes {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0, rgba(255,255,255,.08) 1px, transparent 1px, transparent 28px);
  pointer-events: none;
  z-index: 1;
}
.title-slide__url {
  position: absolute;
  bottom: 48px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.92);
  z-index: 3;
  padding: 8px 22px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.title-slide__meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-200);
}
.title-slide__meta-row { display: flex; flex-direction: column; gap: 2px; }
.title-slide__meta-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.title-slide__meta-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-900);
  margin-top: 4px;
}
.title-slide__meta-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* =========================================================
   DIAGRAM PRIMITIVES
   ========================================================= */
.dnode {
  background: var(--paper);
  border: 2px solid var(--ink-200);
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-display);
  color: var(--ink-900);
  text-align: center;
  box-shadow: 0 2px 6px rgba(46,33,22,.06);
}
.dnode--orange { background: var(--brand-orange-100); border-color: var(--brand-orange); color: var(--brand-orange-700); }
.dnode--plum   { background: var(--brand-plum-100); border-color: var(--brand-plum); color: var(--brand-plum-700); }
.dnode--ink    { background: var(--ink-900); border-color: var(--ink-900); color: var(--paper); }
.dnode--info   { background: var(--info-100); border-color: var(--info); color: #1B4F86; }
.dnode--success{ background: var(--success-100); border-color: var(--success); color: #1E6E3E; }
.dnode--warn   { background: var(--warning-100); border-color: var(--warning); color: #8A5E00; }

.dlabel { font-family: var(--font-mono); font-size: 13px; color: var(--ink-500); letter-spacing: 0.06em; }

/* =========================================================
   PROCESS / TIMELINE
   ========================================================= */
.statusbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.statusbar__step {
  background: var(--paper);
  border: 2px solid var(--ink-200);
  border-radius: 14px;
  padding: 16px 18px;
  position: relative;
  text-align: center;
}
.statusbar__step::after {
  content: "→";
  position: absolute;
  right: -18px; top: 50%; transform: translateY(-50%);
  font-size: 20px;
  color: var(--ink-300);
  z-index: 2;
}
.statusbar__step:last-child::after { display: none; }
.statusbar__step .dlabel { font-size: 11px; }
.statusbar__step .h-xs { font-size: 18px; }
.statusbar__step--active { background: var(--brand-orange); border-color: var(--brand-orange); color: var(--paper); }
.statusbar__step--active .dlabel { color: rgba(255,255,255,.8); }
.statusbar__step--done   { background: var(--success); border-color: var(--success); color: var(--paper); }
.statusbar__step--done .dlabel { color: rgba(255,255,255,.8); }

/* Phase ribbon for timeline */
.phase-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.phase-rail__cell {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.phase-rail__cell .kicker { color: var(--brand-orange-700); }
.phase-rail__cell h3 { font-size: 24px; }
.phase-rail__cell .dlabel { color: var(--ink-500); font-size: 14px; }

/* Bar */
.bar {
  height: 12px; border-radius: 6px;
  background: var(--ink-200);
  overflow: hidden;
}
.bar > span {
  display: block; height: 100%;
  background: var(--brand-orange);
  border-radius: 6px;
}

/* Code-ish */
.code {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.5;
  background: var(--ink-900);
  color: var(--ink-100);
  border-radius: 16px;
  padding: 28px 32px;
}
.code .k { color: #FFB76B; }
.code .s { color: #B8E0AB; }
.code .c { color: #948578; }
.code .v { color: #C2A6E8; }

/* Wireframe block */
.wf {
  background: var(--paper);
  border: 1.5px solid var(--ink-300);
  border-radius: 10px;
  position: relative;
}
.wf__bar { background: var(--ink-200); height: 10px; border-radius: 5px; }
.wf__sq  { background: var(--ink-100); border-radius: 6px; }

/* arrow */
.arrow-right::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
}

/* Color swatch */
.swatch { border-radius: 16px; padding: 18px; color: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.swatch .hex { font-family: var(--font-mono); font-size: 14px; opacity: .8; }
.swatch .name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }

/* =========================================================
   ERD diagram - grid layout
   ========================================================= */
.erd {
  position: relative;
  background: var(--ink-50);
  border-radius: 24px;
  padding: 36px 40px 60px;
}
.erd__row {
  display: grid;
  gap: 18px;
  align-items: stretch;
  position: relative;
}
.erd__row + .erd__row { margin-top: 28px; }
.erd__row--root { grid-template-columns: 1fr; justify-items: center; }
.erd__row--root .erd__node { max-width: 520px; width: 100%; text-align: center; }
.erd__row--mid  { grid-template-columns: 1fr 1fr 1fr; }
.erd__row--bot  { grid-template-columns: repeat(6, 1fr); }
/* Connector lines between rows */
.erd__row::before {
  content: "";
  position: absolute;
  top: -22px; left: 10%; right: 10%;
  height: 14px;
  background:
    linear-gradient(to right, transparent 0, transparent calc(50% - 1px), #C9BEB3 calc(50% - 1px), #C9BEB3 calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom, #C9BEB3 0, #C9BEB3 1px, transparent 1px, transparent 100%);
  background-size: 100% 14px, 100% 1px;
  background-repeat: no-repeat;
  background-position: center top, center bottom;
  pointer-events: none;
}
.erd__row--root::before { display: none; }
.erd__node {
  background: var(--paper);
  border: 1.5px solid var(--ink-200);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(46,33,22,.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.erd__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-900); }
.erd__cols  { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); line-height: 1.5; }
.erd__node--root { background: var(--brand-orange); border-color: var(--brand-orange-700); padding: 20px 28px; }
.erd__node--root .erd__title { color: var(--paper); font-size: 26px; }
.erd__node--root .erd__cols  { color: rgba(255,255,255,.9); font-size: 14px; }
.erd__node--listing { background: var(--brand-plum-100); border-color: var(--brand-plum); }
.erd__node--listing .erd__title { color: var(--brand-plum-700); }
.erd__node--order   { background: var(--info-100); border-color: var(--info); }
.erd__node--order .erd__title   { color: #1B4F86; }
.erd__node--alert   { background: var(--danger-100); border-color: var(--danger); }
.erd__node--alert .erd__title   { color: #8C2A1F; }
.erd__node--soft    { background: var(--success-100); border-color: var(--success); }
.erd__node--soft .erd__title    { color: #1E6E3E; }
.erd__legend {
  margin-top: 24px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-500);
  font-family: var(--font-mono);
}
.erd__legend span { display: inline-flex; align-items: center; gap: 6px; }
.erd__dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.erd__dot--root    { background: var(--brand-orange); }
.erd__dot--listing { background: var(--brand-plum); }
.erd__dot--order   { background: var(--info); }
.erd__dot--alert   { background: var(--danger); }

/* =========================================================
   Order lifecycle flow
   ========================================================= */
.flow {
  margin-top: 32px;
  position: relative;
  background: var(--paper);
  border-radius: 24px;
  padding: 36px 40px;
  border: 1px solid var(--ink-200);
}
.flow__lane {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--ink-200);
}
.flow__lane:last-child { border-bottom: 0; }
.flow__lane-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-700);
  text-align: right;
}
.flow__lane-label .dlabel { display: block; font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.flow__track {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flow__step {
  background: var(--paper);
  border: 2px solid var(--ink-200);
  border-radius: 14px;
  padding: 12px 18px;
  flex: 1;
  position: relative;
}
.flow__step strong { font-family: var(--font-display); font-size: 17px; display: block; color: var(--ink-900); }
.flow__step .dlabel { font-size: 11px; color: var(--ink-500); margin-top: 2px; }
.flow__step--paid { background: var(--success-100); border-color: var(--success); }
.flow__step--paid strong { color: #1E6E3E; }
.flow__step--dispatch { background: var(--info-100); border-color: var(--info); }
.flow__step--dispatch strong { color: #1B4F86; }
.flow__step--complete { background: var(--brand-orange-100); border-color: var(--brand-orange); }
.flow__step--complete strong { color: var(--brand-orange-700); }
.flow__step--alert { background: var(--danger-100); border-color: var(--danger); }
.flow__step--alert strong { color: #8C2A1F; }
.flow__arrow {
  color: var(--ink-300);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.flow__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  text-align: center;
  margin-top: 4px;
}

/* =========================================================
   Persona spotlight (RBAC slide)
   ========================================================= */
.persona {
  background: var(--paper);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--ink-200);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.persona__head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.persona__badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.persona__name { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--ink-900); }
.persona__role { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); margin-top: 2px; letter-spacing: .08em; }
.persona__perms { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.persona__perm {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; color: var(--ink-700);
}
.persona__perm::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300); flex-shrink: 0; }
.persona__perm--key::before { background: var(--brand-orange); }
.persona__perm--key { color: var(--ink-900); font-weight: 700; }
.persona__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-200);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}
.persona--buyer .persona__badge  { background: var(--success-100); color: var(--success); }
.persona--seller .persona__badge { background: var(--brand-orange-100); color: var(--brand-orange-700); }
.persona--driver .persona__badge { background: var(--info-100); color: var(--info); }
.persona--admin { background: var(--ink-900); border-color: var(--ink-900); }
.persona--admin .persona__badge { background: rgba(248,154,31,.2); color: var(--brand-orange); }
.persona--admin .persona__name { color: var(--paper); }
.persona--admin .persona__perm { color: var(--ink-300); }
.persona--admin .persona__perm--key { color: var(--paper); }
.persona--admin .persona__foot { color: var(--ink-400); border-color: rgba(255,255,255,.1); }

/* =========================================================
   Trust badge (slide 24)
   ========================================================= */
.trustbadge {
  position: relative;
  width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.trustbadge svg { position: absolute; inset: 0; }
.trustbadge__inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}
.trustbadge__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--brand-orange-700);
}
.trustbadge__band {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-900);
  margin-top: 4px;
}
.trustbadge__sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 2px;
  letter-spacing: .1em;
}
.trustrow {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  gap: 12px;
  align-items: center;
}
.trustrow__pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--paper);
  padding: 6px 0;
  border-radius: 999px;
  text-align: center;
}
.trustrow__bar {
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.trustrow__bar > span { display: block; height: 100%; border-radius: 5px; }
.trustrow__range {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-400);
  text-align: right;
}

/* =========================================================
   Big chart bars (slide 04)
   ========================================================= */
.bigchart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  align-items: flex-end;
  height: 140px;
}
.bigchart__bar {
  border-radius: 4px 4px 0 0;
  min-height: 12px;
}

/* =========================================================
   Agenda (slide 02)
   ========================================================= */
.agenda { position: relative; }
.agenda::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 56px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--brand-orange) 0 12px, transparent 12px 22px);
  border-radius: 2px;
}
.agenda__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.agenda__step {
  background: var(--paper);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--ink-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-top: 24px;
}
.agenda__step::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 28px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-orange);
  border: 4px solid var(--ink-50);
  z-index: 2;
}
.agenda__head { display: flex; justify-content: space-between; align-items: baseline; }
.agenda__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--brand-orange-700);
  line-height: 1;
  letter-spacing: -.03em;
}
.agenda__date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.agenda__title { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--ink-900); }
.agenda__body { font-size: 17px; color: var(--ink-700); line-height: 1.5; }
.agenda__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  margin-top: auto;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.agenda__progress {
  height: 6px;
  background: var(--ink-100);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.agenda__progress > span { display: block; height: 100%; border-radius: 3px; }

/* =========================================================
   Payment tiles (slide 26)
   ========================================================= */
.paygrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.paytile {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 18px;
  padding: 22px 26px;
  position: relative;
  border-top: 4px solid var(--ink-300);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
}
.paytile--active {
  border-top-color: var(--brand-orange);
  background: var(--brand-orange-50);
  box-shadow: 0 0 0 1px var(--brand-orange-100) inset;
}
.paytile--soon {
  border-top-color: var(--ink-300);
}
.paytile__chip {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: var(--paper);
  font-weight: 700;
}
.paytile__chip--soon {
  background: var(--ink-100);
  color: var(--ink-500);
}
.paytile__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--ink-900);
  letter-spacing: -.02em;
}
.paytile__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.paytile__note {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.45;
  margin-top: auto;
}

/* =========================================================
   Why divider (slide 03) - dramatic opening
   ========================================================= */
.why-divider {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 1;
}
.why-divider__stat {
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 24px;
}
.why-divider__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 140px;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--paper);
}
.why-divider__num span { font-size: 88px; opacity: .65; letter-spacing: -.04em; }
.why-divider__lbl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  color: rgba(255,255,255,.92);
  margin-top: 8px;
}
.why-divider__title { padding: 32px 0; }
.why-divider__title .section-num {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.why-divider__title .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 200px;
  line-height: .9;
  letter-spacing: -.045em;
  color: var(--paper);
  margin-top: 18px;
}
.why-divider__title .section-sub {
  font-size: 28px;
  line-height: 1.35;
  max-width: 1200px;
  margin-top: 22px;
  color: rgba(255,255,255,.95);
  font-weight: 500;
}
.why-divider__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 24px;
}
.why-divider__cell-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--paper);
}
.why-divider__cell-lbl {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-top: 8px;
}

/* =========================================================
   Goals scorecard (slide 09)
   ========================================================= */
.goals {
  border: 1px solid var(--ink-200);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
}
.goals__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 24px;
  padding: 14px 28px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-200);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.goals__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 24px;
  padding: 18px 28px;
  border-top: 1px solid var(--ink-100);
  align-items: center;
}
.goals__row:first-of-type { border-top: 0; }
.goals__cell { display: flex; align-items: center; gap: 16px; font-size: 17px; color: var(--ink-700); }
.goals__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--success-100);
  color: #1E6E3E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.goals__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-900);
}
.goals__sub {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 2px;
}
.goals__cell--measure {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-700);
  letter-spacing: .02em;
}
.goals__cell--evidence {
  background: var(--brand-orange-50);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
}

/* =========================================================
   Proposal facsimile (slide 11)
   ========================================================= */
.docface {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 20px rgba(46,33,22,.08);
}
.docface__tab {
  position: absolute;
  top: -10px; right: 24px;
  background: var(--brand-orange);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 6px;
}
.docface__head {
  border-bottom: 1px solid var(--ink-200);
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.docface__module {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.docface__title {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink-700);
  line-height: 1.3;
  margin-top: 6px;
}
.docface__title strong { color: var(--ink-900); font-size: 22px; }
.docface__author {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 8px;
}
.docface__body { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.docface__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -.03em;
  color: var(--brand-orange-700);
  line-height: 1;
}
.docface__sub {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.4;
}
.docface__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--ink-200);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-900);
}
.docface__score {
  background: var(--ink-900);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: auto;
}
.docface__score-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--brand-orange);
  line-height: 1;
  margin-top: 4px;
}

/* TOC */
.toc { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.toc__row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--ink-200);
}
.toc__row:last-child { border-bottom: 0; }
.toc__n {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand-orange-700);
  font-weight: 700;
}
.toc__lbl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-900);
}
.toc__page {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
}

/* Commitments */
.commit { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.commit__row {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.commit__row:first-child { border-top: 0; }
.commit__from {
  font-size: 14px;
  color: var(--ink-300);
}
.commit__arrow {
  font-family: var(--font-mono);
  color: var(--brand-orange);
  font-size: 18px;
  text-align: center;
}
.commit__to {
  font-size: 14px;
  color: var(--paper);
  font-weight: 600;
}
.commit__to code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(255,255,255,.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand-orange);
}

/* =========================================================
   References (slide 35)
   ========================================================= */
.refs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.refs__col {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.refs__heading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-orange-700);
  border-bottom: 1px solid var(--ink-200);
  padding-bottom: 10px;
}
.refs__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.refs__tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-orange-700);
  background: var(--brand-orange-50);
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
}
.refs__body { display: flex; flex-direction: column; gap: 2px; }
.refs__author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
}
.refs__title {
  font-style: italic;
  font-size: 15px;
  color: var(--ink-700);
}
.refs__note {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.4;
  margin-top: 2px;
}

/* =========================================================
   Wireframe flow (slide 14)
   ========================================================= */
.wf-flow {
  display: grid;
  grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
  gap: 14px;
  align-items: start;
  justify-items: center;
}
.wf-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.wf-step {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-orange-700);
  background: var(--brand-orange-50);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--brand-orange-100);
}
.wf-arrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--ink-300);
  margin-top: 280px;
}
.wf__chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-500);
}
.wf__chip--on { background: var(--ink-700); color: var(--paper); }
.wf__dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink-200);
  flex-shrink: 0;
}
.wf__dot--done { background: var(--ink-500); }
.wf__dot--active { background: var(--ink-900); box-shadow: 0 0 0 4px var(--ink-200); }

/* =========================================================
   Wireframe live iframes (slide 14)
   ========================================================= */
.wfframe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  height: 580px;
}
.wfframe__cell {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(46,33,22,.10);
}
.wfframe__cell iframe {
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
  pointer-events: none;
  background: var(--ink-50);
}
.wfframe__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 10px 18px;
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(46,33,22,.12);
  text-decoration: none;
}
.wfframe__lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-900);
  letter-spacing: -.01em;
}
.wfframe__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}

/* =========================================================
   Wireframe minimal showcase (slide 14)
   ========================================================= */
.wfm {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.wfm__card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(46,33,22,.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wfm__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.wfm__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-orange-50);
  color: var(--brand-orange-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wfm__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-900);
  letter-spacing: -.01em;
}
.wfm__device {
  background: var(--ink-50);
  border-radius: 16px;
  padding: 14px;
  min-height: 360px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.wfm__sketch {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wfm__bar {
  height: 16px;
  background: var(--ink-200);
  border-radius: 3px;
  width: 60%;
}
.wfm__search {
  height: 24px;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  border-radius: 999px;
}
.wfm__chips {
  display: flex;
  gap: 6px;
}
.wfm__chips span {
  height: 16px;
  flex: 1;
  background: var(--ink-100);
  border-radius: 999px;
  border: 1px solid var(--ink-200);
}
.wfm__chips span.on {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
}
.wfm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.wfm__grid > div {
  aspect-ratio: 4 / 5;
  background: var(--ink-100);
  border-radius: 6px;
  border: 1px solid var(--ink-200);
}
.wfm__img {
  aspect-ratio: 4 / 3;
  background: var(--ink-100);
  border-radius: 6px;
  border: 1px solid var(--ink-200);
}
.wfm__line {
  height: 8px;
  background: var(--ink-200);
  border-radius: 2px;
  width: 80%;
}
.wfm__line--lg { height: 14px; width: 95%; }
.wfm__line--sm { height: 6px; width: 40%; }
.wfm__price {
  height: 22px;
  width: 50%;
  background: var(--brand-orange);
  border-radius: 3px;
  margin-top: 2px;
}
.wfm__row { display: flex; gap: 6px; }
.wfm__pill {
  height: 14px;
  width: 50px;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  border-radius: 999px;
}
.wfm__cta {
  height: 28px;
  background: var(--ink-900);
  border-radius: 6px;
  margin-top: auto;
}
.wfm__panel {
  background: var(--ink-50);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wfm__rowtotal {
  height: 14px;
  background: var(--ink-300);
  border-radius: 2px;
  width: 70%;
  margin-left: auto;
}
.wfm__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}
.wfm__step {
  height: 10px;
  background: var(--ink-100);
  border-radius: 999px;
  border: 1px solid var(--ink-200);
}
.wfm__step--done {
  background: var(--ink-300);
  border-color: var(--ink-400);
}
.wfm__step--now {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
}
.wfm__caption {
  font-size: 14px;
  color: var(--ink-500);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

.wfm__foot {
  margin-top: 28px;
  padding: 14px 22px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.wfm__foot-lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-orange-700);
  font-weight: 700;
}
.wfm__foot-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  color: var(--ink-700);
}
.wfm__foot-meta {
  margin-left: auto;
  font-size: 14px;
  color: var(--ink-500);
}
.wfm__foot-meta code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--ink-900);
  margin-left: 4px;
}

/* =========================================================
   Wireframe showcase (slide 14)
   ========================================================= */
.wfshow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.wfshow__card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(46,33,22,.06);
  aspect-ratio: 16 / 9;
}
.wfshow__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.wfshow__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 10px 16px;
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(46,33,22,.15);
}
.wfshow__lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
  letter-spacing: -.01em;
}
.wfshow__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: .02em;
}

/* =========================================================
   Architecture stack (slide 15 · vertical, wires between tiers)
   ========================================================= */
.archl__trace-card {
  background: var(--ink-900);
  color: var(--paper);
  border-radius: 12px;
  padding: 14px 20px;
  max-width: 580px;
  align-self: flex-end;
}
.archl__trace-card .archl__trace-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  font-weight: 700;
}
.archl__trace-card .archl__trace-body {
  font-size: 13px;
  color: var(--paper);
  line-height: 1.7;
  margin-top: 6px;
}
.archl__trace-card .archl__trace-body code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255,255,255,.08);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--paper);
}

.archstack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.archstack__tier {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  padding: 18px 26px;
  display: grid;
  grid-template-columns: 56px 1fr 2fr;
  align-items: center;
  column-gap: 20px;
  row-gap: 8px;
  box-shadow: 0 3px 10px rgba(46,33,22,.04);
}
.archstack__pin {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-orange-50);
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  grid-row: span 2;
}
.archstack__head { display: flex; flex-direction: column; gap: 2px; }
.archstack__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-orange-700);
}
.archstack__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-900);
  letter-spacing: -.02em;
}
.archstack__chips {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  justify-self: end;
  justify-content: flex-end;
}
.archstack__chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .01em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink-50);
  color: var(--ink-700);
  border: 1px solid var(--ink-200);
}
.archstack__chip--strong {
  background: var(--ink-900);
  color: var(--paper);
  border-color: var(--ink-900);
  font-weight: 700;
}
.archstack__chip--accent {
  background: var(--brand-orange-50);
  color: var(--brand-orange-700);
  border-color: var(--brand-orange-100);
  font-weight: 600;
}
.archstack__note {
  grid-column: 2 / span 2;
  font-size: 13px;
  color: var(--ink-500);
  font-style: italic;
  margin-top: 2px;
}

.archstack__wire {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 0;
  position: relative;
}
.archstack__wire::before,
.archstack__wire::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--brand-orange) 0 6px, transparent 6px 12px);
  opacity: .45;
}
.archstack__wire-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-orange-700);
  background: var(--brand-orange-50);
  border: 1px solid var(--brand-orange-100);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.archstack__wire-arrow {
  font-size: 14px;
  color: var(--brand-orange);
  font-weight: 700;
  line-height: 1;
}

.archstack__foot {
  margin-top: 18px;
  padding: 10px 22px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-500);
}
.archstack__foot code {
  margin-left: auto;
}
.archl {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 20px;
  padding: 16px 28px;
  box-shadow: 0 6px 18px rgba(46,33,22,.06);
}
.archl__spine {
  position: absolute;
  top: 16px; bottom: 16px;
  left: 38px;
  width: 4px;
  height: auto;
}
.archl__row {
  display: grid;
  grid-template-columns: 56px 1fr 160px;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-100);
  position: relative;
}
.archl__row:last-child { border-bottom: none; }
.archl__pin {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-orange-50);
  border: 2px solid var(--brand-orange);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(248,154,31,.08);
}
.archl__pin span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-orange-700);
}
.archl__lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-orange-700);
}
.archl__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--ink-900);
  letter-spacing: -.02em;
  margin-top: 2px;
}
.archl__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.archl__chip {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink-50);
  color: var(--ink-700);
  border: 1px solid var(--ink-200);
}
.archl__chip--accent {
  background: var(--brand-orange-50);
  color: var(--brand-orange-700);
  border-color: var(--brand-orange-100);
  font-weight: 600;
}
.archl__chip--strong {
  background: var(--ink-900);
  color: var(--paper);
  border-color: var(--ink-900);
  font-weight: 700;
}
.archl__chip--brand {
  background: var(--brand-orange);
  color: var(--ink-900);
  border-color: var(--brand-orange);
  font-weight: 700;
}
.archl__note {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 8px;
  font-style: italic;
}
.archl__edge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--brand-orange-700);
  background: var(--brand-orange-50);
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--brand-orange-100);
}
.archl__edge--end {
  background: transparent;
  border: 0;
  color: var(--ink-300);
  font-size: 24px;
}
.archl__foot {
  margin-top: 24px;
  padding: 14px 24px;
  background: var(--ink-900);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-300);
  font-size: 15px;
}
.archl__foot code {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand-orange);
  background: rgba(255,255,255,.05);
  padding: 4px 12px;
  border-radius: 6px;
}

.archl__trace {
  margin-top: 20px;
  padding: 18px 26px;
  background: var(--brand-orange-50);
  border: 1px solid var(--brand-orange-100);
  border-left: 4px solid var(--brand-orange);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  column-gap: 22px;
  row-gap: 10px;
}
.archl__trace-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-orange-700);
  font-weight: 700;
  white-space: nowrap;
}
.archl__trace-body {
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.5;
}
.archl__trace-body code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--ink-900);
}
.archl__trace-link {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  margin-top: -2px;
}
.archl__trace-link code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  padding: 1px 7px;
  border-radius: 4px;
  color: var(--brand-orange-700);
  margin-left: 4px;
}

/* =========================================================
   Architecture (slide 15 · premium swimlane)
   ========================================================= */
.archx {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 16px 28px;
}
.archx__spine {
  position: absolute;
  top: 16px; bottom: 16px;
  left: 38px;
  width: 4px;
  height: auto;
}
.archx__row {
  display: grid;
  grid-template-columns: 56px 1fr 160px;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.archx__row:last-child { border-bottom: none; }
.archx__pin {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--ink-900);
  border: 2px solid var(--brand-orange);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(248,154,31,.08);
}
.archx__pin span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-orange);
}
.archx__lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.archx__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--paper);
  letter-spacing: -.02em;
  margin-top: 2px;
}
.archx__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.archx__chip {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,.1);
}
.archx__chip--accent {
  background: rgba(248,154,31,.18);
  color: var(--brand-orange);
  border-color: rgba(248,154,31,.3);
}
.archx__chip--brand {
  background: var(--brand-orange);
  color: var(--ink-900);
  border-color: var(--brand-orange);
  font-weight: 700;
}
.archx__note {
  font-size: 14px;
  color: var(--ink-400);
  margin-top: 8px;
  font-style: italic;
}
.archx__edge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--brand-orange);
  background: rgba(248,154,31,.1);
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(248,154,31,.25);
}
.archx__edge--end {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.3);
  font-size: 24px;
}
.archx__foot {
  margin-top: 24px;
  padding: 14px 24px;
  background: rgba(248,154,31,.08);
  border: 1px solid rgba(248,154,31,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-300);
  font-size: 15px;
}
.archx__foot code {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand-orange);
  background: rgba(0,0,0,.3);
  padding: 4px 12px;
  border-radius: 6px;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

/* =========================================================
   Agenda v2 (slide 02 · richer, with timeline spine)
   ========================================================= */
.agenda2 {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.agenda2__rail {
  position: absolute;
  top: 32px;
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--brand-orange) 0 12px, transparent 12px 22px);
  border-radius: 2px;
  z-index: 0;
}
.agenda2__step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.agenda2__pin {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--brand-orange);
  color: var(--brand-orange-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
  align-self: center;
  box-shadow: 0 4px 12px rgba(199,107,15,.15);
}
.agenda2__pin--now {
  background: var(--brand-orange);
  color: var(--paper);
  box-shadow: 0 0 0 8px rgba(248,154,31,.18), 0 4px 14px rgba(199,107,15,.3);
}
.agenda2__card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 18px;
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(46,33,22,.06);
}
.agenda2__card--now {
  background: var(--ink-900);
  border-color: var(--ink-900);
  box-shadow: 0 12px 32px rgba(31,26,23,.3);
}
.agenda2__pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 4px 10px;
  background: var(--ink-50);
  border-radius: 999px;
  align-self: flex-start;
  border: 1px solid var(--ink-200);
}
.agenda2__pill--now {
  background: var(--brand-orange);
  color: var(--paper);
  border-color: var(--brand-orange);
  font-weight: 700;
}
.agenda2__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink-900);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-top: 4px;
}
.agenda2__dates {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
}
.agenda2__body {
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.45;
  flex: 1;
}
.agenda2__score {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--success);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--ink-200);
  display: flex;
  align-items: center;
  gap: 8px;
}
.agenda2__card--now .agenda2__score {
  border-top-color: rgba(255,255,255,.15);
}
.agenda2__check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--success);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* =========================================================
   Hyperlink styles
   ========================================================= */
a.ghlink, a.urlink {
  color: var(--brand-orange-700);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .15s ease, border-color .15s ease;
}
a.ghlink:hover, a.urlink:hover {
  color: var(--ink-900);
  border-bottom-color: var(--ink-900);
}
section[data-bg="dark"] a.ghlink,
section[data-bg="dark"] a.urlink,
section[data-bg="orange"] a.ghlink,
section[data-bg="orange"] a.urlink,
section[data-bg="plum"] a.ghlink,
section[data-bg="plum"] a.urlink { color: var(--brand-orange); }
section[data-bg="dark"] a.ghlink:hover,
section[data-bg="dark"] a.urlink:hover,
section[data-bg="orange"] a.ghlink:hover,
section[data-bg="orange"] a.urlink:hover,
section[data-bg="plum"] a.ghlink:hover,
section[data-bg="plum"] a.urlink:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* =========================================================
   Performance metric bars (slide 28)
   ========================================================= */
.metric {
  background: var(--ink-50);
  border-radius: 14px;
  padding: 14px 18px;
}
.metric__row { display: flex; justify-content: space-between; align-items: baseline; }
.metric__lbl { font-size: 14px; color: var(--ink-500); font-family: var(--font-mono); letter-spacing: .04em; }
.metric__val { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--brand-orange-700); }
.metric__bar {
  margin-top: 10px;
  height: 8px;
  background: var(--ink-200);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.metric__bar > span {
  display: block;
  height: 100%;
  background: var(--success);
  border-radius: 4px;
}
.metric__cap {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 14px;
  background: var(--ink-500);
}
.metric__hint { font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); margin-top: 6px; }

/* =========================================================
   Escrow visualisation (slide 08)
   ========================================================= */
.escrow-vis {
  background: var(--paper);
  border-radius: 28px;
  border: 1px solid var(--ink-200);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 32px 1.5fr 32px 1fr;
  align-items: center;
  gap: 0;
  box-shadow: 0 8px 24px rgba(46,33,22,.06);
}
.escrow-vis__step {
  text-align: center;
  padding: 18px 12px;
  border-radius: 18px;
  background: var(--ink-50);
}
.escrow-vis__step--buyer { background: var(--info-100); }
.escrow-vis__step--seller { background: var(--success-100); }
.escrow-vis__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-700);
}
.escrow-vis__step--buyer .escrow-vis__icon { color: var(--info); }
.escrow-vis__step--seller .escrow-vis__icon { color: var(--success); }
.escrow-vis__lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-900);
  margin-top: 10px;
}
.escrow-vis__amt {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 22px;
  margin-top: 4px;
  color: var(--ink-700);
}
.escrow-vis__pipe {
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--brand-orange) 0 6px, transparent 6px 12px);
  border-radius: 2px;
}
.escrow-vis__vault {
  background: var(--ink-900);
  color: var(--paper);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
}
.escrow-vis__vault-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: var(--ink-900);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.escrow-vis__vault-lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-top: 12px;
  color: var(--paper);
}
.escrow-vis__vault-stat {
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 4px;
  color: var(--brand-orange);
  letter-spacing: .04em;
}

/* =========================================================
   Big-stats (slide 31)
   ========================================================= */
.big-stats {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.big-stats__hero {
  background: var(--ink-900);
  border-radius: 24px;
  padding: 40px;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.big-stats__hero::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 280px; height: 280px;
  background: url('assets/logo-peace-orange.png') no-repeat center/contain;
  opacity: .12;
}
.big-stats__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 220px;
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--brand-orange);
}
.big-stats__lbl { font-size: 22px; margin-top: 16px; line-height: 1.4; color: var(--paper); }
.big-stats__col { display: flex; flex-direction: column; gap: 18px; }
.big-stats__cell {
  background: rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255,255,255,.18);
  flex: 1;
}
.big-stats__cell-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -.025em;
}
.big-stats__cell-lbl { font-size: 16px; color: rgba(255,255,255,.85); }

/* =========================================================
   Credit card (slide 32)
   ========================================================= */
.creditcard {
  width: 540px;
  height: 320px;
  border-radius: 24px;
  background: linear-gradient(135deg, #C76B0F 0%, #F89A1F 60%, #FFD49E 100%);
  position: relative;
  padding: 32px;
  color: var(--paper);
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    0 8px 20px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.creditcard__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.3) 0%, transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(0,0,0,.15) 0%, transparent 40%);
  pointer-events: none;
}
.creditcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}
.creditcard__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.02em;
}
.creditcard__net {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  opacity: .85;
  margin-top: 2px;
}
.creditcard__chip {
  width: 56px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #E0BD7A, #A88345);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 4px rgba(0,0,0,.2);
}
.creditcard__chip-inner {
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0, transparent 28%, rgba(0,0,0,.25) 28%, rgba(0,0,0,.25) 32%, transparent 32%, transparent 50%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.25) 54%, transparent 54%, transparent 72%, rgba(0,0,0,.25) 72%, rgba(0,0,0,.25) 76%, transparent 76%),
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(0,0,0,.15));
}
.creditcard__num {
  display: flex;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  position: relative;
}
.creditcard__row {
  display: flex;
  gap: 40px;
  position: relative;
}
.creditcard__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: .8;
  text-transform: uppercase;
}
.creditcard__val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.creditcard__wave {
  position: absolute;
  top: 100px; right: 32px;
  width: 32px; height: 32px;
  stroke: var(--paper);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .85;
}

/* =========================================================
   Roadmap (slide 33)
   ========================================================= */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  position: relative;
}
.roadmap::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 4%;
  right: 4%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--brand-orange) 0 12px, transparent 12px 22px);
  border-radius: 2px;
}
.roadmap__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.roadmap__dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--brand-orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--brand-orange-700);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(199,107,15,.25);
}
.roadmap__col--later .roadmap__dot { border-color: var(--ink-300); color: var(--ink-500); }
.roadmap__card {
  background: var(--paper);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--ink-200);
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.roadmap__h { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--ink-900); }
.roadmap__sub { font-family: var(--font-mono); font-size: 14px; color: var(--brand-orange-700); letter-spacing: .08em; text-transform: uppercase; }
.roadmap__body { font-size: 18px; color: var(--ink-700); line-height: 1.55; }
.roadmap__bullets { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 12px; }
.roadmap__bullet {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; color: var(--ink-700);
}
.roadmap__bullet::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange);
  flex-shrink: 0;
}

/* =========================================================
   Driver map (slide 25)
   ========================================================= */
.dmap {
  position: relative;
  background: #E8EEE3;
  border-radius: 14px;
  aspect-ratio: 1;
  overflow: hidden;
}
.dmap__roads {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, transparent 38%, #FFF 38%, #FFF 42%, transparent 42%),
    linear-gradient(0deg, transparent 70%, #FFF 70%, #FFF 73%, transparent 73%),
    linear-gradient(0deg, transparent 18%, #FFF 18%, #FFF 21%, transparent 21%),
    linear-gradient(90deg, transparent 30%, #FFF 30%, #FFF 34%, transparent 34%),
    linear-gradient(90deg, transparent 60%, #FFF 60%, #FFF 63%, transparent 63%),
    linear-gradient(90deg, transparent 82%, #FFF 82%, #FFF 85%, transparent 85%);
}
.dmap__block {
  position: absolute;
  background: var(--paper);
  border-radius: 2px;
  opacity: .8;
}
.dmap__route {
  position: absolute; inset: 0;
  pointer-events: none;
}
.dmap__pin {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 4px solid var(--paper);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  transform: translate(-50%, -50%);
  z-index: 3;
}
.dmap__pin--pickup { background: var(--brand-plum-700); }
.dmap__pin--drop   { background: var(--brand-orange); }
.dmap__pin--driver { background: var(--info); width: 14px; height: 14px; box-shadow: 0 0 0 8px rgba(45,122,199,.25), 0 2px 4px rgba(0,0,0,.3); animation: dmap-pulse 1.6s ease-in-out infinite; }
@keyframes dmap-pulse {
  0%,100% { box-shadow: 0 0 0 8px rgba(45,122,199,.25), 0 2px 4px rgba(0,0,0,.3); }
  50%     { box-shadow: 0 0 0 14px rgba(45,122,199,.10), 0 2px 4px rgba(0,0,0,.3); }
}
.dmap__chip {
  position: absolute;
  background: var(--paper);
  border-radius: 8px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-700);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  z-index: 4;
  white-space: nowrap;
}

/* =========================================================
   TikTok reel mock (slide 22)
   ========================================================= */
.reel {
  position: relative;
  width: 360px;
  height: 720px;
  border-radius: 40px;
  background: var(--ink-900);
  padding: 14px;
  box-shadow: 0 30px 60px rgba(46,33,22,.3);
  flex-shrink: 0;
}
.reel::after {
  content: "";
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: var(--ink-900);
  border-radius: 14px;
  z-index: 10;
}
.reel__screen {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #000;
}
.reel__track {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  animation: reel-scroll 9s ease-in-out infinite;
}
.reel__slide {
  flex: 0 0 100%;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 16px 14px 88px;
  color: var(--paper);
}
.reel__slide--a { background: linear-gradient(180deg, #2D2438 0%, #C76B0F 100%); }
.reel__slide--b { background: linear-gradient(180deg, #1F4068 0%, #2F9E5A 100%); }
.reel__slide--c { background: linear-gradient(180deg, #6F2A6A 0%, #F89A1F 100%); }
.reel__overlay-top {
  position: absolute; top: 56px; left: 0; right: 0;
  display: flex; gap: 16px; justify-content: center;
  z-index: 5;
}
.reel__tab { color: rgba(255,255,255,.55); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.reel__tab--active { color: var(--paper); border-bottom: 2px solid var(--paper); padding-bottom: 3px; }
.reel__actions {
  position: absolute; right: 14px; bottom: 130px;
  display: flex; flex-direction: column; gap: 18px;
  z-index: 5;
}
.reel__action {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.reel__action--cart { background: var(--brand-orange); }
.reel__meta { position: relative; z-index: 5; }
.reel__handle { font-weight: 700; font-size: 15px; }
.reel__cap { font-size: 13px; margin-top: 4px; opacity: .92; }
.reel__cta {
  display: inline-block;
  margin-top: 10px;
  background: var(--brand-orange);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
}
@keyframes reel-scroll {
  0%, 28%   { transform: translateY(0%); }
  33%, 61%  { transform: translateY(-100%); }
  66%, 94%  { transform: translateY(-200%); }
  100%      { transform: translateY(0%); }
}

/* =========================================================
   Security shield (slide 27)
   ========================================================= */
.sec-shield {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 32px;
}
.sec-shield__hero {
  background: linear-gradient(160deg, #1F1A17, #3D342E);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 540px;
}
.sec-shield__hero::after {
  content: "";
  position: absolute;
  right: -100px; bottom: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248,154,31,.25), transparent 70%);
}
.sec-shield__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 88px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--paper);
}
.sec-shield__big em { color: var(--brand-orange); font-style: normal; }
.sec-shield__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.sec-shield__row {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 17px;
  color: rgba(255,255,255,.92);
}
.sec-shield__check {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--brand-orange);
  color: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sec-shield__col {
  background: var(--paper);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--ink-200);
}
.sec-shield__col h3 { font-size: 28px; }
.sec-shield__col .kicker { color: var(--brand-orange-700); }
.sec-shield__col ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.sec-shield__col ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 17px; color: var(--ink-700);
}
.sec-shield__col ul li::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-orange);
  margin-top: 9px;
  flex-shrink: 0;
}

/* =========================================================
   PRESENTER NOTES OVERLAY
   Light-DOM bottom drawer driven by deck-stage.js. Hidden by
   default; press N to toggle. Dark panel, readable text, sits
   above the deck without covering the slide content badly.
   ========================================================= */
#deck-presenter-notes {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  box-sizing: border-box;
  max-height: 34vh;
  display: flex;
  flex-direction: column;
  background: #14110F;
  color: #F4EEE5;
  border-top: 3px solid var(--brand-orange);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.45);
  font-family: var(--font-body), system-ui, sans-serif;
  /* Hidden by default: slid fully off-screen and non-interactive so it
     never appears in the projected deck until the presenter presses N. */
  transform: translateY(101%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
#deck-presenter-notes.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#deck-presenter-notes .dpn__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(244, 238, 229, 0.14);
  background: rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
#deck-presenter-notes .dpn__title {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
#deck-presenter-notes .dpn__counter {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 13px;
  color: #C9BEB3;
}
#deck-presenter-notes .dpn__hint {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #948578;
}
#deck-presenter-notes .dpn__body {
  padding: 16px 24px 20px;
  overflow-y: auto;
  font-size: 19px;
  line-height: 1.55;
  color: #F4EEE5;
  white-space: pre-wrap;
}

/* Keep the drawer out of any printed / PPTX-exported output. */
@media print {
  #deck-presenter-notes { display: none !important; }
}
