/* ============================================================
   NODE NATION — Landing Page Stylesheet
   ============================================================
   Palette: Deep navy dominates, orange as restrained accent,
            off-white for body text.
   Fonts:   Fraunces (display) + JetBrains Mono (body/mono)
   ============================================================ */

:root {
  /* Navy palette */
  --navy-deepest: #06112a;
  --navy-deep: #0a1a3a;
  --navy: #0f2452;
  --navy-soft: #16306b;

  /* Orange accent (use sparingly) */
  --orange: #f7931a;
  --orange-bright: #ffaa3d;
  --orange-soft: rgba(247, 147, 26, 0.10);

  /* Whites & muted */
  --white: #ffffff;
  --off-white: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.62);
  --muted-strong: rgba(245, 241, 232, 0.85);
  --hairline: rgba(245, 241, 232, 0.10);
  --hairline-orange: rgba(247, 147, 26, 0.22);

  /* Typography */
  --display: 'Fraunces', Georgia, serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy-deepest);
  color: var(--off-white);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric background glows */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 5%, rgba(247, 147, 26, 0.04), transparent 45%),
    radial-gradient(ellipse at 85% 95%, rgba(22, 48, 107, 0.5), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Subtle grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

/* ============================================================
   FLOATING THOUGHTS (balloons that escape walkers)
   ============================================================ */
#floatingThoughts {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 9;
  overflow: hidden;
}

.floating-thought {
  position: absolute;
  width: 22px; height: 22px;
  will-change: transform, opacity;
  pointer-events: none;
}

.floating-thought svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 17, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* Logo mark: clean square ready to receive an <img> */
.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--navy);
  border: 1px solid var(--hairline-orange);
  border-radius: 4px;
  overflow: hidden;
  color: var(--orange);
  font-family: var(--mono);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.05em;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--hairline-orange);
  color: var(--off-white) !important;
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-cta:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
}

@media (max-width: 768px) {
  nav { padding: 14px 18px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 180px;
  z-index: 5;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, black 0%, transparent 90%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 10;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-strong);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 32px;
  max-width: 1100px;
}

.hero h1 .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}

.hero-subhead {
  display: block;
  color: var(--off-white);
  font-size: 0.65em;
  font-weight: 600;
  margin-top: 14px;
}

.typewriter-line {
  display: inline-block;
  min-height: 1em;
}

.typewriter-cursor {
  display: inline-block;
  width: 4px;
  height: 0.85em;
  background: var(--orange);
  margin-left: 6px;
  vertical-align: text-bottom;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 660px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--off-white);
  font-weight: 500;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--off-white);
  color: var(--navy-deepest);
  border: 1px solid var(--off-white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--off-white);
}

.btn-secondary {
  background: transparent;
  color: var(--muted-strong);
  border: 1px solid var(--hairline);
}

.btn-secondary:hover {
  border-color: var(--off-white);
  color: var(--off-white);
}

/* ============================================================
   PIXEL WALKERS (tiny characters in hero)
   ============================================================ */
.pixel-stage {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 8;
  pointer-events: none;
}

.walker {
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 30px;
  transition: opacity 0.3s ease;
}

.walker svg {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}

.thought {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.walker.focused .thought {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.thought svg {
  width: 100%;
  height: 100%;
  image-rendering: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.pixel-ground {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 241, 232, 0.18) 25%, rgba(245, 241, 232, 0.18) 75%, transparent);
}

@keyframes walk-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

.walker .body {
  animation: walk-bob 0.5s steps(2) infinite;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .walker { width: 11px; height: 24px; }
  .thought { width: 18px; height: 18px; }
  .floating-thought { width: 18px; height: 18px; }
  .pixel-stage { height: 50px; bottom: 40px; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--navy-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 5;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat { text-align: left; }

.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--off-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-num .plus {
  color: var(--orange);
  font-weight: 600;
  font-style: italic;
  font-size: 0.6em;
  margin-left: 4px;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 40px 20px;
  }
}

/* ============================================================
   SECTION LAYOUT (shared)
   ============================================================ */
section.content {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-strong);
  margin-bottom: 16px;
  font-family: var(--mono);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--orange);
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 900px;
}

.section-title .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}

.section-intro {
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
  color: var(--muted);
  margin-bottom: 60px;
}

/* ============================================================
   ICONIC QUOTE
   ============================================================ */
.iconic-quote {
  margin: 80px 0;
  padding: 60px 50px;
  border: 1px solid var(--hairline);
  background: linear-gradient(135deg, rgba(245, 241, 232, 0.02), transparent);
  position: relative;
  max-width: 920px;
}

.iconic-quote::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: var(--display);
  font-size: 110px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.25;
  font-style: italic;
}

.iconic-quote-text {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  position: relative;
}

.iconic-quote-text .dot { color: var(--orange); }

.iconic-quote-attr {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-strong);
}

.iconic-quote-attr::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--hairline-orange);
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.pillar {
  background: var(--navy-deepest);
  padding: 40px;
  transition: background 0.3s;
  position: relative;
}

.pillar:hover { background: var(--navy-deep); }

.pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-strong);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.pillar-num::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
}

.pillar h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.pillar p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 30px 24px; }
  .iconic-quote { padding: 40px 28px; margin: 60px 0; }
  .iconic-quote::before { font-size: 80px; top: 8px; left: 14px; }
  section.content { padding: 80px 20px; }
}

/* ============================================================
   HOW WE WORK
   ============================================================ */
.how {
  background: var(--navy-deep);
  position: relative;
  z-index: 5;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px;
}

.how-list {
  list-style: none;
  margin-top: 60px;
}

.how-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}

.how-list li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.how-num {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: 48px;
  color: var(--muted-strong);
  line-height: 1;
}

.how-content h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 8px;
}

.how-content p {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .how-inner { padding: 80px 20px; }
  .how-list li {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .how-num { font-size: 32px; }
}

/* ============================================================
   CONNECT
   ============================================================ */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.connect-card {
  display: block;
  padding: 32px 28px;
  background: var(--navy-deep);
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--off-white);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.connect-card::after {
  content: '↗';
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--muted-strong);
  font-size: 18px;
  transition: all 0.25s;
}

.connect-card:hover {
  border-color: var(--hairline-orange);
  transform: translateY(-2px);
  background: var(--navy-soft);
}

.connect-card:hover::after {
  transform: translate(3px, -3px);
  color: var(--orange);
}

.connect-platform {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-strong);
  margin-bottom: 12px;
}

.connect-handle {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 8px;
  word-break: break-all;
}

.connect-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .connect-grid { grid-template-columns: repeat(2, 1fr); }
  .connect-grid .connect-card[style*="span 2"] { grid-column: span 2 !important; }
}

@media (max-width: 600px) {
  .connect-grid { grid-template-columns: 1fr; }
  .connect-grid .connect-card[style*="span 2"] { grid-column: span 1 !important; }
}

/* ============================================================
   DONATE
   ============================================================ */
.donate {
  background: var(--navy-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.donate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(247, 147, 26, 0.06), transparent 60%);
  pointer-events: none;
}

.donate-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
  position: relative;
}

.donate-content h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.donate-content h2 .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}

.donate-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.donate-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.donate-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--hairline);
  background: rgba(6, 17, 42, 0.4);
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: var(--off-white);
}

.donate-method:hover {
  border-color: var(--hairline-orange);
  background: rgba(6, 17, 42, 0.7);
}

.donate-method-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--navy-deepest);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--orange);
}

.donate-method-content {
  flex: 1;
  min-width: 0;
}

.donate-method-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-strong);
  margin-bottom: 4px;
}

.donate-method-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--off-white);
  word-break: break-all;
  line-height: 1.4;
}

.donate-method-copy {
  font-size: 11px;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  flex-shrink: 0;
}

.donate-method:hover .donate-method-copy { color: var(--orange); }
.donate-method.copied .donate-method-copy { color: var(--orange); }

/* QR card */
.qr-card {
  background: var(--off-white);
  padding: 24px;
  border-radius: 6px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.qr-card:hover { transform: rotate(0deg); }

.qr-card svg {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.qr-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--navy-deepest);
  margin-top: 14px;
  font-weight: 700;
}

.qr-sublabel {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(6, 17, 42, 0.6);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .donate-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 80px 20px;
  }
  .qr-card {
    transform: none;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ============================================================
   WHITEPAPER
   ============================================================ */
.whitepaper {
  background: var(--navy-deepest);
  border-top: 1px solid var(--hairline);
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.whitepaper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(247, 147, 26, 0.05), transparent 60%);
  pointer-events: none;
}

.whitepaper-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.wp-content h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.wp-content h2 .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 600;
}

.wp-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.wp-paper-link { text-decoration: none; }

.wp-paper {
  background: #f5f1e8;
  color: #1a1a1a;
  padding: 38px 34px;
  font-family: 'Times New Roman', serif;
  font-size: 12px;
  line-height: 1.5;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 10px 20px rgba(0, 0, 0, 0.3);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.wp-paper:hover { transform: rotate(0deg); }

.wp-paper-title {
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  color: #000;
}

.wp-paper-author {
  text-align: center;
  font-size: 11px;
  margin-bottom: 4px;
}

.wp-paper-email,
.wp-paper-site {
  text-align: center;
  font-size: 10px;
  margin-bottom: 4px;
  color: #444;
}

.wp-paper-site { margin-bottom: 18px; }

.wp-paper-abstract-label {
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 4px;
}

.wp-paper p {
  margin-bottom: 8px;
  text-align: justify;
  text-indent: 14px;
  color: #1a1a1a;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  max-width: none;
}

.wp-paper-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy-deepest);
  color: var(--orange);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  transform: rotate(8deg);
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .whitepaper-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 80px 20px;
  }
  .wp-paper { transform: none; }
}

/* ============================================================
   GRACIAS SATOSHI
   ============================================================ */
.gracias {
  text-align: center;
  padding: 80px 40px 40px;
  position: relative;
  z-index: 5;
}

.gracias-text {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.gracias-heart {
  display: inline-block;
  color: var(--orange);
  margin-left: 6px;
  animation: heartbeat 2.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
  60% { transform: scale(1); }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-deepest);
  padding: 40px 40px 40px;
  border-top: 1px solid var(--hairline);
  position: relative;
  z-index: 5;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--muted-strong);
  max-width: 380px;
  margin-top: 16px;
  line-height: 1.4;
}

.footer-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-strong);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--off-white); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom .accent-orange { color: var(--orange); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
