/* === Base === */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1d1633, #050510 55%);
  color: #f5f5ff;
  line-height: 1.5;
}

/* Layout helpers */

.page {
  min-height: 100vh;
}

.page--dark {
  background-color: #050510;
}

/* === Nav === */

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to right, rgba(5,5,16,0.9), rgba(15,10,40,0.9));
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7e57c2, #e53935, #ffb300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
}

.nav__title {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav__subtitle {
  font-size: 0.75rem;
  opacity: 0.7;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__link {
  font-size: 0.9rem;
  text-decoration: none;
  color: #e1ddff;
  opacity: 0.8;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.nav__link:hover {
  opacity: 1;
  background: rgba(255,255,255,0.05);
}

.nav__link--active {
  opacity: 1;
  font-weight: 600;
}

.nav__link--pill {
  border: 1px solid rgba(255,255,255,0.25);
}



/* HERO LAYOUT */

.hero {
  padding: 6rem 1.5rem 4rem;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #000000 100%);
  color: var(--eq-text-main);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.hero-copy {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--eq-text-muted);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--eq-text-main);
  margin-bottom: 0.75rem;
}

.hero-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--eq-text-muted);
  margin-bottom: 1.75rem;
}

/* BUTTONS */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.16s ease-out;
}

.btn-primary {
  background: linear-gradient(90deg, var(--eq-purple), var(--eq-red));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--eq-text-main);
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.85);
}

/* MICROCOPY */

.hero-microcopy {
  font-size: 0.8rem;
  color: var(--eq-text-muted);
}

/* RIGHT-HAND PANEL (OPTIONAL) */

.hero-panel {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-panel-card {
  width: 100%;
  max-width: 340px;
  padding: 1.6rem 1.4rem;
  border-radius: var(--eq-radius-lg);
  background: radial-gradient(circle at top, rgba(126, 87, 194, 0.4), rgba(15, 23, 42, 0.95));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-panel-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eq-text-muted);
  margin-bottom: 0.9rem;
}

.hero-meter-bar {
  position: relative;
  width: 100%;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.hero-meter-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--eq-green), var(--eq-purple), var(--eq-red));
  transform-origin: left center;
  transform: scaleX(0.55); /* fake 55% balance sample */
}

.hero-panel-text {
  font-size: 0.86rem;
  color: var(--eq-text-main);
  line-height: 1.5;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 4.5rem;
  }

  .hero-inner {
    text-align: left;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel-card {
    margin-top: 1.5rem;
  }
}
/* NAV UPGRADE */
.nav_link_cta {
  padding: 0.55rem 1.2rem;
  background: linear-gradient(90deg, #7e57c2, #e53935);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav_link_cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}/* SIGNUP SECTION */
.stay-updated {
  padding: 4rem 1.5rem;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.stay-updated p {
  color: #b0b4c3;
  margin-bottom: 1.5rem;
}

.stay-updated form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.stay-updated input {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: white;
  width: 260px;
}

.signup-note {
  font-size: 0.8rem;
  opacity: 0.65;
}


/* === FOOTER UPGRADE === */
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer_links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer_links a {
  color: #b0b4c3;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer_links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
/* VISION SECTION */
.vision {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.vision h2 {
  margin-bottom: 1.2rem;
}

.vision p {
  color: #b0b4c3;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
/* Glow background for Vision section */
.glow-block {
  position: relative;
  overflow: hidden;
}

.glow-block::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 120%;
  height: 200%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle at center,
    rgba(126, 87, 194, 0.25) 0%,
    rgba(15, 23, 42, 0) 60%
  );
  filter: blur(60px);
  z-index: -1;
  opacity: 0.6;
}
/* EqualMeter hero (sub page) */
.hero-sub {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.hero-sub-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 2.4rem;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top, rgba(126,87,194,0.35), rgba(15,23,42,0.95));
  border: 1px solid rgba(148,163,184,0.45);
  box-shadow: 0 20px 45px rgba(0,0,0,0.65);
}

.hero-sub-card .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: #b0b4c3;
  margin-bottom: 0.75rem;
}

.hero-sub-card h1 {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.hero-sub-card .lead {
  font-size: 0.98rem;
  color: #d1d5db;
  line-height: 1.7;
}/* EqualMeter layout */
.meter-layout {
  max-width: 960px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}@media (max-width: 800px) {
  .meter-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}


.meter-card,
.meter-side {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 1.5rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.meter-card h2,
.meter-side h3 {
  margin-bottom: 1rem;
}

/* Meter bar */
.meter-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.meter-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.meter-track {
  position: relative;
  width: 100%;
  height: 0.7rem;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(15,23,42,1), rgba(15,23,42,0.8));
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.meter-fill,
.meter-bar-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  background: linear-gradient(90deg, #43a047, #7e57c2, #e53935);
  transform: scaleX(calc(var(--meter-balance, 52) / 100));
  transition: transform 0.25s ease-out;
}

/* Subtle hover effect */
.meter-card:hover .meter-fill,
.meter-card:hover .meter-bar-fill {
  transform: scaleX(calc((var(--meter-balance, 52) / 100) + 0.03));
}

/* Meter text */
.meter-note,
.meter-footnote {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.6;
}

.meter-list {
  padding-left: 1.2rem;
}

.meter-list li {
  margin-bottom: 0.5rem;
  color: #e5e7eb;
  font-size: 0.92rem;
}

/* EqualReach page — How it works card */
.eq-reach-card {
  max-width: 720px;
  margin: 2.5rem auto 3.5rem;
  padding: 2rem 2.4rem;
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
}

.eq-reach-card h2 {
  margin-bottom: 1rem;
  text-align: left;
}

.eq-reach-intro {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.eq-reach-list {
  padding-left: 1.2rem;
  list-style: disc;
}

.eq-reach-list li {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: #e5e7eb;
  line-height: 1.6;
}.eq-reach-note {
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-top: 0.1rem;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

/* Example requests list */
.request-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.request-item {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.request-item h3 {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.request-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5f5;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  margin: 2rem auto 3rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  color: #e5e7eb;
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0.9;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.15);
  border-color: #e5e7eb;
  transform: translateY(-1px);
}
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
a,
span {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}
/* Force normal width paragraphs on desktop */
.hero-copy,
.hero-body,
.hero-subtitle,
.card p,
.eq-reach-card p,
.request-item p,
.vision p,
.hero-inner p {
    max-width: 48rem !important;
    width: 100% !important;
    display: block !important;
}/* Force Vision section text to stay horizontal */
.vision h2,
.vision p {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
}
/* === EqualMeter demo layout === */

.equalmeter-page {
  max-width: 1120px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

.equalmeter-header {
  margin-bottom: 1.75rem;
}

.equalmeter-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.4rem;
}

.equalmeter-header p {
  max-width: 38rem;
  opacity: 0.9;
}

.equalmeter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.equalmeter-card {
  padding: 1.5rem 1.75rem;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, #221844, #141224);
  border: 1px solid rgba(255,255,255,0.06);
}

.equalmeter-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.equalmeter-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.equalmeter-bar {
  margin-top: 1.1rem;
}

.equalmeter-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.equalmeter-bar-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, #43a04722, #ffb30022, #e5393522);
  overflow: hidden;
}

.equalmeter-bar-fill {
  width: 52%;
  height: 100%;
  background: linear-gradient(to right, #43a047, #ffb300, #e53935, #7e57c2);
}

.equalmeter-legend {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.equalmeter-legend ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
}

/* stack on mobile */
@media (max-width: 800px) {
  .equalmeter-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}










/* ===== Site footer ===== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1.5rem 2.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer p {
  margin: 0.25rem 0;
}

.footer_links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer_links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer_links a:hover {
  text-decoration: underline;
}

/* Center footer on small screens */
@media (max-width: 600px) {
  .footer {
    text-align: center;
  }

  .footer_links {
    justify-content: center;
  }
}
