/* ─── 8A PAYMENTS — SHARED STYLESHEET ─────────────────────────────────────── */

/* ── SELF-HOSTED FONTS ── */
@font-face { font-family: 'Lato'; src: url('fonts/Lato-300.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-700.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato-900.woff') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('fonts/Roboto-300.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('fonts/Roboto-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('fonts/Roboto-500.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }

/* ── VARIABLES ── */
:root {
  --bg:           #07070f;
  --bg-section:   #0d0d1a;
  --bg-card:      #12121f;
  --bg-card-alt:  #0a1628;
  --blue:         #1e8fe0;
  --blue-dark:    #0d5f99;
  --blue-dim:     #0a2a44;
  --blue-border:  #1a5580;
  --blue-light:   #5cb8f0;
  --green:        #1a7f46;
  --green-hover:  #156a3a;
  --text:         #e0e4f0;
  --text-muted:   #a8b8cc;
  --text-dim:     #4a5568;
  --border:       #1a2a3d;
  --divider:      #1e3a5f;
  --white:        #ffffff;
  --font-head:    'Lato', Arial, sans-serif;
  --font-body:    'Roboto', Arial, sans-serif;
  --max-w:        1140px;
  --radius:       6px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-light); text-decoration: none; }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section); }
.section-dark { background: var(--bg-card); }

/* ── NAVIGATION ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,7,15,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blue-border);
  padding: 0 28px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.03em;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: var(--blue-dim);
}
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--green-hover) !important; }

/* ── HERO ── */
.hero {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(30,143,224,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(30,80,160,0.10) 0%, transparent 60%);
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--divider);
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 760px;
}
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-hover); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--blue-border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--white); background: var(--blue-dim); }
.btn-blue {
  background: var(--blue-dark);
  color: var(--white);
  border: 1.5px solid var(--blue);
}
.btn-blue:hover { background: var(--blue); color: var(--white); }

/* ── SECTION LABELS ── */
.label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

/* ── HEADINGS ── */
h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}
p:last-child { margin-bottom: 0; }

/* ── STAT BAR ── */
.stat-bar {
  background: var(--bg-card-alt);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  margin: 40px 0;
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--blue-border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CARDS / GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--blue-border); }
.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--text-muted); }

/* ── TWO-COL SPLIT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.split-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.split-panel h3 { font-size: 20px; margin-bottom: 14px; }
.split-panel p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; }
.split-panel .btn { margin-top: auto; }

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 16px;
}
.compare-table th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  padding: 14px 18px;
  text-align: left;
}
.compare-table td {
  border: 1px solid var(--border);
  padding: 13px 18px;
  color: var(--text);
  vertical-align: top;
  line-height: 1.5;
}
.compare-table tr:nth-child(even) td { background: var(--bg-card); }
.compare-table tr:hover td { background: var(--bg-card-alt); }
.compare-table .col-8a { color: var(--blue-light); font-weight: 500; }

/* ── CALLOUT BOX ── */
.callout {
  background: var(--bg-card-alt);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 28px 0;
}
.callout-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-light);
  margin-bottom: 14px;
  display: block;
}
.callout ul { padding-left: 20px; }
.callout li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 8px;
  padding-left: 4px;
}

/* ── STEP LIST ── */
.steps { list-style: none; padding: 0; margin-top: 28px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--blue-dark);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.step-body h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.step-body p { font-size: 16px; color: var(--text-muted); margin: 0; }

/* ── CONSTITUTIONAL SECTION ── */
.constitution-section {
  background: var(--bg-section);
  background-image:
    linear-gradient(rgba(7,7,15,0.85), rgba(7,7,15,0.92)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e3a5f' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 80px 0;
  text-align: center;
}
.constitution-quote {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.3;
}
.constitution-attr {
  font-size: 14px;
  color: var(--blue-light);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  display: block;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 28px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-item span { color: var(--blue-light); }

/* ── FLYWHEEL ── */
.flywheel {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
}
.flywheel-step {
  flex: 1 1 180px;
  padding: 24px 20px;
  background: var(--bg-card);
  border-right: 1px solid var(--blue-border);
  position: relative;
  text-align: center;
}
.flywheel-step:last-child { border-right: none; }
.flywheel-step::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
}
.flywheel-step:last-child::after { display: none; }
.flywheel-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}
.flywheel-text { font-size: 13px; color: var(--text-muted); line-height: 1.45; }

/* ── SECTION CTA ── */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--bg-card-alt);
  border-top: 1px solid var(--divider);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 540px; margin: 0 auto 32px; color: var(--text-muted); }
.cta-section .btn { margin: 0 8px; }

/* ── FOOTER ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--blue-border);
  padding: 48px 28px 28px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { font-family: var(--font-head); font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.footer-brand .logo span { color: var(--blue); }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-col h3 { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ── PAGE HERO VARIANTS ── */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--divider);
  background-image: radial-gradient(ellipse 70% 50% at 50% -5%, rgba(30,143,224,0.12) 0%, transparent 70%);
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(30px, 4vw, 48px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 16px; max-width: 720px; }
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 620px; margin-bottom: 32px; }

/* ── FORM ── */
.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 640px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 16px;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group select option { background: var(--bg-section); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── ABOUT BIO ── */
.bio-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 28px;
}
.bio-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--blue-border);
  box-shadow: 0 0 24px rgba(30,143,224,0.2);
}
.bio-name { font-family: var(--font-head); font-size: 26px; font-weight: 900; color: var(--white); margin-bottom: 4px; }
.bio-title { font-size: 14px; color: var(--blue-light); letter-spacing: 0.06em; margin-bottom: 20px; display: block; }
.bio-text { font-size: 16px; color: var(--text-muted); line-height: 1.75; }

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb span { margin: 0 6px; }

/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius);
}
.nav-hamburger:hover { background: var(--blue-dim); }
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 11px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--white); background: var(--blue-dim); }
.nav-mobile .btn-green {
  margin-top: 8px;
  text-align: center;
  background: var(--green) !important;
  color: var(--white) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .bio-card { grid-template-columns: 1fr; }
  .bio-photo { margin: 0 auto; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .stat-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--blue-border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .trust-bar-inner { flex-direction: column; gap: 8px; }
  .trust-item { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .flywheel { flex-direction: column; }
  .flywheel-step { border-right: none; border-bottom: 1px solid var(--blue-border); }
  .flywheel-step::after { content: '↓'; right: auto; top: auto; bottom: -14px; left: 50%; transform: translateX(-50%); }
  .page-hero h1 { font-size: clamp(28px, 7vw, 42px); }
  .section { padding: 48px 0; }
  .hero { padding: 64px 0 48px; }
}

/* ── LOGO IMG ── */
.nav-logo-link { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 38px; width: auto; filter: brightness(0) invert(1); display: block; }
.footer-logo-img { height: 48px; width: auto; filter: brightness(0) invert(1); display: block; margin-bottom: 14px; }
