/* =====================================================
   OhBet — styles.css
   Standalone production CSS. No external framework.
   Design tokens at top — change these to rebrand.
   ===================================================== */

:root {
  /* === BRAND COLORS — Navy · Baby Blue · White === */
  --ob-ink:        #0A2540;   /* Navy — primary text, headers */
  --ob-ink-soft:   #2E5073;   /* Secondary text — medium navy */
  --ob-ink-mute:   #5E7E99;   /* Tertiary/captions — lighter navy */
  --ob-paper:      #FFFFFF;   /* White — page bg */
  --ob-paper-alt:  #EEF5FD;   /* Light sky tint — alt section bg */
  --ob-line:       rgba(10,37,64,0.10);
  --ob-line-strong:rgba(10,37,64,0.20);

  --ob-blue:       #5BB8F5;   /* Baby blue — signature accent */
  --ob-blue-deep:  #0A2540;   /* Navy — primary CTA */
  --ob-blue-night: #071B2F;   /* Deep navy — footer CTA bg */
  --ob-blue-soft:  #E3F3FD;   /* Light baby blue tint */
  --ob-blue-light: #5BB8F5;   /* Baby blue — italic on dark bg */

  --ob-green:      #0F6E56;   /* success / settled */
  --ob-green-soft: #E1F5EE;
  --ob-amber:      #854F0B;   /* warning / pending */
  --ob-amber-soft: #FAEEDA;
  --ob-red:        #A32D2D;
  --ob-red-soft:   #FCEBEB;

  /* === TYPOGRAPHY === */
  --font-serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* === RADII === */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* === MOTION === */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   RESET / BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ob-ink);
  background: var(--ob-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ob-line);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: block;
  flex-shrink: 0;
}
.nav-logo em { font-style: italic; color: var(--ob-blue); }
.nav-comma { color: var(--ob-ink-mute); }
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px;
  color: var(--ob-ink-soft);
  transition: color 0.15s var(--ease);
}
.nav-links a:hover { color: var(--ob-ink); }
.nav-cta {
  background: var(--ob-blue-deep);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--r-md);
  font-weight: 500;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.nav-cta:hover { background: var(--ob-blue-night); transform: translateY(-1px); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--ob-line);
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--ob-paper-alt) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10,37,64,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-mark {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--ob-ink-mute);
  margin-bottom: 36px;
}
.hero-mark span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--ob-line-strong);
  vertical-align: middle;
  margin: 0 14px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--ob-blue);
  font-weight: 500;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ob-ink-soft);
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ob-blue-deep);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.cta-primary:hover { background: var(--ob-blue-night); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,37,64,0.18); }
.cta-primary:active { transform: scale(0.98); box-shadow: none; }
.cta-full { width: 100%; justify-content: center; }
.cta-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ob-ink);
  border: 1px solid var(--ob-line-strong);
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.cta-secondary:hover { background: rgba(14,14,12,0.04); transform: translateY(-2px); }
.hero-trust {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ob-ink-mute);
}

/* =====================================================
   TICKER
   ===================================================== */
.ticker {
  background: var(--ob-paper-alt);
  border-bottom: 1px solid var(--ob-line);
  position: relative;
  overflow: hidden;
  padding: 16px 0;
}
.ticker-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--ob-paper-alt);
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ob-ink-soft);
  display: flex;
  align-items: center;
  z-index: 2;
  border-right: 1px solid var(--ob-line);
}
.ticker-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ob-green);
  margin-right: 10px;
  animation: tickerpulse 2s infinite;
}
@keyframes tickerpulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  padding-left: 130px;
  animation: tickerscroll 48s linear infinite;
}
@keyframes tickerscroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ob-ink);
}
.ticker-amt { color: var(--ob-blue-deep); font-weight: 500; }
.ticker-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.ts-locked   { background: var(--ob-blue-soft);   color: var(--ob-blue-deep); }
.ts-settled  { background: var(--ob-green-soft);  color: var(--ob-green); }
.ts-pending  { background: var(--ob-amber-soft);  color: var(--ob-amber); }

/* Pause ticker on hover for accessibility */
.ticker:hover .ticker-track { animation-play-state: paused; }

/* =====================================================
   GENERIC SECTION
   ===================================================== */
.section { padding: 96px 0; border-bottom: 1px solid var(--ob-line); }
.section-alt { background: var(--ob-paper-alt); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
  margin-bottom: 18px;
}
.section-h {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.section-h em { font-style: italic; color: var(--ob-blue); font-weight: 500; }
.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ob-ink-soft);
  max-width: 560px;
  margin: 0 0 40px;
}

/* =====================================================
   CONSENSUS KEY SECTION TINT
   ===================================================== */
.section-key {
  background: linear-gradient(180deg, #ffffff 0%, rgba(91,184,245,0.05) 100%);
  position: relative;
}
@keyframes keyGradientShift {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
.section-key::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 60%, rgba(91,184,245,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: keyGradientShift 6s ease-in-out infinite;
}
.section-key .container { position: relative; z-index: 1; }

/* =====================================================
   DARK SECTION — NAVY CINEMATIC TREATMENT
   ===================================================== */
.section-dark {
  color: #fff;
  border-bottom: none;
}
.section-key.section-dark {
  background: var(--ob-ink);
}
.section-dark.section-key::after {
  background: radial-gradient(ellipse 60% 40% at 50% 70%, rgba(91,184,245,0.09) 0%, transparent 65%);
}
.section-dark .eyebrow {
  color: rgba(255,255,255,0.45);
}
.section-dark .section-h {
  color: #fff;
}
.section-dark .section-h em {
  color: var(--ob-blue);
}
.section-dark .lede {
  color: rgba(255,255,255,0.65);
}
.section-dark .demo-frame {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.section-dark .key-track-wrap {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}
.section-dark .key-track-text {
  color: #ddd;
}
.section-dark .key-name {
  color: rgba(255,255,255,0.65);
}
.section-dark .key-stake {
  color: #fff;
}
.section-dark .key-vs {
  color: rgba(255,255,255,0.45);
}
.section-dark .key-prompt {
  color: rgba(255,255,255,0.85);
}
.section-dark .key-sl-name {
  color: rgba(255,255,255,0.6);
}
.section-dark .key-sl-action {
  color: rgba(255,255,255,0.4);
}
.section-dark .key-resolved {
  color: #5BB8F5;
}
.section-dark .demo-hint {
  color: rgba(255,255,255,0.55);
}
.section-dark .key-thumb {
  box-shadow: 0 0 16px rgba(91,184,245,0.35), 0 2px 8px rgba(0,0,0,0.3);
}

/* =====================================================
   CONSENSUS KEY DEMO
   ===================================================== */
.demo-frame {
  background: var(--ob-paper-alt);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  max-width: 640px;
  margin: 0 auto;
}
.section-alt .demo-frame { background: var(--ob-paper); }
.key-stage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.key-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.key-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ob-blue-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 2px solid var(--ob-paper);
}
.key-avatar.k-c { background: var(--ob-blue); }
.key-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ob-ink-soft);
  letter-spacing: 0.05em;
}
.key-stake {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}
.key-vs {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ob-ink-mute);
  padding: 0 16px;
}
.key-prompt {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.3;
  margin: 16px 0 28px;
  font-style: italic;
  color: var(--ob-ink);
}
.key-track-wrap {
  position: relative;
  background: var(--ob-paper);
  border-radius: var(--r-pill);
  height: 64px;
  border: 1px solid var(--ob-line);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.section-alt .key-track-wrap { background: var(--ob-paper-alt); }
.key-track-wrap.dragging { cursor: grabbing; }
.key-fill {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; width: 0;
  background: var(--ob-blue);
  opacity: 0.85;
  transition: left 0.05s linear, width 0.05s linear;
}
.key-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ob-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: box-shadow 0.15s var(--ease);
}
.key-thumb:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.key-thumb.dragging { cursor: grabbing; box-shadow: 0 4px 16px rgba(12,68,124,0.3); }
.key-side-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 4px;
}
.key-side-label { display: flex; flex-direction: column; gap: 2px; }
.key-side-label.key-sl-right { align-items: flex-end; }
.key-sl-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ob-ink-soft);
}
.key-sl-action {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
}
.key-track-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ob-ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s var(--ease);
}
.key-track-text.fade { opacity: 0.25; }
.key-resolved {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ob-green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  height: 18px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.key-resolved.show { opacity: 1; }
.demo-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ob-ink-mute);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

/* =====================================================
   HOW IT WORKS — 4 STEPS
   ===================================================== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
}
.how-step {
  background: var(--ob-paper);
  border: 1px solid var(--ob-line);
  border-radius: var(--r-lg);
  padding: 24px 24px 28px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.how-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,37,64,0.09);
}
.section-alt .how-step { background: var(--ob-paper); }
.how-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ob-blue);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.how-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}
.how-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ob-ink-soft);
  margin: 0;
}

/* =====================================================
   GROUP POTS — TWO-COLUMN VISUAL LAYOUT
   ===================================================== */
.group-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
}

/* ---- Left: sky-blue phone-frame recreation ---- */
.group-phone {
  background: var(--ob-blue);
  border-radius: 36px;
  box-shadow: 0 8px 32px rgba(10,37,64,0.18);
  padding: 22px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  flex-shrink: 0;
}
.gp-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
  margin: 8px 0 10px;
}
.gp-leader-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-align: center;
  margin-bottom: 10px;
}
.gp-leader-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(135deg, #C8A582 0%, #8B6F47 100%);
  margin: 0 auto 6px;
  flex-shrink: 0;
}
.gp-leader-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  margin-bottom: 14px;
}
.gp-meta-row {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  padding: 10px 20px;
  width: 100%;
  margin-bottom: 18px;
}
.gp-meta-col {
  flex: 1;
  text-align: center;
}
.gp-meta-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.gp-meta-val {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.gp-meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.25);
  margin: 0 8px;
  flex-shrink: 0;
}

/* Avatar ring */
.gp-ring-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.gp-dashed-ring {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.5);
  pointer-events: none;
}
.gp-pot-total {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 52px;
  color: #fff;
  line-height: 1;
  pointer-events: none;
}
.gp-ring-avatar {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
  flex-shrink: 0;
}
.gp-ring-avatar.gp-empty {
  background: rgba(255,255,255,0.25);
}
.gp-ring-avatar.gp-filled {
  background: linear-gradient(135deg, #C8A582 0%, #8B6F47 100%);
}
.gp-plus {
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}
.gp-ring-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
}

/* Clock positions — 280px container, 110px radius, 56px avatar (28px offset) */
.gp-pos-0 { left: 112px; top:   2px; }   /* 12 o'clock */
.gp-pos-1 { left: 207px; top:  57px; }   /*  2 o'clock */
.gp-pos-2 { left: 207px; top: 167px; }   /*  4 o'clock */
.gp-pos-3 { left: 112px; top: 222px; }   /*  6 o'clock */
.gp-pos-4 { left:  17px; top: 167px; }   /*  8 o'clock — filled */
.gp-pos-5 { left:  17px; top:  57px; }   /* 10 o'clock */

.gp-begin-btn {
  background: rgba(255,255,255,0.28);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 13px 44px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s var(--ease);
  letter-spacing: 0.01em;
}
.gp-begin-btn:hover { background: rgba(255,255,255,0.42); }

/* ---- Right: vertical text blocks ---- */
.group-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}
.group-step {
  background: var(--ob-paper);
  border: 1px solid var(--ob-line);
  border-radius: var(--r-lg);
  padding: 24px 24px 28px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.group-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,37,64,0.09);
}
.section-alt .group-step { background: var(--ob-paper); }
.group-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ob-ink-soft);
  margin: 0;
}

/* =====================================================
   SEND PREVIEW BUILDER
   ===================================================== */
.send-stage {
  display: flex;
  justify-content: center;
  max-width: 760px;
}
.send-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
  margin-bottom: 8px;
}
.send-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--ob-line-strong);
  background: transparent;
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ob-ink);
  outline: none;
  margin-bottom: 24px;
  transition: border-color 0.15s var(--ease);
}
.send-input:focus { border-bottom-color: var(--ob-blue); }
.stake-row {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.stake-chip {
  flex: 1;
  padding: 10px 0;
  border: 1px solid var(--ob-line-strong);
  border-radius: var(--r-md);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-ink);
  transition: all 0.15s var(--ease);
}
.stake-chip:hover { background: rgba(14,14,12,0.04); }
.stake-chip.active {
  background: var(--ob-blue-deep);
  color: #fff;
  border-color: var(--ob-blue-deep);
}
.send-preview {
  padding: 40px 32px;
  background: var(--ob-paper-alt);
  border: 1px solid var(--ob-line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 440px;
}
.preview-card {
  width: 100%;
  max-width: 260px;
  background: #fff;
  border: 1px solid var(--ob-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.pc-top {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--ob-line);
}
.pc-brand {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
  margin-bottom: 8px;
}
.pc-brand em { font-style: italic; color: var(--ob-blue); }
.pc-from { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.pc-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ob-ink-soft);
}
.pc-bottom {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pc-amount {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
}
.pc-amount-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
}
.pc-cta {
  font-family: var(--font-mono);
  background: var(--ob-blue-deep);
  color: #fff;
  font-size: 11px;
  padding: 8px 14px;
  border-radius: var(--r-md);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preview-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ob-ink-mute);
  margin-top: 18px;
  font-style: italic;
}

/* =====================================================
   PHONE FRAME — APP-STYLE CHALLENGE PREVIEW
   ===================================================== */
.phone-frame {
  background: #fff;
  border-radius: 28px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(10,37,64,0.08);
  padding: 20px;
  margin-bottom: 16px;
}
.pf-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.pf-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #999;
}
.pf-signal {
  font-size: 10px;
  color: #ccc;
  letter-spacing: 3px;
}
.pf-heading {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ob-ink);
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.4;
}
.pf-heading em { font-style: italic; color: var(--ob-blue); }
.pf-name-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.pf-at {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ob-blue);
}
.pf-name-input {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--ob-blue);
  color: var(--ob-ink);
  outline: none;
  width: 72px;
  padding: 0 2px 1px;
  text-align: left;
  transition: border-color 0.15s var(--ease);
}
.pf-name-input:focus { border-bottom-color: var(--ob-blue-deep); }
.pf-toggle-row {
  display: flex;
  border-radius: var(--r-pill);
  background: #E5E5E0;
  height: 38px;
  margin-bottom: 16px;
  padding: 3px;
}
.pf-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-ink);
  border-radius: var(--r-pill);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
  cursor: pointer;
}
.pf-toggle-btn.pf-toggle-active {
  background: var(--ob-blue);
  color: #fff;
}
.pf-field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
  margin-bottom: 6px;
}
.pf-challenge-display {
  background: #F5F5F2;
  border-radius: var(--r-md);
  padding: 12px;
  width: 100%;
  font-size: 14px;
  font-style: italic;
  color: var(--ob-ink);
  margin-bottom: 14px;
  min-height: 44px;
  line-height: 1.4;
}
.pf-challenge-input {
  display: block;
  width: 100%;
  background: #F5F5F2;
  border: none;
  border-radius: var(--r-md);
  padding: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-style: italic;
  color: var(--ob-ink);
  margin-bottom: 14px;
  outline: none;
  transition: box-shadow 0.15s var(--ease);
  -webkit-appearance: none;
}
.pf-challenge-input:focus {
  box-shadow: 0 0 0 2px rgba(91,184,245,0.45);
}
.pf-challenge-input::placeholder {
  color: var(--ob-ink-mute);
  font-style: italic;
}

/* =====================================================
   PHONE-FRAME GROUP MODE — compact internal preview
   (#pf-mode-group). Shares visual DNA with the larger
   Group Pots section (.gp-*) but is a distinct component
   sized to fit inside the 360px phone-frame. Do not
   merge these CSS classes — they diverge in size/context.
   ===================================================== */
.pfg-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ob-ink);
  text-align: center;
  margin: 6px 0 8px;
}
.pfg-leader-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
  text-align: center;
  margin-bottom: 8px;
}
.pfg-leader-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8A582 0%, #8B6F47 100%);
  border: 2px solid var(--ob-paper);
  box-shadow: 0 0 0 1.5px var(--ob-line-strong);
  margin: 0 auto 5px;
}
.pfg-leader-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ob-ink);
  text-align: center;
  margin-bottom: 12px;
}
.pfg-meta-row {
  display: flex;
  align-items: center;
  background: var(--ob-paper-alt);
  border-radius: var(--r-md);
  padding: 8px 16px;
  margin-bottom: 14px;
}
.pfg-meta-col {
  flex: 1;
  text-align: center;
}
.pfg-meta-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
  margin-bottom: 3px;
}
.pfg-meta-val {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-ink);
}
.pfg-meta-divider {
  width: 1px;
  height: 28px;
  background: var(--ob-line-strong);
  margin: 0 6px;
  flex-shrink: 0;
}

/* Compact hex ring — 140px container, 55px radius, 28px avatars */
.pfg-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
}
.pfg-dashed-ring {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1.5px dashed rgba(10,37,64,0.3);
  pointer-events: none;
}
.pfg-pot-total {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--ob-ink);
  line-height: 1;
  pointer-events: none;
}
.pfg-avatar {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--ob-line);
}
.pfg-avatar.pfg-empty { background: #E5E5E0; }
.pfg-avatar.pfg-filled {
  background: linear-gradient(135deg, #A8C8E8 0%, #6B9FBF 100%);
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(91,184,245,0.5);
}
.pfg-plus {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}
.pfg-ring-label {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--ob-ink);
  white-space: nowrap;
}

/* Clock positions — 140px container, center (70,70), radius 55px, 28px avatar (14px offset) */
.pfg-pos-0 { left: 56px; top:  1px; }   /* 12 o'clock */
.pfg-pos-1 { left: 104px; top: 29px; }   /*  2 o'clock */
.pfg-pos-2 { left: 104px; top: 83px; }   /*  4 o'clock */
.pfg-pos-3 { left: 56px; top: 111px; }   /*  6 o'clock */
.pfg-pos-4 { left:  8px; top: 83px; }    /*  8 o'clock — filled */
.pfg-pos-5 { left:  8px; top: 29px; }    /* 10 o'clock */

.pfg-begin-wrap { text-align: center; }
.pfg-begin-btn {
  background: rgba(10,37,64,0.07);
  color: var(--ob-ink);
  border: none;
  border-radius: var(--r-pill);
  padding: 10px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: default;
  letter-spacing: 0.01em;
}

.pf-chip-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.pf-chip {
  flex: 1;
  padding: 8px 0;
  border: 1px solid var(--ob-line-strong);
  border-radius: var(--r-md);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--ob-ink);
  transition: all 0.15s var(--ease);
  cursor: pointer;
}
.pf-chip:hover { background: rgba(14,14,12,0.04); }
.pf-chip.pf-chip-active {
  background: var(--ob-blue);
  color: #fff;
  border-color: var(--ob-blue);
}
.pf-post-btn {
  width: 100%;
  height: 44px;
  background: var(--ob-blue);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.pf-post-btn:hover { background: #4aa8e5; transform: translateY(-1px); }
.pf-post-btn:active { transform: scale(0.98); }

/* =====================================================
   TRUST TALLY — OVERWATCH-STYLE RING
   ===================================================== */
.tally-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--ob-paper);
  border: 1px solid var(--ob-line);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  max-width: 380px;
  transition: box-shadow 0.4s var(--ease);
}
.tally-stage:hover {
  box-shadow: 0 0 48px rgba(91,184,245,0.14), 0 2px 24px rgba(10,37,64,0.06);
}
.tally-ring-wrap {
  position: relative;
  width: 240px;
  height: 240px;
  margin-bottom: 32px;
}
.tally-ring-wrap svg { display: block; }

/* Subtle pulse on ring arcs on hover */
.tally-stage:hover .tally-ring-wrap svg {
  filter: drop-shadow(0 0 10px rgba(91,184,245,0.22));
  transition: filter 0.4s ease;
}

.tally-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.tally-score {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--ob-ink);
}
.tally-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ob-ink-mute);
}

/* Legend */
.tally-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}
.tally-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tally-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tally-dot-completed { background: var(--ob-ink); }
.tally-dot-tied      { background: var(--ob-blue); }
.tally-dot-incomplete{ background: #8BAEC4; }
.tally-legend-text {
  flex: 1;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ob-ink-soft);
}
.tally-legend-count {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ob-ink);
}

/* =====================================================
   MANIFESTO
   ===================================================== */
.manifesto {
  padding: 96px 0;
  text-align: center;
  background: radial-gradient(ellipse at center, var(--ob-paper) 0%, var(--ob-paper-alt) 100%);
  border-bottom: 1px solid var(--ob-line);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.028;
  pointer-events: none;
  z-index: 0;
}
.manifesto .container {
  position: relative;
  z-index: 1;
}
.manifesto-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ob-ink-mute);
  margin-bottom: 24px;
}
.manifesto-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto;
  letter-spacing: -0.005em;
}
.manifesto-text strong {
  font-weight: 500;
  font-style: italic;
  color: var(--ob-blue);
}

/* =====================================================
   FAQ
   ===================================================== */
.section-h-massive {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 24px;
}
#faq { padding-top: 96px; }
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--ob-line); }
.faq-item:first-child { border-top: 1px solid var(--ob-line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ob-ink);
}
.faq-q em { font-style: italic; color: var(--ob-ink-soft); }
.faq-toggle {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ob-ink-mute);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-q[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ob-ink-soft);
  max-width: 580px;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
}
.faq-a.open {
  max-height: 400px;
  padding: 0 0 24px;
}

/* =====================================================
   FINAL CTA
   ===================================================== */
.cta-final {
  padding: 112px 0;
  text-align: center;
  background: var(--ob-blue-night);
  color: #fff;
}
.cta-final-mark {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.cta-final-mark span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  vertical-align: middle;
  margin: 0 14px;
}
.cta-final-h {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.cta-final-h em { font-style: italic; color: var(--ob-blue-light); }
.cta-final-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 420px;
  margin: 0 auto 36px;
}
.cta-final-row {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}
.cta-final-primary {
  background: #fff;
  color: var(--ob-blue-night);
  border: none;
  padding: 16px 30px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s var(--ease);
}
.cta-final-primary:hover { background: var(--ob-blue-soft); }
.cta-final-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 16px 30px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s var(--ease);
}
.cta-final-secondary:hover { background: rgba(255,255,255,0.1); }
.cta-final-foot {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  padding: 48px 0;
  background: var(--ob-paper);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
/* Footer symbol */
.footer-symbol-wrap {
  width: 44px;
  height: 44px;
  overflow: hidden;
  position: relative;
  opacity: 0.55;
}
.footer-symbol-img {
  position: absolute;
  height: 138px;
  width: auto;
  left: -99px;
  top: -22px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
}
.footer-brand em { font-style: italic; color: var(--ob-blue); }
.footer-brand span { color: var(--ob-ink-mute); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-size: 13px;
  color: var(--ob-ink-soft);
  transition: color 0.15s var(--ease);
}
.footer-links a:hover { color: var(--ob-ink); }
.footer-fine {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ob-ink-mute);
}

/* =====================================================
   SECTION DIVIDERS — baby blue accent line
   ===================================================== */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0;
  height: 1px;
  background: transparent;
  position: relative;
  z-index: 1;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,184,245,0.4), transparent);
}
.section-divider-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ob-blue);
  opacity: 0.6;
  flex-shrink: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 64px 0 48px; }
  .section, .manifesto { padding: 64px 0; }
  #faq { padding-top: 80px; }
  .cta-final { padding: 80px 0; }
  .how-grid { grid-template-columns: 1fr; }
  .group-layout { grid-template-columns: 1fr; gap: 28px; }
  .group-phone { margin: 0 auto; }
  .tally-stage { padding: 32px 24px; max-width: 100%; }
  .tally-ring-wrap { width: 200px; height: 200px; margin: 0 auto; }
  .tally-ring-wrap svg { width: 200px; height: 200px; }
  .demo-frame { padding: 28px 18px; }
  .key-stage { gap: 4px; }
  .key-vs { padding: 0 4px; }
  .section-h-massive { font-size: clamp(40px, 11vw, 64px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
