/* ============================================================
   PUGATCH CONSILIUM — Shared Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  --navy:      #1b2d4e;
  --navy-mid:  #243a5e;
  --navy-deep: #131f37;
  --slate:     #3d5478;
  --steel:     #6b7fa3;
  --mist:      #c8d2e0;
  --smoke:     #e8ecf1;
  --paper:     #f6f7f9;
  --white:     #ffffff;
  --ink:       #1a1f2e;
  --body:      #3b4557;
  --sub:       #6b7280;
  --dim:       #9ca3af;
  --gold:      #b89a5e;
  --gold-lt:   #cdb07a;
  --gold-pale: #f5f0e8;
  --green:     #2d6a4f;
  --green-bg:  #d8f3dc;
  --red:       #9b1c1c;
  --red-bg:    #fee2e2;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  --nav-height: 68px;
  --page-max: 1200px;
  --page-pad: 60px;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.serif { font-family: 'Playfair Display', serif; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.4px; }
h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.3px; }
h3 { font-size: clamp(18px, 2.2vw, 22px); letter-spacing: -0.2px; }
h4 { font-size: 17px; }

p { color: var(--body); line-height: 1.75; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow.dark { color: var(--steel); }
.eyebrow.dark::before { background: var(--steel); }

/* ─── NAVBAR ANNIVERSARY TAG ─────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-anniversary {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #c8922a;
  margin-left: 10px;
  padding: 3px 9px;
  border: 1px solid rgba(200,146,42,0.35);
  border-radius: 20px;
  background: rgba(200,146,42,0.07);
  white-space: nowrap;
  animation: slideInLeft 1.4s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}

/* ─── ANNIVERSARY TAG ────────────────────────────────────────── */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.anniversary-tag {
  display: inline-block;
  margin-bottom: 20px;
  overflow: hidden;
}
.anniversary-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(212,175,80,0.45);
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  background: rgba(212,175,80,0.08);
  animation: slideInLeft 1.4s cubic-bezier(0.22,1,0.36,1) 0.6s both;
}
.anniversary-text::before {
  content: '✦';
  font-size: 10px;
  color: #d4af50;
  animation: none;
}
.anniversary-text strong {
  color: #fff;
  font-weight: 700;
}
.anniversary-impact {
  font-weight: 700;
  background: linear-gradient(90deg, #d4af50, #f0d080, #d4af50);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear 2s infinite;
}

.rule-gold {
  width: 36px;
  height: 2px;
  background: var(--gold);
  display: block;
  margin-top: 18px;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.section { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.section-lg { padding: 110px 0; }
.divider { border: none; border-top: 1px solid var(--smoke); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); }
.bg-navy-deep { background: var(--navy-deep); }

/* ─── NAV ────────────────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--smoke);
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.nav-logo .logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.nav-logo .logo-sub {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--body);
  letter-spacing: 0.3px;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links .nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  letter-spacing: 0.6px;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--navy-mid); }

/* Nav auth state (hidden by default, shown via JS) */
.nav-auth-signed-out,
.nav-auth-signed-in { display: flex; align-items: center; gap: 16px; }
.nav-auth-signed-in { display: none; }
.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--smoke);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--slate);
  cursor: pointer;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  color: var(--navy);
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1.5px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.28);
}
.btn-outline-white:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-sm { padding: 8px 18px; font-size: 11.5px; }
.btn-lg { padding: 14px 32px; font-size: 13.5px; }
.btn-full { width: 100%; justify-content: center; }

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ─── HERO — dark (navy bg) ─────────────────────────────────── */
.hero-dark {
  background: var(--navy);
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-dark .hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-dark h1 { color: var(--white); }
.hero-dark .hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.68;
  margin: 22px 0 14px;
  max-width: 600px;
}
.hero-dark .hero-support {
  font-size: 13.5px;
  color: rgba(255,255,255,0.46);
  line-height: 1.65;
  margin-bottom: 38px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero — light (paper bg) */
.hero-light {
  background: var(--paper);
  border-bottom: 1px solid var(--smoke);
  padding: 80px 0 70px;
}
.hero-light h1 { color: var(--navy); }
.hero-light .hero-sub {
  font-size: 15.5px;
  color: var(--body);
  line-height: 1.68;
  margin: 20px 0 14px;
  max-width: 620px;
}
.hero-light .hero-support {
  font-size: 13.5px;
  color: var(--sub);
  margin-bottom: 36px;
  max-width: 560px;
}

/* ─── INTRO SPLIT ─────────────────────────────────────────────── */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 80px;
  align-items: start;
}
.intro-split h2 { line-height: 1.3; }
.intro-split p { font-size: 15px; line-height: 1.8; }

/* ─── CAPABILITY BLOCKS ─────────────────────────────────────── */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--smoke);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cap-block {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.2s;
}
.cap-block:hover { background: #fafbfd; }
.cap-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--smoke);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.cap-icon svg {
  width: 18px; height: 18px;
  stroke: var(--slate); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.cap-block h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.cap-block p { font-size: 13px; color: var(--sub); line-height: 1.7; }

/* ─── TWO-COL CONTENT ─────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ─── CLOSING CTA ─────────────────────────────────────────────── */
.closing-cta {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}
.closing-cta h2 { color: var(--white); font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 14px; }
.closing-cta p { color: rgba(255,255,255,0.6); font-size: 14.5px; margin-bottom: 32px; }

/* ─── POSITIONING STATEMENT ─────────────────────────────────── */
.positioning {
  background: var(--paper);
  border-top: 1px solid var(--smoke);
  border-bottom: 1px solid var(--smoke);
}
.positioning-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.positioning h2 { color: var(--navy); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; }
.positioning .accent-bar {
  width: 2px; height: 44px;
  background: var(--gold);
  display: block; margin-bottom: 20px;
}
.positioning p { font-size: 14.5px; line-height: 1.8; }

/* ─── PATHWAY CARDS ─────────────────────────────────────────── */
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.pathway-card {
  background: var(--white);
  padding: 32px 28px 26px;
  display: flex; flex-direction: column;
  border-radius: 12px;
  border: 1.5px solid var(--smoke);
  box-shadow: 0 2px 12px rgba(0,0,0,0.045);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.pathway-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--navy);
  transition: background 0.22s ease;
}
.pathway-card:hover {
  border-color: rgba(247,148,29,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.pathway-card:hover::before { background: var(--gold); }
.pathway-card .pcard-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}
.pathway-card .pcard-icon svg {
  width: 22px; height: 22px;
  stroke: #fff; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.pathway-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600;
  color: var(--navy); margin-bottom: 10px;
}
.pathway-card p { font-size: 13px; color: var(--sub); line-height: 1.72; flex: 1; margin-bottom: 22px; }
.pathway-card .pcard-link {
  font-size: 12px; font-weight: 700;
  color: var(--gold); display: inline-flex;
  align-items: center; gap: 6px;
  letter-spacing: 0.02em;
}
.pathway-card .pcard-link svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.18s ease;
}
.pathway-card:hover .pcard-link svg { transform: translateX(4px); }
.pcard-badge {
  display: inline-block;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); background: rgba(247,148,29,0.10);
  border: 1px solid rgba(247,148,29,0.25);
  border-radius: 20px; padding: 2px 9px;
  margin-bottom: 10px;
}

/* ─── KNOWLEDGE REPOSITORY ─────────────────────────────────── */
.repo-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.repo-filter {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--smoke);
  background: var(--white);
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s;
}
.repo-filter.active,
.repo-filter:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.repo-card {
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.repo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.repo-card-header {
  padding: 24px 24px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.repo-badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
  flex-shrink: 0;
}
.repo-badge.free { background: var(--green-bg); color: var(--green); }
.repo-badge.member { background: var(--gold-pale); color: #7a5c2a; }
.repo-badge.locked { background: var(--smoke); color: var(--sub); }

.repo-card-body { padding: 16px 24px 24px; flex: 1; }
.repo-card-body h4 {
  font-size: 15px; color: var(--navy);
  margin-bottom: 8px; line-height: 1.35;
}
.repo-card-body .repo-meta {
  font-size: 11.5px; color: var(--dim);
  margin-bottom: 10px; letter-spacing: 0.3px;
}
.repo-card-body p { font-size: 13px; color: var(--sub); line-height: 1.65; margin-bottom: 18px; }
.repo-card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--smoke);
  display: flex; align-items: center; justify-content: space-between;
}
.repo-locked-msg {
  font-size: 12px; color: var(--sub);
  display: flex; align-items: center; gap: 5px;
}
.repo-locked-msg svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
}

/* ─── MEMBER DASHBOARD ─────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.dashboard-sidebar {
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.sidebar-header {
  background: var(--navy);
  padding: 28px 24px;
}
.sidebar-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; color: white;
  margin-bottom: 14px;
}
.sidebar-name {
  font-size: 14.5px; font-weight: 600; color: white;
  margin-bottom: 4px;
}
.sidebar-email { font-size: 12px; color: rgba(255,255,255,0.55); }
.sidebar-nav { list-style: none; }
.sidebar-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  font-size: 13px; font-weight: 500; color: var(--body);
  border-bottom: 1px solid var(--smoke);
  transition: background 0.15s, color 0.15s;
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active { background: var(--paper); color: var(--navy); }
.sidebar-nav li a svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round;
}

.dashboard-main {}
.status-card {
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.status-card.active-plan { border-left: 3px solid var(--gold); }
.status-card.inactive-plan { border-left: 3px solid var(--mist); }
.status-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--sub); margin-bottom: 6px; }
.status-value { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy); }
.status-meta { font-size: 12px; color: var(--dim); margin-top: 4px; }

.content-section-title {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--sub);
  margin: 32px 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.content-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--smoke);
}

.resource-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.resource-item {
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: box-shadow 0.15s;
}
.resource-item:hover { box-shadow: var(--shadow-sm); }
.resource-item-left { display: flex; align-items: center; gap: 12px; }
.resource-item-icon {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--smoke); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.resource-item-icon svg { width: 16px; height: 16px; stroke: var(--slate); fill: none; stroke-width: 1.6; stroke-linecap: round; }
.resource-item-title { font-size: 13.5px; font-weight: 500; color: var(--navy); margin-bottom: 2px; }
.resource-item-meta { font-size: 11.5px; color: var(--dim); }

/* ─── FORMS ─────────────────────────────────────────────────── */
.form-page {
  min-height: calc(100vh - var(--nav-height));
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
  background: var(--paper);
}
.form-card {
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-md);
}
.form-card-wide { max-width: 540px; }

.form-header { margin-bottom: 32px; }
.form-header h1 { font-size: 26px; margin-bottom: 8px; }
.form-header p { font-size: 14px; color: var(--sub); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.3px;
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--smoke);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,45,78,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; }
.form-hint { font-size: 12px; color: var(--dim); margin-top: 5px; }

.form-divider {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: var(--dim);
  margin: 24px 0;
}
.form-divider::before,
.form-divider::after { content: ''; flex: 1; height: 1px; background: var(--smoke); }

.form-footer {
  text-align: center;
  font-size: 12.5px; color: var(--sub);
  margin-top: 20px;
}
.form-footer a { color: var(--navy); font-weight: 600; }

/* Alert boxes */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.alert-error { background: var(--red-bg); color: var(--red); }
.alert-success { background: var(--green-bg); color: var(--green); }
.alert-info { background: #eff6ff; color: #1e40af; }

/* Loading spinner */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── PRICING ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--smoke);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 3px 12px; border-radius: 12px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--steel);
  margin-bottom: 12px;
}
.pricing-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.pricing-currency { font-size: 18px; color: var(--navy); font-weight: 600; margin-top: 4px; }
.pricing-amount { font-family: 'Playfair Display', serif; font-size: 46px; color: var(--navy); line-height: 1; }
.pricing-period { font-size: 13px; color: var(--sub); }
.pricing-desc { font-size: 13px; color: var(--sub); margin-bottom: 28px; line-height: 1.65; }
.pricing-features { list-style: none; flex: 1; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--body);
}
.pricing-features li svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 2.5; flex-shrink: 0; }

/* ─── CONTACT ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 14px; }
.contact-info p { font-size: 14px; line-height: 1.8; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.contact-detail svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 2px; }
.contact-detail span { font-size: 13.5px; color: var(--body); line-height: 1.6; }

/* ─── WHO WE ARE ─────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card-photo {
  background: var(--paper);
  height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.team-card-photo .initials {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 24px; color: white;
}
.team-card-body { padding: 24px; }
.team-card-name { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.team-card-role { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.team-card-bio { font-size: 13px; color: var(--sub); line-height: 1.7; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  padding: 50px 0 36px;
}
.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand .logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: rgba(255,255,255,0.9); font-weight: 600;
}
.footer-brand .logo-sub {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-top: 4px;
}
.footer-tagline {
  font-size: 12.5px; color: rgba(255,255,255,0.35);
  max-width: 360px; line-height: 1.7; margin-top: 12px;
}
.footer-links h5 {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links ul a {
  font-size: 13px; color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links ul a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ─── UTILITY ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.text-sub { color: var(--sub); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --page-pad: 32px; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .pathway-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }

  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --page-pad: 20px; }
  .intro-split,
  .two-col,
  .positioning-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .caps-grid { grid-template-columns: 1fr; }
  .pathway-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .repo-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: white; padding: 16px 20px; border-bottom: 1px solid var(--smoke); box-shadow: var(--shadow-md); }
  .nav-toggle { display: flex; }
  .hero-dark, .hero-light { padding: 60px 0 50px; }
  .section { padding: 56px 0; }
  .form-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .repo-grid { grid-template-columns: 1fr; }
  .pathway-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ─── SECTOR CHIPS ───────────────────────────────────────────── */
.sector-chip {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate);
  background: var(--white);
  border: 1.5px solid var(--mist);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.sector-chip:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ─── CLOSING ACCENT ─────────────────────────────────────────── */
.closing-accent {
  width: 2px; height: 44px;
  background: var(--gold);
  display: block;
  margin-bottom: 22px;
}

/* ─── INSIGHTS / NEWS ────────────────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.insight-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.insight-card h4 { font-size: 16px; margin-bottom: 10px; line-height: 1.35; flex: 1; }
.insight-card p { font-size: 13px; color: var(--sub); line-height: 1.65; margin-bottom: 18px; }
.insight-meta { font-size: 11.5px; color: var(--dim); }

/* ─── BRAND COLORS (from logo) ──────────────────────────────── */
:root {
  --brand-orange: #F7941D;
  --brand-blue:   #5BB8E0;
}

/* Logo image in nav */
.nav-logo-img {
  height: 58px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .nav-logo-img {
    height: 38px;
  }
  .logo-strip {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px 0 !important;
    justify-items: center !important;
    align-items: center !important;
  }
  .logo-strip svg {
    height: 14px !important;
    width: auto !important;
    max-width: 90px !important;
    display: block !important;
  }
}

/* ── Hero confidential line ─────────────────────────────────────── */
.hero-confidential {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: #5a6a7a;
  letter-spacing: 0.01em;
}
.hero-confidential svg { opacity: 0.8; color: #4a7a9b; }
/* On dark-background heroes, lighten the text */
.hero-dark .hero-confidential {
  color: rgba(255,255,255,0.72);
}
.hero-dark .hero-confidential svg { color: rgba(255,255,255,0.7); }

/* ── Confidentiality badge (agent chat pages) ──────────────────── */
.confidentiality-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #5a6a7a;
  padding: 8px 20px 4px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.confidentiality-badge svg {
  flex-shrink: 0;
  color: #4a7a9b;
}

/* ── Confidentiality icon + tooltip (agent pages) ───────────────── */
.conf-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}
.conf-trigger:hover { background: rgba(255,255,255,0.22); }
.conf-trigger svg  { color: rgba(255,255,255,0.85); pointer-events: none; }

/* Dark-background variant (for hero areas) */
.conf-trigger.conf-dark {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Light-background variant (for white cards) */
.conf-trigger.conf-light {
  background: rgba(26,45,78,0.07);
  border-color: rgba(26,45,78,0.18);
}
.conf-trigger.conf-light svg { color: #1b2d4e; }

/* Tooltip bubble */
.conf-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: #1b2d4e;
  color: rgba(255,255,255,0.92);
  font-size: 12.5px;
  line-height: 1.65;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  z-index: 9999;
  text-align: left;
  pointer-events: none;
}
.conf-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1b2d4e;
}
.conf-tooltip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #fff;
}
.conf-trigger.open .conf-tooltip { display: block; }
