/* ─────────────────────────────────────────────────────────────────────
   Vishwaas AI — Marketing UI Kit · shared brand tokens
   Editorial voice on top of the Navy/Purple/Teal product palette.
   Lifted and extended from decks/Partner Pitch.html so every template
   shares the same eyebrow chips, gradient, atmospheric blobs, and CTAs.
   ───────────────────────────────────────────────────────────────────── */

:root {
  /* Core palette */
  --navy:         #101D5B;
  --navy-deep:    #080F5A;
  --navy-fade:    #1c2974;
  --indigo:       #002486;
  --purple-deep:  #3238AF;
  --purple:       #6B3DC6;
  --purple-light: #7B3ECD;
  --lavender:     #C7B8FF;
  --teal:         #00EABD;
  --teal-deep:    #0F8C6F;
  --teal-tint:    #ECFFF9;

  /* Surfaces */
  --canvas:       #FAFAFC;
  --canvas-tint:  #F4F1FA;
  --canvas-deep:  #ECEAF5;
  --surface:      #FFFFFF;
  --paper:        #FFFEF9;        /* for whitepaper / print collateral */
  --ink:          #0A1240;

  /* Text */
  --text:         #2A2F4A;
  --text-muted:   #5B6079;
  --text-faint:   #8B90A8;
  --text-on-dark: rgba(255,255,255,0.92);
  --text-on-dark-muted: rgba(255,255,255,0.66);

  /* Lines */
  --border:        rgba(16,29,91,0.10);
  --border-strong: rgba(16,29,91,0.20);
  --border-dark:   rgba(255,255,255,0.18);

  /* Brand gradients */
  --grad:        linear-gradient(90deg,  var(--purple) 0%, var(--teal) 100%);
  --grad-tilt:   linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  --grad-soft:   linear-gradient(135deg, rgba(107,61,198,0.10) 0%, rgba(0,234,189,0.10) 100%); /* @kind color */
  --grad-night:  linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 60%, #0a1240 100%);

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(16,29,91,0.04), 0 8px 24px -10px rgba(16,29,91,0.10);
  --shadow-lift: 0 14px 36px -14px rgba(16,29,91,0.22);
  --shadow-cta:  0 6px 18px -4px rgba(107,61,198,0.35), 0 10px 30px -10px rgba(0,234,189,0.25);

  /* Layout */
  --rad-sm: 10px;
  --rad:    14px;
  --rad-lg: 18px;
  --rad-xl: 24px;
  --space:  24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11','ss01';
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.022em;
  font-weight: 800;
}
h1 { font-size: 64px; line-height: 1.02; }
h2 { font-size: 44px; line-height: 1.06; }
h3 { font-size: 26px; line-height: 1.15; font-weight: 700; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
p  { margin: 0; line-height: 1.55; }

.display     { font-size: 84px; line-height: 0.98; font-weight: 800; letter-spacing: -0.028em; color: var(--navy); }
.display-xl  { font-size: 112px; line-height: 0.94; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.lede        { font-size: 22px; line-height: 1.45; color: var(--text-muted); max-width: 68ch; }
.mono        { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.01em; }
.serif       { font-family: 'Source Serif Pro', 'Iowan Old Style', Georgia, serif; }

/* Editorial drop cap (for whitepaper/case study) */
.dropcap::first-letter {
  initial-letter: 3;
  -webkit-initial-letter: 3;
  font-family: 'Source Serif Pro', Georgia, serif;
  color: var(--purple);
  font-weight: 700;
  margin-right: 12px;
  margin-top: 6px;
  float: left;
  font-size: 64px;
  line-height: 0.85;
  padding-right: 8px;
}

/* ─── Eyebrows / chips ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple);
  padding: 6px 14px;
  border: 1px solid rgba(107,61,198,0.28);
  border-radius: 999px;
  background: rgba(107,61,198,0.06);
}
.eyebrow.teal  { color: var(--teal-deep); border-color: rgba(0,234,189,0.40); background: rgba(0,234,189,0.10); }
.eyebrow.solid { color: white; background: var(--purple); border: none; }
.eyebrow.ghost { color: var(--text-faint); background: transparent; border-color: var(--border); }
.eyebrow .dot  { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Tagline rule (alternative eyebrow) */
.rule-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple);
}
.rule-tag .ln { height: 1px; width: 36px; background: var(--grad); }

/* ─── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.card.tinted { background: var(--canvas-tint); border-color: rgba(107,61,198,0.16); }
.card.teal   { background: var(--teal-tint);   border-color: rgba(0,234,189,0.30); }
.card.dark   { background: var(--ink); color: var(--text-on-dark); border-color: var(--border-dark); }
.card.dark h1, .card.dark h2, .card.dark h3, .card.dark h4 { color: white; }

/* Icon tile */
.icon-tile {
  width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: white;
}
.icon-tile.lt   { background: rgba(107,61,198,0.10); color: var(--purple); }
.icon-tile.teal { background: rgba(0,234,189,0.15);  color: var(--teal-deep); }
.icon-tile svg  { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Buttons / CTAs ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px;
  background: var(--grad); color: white;
  font-size: 15px; font-weight: 600;
  border: 0; cursor: pointer;
  box-shadow: var(--shadow-cta);
  text-decoration: none;
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px;
  background: transparent; color: var(--navy);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border-strong);
  text-decoration: none;
}
.btn-dark {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px;
  background: var(--ink); color: white;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 0; text-decoration: none;
}

/* ─── Atmospheric blobs (place inside section with position:relative) ─ */
.blob-purple {
  position: absolute; top: -180px; left: -120px;
  width: 520px; height: 420px;
  background: rgba(107,61,198,0.18);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}
.blob-teal {
  position: absolute; bottom: -220px; right: -140px;
  width: 560px; height: 500px;
  background: rgba(0,234,189,0.18);
  filter: blur(130px);
  border-radius: 50%;
  pointer-events: none;
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(16,29,91,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16,29,91,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.grid-bg-dark {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* ─── Stats ────────────────────────────────────────────────────── */
.stat-num {
  font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-num.solid { background: none; color: var(--navy); -webkit-text-fill-color: var(--navy); }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; max-width: 28ch; }

/* ─── Tables ───────────────────────────────────────────────────── */
table.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
table.compare th, table.compare td {
  padding: 12px 14px; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--border);
}
table.compare thead th {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-strong);
}
table.compare th:first-child { width: 32%; color: var(--navy); }
table.compare td:not(:first-child) { text-align: center; }
table.compare tr.us td { background: rgba(0,234,189,0.06); color: var(--navy); font-weight: 600; }
table.compare tr.us td:first-child { border-left: 3px solid var(--teal); padding-left: 11px; }
.yes  { color: var(--teal-deep); font-weight: 700; }
.no   { color: var(--text-faint); }
.part { color: #B45309; }

/* ─── Print sheet / page chrome ────────────────────────────────── */
.sheet {
  width: 1240px;
  background: var(--surface);
  margin: 32px auto;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.sheet.letter { aspect-ratio: 8.5 / 11; }
.sheet.a4     { aspect-ratio: 1 / 1.4142; }

/* ─── Inline brand mark ────────────────────────────────────────── */
.brand-mark {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-mark img { height: 32px; width: auto; }
.brand-mark .product { color: var(--text-faint); font-weight: 500; font-size: 14px; }

/* ─── Tag bar (regulatory chips, etc) ──────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  background: var(--canvas-tint); color: var(--purple);
  border: 1px solid rgba(107,61,198,0.16);
}
.tag.teal { background: var(--teal-tint); color: var(--teal-deep); border-color: rgba(0,234,189,0.30); }
.tag.amber{ background: #FFF7EC; color: #B45309; border-color: #FDE6BD; }
.tag.dark { background: var(--ink); color: white; border-color: transparent; }
