
/*
===================================================================
Developer: Uchenna Innocent
For: Zuri Labs Community
Website: https://uchennainnocent.com
===================================================================
*/

:root {
  --color-royal: #0a0a2a;
  --color-royal-dark: #050516;
  --color-gold: #ffd700;
  --color-sand: #f8f7f4;
  --color-gray-dark: #1a202c;
  --color-gray-medium: #4a5568;

  --bg-gradient: radial-gradient(circle at 12% 18%, rgba(255, 215, 0, 0.12), transparent 60%), linear-gradient(135deg, var(--color-royal-dark) 0%, #0b1033 48%, #0f1a46 100%);
  --surface-primary: rgba(10, 10, 42, 0.78);
  --surface-secondary: rgba(10, 10, 42, 0.64);
  --surface-highlight: rgba(255, 215, 0, 0.12);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: var(--color-sand);
  --text-secondary: rgba(248, 247, 244, 0.74);
  --accent: var(--color-gold);
  --accent-strong: #ffe166;
  --accent-warm: rgba(255, 215, 0, 0.4);
  --danger: #f87171;
  --success: #34d399;
  --max-width: 1280px;
  --hero-layout-gap: clamp(2.4rem, 6vw, 4.5rem);
  --hero-copy-col: 0.5fr;
  --hero-focus-col: 0.5fr;
  --hero-copy-max: 38rem;
  --hero-copy-offset: 0px;
  --hero-metrics-gap: clamp(1.25rem, 2.5vw, 2rem);
  --hero-metrics-gap-mobile: clamp(1rem, 3vw, 1.4rem);
  --hero-metrics-columns: 3;
  --hero-metric-min: 220px;
  --hero-metrics-max-width: var(--max-width);
  --header-offset: clamp(4.5rem, 11vw, 5.75rem);
}

* {
  box-sizing: border-box;
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-gradient);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.is-locked,
body.drawer-open {
  overflow: hidden;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-secondary);
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.section {
  padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 4vw, 1.5rem);
  width: 100%;
}

.section-inner {
  max-width: var(--max-width);
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent-strong);
  margin-bottom: 1.5rem;
}

.text-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
}

.hero {
  padding-top: clamp(6rem, 10vw, 8rem);
  padding-bottom: clamp(4rem, 12vw, 10rem);
}

.page-home .hero--home {
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.75rem);
  align-items: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  margin-inline: auto;
  --hero-visual-padding: clamp(1.15rem, 5.5vw, 3.6rem);
  min-height: clamp(340px, 42vw, 380px);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0;
  background: linear-gradient(150deg, rgba(10, 10, 42, 0.92), rgba(21, 40, 96, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 110px -70px rgba(5, 5, 23, 0.85);
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.page-home .hero-visual--home {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-framed__shell,
.page-home .hero-home__shell {
  max-width: var(--max-width);
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero-framed__layout,
.page-home .hero-home__layout {
  position: relative;
  z-index: 2;
}
.hero-visual > .hero-framed__layout,
.hero-visual > .hero-home__layout {
  padding: var(--hero-visual-padding);
}

.hero-framed__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 6vw, 2.5rem);
  align-items: center;
  justify-items: center;
}

.page-home .hero-home__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 6vw, 2.5rem);
  align-items: center;
  justify-content: center;
}

.hero-framed__copy,
.page-home .hero-home__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.6rem);
}

.hero-framed__copy {
  max-width: 100%;
  margin-left: 0;
  text-align: center;
  align-items: center;
}

.page-home .hero-home__copy {
  flex: 0 1 auto;
  max-width: 100%;
  width: 100%;
  text-align: center;
  align-items: center;
}

.hero-framed__copy h1,
.page-home .hero-home__copy h1 {
  max-width: 32ch;
}

.hero-framed__copy .hero-subtitle,
.page-home .hero-home__copy .hero-subtitle {
  max-width: 32ch;
}

.hero-framed__cta,
.page-home .hero-home__cta {
  margin-top: clamp(1.6rem, 2.4vw, 2rem);
  justify-content: center;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.hero-framed__focus,
.page-home .hero-home__focus {
  min-height: clamp(200px, 55vw, 320px);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.hero-framed__focus {
  width: 100%;
  pointer-events: auto;
  justify-self: stretch;
}

.page-home .hero-home__focus::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .hero-home__focus {
  pointer-events: none;
  flex: 0 1 auto;
  max-width: 100%;
  width: 100%;
}

/* Page-level tuning for framed hero layout */
.page-about,
.page-partners,
.page-join {
  --hero-copy-offset: -15px;
  --hero-metrics-gap: clamp(0.45rem, 0.7vw, 0.75rem);
  --hero-metrics-gap-mobile: clamp(0.85rem, 2.8vw, 1.1rem);
  --hero-metric-min: 210px;
  --hero-metrics-max-width: 1200px;
}

.page-about {
  --hero-copy-col: 0.4fr;
  --hero-focus-col: 0.6fr;
  --hero-copy-max: 36rem;
  --hero-metric-min: 240px;
}

.page-partners {
  --hero-copy-col: 0.38fr;
  --hero-focus-col: 0.62fr;
  --hero-copy-max: 34rem;
}

.page-join {
  --hero-copy-col: 0.4fr;
  --hero-focus-col: 0.6fr;
  --hero-copy-max: 36rem;
  --hero-metrics-columns: 2;
}

.page-contact {
  --hero-copy-col: 0.52fr;
  --hero-focus-col: 0.48fr;
  --hero-copy-max: 36rem;
  --hero-copy-offset: -10px;
  --hero-metrics-columns: 2;
  --hero-metrics-max-width: 880px;
}

.page-thank-you {
  --hero-copy-col: 0.48fr;
  --hero-focus-col: 0.52fr;
  --hero-copy-max: 36rem;
  --hero-copy-offset: -10px;
  --hero-metrics-columns: 2;
  --hero-metrics-max-width: 880px;
}

.page-blog {
  --hero-copy-col: 0.48fr;
  --hero-focus-col: 0.52fr;
  --hero-copy-max: 38rem;
  --hero-metrics-gap: clamp(0.75rem, 1.4vw, 1.2rem);
  --hero-metrics-columns: 2;
}

.hero-visual--blog {
  position: relative;
  background: radial-gradient(circle at 70% 45%, rgba(255, 210, 80, 0.18), transparent 60%), linear-gradient(180deg, #060b1e 0%, #141f3f 65%, #0a1030 100%);
  overflow: hidden;
}

.hero-visual--blog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/blog-header-bg.png") center/cover no-repeat;
  opacity: 0.92;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-visual--blog::before,
.hero-visual--blog::after {
  z-index: 1;
}

.hero-visual--blog::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/africa-map.svg") center/contain no-repeat;
  opacity: 0.65;
  mix-blend-mode: lighten;
  pointer-events: none;
}

.blog-feed-header {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.blog-feed-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.4rem);
}

.blog-feed-header p {
  margin: 0;
  color: var(--text-secondary);
}

.blog-feed {
  position: relative;
  width: 100%;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.blog-feed[data-state="loaded"] .blog-feed__status {
  display: none;
}

.blog-feed__status {
  display: grid;
  gap: 0.75rem;
  place-items: center;
  padding: 2.5rem 1.5rem;
  border-radius: 18px;
  background: rgba(10, 10, 42, 0.65);
  border: 1px solid rgba(255, 215, 0, 0.16);
  box-shadow: 0 18px 55px -30px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.blog-feed__status p {
  color: var(--text-secondary);
}

.spinner {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid rgba(255, 215, 0, 0.65);
  border-top-color: transparent;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.blog-feed__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
}

@media (min-width: 960px) {
  .blog-feed__grid {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
  }
}

.blog-post-card {
  background: rgba(10, 10, 42, 0.72);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.15);
  box-shadow: 0 20px 50px -32px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -32px rgba(255, 215, 0, 0.4);
}

.blog-post-card > a {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  height: 100%;
}

.blog-post-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255, 215, 0, 0.12);
}

.blog-post-content {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
}

.blog-post-content h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.blog-post-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.blog-post-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(248, 247, 244, 0.62);
}

.blog-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-more {
  color: #facc15;
  font-weight: 600;
  font-size: 0.95rem;
}

.blog-post-card:hover .read-more {
  color: var(--accent-strong);
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.hero-video-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(5, 9, 32, 0.25) 0%, rgba(5, 9, 32, 0.65) 55%, rgba(5, 9, 32, 0.85) 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) brightness(0.65);
  transform: scale(1.02);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(250, 204, 21, 0.25), transparent 55%), radial-gradient(circle at 20% 70%, rgba(29, 78, 216, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-visual > *:not(.hero-video-layer) {
  position: relative;
}

.hero-visual > *:not(.hero-video-layer):not(.hero-visual__background) {
  z-index: 2;
}

.hero-visual__background {
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.7;
  z-index: 0;
}

.hero-visual::before {
  width: 380px;
  height: 380px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.55), transparent 60%);
}

.hero-visual::after {
  width: 320px;
  height: 320px;
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45), transparent 65%);
}

.hero-visual__background {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-gradient {
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.32;
  mix-blend-mode: screen;
  animation: heroGradientDrift 24s ease-in-out infinite;
}

.hero-gradient--one {
  background: conic-gradient(from 45deg, rgba(59, 130, 246, 0.25), rgba(14, 165, 233, 0.35), rgba(236, 72, 153, 0.25), rgba(59, 130, 246, 0.25));
}

.hero-gradient--two {
  background: radial-gradient(circle at 60% 40%, rgba(14, 165, 233, 0.38), rgba(236, 72, 153, 0.4), rgba(249, 115, 22, 0.25), transparent 70%);
  animation-delay: -12s;
}

.hero-core {
  position: absolute;
  top: 50%;
  left: 52%;
  width: clamp(140px, 30vw, 220px);
  height: clamp(140px, 30vw, 220px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(96, 165, 250, 0.85), rgba(59, 130, 246, 0.8) 45%, rgba(15, 118, 110, 0.7) 80%, rgba(12, 74, 110, 0.2) 95%);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.45), 0 0 120px rgba(244, 114, 182, 0.35);
  transform: translate3d(-50%, -50%, 0);
  animation: heroCorePulse 6s ease-in-out infinite alternate;
}

.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.2);
  mix-blend-mode: screen;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%);
  animation: heroOrbit 28s linear infinite;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(96, 165, 250, 0.28);
  filter: blur(12px);
  opacity: 0.65;
}

.hero-orbit--outer {
  width: clamp(340px, 65vw, 520px);
  height: clamp(340px, 65vw, 520px);
}

.hero-orbit--inner {
  width: clamp(220px, 42vw, 360px);
  height: clamp(220px, 42vw, 360px);
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.9), rgba(244, 114, 182, 0.1));
  box-shadow: 0 0 22px rgba(244, 114, 182, 0.9);
  animation: heroNodeFloat 10s ease-in-out infinite alternate;
}

.hero-node--one {
  top: 18%;
  left: 24%;
  animation-delay: -2s;
}

.hero-node--two {
  top: 76%;
  left: 32%;
  animation-delay: -4s;
}

.hero-node--three {
  top: 30%;
  right: 18%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.9), rgba(59, 130, 246, 0.1));
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.85);
  animation-delay: -6s;
}

.hero-node--pulse {
  top: 66%;
  right: 26%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.9), rgba(250, 204, 21, 0.05));
  box-shadow: 0 0 26px rgba(250, 204, 21, 0.75);
  animation: heroPulse 4.5s ease-in-out infinite;
}

.hero-constellation {
  position: absolute;
  inset: -10%;
  transform: rotateX(40deg);
  transform-origin: center;
  opacity: 0.55;
}

.hero-constellation__beam {
  position: absolute;
  display: block;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0), rgba(148, 163, 184, 0.65), rgba(226, 232, 240, 0));
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.35);
  animation: heroBeamPulse 8s ease-in-out infinite;
}

.hero-constellation__beam--one {
  top: 32%;
  left: 10%;
}

.hero-constellation__beam--two {
  top: 58%;
  left: 28%;
  transform: rotate(18deg);
  animation-delay: -3s;
}

.hero-constellation__beam--three {
  bottom: 18%;
  right: 14%;
  transform: rotate(-22deg);
  animation-delay: -5s;
}

.hero-map {
  position: absolute;
  top: 52%;
  left: 54%;
  width: clamp(220px, 38vw, 340px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-6deg);
  pointer-events: none;
  z-index: 2;
}

.hero-map__glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle at 42% 44%, rgba(44, 123, 255, 0.35), rgba(10, 10, 42, 0.7) 58%, transparent 80%);
  filter: blur(24px);
  opacity: 0.8;
}

.hero-map__halo {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.22) 0%, rgba(12, 20, 58, 0.35) 48%, transparent 75%);
  filter: blur(8px);
  opacity: 0.65;
  animation: heroMapHalo 14s ease-in-out infinite;
}

.hero-map__africa {
  position: absolute;
  inset: 20% 32% 22% 16%;
  background: linear-gradient(155deg, rgba(37, 76, 170, 0.92), rgba(21, 40, 104, 0.82) 58%, rgba(255, 215, 0, 0.45));
  clip-path: polygon(24% 6%, 46% 2%, 68% 8%, 84% 28%, 76% 40%, 88% 58%, 72% 80%, 64% 96%, 46% 86%, 36% 94%, 26% 76%, 30% 62%, 18% 50%, 10% 34%, 16% 18%);
  box-shadow: 0 18px 40px rgba(8, 21, 66, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.95;
}

.hero-map__nexus {
  position: absolute;
  top: 58%;
  left: 64%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 1), rgba(255, 215, 0, 0.05));
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.85), 0 0 48px rgba(255, 196, 0, 0.45);
  transform: translate(-50%, -50%);
}

.hero-map__beam {
  position: absolute;
  top: 58%;
  left: 65%;
  width: clamp(150px, 40vw, 320px);
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0) 0%, rgba(255, 215, 0, 0.18) 20%, rgba(255, 215, 0, 0.65) 60%, rgba(255, 215, 0, 0.95) 100%);
  transform-origin: 0% 50%;
  opacity: 0.85;
  mix-blend-mode: screen;
  animation: heroMapBeam 6s ease-in-out infinite;
}

.hero-map__beam::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.9), rgba(255, 215, 0, 0));
  transform: translateY(-50%);
  filter: blur(1px);
}

.hero-map__beam--north {
  transform: rotate(-68deg);
  animation-delay: -1.5s;
}

.hero-map__beam--west {
  transform: rotate(178deg);
  animation-delay: -0.5s;
}

.hero-map__beam--east {
  transform: rotate(-12deg);
  animation-delay: -3.1s;
}

.hero-map__beam--south {
  transform: rotate(44deg);
  animation-delay: -2.3s;
}

.hero-map__pulse {
  position: absolute;
  top: 58%;
  left: 64%;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.75);
  transform: translate(-50%, -50%);
  animation: heroMapPulse 5.5s ease-out infinite;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.45);
}

.hero-map__pulse--inner {
  width: 54px;
  height: 54px;
}

.hero-map__pulse--outer {
  width: 88px;
  height: 88px;
  animation-delay: -2.4s;
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 0 35px rgba(96, 165, 250, 0.35);
}

.hero-map__particle {
  position: absolute;
  top: 58%;
  left: 65%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.9), rgba(255, 215, 0, 0));
  transform: translate(-50%, -50%) scale(0.6);
  animation: heroMapParticle 6.5s linear infinite;
  opacity: 0;
}

.hero-map__particle--one {
  --particle-tx: -180px;
  --particle-ty: -60px;
  animation-delay: -1.5s;
}

.hero-map__particle--two {
  --particle-tx: 220px;
  --particle-ty: -140px;
  animation-delay: -3.1s;
}

.hero-map__particle--three {
  --particle-tx: 140px;
  --particle-ty: 110px;
  animation-delay: -4.3s;
}

.hero-metrics-row {
  margin-top: clamp(1.75rem, 5vw, 3rem);
  position: relative;
}

.hero-metrics-panel {
  position: relative;
  width: 100%;
  padding: clamp(1.6rem, 5vw, 2.6rem);
  border-radius: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(150deg, rgba(10, 10, 42, 0.92), rgba(19, 34, 84, 0.78));
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  padding-inline: clamp(1.4rem, 6vw, 2.6rem);
}

.page-about .hero-metrics-panel,
.page-partners .hero-metrics-panel {
  padding-inline: clamp(3.2rem, 6.5vw, 4.5rem);
}

.hero-metrics-panel::before,
.hero-metrics-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

.hero-metrics-panel::before {
  width: clamp(260px, 36vw, 340px);
  height: clamp(260px, 36vw, 340px);
  top: clamp(-120px, -6vw, -80px);
  left: clamp(-90px, -5vw, -40px);
  background: radial-gradient(circle, rgba(46, 94, 194, 0.4), transparent 65%);
}

.hero-metrics-panel::after {
  width: clamp(300px, 42vw, 420px);
  height: clamp(300px, 42vw, 420px);
  bottom: clamp(-160px, -8vw, -60px);
  right: clamp(-140px, -7vw, -40px);
  background: radial-gradient(circle, rgba(255, 215, 0, 0.28), transparent 70%);
}

.hero-metrics {
  display: grid;
  gap: var(--hero-metrics-gap-mobile);
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, var(--hero-metrics-max-width, var(--max-width)));
}

.hero-metrics > * {
  margin: 0;
  height: 100%;
}

.hero-visual .hero-metrics {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.2rem, 1.8vw, 1.8rem);
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  justify-items: stretch;
}

.hero-visual .metric-card {
  padding: clamp(1.75rem, 2.4vw, 2.2rem);
  display: grid;
  gap: 0.8rem;
  height: 100%;
}

@keyframes heroGradientDrift {
  0% {
    transform: translate3d(-6%, -4%, 0) scale(1);
  }
  50% {
    transform: translate3d(6%, 5%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-6%, -4%, 0) scale(1);
  }
}

@keyframes heroCorePulse {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.95);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(-50%, -50%, 0) scale(1.05);
    opacity: 1;
  }
}

@keyframes heroOrbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes heroNodeFloat {
  0% {
    transform: translate3d(-50%, -50%, 0);
  }
  100% {
    transform: translate3d(-50%, -55%, 45px);
  }
}

@keyframes heroPulse {
  0%, 100% {
    transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(-50%, -60%, 30px) scale(1.45);
    opacity: 1;
  }
}

@keyframes heroBeamPulse {
  0%, 100% {
    opacity: 0.45;
    filter: drop-shadow(0 0 12px rgba(148, 163, 184, 0.35));
  }
  50% {
    opacity: 0.85;
    filter: drop-shadow(0 0 28px rgba(14, 165, 233, 0.45));
  }
}

@keyframes heroMapHalo {
  0% {
    transform: scale(0.95) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05) rotate(6deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.95) rotate(0deg);
    opacity: 0.5;
  }
}

@keyframes heroMapBeam {
  0%, 100% {
    opacity: 0.35;
    filter: blur(0.5px);
  }
  50% {
    opacity: 0.85;
    filter: blur(0);
  }
}

@keyframes heroMapPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.55);
    opacity: 0.55;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.45);
    opacity: 0;
  }
}

@keyframes heroMapParticle {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  70% {
    opacity: 0.65;
  }
  100% {
    transform: translate(calc(-50% + var(--particle-tx, 0px)), calc(-50% + var(--particle-ty, 0px))) scale(0.95);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gradient,
  .hero-core,
  .hero-orbit,
  .hero-node,
  .hero-node--pulse,
  .hero-constellation__beam,
  .hero-map__beam,
  .hero-map__pulse,
  .hero-map__particle,
  .hero-map__halo {
    animation: none ;
    transition-duration: 0s 
;
  }

  .hero-visual__background {
    transition-duration: 0s 
;
  }
}


.metric-card {
  padding: 1.5rem;
  background: rgba(10, 10, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 40px 90px -60px rgba(5, 5, 23, 0.85);
  display: grid;
  gap: 0.4rem;
}

.metric-card strong {
  font-size: 1.75rem;
  color: var(--text-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: var(--surface-highlight);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.page-about .btn-row,
.page-partners .btn-row,
.page-contact .btn-row,
.page-thank-you .btn-row {
  justify-content: flex-start;
  gap: clamp(0.85rem, 1.4vw, 1.2rem);
}

.hero-framed__cta {
  display: flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 196, 0, 0.75));
  color: var(--color-royal);
  box-shadow: 0 20px 45px -22px rgba(255, 215, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 45px -20px rgba(255, 215, 0, 0.85);
}

.btn-secondary {
  background: rgba(10, 10, 42, 0.35);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-royal {
  background: linear-gradient(135deg, rgba(44, 96, 210, 0.92), rgba(22, 52, 160, 0.88));
  color: var(--text-primary);
  border: 1px solid rgba(120, 160, 255, 0.35);
  box-shadow: 0 20px 45px -22px rgba(44, 96, 210, 0.65);
}

.btn-royal:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 45px -20px rgba(44, 96, 210, 0.8);
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.glass-card {
  background: var(--surface-primary);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1rem;
  box-shadow: 0 40px 120px -80px rgba(15, 23, 42, 0.9);
}

.glass-card h3 {
  font-size: 1.25rem;
}

#your-submission {
  padding-top: 0;
}

.hero-personalized-panel {
  display: none;
  justify-content: flex-start;
  margin-top: clamp(1.5rem, 8vw, 2.5rem);
}

.hero-personalized-panel:not([hidden]) {
  display: block;
}

.personalized-card {
  gap: 1.25rem;
  width: 100%;
}

.personalized-card__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.personalized-card__item {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.personalized-card__item dt {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.65);
}

.personalized-card__item dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.4;
  white-space: pre-line;
  word-break: break-word;
}

.personalized-card__note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.7);
}


.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface-highlight);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
}

.split-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.highlight-panel {
  background: linear-gradient(160deg, rgba(148, 163, 184, 0.08), rgba(56, 189, 248, 0.12));
  border-radius: 1.75rem;
  padding: clamp(2rem, 3vw, 2.75rem);
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: grid;
  gap: 1.4rem;
}

.highlight-panel h3 {
  font-size: 1.35rem;
}

.highlight-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.highlight-panel li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--text-secondary);
}

.highlight-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.table-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.5rem;
  overflow: hidden;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-secondary);
}

.table-card th,
.table-card td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: left;
}

.table-card th {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table-card tr:last-child td {
  border-bottom: none;
}

.testimonial {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--surface-secondary);
  border-radius: 1.5rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.footer {
  position: relative;
  background: linear-gradient(200deg, rgba(9, 14, 40, 0.94), rgba(6, 10, 32, 0.96));
  border-top: 1px solid rgba(255, 215, 0, 0.12);
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 6vw, 2rem);
  overflow: hidden;
  isolation: isolate;
}

.footer::before {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background: radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.12), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.1), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.footer-inner {
  max-width: var(--max-width);
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-cols {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.6rem);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: start;
}

.footer-column,
.footer-social-column,
.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-column h4,
.footer-social-column h4,
.footer-subscribe h4 {
  margin: 0;
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-column a,
.footer-social-column a,
.footer-subscribe a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-column a:hover,
.footer-social-column a:hover,
.footer-subscribe a:hover {
  color: var(--accent-strong);
}

.footer-subscribe p {
  margin: 0;
}

.footer-subscribe form {
  width: 100%;
  max-width: 320px;
  display: grid;
  gap: 0.85rem;
}

.footer-subscribe form button {
  width: 100%;
  justify-content: center;
}

.footer-social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-social-links a {
  color: #facc15;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.3s ease;
}

.footer-social-links a:hover {
  color: var(--accent-strong);
}

.footer-social-links svg {
  width: 18px;
  height: 18px;
}

.footer-social-links svg path {
  fill: currentColor;
}

.footer-inner > small {
  text-align: center;
  display: block;
  color: rgba(226, 232, 240, 0.7);
}

main {
  padding-top: var(--header-offset);
}

:where(main [id]) {
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

.mobile-social {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-social span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.mobile-social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.mobile-drawer .mobile-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #facc15;
}

.mobile-social-links svg {
  width: 24px;
  height: 24px;
}

.mobile-social-links svg path {
  fill: currentColor;
}

@media (max-width: 768px) {
  .footer-cols {
    text-align: center;
  }

  .footer-column,
  .footer-social-column,
  .footer-subscribe {
    align-items: center;
  }

  .footer-subscribe form {
    margin: 0 auto;
  }
}

@media (min-width: 960px) {
  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .footer-subscribe form button {
    width: auto;
    justify-self: flex-start;
  }
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 120;
  color: var(--text-primary);
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  isolation: isolate;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0));
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(255, 215, 0, 0.06) 0, rgba(255, 215, 0, 0.06) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.header.is-scrolled {
  background: rgba(10, 10, 42, 0.82);
  border-bottom: 1px solid rgba(255, 215, 0, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px -30px rgba(3, 3, 20, 0.85);
}

.header.is-scrolled::before {
  opacity: 1;
}

.header.is-scrolled::after {
  opacity: 1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(0.85rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  position: relative;
  width: 100%;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(255, 215, 0, 0.92), rgba(255, 166, 0, 0.75));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-royal);
  box-shadow: 0 12px 35px -16px rgba(255, 215, 0, 0.85);
}

.nav-links {
  display: none;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.85), rgba(255, 215, 0, 0.45));
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
  display: none;
  gap: clamp(0.6rem, 1.5vw, 0.9rem);
  align-items: center;
  flex: 0 0 auto;
}

.mobile-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 42, 0.55);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 42, 0.94);
  border-bottom: 1px solid rgba(255, 215, 0, 0.14);
  backdrop-filter: blur(18px);
  padding: 1.25rem 1.5rem 1.5rem;
}

.mobile-drawer.open {
  display: grid;
  gap: 1rem;
}

.mobile-drawer > a {
  border-radius: 0.85rem;
  font-weight: 500;
}

.mobile-drawer > a:not(.btn) {
  padding: 0.75rem 0.5rem;
  background: rgba(10, 10, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}


.mobile-drawer > a.btn-primary,
.mobile-drawer > a.btn-royal {
  padding: 0.85rem 1.2rem;
}

.mobile-drawer > a.btn-primary {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 196, 0, 0.75));
  color: var(--color-royal);
  box-shadow: 0 20px 45px -22px rgba(255, 215, 0, 0.7);
  border: none;
}

.mobile-drawer > a.btn-royal {
  background: linear-gradient(135deg, rgba(44, 96, 210, 0.92), rgba(22, 52, 160, 0.88));
  color: var(--text-primary);
  border: 1px solid rgba(120, 160, 255, 0.35);
  box-shadow: 0 20px 45px -22px rgba(44, 96, 210, 0.65);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent);
  font-size: 0.8rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(18px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 6vw, 1.5rem);
  z-index: 100;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-backdrop.active {
  display: flex;
}

@media (max-height: 820px) {
  .modal-backdrop {
    align-items: flex-start;
    padding-block: clamp(1.25rem, 6vh, 2rem);
  }

  .modal-shell {
    max-height: calc(100vh - clamp(1.25rem, 6vh, 2.5rem));
  }
}

.modal-shell {
  width: 100%;
  background: rgba(15, 23, 42, 0.92);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 80px 160px -60px rgba(2, 6, 23, 0.85);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - clamp(1.5rem, 12vw, 3rem));
  overflow-y: auto;
  margin: 0 auto;
}

.modal-shell > * {
  width: 100%;
}

.modal-pane {
  padding: clamp(1.5rem, 6vw, 2rem);
  display: grid;
  gap: clamp(1rem, 4vw, 1.25rem);
  align-content: flex-start;
}

.modal-pane.highlight {
  position: relative;
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.18), rgba(14, 165, 233, 0.2));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: clamp(3.25rem, 12vw, 4rem);
}

.close-btn {
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-pane.highlight .close-btn {
  position: absolute;
  top: clamp(1rem, 5vw, 1.25rem);
  right: clamp(1rem, 5vw, 1.25rem);
}

.footer-cols form .form-grid button,
.modal-pane .form-grid button {
  width: 100%;
}

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

.form-feedback {
  font-size: 0.9rem;
  line-height: 1.4;
  min-height: 1.4em;
  color: #f87171;
}

label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: grid;
  gap: 0.5rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-primary);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(56, 189, 248, 0.45);
  border-color: transparent;
}

textarea {
  min-height: clamp(110px, 24vh, 140px);
  resize: vertical;
}

.form-grid .checkbox-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.form-grid .checkbox-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
}

.form-grid .checkbox-field span {
  display: block;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 960px) {
  .navbar {
    padding: 0.75rem clamp(1rem, 5vw, 1.25rem);
  }

  .page-about,
  .page-partners,
  .page-join {
    --hero-metrics-columns: 1;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .hero {
    padding-top: clamp(4.75rem, 12vw, 6rem);
    padding-bottom: clamp(3.5rem, 12vw, 5.5rem);
  }

  .hero-visual .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 4vw, 1.6rem);
  }

  .hero-framed__layout,
  .page-home .hero-home__layout {
    gap: clamp(1.8rem, 6vw, 2.6rem);
  }

  .hero-metrics-panel {
    padding: clamp(1.8rem, 6vw, 2.6rem);
  }

  .hero-metrics-row {
    margin-top: clamp(1.35rem, 6vw, 2.4rem);
  }
}

@media (max-width: 640px) {
  .page-about,
  .page-partners,
  .page-join {
    --hero-copy-offset: 0;
  }

  .page-about .hero,
  .page-partners .hero,
  .page-join .hero {
    padding-top: clamp(2.8rem, 12vw, 3.4rem);
    padding-bottom: clamp(2.1rem, 9vw, 3rem);
  }

  h1 {
    font-size: clamp(2rem, 7vw, 2.3rem);
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 4.4vw, 1.08rem);
  }

  .text-lead {
    font-size: clamp(1.02rem, 5vw, 1.16rem);
  }

  .section {
    padding: clamp(2rem, 9vw, 2.6rem) clamp(0.85rem, 5.5vw, 1.15rem);
  }

  .hero {
    padding-top: clamp(3.75rem, 14vw, 4.8rem);
    padding-bottom: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual > .hero-framed__layout,
  .hero-visual > .hero-home__layout {
    padding: clamp(0.95rem, 4.5vw, 1.25rem);
  }

  .hero-framed__focus,
  .page-home .hero-home__focus {
    min-height: 0;
    gap: clamp(0.85rem, 5vw, 1.15rem);
  }

  .hero-framed__cta,
  .page-home .hero-home__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: clamp(1rem, 5vw, 1.45rem);
  }

  .hero-framed__cta .btn,
  .page-home .hero-home__cta .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .hero-framed__copy,
  .page-home .hero-home__copy {
    text-align: left;
    align-items: flex-start;
    gap: clamp(1rem, 5vw, 1.4rem);
  }

  .page-about .hero-framed__layout,
  .page-partners .hero-framed__layout,
  .page-join .hero-framed__layout {
    gap: clamp(1.35rem, 6vw, 1.8rem);
  }

  .page-about .hero-framed__cta,
  .page-partners .hero-framed__cta,
  .page-join .hero-framed__cta {
    margin-top: clamp(0.75rem, 5vw, 1.2rem);
  }

  .hero-framed__copy h1,
  .page-home .hero-home__copy h1,
  .hero-framed__copy .hero-subtitle,
  .page-home .hero-home__copy .hero-subtitle {
    text-align: left;
  }

  .hero-metrics {
    gap: clamp(0.8rem, 5vw, 1.1rem);
  }

  .metric-card {
    padding: clamp(1.05rem, 5vw, 1.5rem);
    gap: clamp(0.45rem, 4vw, 0.6rem);
  }

  .metric-card strong {
    font-size: 1.55rem;
  }

  .badge {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    padding: 0.3rem 0.65rem;
  }

  .section-eyebrow {
    margin-bottom: 1.1rem;
  }

  .glass-card {
    padding: clamp(1.35rem, 6vw, 1.75rem);
  }

  .highlight-panel {
    padding: clamp(1.4rem, 6vw, 1.85rem);
    gap: clamp(1rem, 6vw, 1.4rem);
  }

  .navbar {
    gap: 0.65rem;
    padding: 0.6rem clamp(1rem, 5vw, 1.2rem);
  }

  .brand {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.85rem;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-drawer {
    padding: 1.1rem clamp(1rem, 6vw, 1.4rem) 1.35rem;
  }

  .mobile-drawer > a:not(.btn) {
    padding: 0.65rem 0.75rem;
  }

  .mobile-drawer .btn {
    width: 100%;
  }

  .hero-metrics-panel {
    padding: clamp(1.3rem, 6vw, 2rem);
    padding-inline: clamp(1rem, 6.5vw, 1.5rem);
    border-radius: 1.2rem;
  }

  .partner-grid {
    gap: clamp(1.4rem, 6vw, 1.9rem);
  }

  .partner-card {
    padding: clamp(1.35rem, 6vw, 1.85rem);
  }

  .partner-card__logo {
    height: 72px;
  }

  .partner-card__logo img {
    max-height: 60px;
  }

  .timeline {
    gap: clamp(1.1rem, 6vw, 1.6rem);
  }

  .timeline-item {
    padding: clamp(1.2rem, 6vw, 1.6rem);
  }

  .testimonial {
    padding: clamp(1.4rem, 6vw, 1.8rem);
  }

  .contact-grid {
    gap: clamp(1.35rem, 6vw, 1.9rem);
  }

  .contact-card {
    padding: clamp(1.2rem, 6vw, 1.6rem);
  }

  .faq-grid {
    gap: clamp(1rem, 6vw, 1.6rem);
  }

  .faq-item {
    padding: clamp(1.2rem, 6vw, 1.6rem);
  }

  .blog-feed-header {
    margin-bottom: 1.25rem;
  }

  .blog-feed__grid {
    gap: clamp(1.2rem, 6vw, 1.6rem);
    grid-template-columns: minmax(0, 1fr);
  }

  .footer {
    padding: clamp(2.3rem, 10vw, 2.8rem) clamp(1.1rem, 6vw, 1.6rem);
  }

  .footer-inner {
    gap: clamp(1.7rem, 6vw, 2.3rem);
  }

  .footer-cols {
    gap: clamp(1.35rem, 6vw, 1.75rem);
  }

  .footer-cols form {
    width: 100%;
  }

  .footer-cols form .form-grid {
    gap: 0.85rem;
  }

  .footer-cols form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .navbar {
    padding: 0.55rem clamp(0.9rem, 6vw, 1.1rem);
    gap: 0.55rem;
  }

  .brand {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    gap: 0.5rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: clamp(3.5rem, 16vw, 4.4rem);
    padding-bottom: clamp(2.6rem, 16vw, 3.6rem);
  }

  .hero-grid,
  .page-home .hero-home__layout {
    gap: clamp(1.4rem, 8vw, 2rem);
  }

  .hero-framed__copy,
  .page-home .hero-home__copy {
    gap: clamp(0.9rem, 6vw, 1.2rem);
  }

  .hero-framed__copy h1,
  .page-home .hero-home__copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.15rem);
  }

  .hero-subtitle,
  .text-lead {
    font-size: clamp(0.98rem, 4.8vw, 1.05rem);
  }

  .btn {
    padding: 0.75rem 1.35rem;
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .btn-row {
    gap: 0.7rem;
  }

  .section {
    padding: clamp(1.9rem, 11vw, 2.4rem) clamp(0.75rem, 5vw, 0.95rem);
  }

  .section-inner {
    gap: clamp(1.4rem, 8vw, 1.9rem);
  }

  .grid,
  .split-layout,
  .highlight-grid,
  .partner-grid,
  .contact-grid,
  .faq-grid {
    gap: clamp(1.1rem, 8vw, 1.6rem);
  }

  .grid-2,
  .grid-3,
  .split-layout,
  .highlight-grid,
  .partner-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .glass-card,
  .highlight-panel,
  .tier-card,
  .testimonial,
  .timeline-item,
  .faq-item,
  .contact-card,
  .partner-card {
    padding: clamp(0.85rem, 6vw, 1.2rem);
  }

  .hero-metrics-panel {
    padding: clamp(0.85rem, 6vw, 1.35rem);
    padding-inline: clamp(0.75rem, 6vw, 1.05rem);
    border-radius: 1rem;
  }

  .hero-visual .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .metric-card strong {
    font-size: 1.45rem;
  }

  .badge {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .hero-metrics {
    gap: clamp(0.75rem, 6vw, 1rem);
  }

  .map-card iframe {
    height: 260px;
  }

  .footer {
    padding: clamp(2.1rem, 12vw, 2.6rem) clamp(1rem, 8vw, 1.4rem);
  }

  .footer-inner {
    gap: clamp(1.5rem, 8vw, 2rem);
  }

  .footer-cols {
    gap: clamp(1.25rem, 7vw, 1.65rem);
  }
}

@media (min-width: 641px) {
  .modal-pane .form-grid button {
    width: auto;
    justify-self: flex-start;
  }
}

@media (min-width: 900px) {
  .modal-pane .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: clamp(1.1rem, 2vw, 1.5rem);
  }

  .modal-pane .form-grid label:has(textarea),
  .modal-pane .form-grid label:has([type="checkbox"]),
  .modal-pane .form-grid button {
    grid-column: 1 / -1;
  }
}

#joinModal .modal-shell {
  width: min(760px, 94vw);
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2rem);
}

#joinModal .modal-pane {
  padding: clamp(1.65rem, 3.2vw, 2.15rem);
  gap: clamp(1.1rem, 2vw, 1.4rem);
}

#joinModal .modal-pane.highlight {
  gap: clamp(1.1rem, 2.4vw, 1.6rem);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

@media (min-width: 900px) {
  #joinModal .modal-shell {
    width: min(700px, 88vw);
  }
}

@media (min-width: 640px) {
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--hero-metrics-gap);
  }
}

@media (min-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(320px, 0.6fr) minmax(820px, 1.4fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }

  .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.4vw, 2.2rem);
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(340px, 0.68fr) minmax(800px, 1.32fr);
  }

  .page-about .hero-grid,
  .page-partners .hero-grid,
  .page-contact .hero-grid,
  .page-thank-you .hero-grid,
  .page-join .hero-grid {
    grid-template-columns: minmax(340px, 0.58fr) minmax(840px, 1.42fr);
  }

  .hero-framed__cta,
  .page-home .hero-home__cta {
    flex-wrap: nowrap;
  }
}

@media (min-width: 961px) {
  .hero-metrics {
    gap: var(--hero-metrics-gap);
  }

  .nav-links,
  .nav-actions {
    display: flex;
  }

  .mobile-toggle {
    display: none;
    margin-left: 0;
  }

  .page-home .hero-home__layout {
    flex-direction: row;
    align-items: center;
    gap: clamp(2.4rem, 6vw, 4.5rem);
    justify-content: space-between;
  }

  .hero-framed__layout {
    grid-template-columns: minmax(0, var(--hero-copy-col)) minmax(0, var(--hero-focus-col));
    gap: var(--hero-layout-gap);
    align-items: center;
    justify-items: stretch;
  }

  .hero-framed__copy,
  .page-home .hero-home__copy {
    align-items: flex-start;
    text-align: left;
  }

  .hero-framed__copy {
    margin-left: var(--hero-copy-offset);
    max-width: min(100%, var(--hero-copy-max));
    align-self: start;
  }

  .page-home .hero-home__copy {
    flex: 1 1 var(--hero-copy-max);
    max-width: min(60%, var(--hero-copy-max));
  }

  .hero-framed__focus,
  .page-home .hero-home__focus {
    min-height: clamp(240px, 30vw, 360px);
    max-width: 100%;
  }

  .page-home .hero-home__focus {
    flex: 1 1 40%;
    max-width: 40%;
  }

  .hero-framed__cta,
  .page-home .hero-home__cta {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: auto;
  }

  .hero-framed__cta .btn,
  .page-home .hero-home__cta .btn {
    flex: 0 0 auto;
    min-width: auto;
  }

  .hero-framed__copy .hero-subtitle,
  .page-home .hero-home__copy .hero-subtitle {
    max-width: 42ch;
  }

  .hero-framed__focus .hero-metrics,
  .page-home .hero-home__focus .hero-metrics {
    width: 100%;
    grid-template-columns: repeat(var(--hero-metrics-columns, 3), minmax(0, 1fr));
    gap: var(--hero-metrics-gap);
    align-items: stretch;
    justify-items: stretch;
  }

  .hero-framed__focus .hero-personalized-panel {
    margin-top: clamp(1.5rem, 3vw, 2.2rem);
  }

  .hero-personalized-panel {
    margin-top: 0;
  }

  .hero-personalized-panel:not([hidden]) {
    display: flex;
  }

  .personalized-card {
    width: min(100%, 420px);
  }
}



.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

blockquote {
  margin: 0;
  padding: 0;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 42ch;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.4), rgba(56, 189, 248, 0));
  margin: 3rem 0;
}

.timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.55);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.timeline-item h4 {
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.stat {
  padding: 1.25rem;
  border-radius: 1.2rem;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.stat span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.contact-card {
  background: rgba(15, 23, 42, 0.65);
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.contact-card a {
  color: var(--accent);
  font-weight: 500;
}

.policy-section h2 {
  margin-bottom: 1rem;
}

.policy-section p + p {
  margin-top: 1rem;
}

.policy-section ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--text-secondary);
}

.highlight-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tier-card {
  background: rgba(15, 23, 42, 0.65);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid;
  gap: 1rem;
}

.tier-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--text-secondary);
}

.tier-card li::before {
  content: "\2713";
  margin-right: 0.4rem;
  color: var(--accent-strong);
}

.partner-cta {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(99, 102, 241, 0.2));
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: grid;
  gap: 1rem;
}

.partner-cta p {
  max-width: 52ch;
  justify-self: center;
}

.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.map-card {
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(0.3) brightness(0.9);
}

small {
  color: rgba(226, 232, 240, 0.65);
}

form .btn {
  margin-top: 1rem;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.82);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms 
;
    animation-iteration-count: 1 
;
    transition-duration: 0.01ms 
;
    scroll-behavior: auto 
;
  }
}


.partner-grid {
  display: grid;
  gap: clamp(1.8rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.partner-card {
  background: rgba(10, 18, 40, 0.78);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 28px 60px -36px rgba(15, 23, 42, 0.65);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 42px 72px -36px rgba(59, 130, 246, 0.35);
}

.partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
}

.partner-card__logo img {
  max-height: 72px;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(15, 23, 42, 0.35));
}

.partner-card__body {
  display: grid;
  gap: 0.75rem;
}

.partner-card__summary {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.partner-card__value {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.6rem;
  color: rgba(248, 247, 244, 0.78);
}

.partner-card__value li {
  list-style: disc;
}

.partner-card__link {
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.partner-card__link:hover {
  color: var(--accent-strong);
}

.logo-dot {
  color: #FFD700;
}
.faq {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
}

.faq-search .section-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 4vw, 2rem);
}

.faq-search__shell {
  background: var(--surface-primary);
  border: 1px solid var(--border-glass);
  border-radius: clamp(1.2rem, 3vw, 1.5rem);
  padding: clamp(1.4rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 22px 55px -40px rgba(3, 7, 18, 0.7);
}

.faq-search__label {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.faq-search__field {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.faq-search__field svg {
  width: 20px;
  height: 20px;
  opacity: 0.75;
  flex-shrink: 0;
}

.faq-search__input {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.faq-search__input::placeholder {
  color: rgba(248, 247, 244, 0.55);
}

.faq-search__hint {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(248, 247, 244, 0.6);
}

.faq-controls .section-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 4vw, 1.9rem);
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.faq-category-button {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.58);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.faq-category-button:hover,
.faq-category-button:focus-visible {
  border-color: rgba(255, 215, 0, 0.5);
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.75);
  transform: translateY(-1px);
  outline: none;
}

.faq-category-button.is-active {
  background: rgba(255, 215, 0, 0.18);
  border-color: rgba(255, 215, 0, 0.55);
  color: var(--text-primary);
}

.faq-category-button,
.faq-search__input,
.faq-item__trigger {
  font-family: inherit;
}

@media (max-width: 640px) {
  .faq-categories {
    gap: 0.6rem;
  }

  .faq-category-button {
    flex: 1 1 calc(50% - 0.3rem);
    text-align: center;
  }

  .faq-item {
    flex: 1 1 100%;
  }
}

.faq-empty {
  padding-top: 0;
}

.faq-empty__card {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: clamp(1.1rem, 3vw, 1.4rem);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 25px 45px -38px rgba(8, 14, 35, 0.85);
}

.faq-empty__card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
}

.faq-empty__card p {
  margin: 0;
  color: var(--text-secondary);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: rgba(10, 18, 40, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item.is-open {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 28px 55px -42px rgba(15, 23, 42, 0.65);
  transform: translateY(-1px);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item__trigger:hover,
.faq-item__trigger:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.faq-item__trigger span {
  flex: 1;
}

.faq-item__icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item__icon::before {
  width: 12px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 12px;
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  background: none;
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.faq-item__panel {
  padding: 0 1.4rem 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.faq-item__panel[hidden] {
  display: none;
}

.faq-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item__content p {
  color: var(--text-secondary);
}

.faq-item__content ul,
.faq-item__content ol {
  margin: 0.15rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.faq-item__content li::marker {
  color: rgba(255, 215, 0, 0.75);
}

.faq-item__content li strong {
  color: var(--text-primary);
}

.faq-section--hidden {
  display: none;
}


.sr-only,
.tldr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Larksuite embedded form styles */
.lark-form-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lark-form-container iframe {
  flex: 1;
  min-height: 600px;
  background-color: #fff;
  border-radius: 8px;
}

/* Custom Partner Form */
.custom-partner-form {
  width: 100%;
  padding: 1rem;
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.partner-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.partner-form label {
  font-weight: 500;
  color: var(--text-primary);
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(var(--color-accent-rgb), 0.2);
}

.partner-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.partner-form button:hover {
  background-color: var(--color-accent-dark, #0056b3);
}

.partner-form .form-submit {
  margin-top: 0.5rem;
}

.partner-form .form-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: none;
}

.partner-form .form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.partner-form .form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Custom Multiselect Component */
.custom-multiselect {
  position: relative;
}

.multiselect-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.multiselect-trigger:hover {
  border-color: rgba(148, 163, 184, 0.6);
}

.multiselect-trigger.active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(var(--color-accent-rgb), 0.2);
}

.multiselect-placeholder {
  flex: 1;
  color: rgba(248, 247, 244, 0.7);
}

.multiselect-placeholder.has-selections {
  color: var(--text-primary);
}

.multiselect-arrow {
  transition: transform 0.2s ease;
  color: rgba(148, 163, 184, 0.6);
}

.multiselect-trigger.active .multiselect-arrow {
  transform: rotate(180deg);
}

.multiselect-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.multiselect-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.multiselect-option {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.multiselect-option:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.multiselect-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  margin-right: 0.75rem;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.multiselect-option label {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: block;
}

.multiselect-selected-count {
  background-color: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

/* Checkbox group styling */
.partner-form .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.partner-form .checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.partner-form .checkbox-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.partner-form .checkbox-item label {
  cursor: pointer;
  font-weight: normal;
  margin: 0;
  padding: 0;
  display: inline-block;
}
