@font-face {
  font-family: 'Paxeer Grand Sans';
  src: url('assets/fonts/PPPangramSansRounded-Medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Paxeer Grand Sans';
  src: url('assets/fonts/PPPangramSansRounded-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #004CED;
  --black: #050505;
  --surface: #0B0B0B;
  --surface-2: #111111;
  --surface-3: #171717;
  --border: #1E1E1E;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --light: #DDDDDD;
  --subtle: #AFAFAF;
  --mid: #828282;
  --mid-dark: #404040;
  --success: #05C168;
  --error: #FF5A65;
  --warning: #FF9E2C;
  --font-display: 'Paxeer Grand Sans', Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: var(--white); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  transform: translateY(-140%);
  z-index: 1000;
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 72px;
  background: rgba(5, 5, 5, 0.68);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 240ms var(--ease), height 240ms var(--ease);
}
.site-header[data-elevated="true"] {
  height: 64px;
  background: rgba(5, 5, 5, 0.9);
}
.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 14px; min-width: 210px; }
.brand-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.brand-symbol img { width: 18px; height: 18px; object-fit: contain; }
.brand-wordmark { width: 104px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: color 150ms var(--ease), background 150ms var(--ease);
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.header-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 150ms var(--ease), border-color 150ms var(--ease);
}
.header-cta:hover { background: var(--blue); border-color: var(--blue); }

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 168px 32px 88px;
  background:
    radial-gradient(circle at 75% 24%, rgba(0, 76, 237, 0.32), transparent 28%),
    radial-gradient(circle at 40% -10%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #050505 0%, #070707 54%, #0b0b0b 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.78fr);
  gap: 56px;
  align-items: center;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.eyebrow span {
  width: 9px;
  height: 9px;
  background: var(--blue);
  box-shadow: 0 0 24px rgba(0, 76, 237, 0.8);
}
h1, h2, h3, p { margin: 0; }
h1 {
  max-width: 980px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 138px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.08em;
}
.hero-lede {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
  letter-spacing: -0.04em;
}
.hero-actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 150ms var(--ease), background 150ms var(--ease), border-color 150ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #0d58ff; }
.btn-secondary { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: var(--white); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.38); background: rgba(255,255,255,0.1); }

.hero-card {
  min-height: 612px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.45);
}
.orbital-field { position: relative; height: 388px; display: grid; place-items: center; }
.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-26deg);
}
.orbit-a { width: 390px; height: 390px; }
.orbit-b { width: 292px; height: 292px; border-color: rgba(0,76,237,0.42); animation: rotate 16s linear infinite; }
.orbit-c { width: 188px; height: 188px; animation: rotate 24s linear infinite reverse; }
.core-mark {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  background: var(--white);
  box-shadow: 0 0 80px rgba(0, 76, 237, 0.55);
}
.core-mark img { width: 62px; height: 62px; }
.ticker-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker-row span {
  padding: 15px 12px;
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}
.ticker-row span + span { border-left: 1px solid rgba(255,255,255,0.1); }
.panel-stack { padding: 18px; display: grid; gap: 10px; }
.mini-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}
.mini-panel.active { border-color: rgba(0,76,237,0.75); background: rgba(0,76,237,0.12); }
.mini-panel span { color: var(--subtle); font-size: 12px; }
.mini-panel strong { font-size: 13px; letter-spacing: -0.02em; }

.marquee { overflow: hidden; border-block: 1px solid rgba(255,255,255,0.1); background: var(--white); color: var(--black); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 24px 0; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: -0.06em; white-space: nowrap; }

.section { padding: 112px 32px; }
.section.light { background: var(--off-white); color: var(--black); }
.section.dark { background: var(--black); color: var(--white); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-kicker { margin-bottom: 28px; color: var(--blue); }
.section-heading { margin-bottom: 48px; }
.section-heading.split { display: grid; grid-template-columns: 1fr minmax(280px, 440px); gap: 64px; align-items: end; }
.section-heading.center { max-width: 920px; text-align: center; }
.section-heading h2, .voice-layout h2, .final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.075em;
  font-weight: 600;
}
.section-heading p, .voice-layout p {
  color: var(--mid-dark);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.03em;
}
.inverted p { color: rgba(255,255,255,0.65); }

.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #d7d7d7; }
.principle-card {
  min-height: 292px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid #d7d7d7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.principle-card:last-child { border-right: 0; }
.principle-card span, .proof-grid span, .code-label, .copy-card span, .voice-table span, .final-cta span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
}
.principle-card h3, .proof-grid h3 { font-size: 24px; letter-spacing: -0.04em; }
.principle-card p, .proof-grid p { color: var(--mid-dark); line-height: 1.55; letter-spacing: -0.02em; }

.logo-showcase { display: grid; grid-template-columns: 1.2fr 1.2fr 0.8fr; gap: 16px; }
.logo-panel {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
}
.logo-panel span { color: var(--subtle); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.logo-panel img { width: min(310px, 75%); margin: auto; }
.logo-panel-dark { background: #050505; }
.logo-panel-light { background: #f5f5f5; color: #050505; }
.logo-panel-blue { background: var(--white); color: #050505; }
.logo-panel-blue img { width: 112px; }
.usage-rules { max-width: var(--max); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.usage-rules div { padding: 28px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1); }
.usage-rules h3 { margin-bottom: 14px; font-size: 24px; letter-spacing: -0.04em; }
ul { margin: 0; padding-left: 19px; color: rgba(255,255,255,0.68); line-height: 1.7; }

.color-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 1px; background: #d7d7d7; border: 1px solid #d7d7d7; }
.color-card { min-height: 188px; padding: 20px; background: var(--swatch); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.color-card span { font-size: 13px; font-weight: 600; }
.color-card strong { font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.hero-color { min-height: 236px; }

.type-system { margin-top: 64px; display: grid; grid-template-columns: 1.25fr 0.8fr 0.8fr; gap: 16px; }
.type-system > div { min-height: 320px; padding: 28px; background: var(--white); border: 1px solid #d7d7d7; display: flex; flex-direction: column; justify-content: space-between; }
.type-system span { color: var(--mid); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.type-display h3 { font-family: var(--font-display); font-size: clamp(42px, 5vw, 76px); line-height: 0.95; letter-spacing: -0.075em; }
.type-body p { font-size: 19px; line-height: 1.55; letter-spacing: -0.03em; color: var(--mid-dark); }
.type-code code { font-family: var(--font-mono); color: var(--blue); line-height: 1.8; }

.component-stage { margin-top: 16px; display: grid; grid-template-columns: 1fr 0.8fr 1fr; gap: 16px; }
.ui-card { background: var(--black); color: var(--white); padding: 24px; min-height: 420px; border: 1px solid var(--border); }
.ui-topline, .transaction { display: flex; justify-content: space-between; color: var(--subtle); font-family: var(--font-mono); font-size: 12px; }
.wallet-card h3, .metrics-card h3 { margin-top: 34px; font-size: 28px; letter-spacing: -0.05em; }
.balance { margin-top: 24px; padding: 22px; background: var(--surface-2); border: 1px solid var(--border); }
.balance span, .metric span { display: block; color: var(--mid); font-size: 12px; }
.balance strong { display: block; margin-top: 8px; font-size: 44px; letter-spacing: -0.07em; }
.button-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.button-row button, .builder-card button { height: 44px; border: 0; color: var(--white); background: var(--blue); font-weight: 600; cursor: pointer; }
.transaction { padding: 15px 0; border-bottom: 1px solid var(--border); }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-row span { padding: 7px 9px; border-radius: 99px; background: rgba(0,76,237,0.16); color: var(--white); font-size: 12px; }
.metric { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.metric strong { font-size: 38px; letter-spacing: -0.07em; }
.code-card { background: #080808; }
.code-card pre { margin: auto 0 0; white-space: pre-wrap; color: var(--light); font-size: 13px; line-height: 1.7; font-family: var(--font-mono); }

.product-layer { background: radial-gradient(circle at 25% 0, rgba(0,76,237,0.22), transparent 34%), var(--black); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
.proof-grid article { min-height: 276px; padding: 24px; background: rgba(255,255,255,0.04); display: flex; flex-direction: column; justify-content: space-between; }
.proof-grid p { color: rgba(255,255,255,0.62); }

.voice-layout { max-width: var(--max); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.voice-table { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d7d7d7; background: #d7d7d7; gap: 1px; }
.voice-table div { background: var(--white); padding: 22px; }
.voice-table strong { display: block; margin-top: 18px; font-size: 24px; letter-spacing: -0.04em; }
.copy-system { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.copy-card { min-height: 240px; padding: 28px; background: var(--white); border: 1px solid #d7d7d7; display: flex; flex-direction: column; justify-content: space-between; }
.copy-card p { font-size: 28px; line-height: 1.2; letter-spacing: -0.05em; }
.copy-card.good { border-top: 4px solid var(--success); }
.copy-card.bad { border-top: 4px solid var(--error); color: #444; }

.application-grid { display: grid; grid-template-columns: 1fr 0.95fr 1.05fr; gap: 16px; }
.application-grid article { min-height: 420px; padding: 28px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.045); }
.social-card { display: flex; flex-direction: column; justify-content: space-between; }
.social-card img { width: 128px; }
.social-card p { font-family: var(--font-display); font-size: 42px; line-height: 0.98; letter-spacing: -0.075em; }
.social-card span { color: var(--blue); font-weight: 700; }
.builder-card { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: 1fr auto; gap: 18px; align-items: start; }
.avatar { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); font-weight: 700; }
.builder-card span, .institution-card span { color: var(--mid); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.builder-card h3 { margin-top: 10px; font-size: 30px; letter-spacing: -0.05em; }
.builder-card p, .institution-card p { margin-top: 12px; color: rgba(255,255,255,0.64); line-height: 1.5; }
.builder-card button { grid-column: 1 / -1; }
.institution-card { background: var(--white) !important; color: var(--black); display: flex; flex-direction: column; justify-content: space-between; }
.institution-card h3 { font-family: var(--font-display); font-size: 48px; line-height: 0.98; letter-spacing: -0.075em; }
.institution-card p { color: var(--mid-dark); }

.final-cta { display: flex; justify-content: space-between; align-items: end; gap: 48px; padding: 96px 32px; max-width: var(--max); margin: 0 auto; }
.final-cta div { max-width: 860px; }
.final-cta h2 { margin-top: 20px; color: var(--white); }
.footer { padding: 40px 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid rgba(255,255,255,0.1); max-width: var(--max); margin: 0 auto; }
.footer img { width: 112px; margin-bottom: 12px; }
.footer p { color: var(--mid); font-size: 13px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--subtle); font-size: 13px; }
.footer-links a:hover { color: var(--white); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 260ms; }

@keyframes rotate { to { transform: rotateX(66deg) rotateZ(334deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .nav { display: none; }
  .hero-grid, .section-heading.split, .voice-layout { grid-template-columns: 1fr; }
  .hero-card { min-height: 520px; }
  .principle-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .color-grid { grid-template-columns: repeat(3, 1fr); }
  .type-system, .component-stage, .application-grid, .logo-showcase { grid-template-columns: 1fr; }
  .final-cta { align-items: start; flex-direction: column; }
}

@media (max-width: 720px) {
  .header-inner { padding: 0 18px; }
  .brand-symbol { display: none; }
  .header-cta { display: none; }
  .hero { padding: 132px 18px 64px; }
  .section { padding: 72px 18px; }
  .hero-grid { gap: 36px; }
  .hero-card { min-height: 460px; }
  .ticker-row { grid-template-columns: 1fr; }
  .ticker-row span + span { border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .principle-grid, .proof-grid, .copy-system, .usage-rules, .voice-table, .color-grid { grid-template-columns: 1fr; }
  .principle-card { border-right: 0; border-bottom: 1px solid #d7d7d7; }
  .section-heading h2, .voice-layout h2, .final-cta h2 { font-size: 48px; }
  .logo-panel { min-height: 220px; }
  .component-stage { gap: 12px; }
  .ui-card, .application-grid article { min-height: auto; }
  .footer { align-items: start; flex-direction: column; }
}

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

