/* ── Priori.esq — Shared Stylesheet ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

:root {
  --navy:   #1B3A5C;
  --navy2:  #0F2540;
  --blue:   #2979FF;
  --slate:  #4A6484;
  --mist:   #EBF3FB;
  --green:  #1A6B2A;
  --lgreen: #E8F5EC;
  --amber:  #7B4000;
  --lamber: #FFFBF0;
  --red:    #9B2E2E;
  --lred:   #FDF0F0;
  --light:  #F6F8FB;
  --border: #D0DCE8;
  --body:   #2C3D50;
  --muted:  #7A8AA0;
  --white:  #FFFFFF;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy2);
  border-bottom: 2px solid var(--blue);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo img { height: 36px; filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 0.4rem 1rem !important;
  font-weight: 600 !important;
}

.nav-cta:hover { background: #1565C0 !important; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 60%, #1F4D7A 100%);
  color: #fff;
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(41,121,255,0.10);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(41,121,255,0.07);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(41,121,255,0.20);
  border: 1px solid rgba(41,121,255,0.5);
  color: #90CAF9;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 span { color: #90CAF9; }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: #1565C0; text-decoration: none; color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  text-decoration: none;
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy2); text-decoration: none; color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--mist); text-decoration: none; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

.section { padding: 4.5rem 2rem; }
.section-sm { padding: 3rem 2rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── CARDS ───────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(27,58,92,0.12);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ── AUDIENCE TABS ───────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.audience-card {
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid transparent;
}

.audience-card.navy { background: var(--navy); color: #fff; }
.audience-card.navy .aud-label { color: #90CAF9; }
.audience-card.navy h3 { color: #fff; }
.audience-card.navy p { color: rgba(255,255,255,0.75); }
.audience-card.navy ul li::before { color: #90CAF9; }

.audience-card.light { background: var(--mist); border-color: var(--border); }
.audience-card.light .aud-label { color: var(--blue); }
.audience-card.light h3 { color: var(--navy); }
.audience-card.light p { color: var(--slate); }

.audience-card.green { background: var(--lgreen); border-color: #A5D6A7; }
.audience-card.green .aud-label { color: var(--green); }
.audience-card.green h3 { color: var(--green); }
.audience-card.green p { color: #2E7D32; }

.aud-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.audience-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.audience-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.audience-card ul li::before {
  content: '→ ';
  font-weight: 600;
}

/* ── FEATURE LIST ────────────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.feature-text p {
  color: var(--slate);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-list li {
  font-size: 0.875rem;
  color: var(--body);
  display: flex;
  gap: 0.5rem;
}

.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.feature-panel {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.feature-panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── PILL TAGS ───────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin: 0.15rem;
}

.tag-blue { background: var(--mist); color: var(--navy); }
.tag-green { background: var(--lgreen); color: var(--green); }
.tag-amber { background: var(--lamber); color: var(--amber); }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 1.25rem 2rem;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-bar span { display: flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.8); }
.trust-bar strong { color: #fff; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy2) 0%, #1F4D7A 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy2);
  color: rgba(255,255,255,0.5);
  padding: 2rem;
  text-align: center;
  font-size: 0.8125rem;
}

footer a { color: rgba(255,255,255,0.6); }
footer a:hover { color: #fff; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── TABLE ───────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th {
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
}
td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--body);
}
tr:nth-child(even) td { background: var(--light); }
.check { color: var(--green); font-weight: 700; }
.dash  { color: var(--muted); }

/* ── FORM ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--navy); }
input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--body);
  background: var(--white);
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
}
textarea { resize: vertical; min-height: 120px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── ALERT BOXES ─────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin: 1rem 0;
  border-left: 4px solid;
}
.alert-blue { background: var(--mist); border-color: var(--blue); color: #1A3A6B; }
.alert-green { background: var(--lgreen); border-color: var(--green); color: #1A3A1A; }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .trust-bar { gap: 1.25rem; }
}
