
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue:    #1a56db;
    --blue-lt: #e8f0fe;
    --teal:    #0d9488;
    --teal-lt: #e0f5f3;
    --purple:  #7c3aed;
    --purp-lt: #ede9fe;
    --orange:  #ea580c;
    --org-lt:  #fff0e6;
    --green:   #16a34a;
    --grn-lt:  #dcfce7;
    --red:     #dc2626;
    --red-lt:  #fee2e2;
    --dark:    #0f172a;
    --mid:     #475569;
    --light:   #f1f5f9;
    --border:  #e2e8f0;
    --white:   #ffffff;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: var(--dark);
    padding: 40px 20px 60px;
  }

  .page {
    max-width: 1100px;
    margin: 0 auto;
  }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1a56db 100%);
    border-radius: 20px;
    padding: 52px 48px;
    color: white;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
    top: -100px; right: -80px;
  }
  .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .hero h1 span { color: #60a5fa; }
  .hero p {
    font-size: 16px;
    color: rgba(255,255,255,.75);
    max-width: 580px;
    line-height: 1.6;
  }
  .hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
  }
  .hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #60a5fa;
  }
  .hero-stat span {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  /* ── SECTION HEADER ── */
  .section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--mid);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  /* ── GRID HELPERS ── */
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
  .grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 20px; }
  .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 20px; }
  @media(max-width:780px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero { padding: 36px 28px; }
    .hero h1 { font-size: 28px; }
  }

  /* ── CARD ── */
  .card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
  }
  .card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
  }
  .card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
  .card p  { font-size: 13px; color: var(--mid); line-height: 1.55; }

  /* ── FUNNEL ── */
  .funnel-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 20px;
  }
  .funnel-wrap h3 { font-size: 15px; font-weight: 700; margin-bottom: 18px; }
  .funnel-steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
  }
  .funnel-step {
    flex: 1;
    min-width: 90px;
    position: relative;
    text-align: center;
    padding: 14px 8px 14px 18px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: white;
  }
  .funnel-step:first-child { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); padding-left: 14px; }
  .fs1 { background: #1a56db; }
  .fs2 { background: #0d9488; }
  .fs3 { background: #7c3aed; }
  .fs4 { background: #d97706; }
  .fs5 { background: #16a34a; }
  .fs6 { background: #db2777; }
  .fs7 { background: #e85d04; }
  .fs8 { background: #2563eb; }

  /* ── ROLES TABLE ── */
  .roles-grid {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .roles-grid table { width: 100%; border-collapse: collapse; }
  .roles-grid th {
    background: var(--light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--mid);
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }
  .roles-grid td {
    padding: 11px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .roles-grid tr:last-child td { border-bottom: none; }
  .roles-grid tr:hover td { background: #f8fafc; }
  .role-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }
  .rb-blue   { background: var(--blue-lt);  color: var(--blue); }
  .rb-teal   { background: var(--teal-lt);  color: var(--teal); }
  .rb-purple { background: var(--purp-lt);  color: var(--purple); }
  .rb-orange { background: var(--org-lt);   color: var(--orange); }
  .rb-green  { background: var(--grn-lt);   color: var(--green); }
  .rb-red    { background: var(--red-lt);   color: var(--red); }
  .rb-gray   { background: var(--light);    color: var(--mid); }

  /* ── INTEGRATIONS ── */
  .integrations-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-bottom: 20px;
  }
  @media(max-width:780px) { .integrations-grid { grid-template-columns: 1fr 1fr; } }
  .int-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
  }
  .int-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px;
  }
  .int-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
  .int-card p  { font-size: 12px; color: var(--mid); }

  /* ── PUBLIC FORMS ── */
  .forms-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
  }
  .form-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .form-item:last-child { border-bottom: none; padding-bottom: 0; }
  .form-dot {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
  }
  .form-item h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
  .form-item p  { font-size: 12px; color: var(--mid); }

  /* ── TECH STACK ── */
  .stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
  }

  /* ── PDF BUTTON ── */
  .pdf-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26,86,219,.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform .15s, box-shadow .15s;
    z-index: 999;
  }
  .pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(26,86,219,.5);
  }

  /* ── FOOTER ── */
  .footer {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #94a3b8;
  }
  .footer strong { color: var(--mid); }

  /* ── PRINT / PDF ── */
  @page { margin: 10mm; }
  @media print {
    body { background: white; padding: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .page { max-width: 100%; }
    .pdf-btn { display: none !important; }
    .hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .funnel-step { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .role-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .card-icon, .int-icon, .form-dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4, .integrations-grid { grid-template-columns: repeat(4,1fr); }
    .funnel-steps { overflow: visible; }
    a { text-decoration: none; color: inherit; }
    .card, .funnel-wrap, .roles-grid, .forms-list, .int-card { break-inside: avoid; }
  }

  /* ── HIGHLIGHT BOX ── */
  .highlight {
    border-left: 4px solid var(--blue);
    background: var(--blue-lt);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    font-size: 13px;
    color: #1e3a5f;
    margin-bottom: 20px;
    line-height: 1.6;
  }
