/* AXIOVEX Systems — axiovex-systems.com
   Brand: deep navy #081F32 · electric cyan #00DEF6 · near-white #F7FCFF */

:root {
  --navy: #081F32;
  --navy-2: #0B2740;
  --cyan: #00DEF6;
  --ink: #F7FCFF;
  --muted: rgba(247, 252, 255, 0.72);
  --faint: rgba(247, 252, 255, 0.5);
  --line: rgba(0, 222, 246, 0.16);
  --hairline: rgba(247, 252, 255, 0.08);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
           "Helvetica Neue", Arial, sans-serif;
}

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

::selection { background: rgba(0, 222, 246, 0.28); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }
/* In centered sections the lede block itself must be centered, not just its text. */
.center .section-lede { margin-left: auto; margin-right: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 31, 50, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 252, 255, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px !important;
  color: var(--ink) !important;
}

.nav-cta:hover { border-color: var(--cyan); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 440px at 50% 0%, rgba(0, 222, 246, 0.13), transparent 65%),
    radial-gradient(560px 380px at 50% 100%, rgba(0, 222, 246, 0.06), transparent 65%);
}

/* Centered hero: logo, headline, lede and CTAs share one vertical axis. */
.hero .container { position: relative; text-align: center; }
.hero-logo {
  display: block;
  height: 84px;
  width: auto;
  margin: 0 auto 30px;
}
.hero h1 { margin-left: auto; margin-right: auto; max-width: 24ch; }
.hero .lede { margin-left: auto; margin-right: auto; max-width: 68ch; }

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 14ch;
  margin-bottom: 24px;
  text-wrap: balance;
}

.lede {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 999px;
  padding: 14px 30px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--cyan);
  color: #04222B;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 222, 246, 0.35);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--cyan); }

.btn-large { font-size: 18px; padding: 16px 38px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
/* Keep anchored sections clear of the sticky nav; #top (on body) scrolls to the true top. */
section[id] { scroll-margin-top: 80px; }
.section-alt { background: var(--navy-2); }
.section-alt .eyebrow { color: var(--cyan); }

h2 {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
  text-wrap: balance;
}

.section-lede {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 36px;
}

/* Centered section header: eyebrow, title and lede share one vertical axis and
   span the full container width — symmetric, disciplined rhythm. */
.section-head {
  text-align: center;
  margin: 0 auto 56px;
}
.section-head .section-lede {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* One body-copy size across every section — no section-specific sizing. */
.about-copy p,
.card p,
.faq-a { font-size: 18px; }
.section p + p { margin-top: 18px; }
.section-alt p { color: var(--muted); }

/* ---------- About / founders ---------- */
/* Symmetric About: centered copy block, founder cards in a centered pair. */
.about-grid { margin-top: 8px; }

.about-copy {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
}
.about-copy p + p { margin-top: 18px; }
.about-copy strong { color: var(--ink); font-weight: 600; }

.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 680px;
  margin: 40px auto 0;
}

.founder-card { padding: 32px 28px; text-align: center; }
.founder-card h3 { margin-bottom: 6px; }
/* Higher specificity than .card h3::before (defined later in source) */
.card.founder-card h3::before { display: none; }

.founder-card .role {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: rgba(247, 252, 255, 0.02);
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 222, 246, 0.45);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  margin-bottom: 18px;
}

.card p { color: var(--muted); font-size: 16px; }
.card em { color: var(--ink); font-style: normal; font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(247, 252, 255, 0.08);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-logo { height: 56px; width: auto; }
.footer p { color: var(--faint); font-size: 14px; }
/* Social icons: official brand glyphs, grouped as a pair of quiet icon buttons. */
.social-links { display: flex; gap: 12px; align-items: center; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--faint);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 222, 246, 0.08);
  transform: translateY(-2px);
}

/* ---------- Inline links (body copy) ---------- */
.inline-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.inline-link:hover { border-color: var(--cyan); }

/* ---------- Memberships ---------- */
/* Compact membership row at the foot of About: small badges on white,
   specific organization names, one shared center axis. */
.memberships {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.memberships-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 20px;
}
.memberships-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  text-decoration: none;
}
.member-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.member-badge img { height: 24px; width: auto; display: block; }
.member:hover .member-badge {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 222, 246, 0.18);
}
.member-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.member-desc {
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
}
.member:hover .member-name { color: var(--cyan); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid rgba(0, 222, 246, 0.14);
  border-radius: 14px;
  background: rgba(8, 31, 50, 0.5);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: rgba(0, 222, 246, 0.32); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%2300DEF6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10' stroke='%2300DEF6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-color: rgba(0, 222, 246, 0.12);
}
.faq-item summary:hover::after { border-color: var(--cyan); }
.faq-a { padding: 0 24px 24px; }
.faq-a p { color: var(--muted); font-size: 18px; margin: 0; }
.faq-a p + p { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .founders { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero { padding: 64px 0 60px; }
  .section { padding: 60px 0; }
  .nav-links a:not(.nav-cta) { display: none; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .hero-logo { height: 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .memberships-label { width: 100%; text-align: center; }
  .memberships-row { gap: 28px; }
}
