/* ── PDSA Design System ── */
:root {
  --navy: #2D3047;
  --navy-deep: #1a1e30;
  --teal: #00897B;
  --teal-light: #E0F2F1;
  --teal-dark: #00695C;
  --purple: #6B4F8A;
  --purple-light: #f3eef8;
  --gold-light: #FFF8E7;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --grey-200: #E9ECEF;
  --grey-400: #ADB5BD;
  --grey-600: #6C757D;
  --text: #2D3047;
  --text-light: #5A5F7A;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-md: 0 4px 16px rgba(45,48,71,0.10);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 900px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.pdsa-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #3d4168 100%);
  color: var(--white);
  padding: 40px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pdsa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,137,123,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(107,79,138,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.pdsa-hero-inner { position: relative; max-width: 680px; margin: 0 auto; }
.pdsa-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,137,123,0.12);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.pdsa-hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.pdsa-hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
}

/* ── LAYOUT ── */
.pdsa-content { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.pdsa-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 680px) { .pdsa-two-col { grid-template-columns: 1fr; } }

/* ── SECTIONS ── */
.pdsa-section { padding: 32px 0; }
.pdsa-section + .pdsa-section { border-top: 1px solid var(--grey-200); }
.pdsa-section-label {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 6px;
}
.pdsa-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.pdsa-content h3 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.pdsa-content p { margin-bottom: 8px; color: var(--text-light); font-size: 0.9rem; }
.pdsa-content p:last-child { margin-bottom: 0; }

/* ── TOOL CARD ── */
.pdsa-tool-card {
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
}
.pdsa-tool-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.pdsa-tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); }
.pdsa-tool-card.accent-purple::before { background: var(--purple); }
.pdsa-tool-card-tag {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; margin-bottom: 6px;
  background: var(--teal-light); color: var(--teal-dark);
}
.pdsa-tool-card.accent-purple .pdsa-tool-card-tag { background: var(--purple-light); color: var(--purple); }
.pdsa-tool-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.pdsa-tool-card p { font-size: 0.84rem; color: var(--text-light); margin: 0; }
.pdsa-ext-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--grey-600); opacity: 0.7;
}

/* ── CTA BUTTON ── */
.pdsa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,137,123,0.3);
}
.pdsa-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }
.pdsa-btn-secondary {
  background: transparent;
  color: var(--navy);
  box-shadow: none;
  border: 1.5px solid var(--grey-200);
}
.pdsa-btn-secondary:hover { background: var(--off-white); border-color: var(--navy); transform: none; }

/* ── CALLOUT ── */
.pdsa-callout {
  background: var(--off-white);
  border-left: 3px solid var(--teal);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.84rem; color: var(--text-light);
}
.pdsa-callout strong { color: var(--navy); }

/* ── FOOTER ── */
.pdsa-footer {
  background: var(--off-white);
  border-top: 1px solid var(--grey-200);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.78rem; color: var(--grey-600);
}
.pdsa-footer a { color: var(--teal-dark); text-decoration: none; }
.pdsa-footer a:hover { text-decoration: underline; }

/* ── PAGE HEADER (for tool pages) ── */
.pdsa-page-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #3d4168 100%);
  color: var(--white);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.pdsa-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,137,123,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.pdsa-page-header-inner { position: relative; max-width: var(--max-width); margin: 0 auto; }
.pdsa-page-header h1 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}
.pdsa-page-header p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.pdsa-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.pdsa-back-link:hover { color: var(--white); }
