/* ============================================================
   XTetra — Landing Page Styles
   Institutional design language. Deep navy + value-flow blue.
   ============================================================ */

:root {
  /* Brand palette (from the XTetra logo + reference imagery) */
  --bg:            #060d1f;
  --bg-2:          #0a1330;
  --panel:         #0e1a3a;
  --panel-2:       #11214a;
  --line:          rgba(120, 160, 230, 0.14);
  --line-soft:     rgba(120, 160, 230, 0.08);

  --blue:          #2d7fff;
  --blue-bright:   #4d97ff;
  --cyan:          #5ad1ff;
  --ink:           #eaf1fc;
  --muted:         #93a4c6;
  --muted-2:       #6b7da3;

  --grad: linear-gradient(100deg, var(--cyan), var(--blue-bright));

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;

  --ff-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-display: 'Space Grotesk', var(--ff-sans);

  --shadow: 0 24px 60px -28px rgba(0, 8, 30, 0.85);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ---------- Background layers ---------- */
#bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; }
.bg-gradient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(45, 127, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(90, 209, 255, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
main, .nav, .footer { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #04132e; box-shadow: 0 10px 30px -12px rgba(45, 127, 255, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(45, 127, 255, 0.85); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(45, 127, 255, 0.08); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ============================ NAV ============================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 13, 31, 0.6); border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.scrolled { background: rgba(6, 13, 31, 0.92); border-bottom-color: var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); }
.nav-wordmark-fallback { display: none; font-family: var(--ff-display); font-weight: 700; letter-spacing: 0.22em; font-size: 1.15rem; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color 0.18s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px; border-bottom: 1px solid var(--line-soft); background: rgba(6, 13, 31, 0.97); }
.nav-mobile a { padding: 12px 0; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.nav-mobile a.btn { margin-top: 12px; border: none; color: #04132e; justify-content: center; }
.nav-mobile.open { display: flex; }

/* ============================ HERO ============================ */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 7vw, 96px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line); padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.02); margin-bottom: 26px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.hero-title { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -0.025em; }
.hero-sub { font-size: 1.18rem; color: var(--muted); margin: 24px 0 32px; max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 34px;
  font-size: 0.88rem; color: var(--muted-2); }
.hero-trust .tagline { color: var(--cyan); font-weight: 600; letter-spacing: 0.04em; }
.divider-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

/* Pipeline centerpiece */
.hero-visual { display: flex; justify-content: center; }
.pipeline {
  width: 100%; max-width: 380px; background: linear-gradient(180deg, rgba(17, 33, 74, 0.55), rgba(10, 19, 48, 0.4));
  border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.pipeline::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(400px 200px at 50% 0%, rgba(45, 127, 255, 0.12), transparent 70%); pointer-events: none; }
.pipe-node {
  position: relative; background: rgba(10, 19, 48, 0.7); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px;
}
.pipe-node .pipe-num { font-family: var(--ff-display); font-size: 0.72rem; color: var(--cyan); letter-spacing: 0.1em; }
.pipe-label { font-family: var(--ff-display); font-weight: 600; font-size: 1rem; }
.pipe-meta { font-size: 0.78rem; color: var(--muted-2); }
.pipe-source { border-color: rgba(90, 209, 255, 0.35); }
.pipe-gate { border-color: rgba(45, 127, 255, 0.5); background: rgba(17, 33, 74, 0.85); }
.pipe-final { border-color: rgba(90, 209, 255, 0.45);
  background: linear-gradient(120deg, rgba(45, 127, 255, 0.18), rgba(90, 209, 255, 0.1)); }
.pipe-arrow { height: 22px; position: relative; display: flex; justify-content: center; }
.pipe-arrow::before { content: ""; width: 2px; height: 100%;
  background: linear-gradient(180deg, var(--line), rgba(90, 209, 255, 0.4)); }
.pipe-arrow .pulse { position: absolute; top: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: flow 2.6s linear infinite; }
@keyframes flow { 0% { transform: translateY(-2px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }
.pipe-arrow:nth-of-type(4) .pulse { animation-delay: 0.4s; }
.pipe-arrow:nth-of-type(6) .pulse { animation-delay: 0.8s; }
.pipe-arrow:nth-of-type(8) .pulse { animation-delay: 1.2s; }
.pipe-arrow:nth-of-type(10) .pulse { animation-delay: 1.6s; }

/* ============================ SECTIONS ============================ */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-alt { background:
  linear-gradient(180deg, transparent, rgba(10, 19, 48, 0.5) 12%, rgba(10, 19, 48, 0.5) 88%, transparent);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: 18px; }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.problem-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700; color: var(--cyan);
  background: rgba(90, 209, 255, 0.1); border: 1px solid rgba(90, 209, 255, 0.25); margin-bottom: 20px; }
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { color: var(--muted); font-size: 0.96rem; }
.problem-foot { text-align: center; margin-top: 44px; font-size: 1.2rem; font-family: var(--ff-display);
  color: var(--ink); font-weight: 500; }

/* ---------- Workflow stages ---------- */
.stage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stage-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform 0.2s, border-color 0.2s; }
.stage-card:hover { transform: translateY(-4px); border-color: rgba(45, 127, 255, 0.4); }
.stage-card-gate { background: linear-gradient(140deg, rgba(17, 33, 74, 0.9), var(--panel));
  border-color: rgba(45, 127, 255, 0.4); }
.stage-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.stage-num { font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; color: var(--cyan);
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(45, 127, 255, 0.1); border: 1px solid var(--line); }
.stage-card p { color: var(--muted); font-size: 0.97rem; }
.stage-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.stage-list li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--muted-2); }
.stage-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

.callout { display: flex; gap: 18px; align-items: flex-start; margin-top: 32px; padding: 24px 26px;
  background: rgba(45, 127, 255, 0.06); border: 1px solid rgba(45, 127, 255, 0.25);
  border-left: 3px solid var(--blue); border-radius: var(--radius-sm); }
.callout-mark { color: var(--blue); font-size: 1.1rem; line-height: 1.6; }
.callout p { color: var(--muted); font-size: 0.98rem; }
.callout strong { color: var(--ink); }

/* ---------- Split (verification) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy .lede { margin-bottom: 18px; }
.split-copy p { color: var(--muted); }
.proof-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); }
.proof-row { display: flex; justify-content: space-between; align-items: center; }
.proof-head { font-family: var(--ff-display); font-weight: 600; margin-bottom: 18px; }
.proof-line { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; color: var(--muted); }
.proof-line code { font-family: 'Space Grotesk', monospace; color: var(--cyan); font-size: 0.82rem;
  background: rgba(90, 209, 255, 0.08); padding: 3px 9px; border-radius: 6px; }
.proof-divider { height: 14px; }
.proof-verify { font-family: var(--ff-display); font-weight: 600; }
.badge { font-size: 0.74rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.03em; }
.badge-ok { color: #062; background: rgba(70, 220, 160, 0.18); color: #5fe3b0; border: 1px solid rgba(95, 227, 176, 0.35); }
.proof-note { margin-top: 16px; font-size: 0.84rem; color: var(--muted-2); }

/* ---------- Why XRPL ---------- */
.xrpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.xrpl-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.xrpl-card h3 { margin-bottom: 10px; color: var(--ink); }
.xrpl-card h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad); margin-right: 10px; vertical-align: middle; }
.xrpl-card p { color: var(--muted); font-size: 0.96rem; }
.xrpl-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }
.chip { font-size: 0.82rem; color: var(--muted); padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }

/* ---------- Architecture ---------- */
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.arch-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color 0.2s, transform 0.2s; }
.arch-card:hover { border-color: rgba(45, 127, 255, 0.4); transform: translateY(-3px); }
.arch-card-accent { background: linear-gradient(140deg, rgba(17, 33, 74, 0.95), var(--panel));
  border-color: rgba(45, 127, 255, 0.45); }
.arch-tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--cyan); margin-bottom: 12px; padding: 4px 10px; border-radius: 6px;
  background: rgba(90, 209, 255, 0.08); border: 1px solid rgba(90, 209, 255, 0.2); }
.arch-card h3 { margin-bottom: 9px; }
.arch-card p { color: var(--muted); font-size: 0.92rem; }

.arch-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px;
  padding: 34px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.stat { text-align: center; }
.stat-num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); }
.stat-label { font-size: 0.84rem; color: var(--muted-2); margin-top: 6px; }

/* ---------- Pilots ---------- */
.pilot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pilot-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.pilot-card h3 { margin-bottom: 12px; }
.pilot-card p { color: var(--muted); font-size: 0.95rem; }
.pilot-expand { margin-top: 36px; text-align: center; }
.pilot-expand-label { display: block; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 16px; }
.pilot-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Future ---------- */
.future-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.future-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 26px; }
.future-lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 22px; }
.future-line { font-size: 1.05rem; color: var(--ink); font-family: var(--ff-display); font-weight: 500; }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: clamp(80px, 9vw, 130px); }
.cta-card { text-align: center; max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 64px);
  background: linear-gradient(140deg, rgba(17, 33, 74, 0.9), rgba(10, 19, 48, 0.7));
  border: 1px solid rgba(45, 127, 255, 0.3); border-radius: 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -20%, rgba(45, 127, 255, 0.2), transparent 70%); pointer-events: none; }
.cta-card h2 { margin-bottom: 16px; position: relative; }
.cta-card > p { color: var(--muted); max-width: 56ch; margin: 0 auto 30px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-audiences { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 40px;
  padding-top: 30px; border-top: 1px solid var(--line-soft); position: relative; }
.cta-audiences div { display: flex; flex-direction: column; gap: 4px; }
.cta-aud-label { font-size: 0.8rem; color: var(--muted-2); }
.cta-audiences a { color: var(--cyan); font-weight: 600; font-size: 0.95rem; }

/* ============================ FOOTER ============================ */
.footer { border-top: 1px solid var(--line-soft); background: rgba(8, 14, 34, 0.7); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-logo { height: 28px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-tag { color: var(--cyan); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 8px; }
.footer-mission { color: var(--muted-2); font-size: 0.9rem; max-width: 32ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px; font-family: var(--ff-sans); font-weight: 600; }
.footer-col a { display: block; color: var(--muted-2); font-size: 0.92rem; padding: 5px 0; transition: color 0.18s; }
.footer-col a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 0.82rem; color: var(--muted-2); }

/* ---------- Hero MVP status indicator ---------- */
.hero-status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.02); width: fit-content; }
.status-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem;
  font-weight: 500; color: var(--muted); letter-spacing: 0.01em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.status-dot-live { background: #5fe3b0; box-shadow: 0 0 8px rgba(95, 227, 176, 0.7); }
.status-sep { width: 1px; height: 14px; background: var(--line); }

/* ---------- Documentation ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doc-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px; transition: border-color 0.2s, transform 0.2s; }
.doc-card:hover { border-color: rgba(45, 127, 255, 0.4); transform: translateY(-3px); }
.doc-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  color: var(--cyan); background: rgba(90, 209, 255, 0.1); border: 1px solid rgba(90, 209, 255, 0.25);
  margin-bottom: 18px; }
.doc-card h3 { margin-bottom: 9px; }
.doc-card p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.doc-cta { margin-top: 16px; font-size: 0.88rem; font-weight: 600; color: var(--cyan); }

/* ---------- Founder ---------- */
.founder-card { display: flex; align-items: center; gap: 36px; max-width: 820px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 38px; box-shadow: var(--shadow); }
.founder-photo { flex-shrink: 0; }
.founder-photo img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(45, 127, 255, 0.45); display: block; }
.founder-monogram { width: 150px; height: 150px; border-radius: 50%; place-items: center;
  font-family: var(--ff-display); font-weight: 700; font-size: 2.4rem; color: var(--cyan);
  background: rgba(45, 127, 255, 0.1); border: 2px solid rgba(45, 127, 255, 0.45); }
.founder-name { font-size: 1.45rem; margin-bottom: 4px; }
.founder-role { color: var(--cyan); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.founder-bio { color: var(--muted); font-size: 0.97rem; max-width: 56ch; margin-bottom: 18px; }
.founder-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  transition: color 0.18s, border-color 0.18s, transform 0.18s; }
.founder-link:hover { color: var(--ink); border-color: var(--blue); transform: translateY(-2px); }

/* ---------- Built On (credibility strip) ---------- */
.builton { padding: 8px 0 40px; }
.builton-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 16px 20px; padding: 18px 26px; max-width: 880px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.02); }
.builton-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2); }
.builton-sep { width: 1px; height: 16px; background: var(--line); }
.builton-list { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; }
.builton-list li { position: relative; font-size: 0.88rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.01em; }
.builton-list li + li::before { content: ""; position: absolute; left: -12px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); transform: translateY(-50%); }

@media (max-width: 560px) {
  .builton-inner { border-radius: 18px; flex-direction: column; gap: 12px; }
  .builton-sep { display: none; }
  .builton-list { justify-content: center; }
}

/* ============================ REVEAL ANIM ============================ */
/* Progressive enhancement: only hide for animation when JS is active.
   Without JS (or before it runs) content is fully visible. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: 2; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .arch-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-stats { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .founder-card { flex-direction: column; text-align: center; gap: 24px; padding: 32px 28px; }
  .founder-bio { max-width: none; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .problem-grid, .stage-grid, .xrpl-grid, .pilot-grid, .arch-grid { grid-template-columns: 1fr; }
  .arch-stats { grid-template-columns: 1fr 1fr; gap: 24px; padding: 26px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .cta-audiences { gap: 24px; }
  .section-head { margin-bottom: 38px; }
}

@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ============================ ACCESSIBILITY ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  #bg-canvas { display: none; }
}

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