/* =========================================================
   BTC'26, Better Together Converge
   Design system
   ========================================================= */

:root {
  --bg: #0B1220;
  --bg-2: #0F1729;
  --ink: #F4EEE3;
  --ink-dim: #C9C3B6;
  --ink-mute: #8B8576;
  --line: rgba(244, 238, 227, 0.12);
  --line-strong: rgba(244, 238, 227, 0.28);
  --blue: #2A88C4;
  --blue-deep: #1B6A9C;
  --orange: #E26A1F;
  --orange-deep: #B85617;
  --paper: #F4EEE3;
  --paper-2: #EAE3D4;

  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Instrument Serif", "Times New Roman", serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }

/* Skip to content link (accessibility) */
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
#main-content:focus, #top:focus { outline: none; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  /* casual-save deterrent: block drag-to-save and text selection.
     Not real protection (DevTools, screenshots, Network tab still expose
     every image), but blocks the obvious right-click and drag paths. */
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--line-strong);
}

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(40px, 5.4vw, 84px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.015em; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }

/* ---------- nav, floating glass island ---------- */
.nav {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav-island {
  pointer-events: auto;
  position: relative;
  display: grid;
  grid-template-areas: "left brand right";
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(244, 238, 227, 0.10);
  border-radius: 999px;
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav-left  { grid-area: left;  justify-self: end; }
.brand     { grid-area: brand; justify-self: center; }
.nav-right { grid-area: right; justify-self: start; }
.brand-inline { display: none; }
.nav.scrolled .nav-island {
  background: rgba(11, 18, 32, 0.72);
  border-color: rgba(244, 238, 227, 0.16);
}
.nav-side {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-side a {
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink-dim);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-side a:hover { color: var(--ink); background: rgba(244,238,227,0.06); }
.nav-side a[aria-current="page"] {
  color: var(--ink);
  background: rgba(244,238,227,0.08);
}
/* Portal button keeps its white-on-orange look in the nav (beats .nav-side a color) */
.nav-side a.btn.btn-primary,
.nav-side a.btn.btn-primary:hover {
  color: #ffffff;
}
.nav-side .btn {
  padding: 10px 18px;
  font-size: 14px;
}
.nav-left  { padding-right: 4px; }
.nav-right { padding-left: 4px; }

/* mobile inline brand label (shown when nav-side is hidden) */
.brand-inline {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

/* center floating logo, dark glass coin that overlaps the pill above and below */
.brand {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(244, 238, 227, 0.14);
  display: grid; place-items: center;
  margin: -26px 6px;
  flex-shrink: 0;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 4px 14px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}
.brand::after {
  /* subtle inner radial highlight */
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}
.brand:hover { transform: scale(1.05); }
.brand-mark-img {
  width: 56px; height: 56px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}
.brand-tag {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.brand-wordmark {
  height: 44px;
  width: auto;
  display: block;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(244,238,227,0.08); border-color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--bg); }
.btn-paper:hover { background: #fff; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(244, 238, 227, 0.18);
  align-items: center; justify-content: center;
  color: var(--ink);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-toggle:hover { background: rgba(244,238,227,0.06); border-color: rgba(244,238,227,0.28); }
.nav-toggle[aria-expanded="true"] { background: rgba(244,238,227,0.08); }
.nav-toggle svg { width: 18px; height: 18px; transition: opacity .2s; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  /* extend the layer beyond the section bounds so the radial gradients can bloom
     past the viewport edges without showing a hard clip when btcDrift translates them */
  top: -8%; bottom: -8%; left: -12%; right: -12%;
  background:
    radial-gradient(circle at 78% 28%, rgba(226, 106, 31, 0.22), transparent 45%),
    radial-gradient(circle at 18% 78%, rgba(27, 106, 156, 0.25), transparent 45%);
  /* fade out toward the bottom so the section blends into the next */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 238, 227, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 238, 227, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  /* radial vignette (center bias up) so edges + bottom fade out cleanly */
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, black 25%, transparent 95%);
          mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, black 25%, transparent 95%);
  z-index: 1;
  pointer-events: none;
}
.hand {
  position: absolute;
  pointer-events: none;
  user-select: none;
  width: calc(min(46vw, 720px) * 1.05);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
  --reach: 0;
  z-index: 2;
}
.hand-blue  {
  filter: drop-shadow(0 30px 60px rgba(27, 106, 156, 0.25));
  top: 24%;
  right: -8%;
  transform: translateX(calc(var(--reach) * -5vw)) rotate(-10deg) scale(calc(1 + var(--reach) * 0.05));
}
.hand-orange {
  filter: drop-shadow(0 30px 60px rgba(226, 106, 31, 0.25));
  bottom: 8%;
  left: -8%;
  transform: translateX(calc(var(--reach) * 5vw)) rotate(10deg) scale(calc(1 + var(--reach) * 0.05));
}

/* ---------- HERO PEOPLE (floating glass circles) ---------- */
.hero-people {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.hp {
  position: absolute;
  border-radius: 50%;
  padding: 4px;
  margin: 0;
  background: rgba(244, 238, 227, 0.06);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(244, 238, 227, 0.22);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
  pointer-events: auto;
  isolation: isolate;
  opacity: 0;
  transform: translateY(10px) scale(.92);
  animation:
    hpEnter 1.1s cubic-bezier(.2,.7,.2,1) forwards,
    hpFloat 9s ease-in-out infinite;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.hp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 38%, transparent 62%, rgba(255, 255, 255, 0.08));
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}
.hp::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(226, 106, 31, 0.18), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.hp img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  position: relative;
  z-index: 1;
}
.hp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes hpEnter {
  from { opacity: 0; transform: translateY(14px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hpFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

/* per-circle positioning, size, and animation timing, placed to avoid hero content + hands */
.hp-1 {
  width: clamp(74px, 7.5vw, 112px);
  height: clamp(74px, 7.5vw, 112px);
  top: 13%;
  left: clamp(8px, 1.6vw, 32px);
  animation-delay: 0.2s, 1.4s;
}
.hp-2 {
  width: clamp(60px, 6.4vw, 88px);
  height: clamp(60px, 6.4vw, 88px);
  top: 19%;
  right: 3%;
  animation-delay: 0.35s, 1.7s;
}
.hp-3 {
  width: clamp(80px, 9vw, 124px);
  height: clamp(80px, 9vw, 124px);
  top: 50%;
  right: 1.5%;
  animation-delay: 0.5s, 2.1s;
}
.hp-3 img { object-position: center 30%; }
.hp-4 {
  width: clamp(64px, 7vw, 96px);
  height: clamp(64px, 7vw, 96px);
  top: 80%;
  right: 14%;
  animation-delay: 0.65s, 1.9s;
}
.hp-5 {
  width: clamp(78px, 8.2vw, 116px);
  height: clamp(78px, 8.2vw, 116px);
  top: 44%;
  left: clamp(8px, 1.6vw, 32px);
  animation-delay: 0.8s, 2.4s;
}
.hp-5 img { object-position: center 22%; }

/* tablet: hide hp-1 (left gutter too small) and hp-4/hp-5 */
@media (max-width: 1100px) {
  .hp-1 { display: none; }
  .hp-2 { top: 19%; right: 2%; }
  .hp-3 { top: 38%; right: 1%; }
  .hp-4 { display: none; }
  .hp-5 { display: none; }
}

/* mid range (1101-1400): hide hp-4 because the countdown extends into its column */
@media (min-width: 1101px) and (max-width: 1400px) {
  .hp-4 { display: none; }
}

/* very wide (1101-1280): the left gutter is narrow but still fits a smaller hp-1 */
@media (min-width: 1101px) and (max-width: 1280px) {
  .hp-1 {
    display: block;
    width: 78px;
    height: 78px;
    top: 18%;
    left: 12px;
  }
}

/* mobile: place circles right of the "Million." title row, and right of the action buttons */
@media (max-width: 720px) {
  .hero-people { display: block; }
  .hp { padding: 3px; border-width: 1px; }
  .hp-1, .hp-2, .hp-5 { display: none; }
  .hp-3 {
    display: block;
    width: clamp(64px, 18vw, 84px);
    height: clamp(64px, 18vw, 84px);
    top: 27%;
    right: 5%;
    left: auto;
  }
  .hp-4 {
    display: block;
    width: clamp(58px, 16vw, 76px);
    height: clamp(58px, 16vw, 76px);
    top: 58%;
    right: 5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp { animation: hpEnter 0.6s ease forwards; }
}

.hero-content { position: relative; z-index: 2; max-width: 1180px; }

.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 40px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.hero-title {
  font-size: clamp(48px, 8.2vw, 128px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 36px;
}
.hero-title .row { display: block; }
.hero-title .blue { color: var(--blue); }
.hero-title .orange { color: var(--orange); }
.hero-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

.hero-sub {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.hero-lede {
  max-width: 560px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-dim);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.stat-value {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.stat-value .small { font-size: 0.55em; color: var(--ink-dim); display: block; margin-top: 2px; font-weight: 400; letter-spacing: 0; }

/* ---------- HERO COUNTDOWN ---------- */
.hero-countdown {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
  isolation: isolate;
}
.hero-countdown::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 50%, rgba(27, 106, 156, 0.35), transparent 35%),
    radial-gradient(circle at 80% 50%, rgba(226, 106, 31, 0.30), transparent 35%);
  filter: blur(40px);
  z-index: -2;
  pointer-events: none;
}
.hero-countdown::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.35);
  z-index: -1;
  pointer-events: none;
}
.hc-cell {
  position: relative;
  padding: 28px 20px 22px;
  text-align: center;
  background: rgba(11, 18, 32, 0.45);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hc-num {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.hc-cell:nth-child(1) .hc-num { color: var(--blue); }
.hc-cell:nth-child(4) .hc-num { color: var(--orange); }
.hc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- SECTION GENERIC ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: clamp(48px, 7vw, 88px);
  align-items: end;
}
.section-head h2 { max-width: 16ch; }

/* ---------- VISION (01) ---------- */
.vision { background: var(--bg); padding-top: clamp(32px, 4vw, 48px); }
.vision-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.vision-body p { margin-bottom: 22px; font-size: 18px; color: var(--ink-dim); }
.vision-body p:first-child { font-size: 22px; color: var(--ink); line-height: 1.45; }
.vision-quote {
  margin-top: 32px;
  padding: 28px 32px;
  border-left: 2px solid var(--orange);
  background: linear-gradient(90deg, rgba(226, 106, 31, 0.06), transparent);
}
.vision-quote .q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
}
.vision-quote .cite { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }

.million-card {
  position: sticky; top: 100px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  background: linear-gradient(180deg, rgba(27,106,156,0.08), rgba(11,18,32,0));
  overflow: hidden;
}
.million-num {
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.million-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}
.million-divider {
  margin: 28px 0;
  height: 1px;
  background: var(--line);
}
.million-foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.million-foot .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.million-foot .val { font-size: 18px; }

/* ---------- PROMO VIDEO ---------- */
.video-section { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(80px, 10vw, 120px); }
.video-glass {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(244, 238, 227, 0.12);
  background: rgba(11, 18, 32, 0.5);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    0 0 0 1px rgba(42, 136, 196, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 80px 200px rgba(0, 0, 0, 0.35),
    0 0 120px rgba(42, 136, 196, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.video-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- WHAT TO EXPECT (02) ---------- */
.expect { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.expect-card {
  background: var(--bg-2);
  padding: 36px 28px 32px;
  position: relative;
  transition: background .3s;
  display: flex; flex-direction: column;
  min-height: 320px;
}
.expect-card:hover { background: #131C33; }
.expect-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-bottom: 40px;
}
.expect-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.expect-card p { color: var(--ink-dim); font-size: 15px; line-height: 1.5; }
.expect-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: rgba(244,238,227,0.04);
  border: 1px solid var(--line);
}
.expect-icon svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.expect-card:nth-child(1) .expect-icon { background: rgba(27,106,156,0.12); border-color: rgba(42,136,196,0.3); }
.expect-card:nth-child(1) .expect-icon svg { stroke: var(--blue); }
.expect-card:nth-child(2) .expect-icon { background: rgba(226,106,31,0.10); border-color: rgba(226,106,31,0.3); }
.expect-card:nth-child(2) .expect-icon svg { stroke: var(--orange); }
.expect-card:nth-child(3) .expect-icon { background: rgba(27,106,156,0.12); border-color: rgba(42,136,196,0.3); }
.expect-card:nth-child(3) .expect-icon svg { stroke: var(--blue); }
.expect-card:nth-child(4) .expect-icon { background: rgba(226,106,31,0.10); border-color: rgba(226,106,31,0.3); }
.expect-card:nth-child(4) .expect-icon svg { stroke: var(--orange); }

/* ---------- REGISTRATION (03) ---------- */
.register { background: var(--paper); color: var(--bg); }
.register .eyebrow { color: #7a7464; }
.register .eyebrow::before { background: rgba(11,18,32,0.2); }
.register h2 { color: var(--bg); }
.register .lede { max-width: 520px; font-size: 18px; color: #3a3a3a; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.tier {
  background: #fff;
  border-radius: 24px;
  padding: 32px 30px 30px;
  position: relative;
  border: 1px solid rgba(11,18,32,0.08);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(11,18,32,0.08); }
.tier-featured {
  background: var(--bg);
  color: var(--ink);
  border-color: transparent;
}
.tier-badge {
  display: none;
  position: absolute;
  top: -12px; left: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
}
.tier-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a6457;
  margin-bottom: 20px;
}
.tier-featured .tier-name { color: var(--ink-mute); }
.tier-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
}
.tier-price .currency { font-size: 22px; color: #6a6457; font-weight: 500; }
.tier-featured .tier-price .currency { color: var(--ink-mute); }
.tier-price .amount {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tier-deadline {
  font-size: 14px;
  color: #6a6457;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(11,18,32,0.08);
}
.tier-featured .tier-deadline { color: var(--ink-dim); border-color: var(--line); }
.tier-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.tier-list li {
  font-size: 14px;
  padding: 8px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #3a3a3a;
}
.tier-featured .tier-list li { color: var(--ink-dim); }
.tier-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 9px;
  flex-shrink: 0;
}
.tier .btn { width: 100%; justify-content: center; }
.tier-cta { background: transparent; border: 1px solid rgba(11,18,32,0.2); color: var(--bg); }
.tier-cta:hover { background: rgba(11,18,32,0.05); }
.tier-current .tier-badge { display: block; }
.tier-current .tier-cta { background: var(--orange); color: #fff; border-color: transparent; }
.tier-current .tier-cta:hover { background: var(--orange-deep); }
.tier-closed { opacity: 0.55; }
.tier-closed .tier-cta { background: #E7E2D6; color: #8f897d; border-color: transparent; pointer-events: none; cursor: not-allowed; }

.register-includes {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(11,18,32,0.12);
}
.register-includes h4 { font-size: 14px; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: #6a6457; font-weight: 500; }
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.includes-grid div { font-size: 15px; color: #3a3a3a; display: flex; align-items: flex-start; gap: 10px; }
.includes-grid div::before { content: "\2713"; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.register-note { margin-top: 28px; font-size: 13px; color: #6a6457; max-width: 720px; }

/* ---------- BIBLICAL INTERDEPENDENCE (04) ---------- */
.values { background: var(--bg); }
.values-list { border-top: 1px solid var(--line); }
.value-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s, background .3s;
  position: relative;
}
.value-row { --accent: var(--ink); --accent-rgb: 244, 238, 227; }
.value-row:nth-child(1) { --accent: #E94B6B; --accent-rgb: 233, 75, 107; }
.value-row:nth-child(2) { --accent: #3FB5E5; --accent-rgb: 63, 181, 229; }
.value-row:nth-child(3) { --accent: #B5D147; --accent-rgb: 181, 209, 71; }
.value-row:nth-child(4) { --accent: #E8732B; --accent-rgb: 232, 115, 43; }
.value-row:nth-child(5) { --accent: #F5C842; --accent-rgb: 245, 200, 66; }

.value-row::before {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.10), transparent 80%);
}
.value-row .value-name .accent {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.value-row:nth-child(odd)::before,
.value-row:nth-child(even)::before {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.10), transparent 80%);
}
.value-row::before {
  content: ""; position: absolute; inset: 0;
  opacity: 0; transition: opacity .3s;
}
.value-row:hover { padding-left: 16px; padding-right: 16px; }
.value-row:hover::before { opacity: 1; }
.value-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  position: relative; z-index: 1;
}
.value-name {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  position: relative; z-index: 1;
}
.value-row:nth-child(odd) .value-name { color: var(--ink); }
.value-desc {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 52ch;
  position: relative; z-index: 1;
}

/* ---------- FINAL CTA ---------- */
.cta {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  /* oversize past the section edges so the radial gradients can bloom beyond bounds
     without showing a clipped edge when btcDrift translates them */
  top: -10%; bottom: -10%; left: -12%; right: -12%;
  background:
    radial-gradient(circle at 80% 50%, rgba(226,106,31,0.18), transparent 50%),
    radial-gradient(circle at 20% 50%, rgba(27,106,156,0.18), transparent 50%);
  z-index: 0;
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; text-align: center; }
.cta h2 {
  font-size: clamp(48px, 8vw, 120px);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.cta h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--orange); }
.cta-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.5;
}
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-actions .btn { padding: 16px 30px; font-size: 15px; }

.cta-countdown {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  max-width: 720px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.cd-cell {
  background: rgba(11, 18, 32, 0.6);
  padding: 24px 12px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.cd-num {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-dim); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--ink); }
.footer-wordmark {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}
.footer-brand p { margin-top: 0; color: var(--ink-dim); font-size: 14px; line-height: 1.5; max-width: 320px; }
.footer-brand {
  max-width: 360px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.footer-socials a:hover { background: var(--ink); border-color: var(--ink); }
.footer-socials a:hover svg { fill: var(--bg); }
.footer-socials svg { width: 14px; height: 14px; fill: var(--ink); transition: fill .2s; }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(226, 106, 31, 0.30);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(226, 106, 31, 0.55);
  box-shadow:
    0 12px 32px rgba(226, 106, 31, 0.28),
    0 4px 14px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
  transition:
    opacity .25s ease,
    transform .35s cubic-bezier(.2,.7,.2,1),
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
  z-index: 45;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
/* hidden while the Jotform chat panel is open (toggled by chat-bubble.js) */
.back-to-top.chat-open {
  opacity: 0;
  pointer-events: none;
}
.back-to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow:
    0 18px 44px rgba(226, 106, 31, 0.5),
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-3px) scale(1.04);
}
.back-to-top:active {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 6px 18px rgba(226, 106, 31, 0.35),
    inset 0 2px 6px rgba(0, 0, 0, 0.25);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.back-to-top:hover svg { transform: translateY(-3px); }

@media (max-width: 720px) {
  .back-to-top { bottom: 110px; right: 18px; width: 44px; height: 44px; }
  .back-to-top svg { width: 16px; height: 16px; }
}

/* ---------- JOTFORM AGENT ADJUSTMENTS ---------- */
/* These keep the layout clear of the fixed Jotform launcher (bottom-right
   corner). They target Jotform's injected class names, which the vendor can
   rename without notice, so re-check after any agent update. */

/* keep the footer social links out from under the launcher on tablet/desktop */
.footer-socials { margin-right: 96px; }

@media (max-width: 720px) {
  /* nudge the launcher bubble in from the right edge */
  .ai-agent-chat-avatar-container { right: 16px; }
  /* stack the footer bar so the social links sit bottom-left, clear of the launcher */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-socials { margin-right: 0; }
}

/* ---------- mobile dropdown (anchored under nav-toggle, NOT fullscreen) ---------- */
.mobile-sheet {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 88px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.97);
  z-index: 51;
  width: min(280px, calc(100vw - 32px));
  padding: 10px;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(244, 238, 227, 0.14);
  border-radius: 18px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 6px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform-origin: top center;
  transition:
    opacity .22s cubic-bezier(.2,.7,.2,1),
    transform .22s cubic-bezier(.2,.7,.2,1),
    visibility .22s;
}
.mobile-sheet.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.mobile-sheet a {
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--ink-dim);
  display: block;
  transition: color .2s, background .2s;
}
.mobile-sheet a:hover,
.mobile-sheet a[aria-current="page"] {
  color: var(--ink);
  background: rgba(244,238,227,0.06);
}
/* portal button keeps branded look, high specificity to beat .mobile-sheet a */
.mobile-sheet a.btn.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #fff !important;
  background: var(--orange);
  border-radius: 999px;
  text-align: center;
}
.mobile-sheet a.btn.btn-primary:hover {
  color: #fff !important;
  background: var(--orange-deep);
}
/* hide the dropdown entirely once we're back at desktop width, belt-and-suspenders, JS also force-closes it */
@media (min-width: 881px) {
  .mobile-sheet {
    display: none !important;
  }
}
.sheet-close { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .vision-grid { grid-template-columns: 1fr; }
  .million-card { position: relative; top: 0; }
  .expect-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .register-includes { grid-template-columns: 1fr; gap: 20px; }
  .includes-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-row { grid-template-columns: 50px 1fr; }
  .value-desc { grid-column: 2 / 3; }
}

/* nav collapses earlier than the rest, before the full pill gets too tight */
@media (max-width: 880px) {
  .nav { padding: 0 12px; }
  .nav-island {
    width: 100%;
    max-width: 480px;
    grid-template-areas: "brand label toggle";
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 8px 14px 8px 12px;
  }
  .nav-side { display: none; }
  /* logo sits on the left of the pill, slightly larger than the pill so it pops up and out */
  .brand {
    grid-area: brand;
    justify-self: start;
    margin: -14px 0;
    width: 68px;
    height: 68px;
  }
  .brand-mark-img { width: 42px; height: 42px; }
  .brand-tag { display: none; }
  /* label sits in the middle 1fr cell, natural non-overlap with brand and toggle */
  .brand-inline {
    display: block;
    grid-area: label;
    justify-self: center;
    align-self: center;
    pointer-events: none;
  }
  .nav-toggle { display: flex; grid-area: toggle; justify-self: end; position: relative; z-index: 1; }
}

@media (max-width: 720px) {
  .nav .btn-primary { display: none; }
  .hero { padding-top: 130px; padding-bottom: 100px; }
  .hero-sub { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .expect-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }

  /* footer: brand full-width up top, Event + Connect side by side below */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer ul { gap: 12px; }
  .footer ul a { font-size: 15px; }

  .value-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }

  /* hands: lift the orange so it sits above the countdown, not below it */
  .hand-blue   { top: 12%; }
  .hand-orange { bottom: auto; top: 42%; }

  .cta-countdown { grid-template-columns: 1fr 1fr; }
}
