/* ============================================================
   GROUPLY × APPLE — design tokens & global styles
   ============================================================ */

:root {
  /* Type */
  --font-sans: "Inter", -apple-system, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Inter", -apple-system, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --font-tight: 0.95;
  --font-tighter: 0.92;

  /* Neutral palette — Apple-grade */
  --bg: #fbfbfd;           /* apple page bg */
  --bg-2: #f5f5f7;         /* apple section bg */
  --bg-dark: #0a0a0d;      /* deep onyx */
  --bg-dark-2: #131318;
  --ink-900: #1d1d1f;
  --ink-700: #424245;
  --ink-500: #6e6e73;
  --ink-300: #86868b;
  --ink-200: #a1a1a6;
  --ink-100: #d2d2d7;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --line-dark: rgba(255, 255, 255, 0.10);

  /* Brand iridescence (lifted from Grouply electric/violet/cyan) */
  --c-electric: #0a84ff;
  --c-electric-deep: #0066ff;
  --c-violet: #8b5cf6;
  --c-cyan: #22d3ee;
  --c-pink: #ff5dac;
  --c-orange: #ff8a3d;
  --c-green: #30d158;

  /* Gradients */
  --iridescent:
    conic-gradient(from 90deg at 50% 50%,
      #ff5dac 0deg,
      #ff8a3d 60deg,
      #ffe17a 110deg,
      #5cffb1 160deg,
      #22d3ee 210deg,
      #5b8bff 260deg,
      #8b5cf6 310deg,
      #ff5dac 360deg);

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(0, 0, 0, 0.12);
  --shadow-card-strong: 0 1px 2px rgba(0, 0, 0, 0.05), 0 24px 60px -16px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.4) inset, 0 30px 80px -20px rgba(10, 132, 255, 0.35);

  /* Motion */
  --ease-apple: cubic-bezier(0.42, 0, 0.07, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  /* Smooth native scrolling on macOS */
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }

::selection { background: rgba(10, 132, 255, 0.18); color: var(--ink-900); }

/* Scrollbar — minimal */
::-webkit-scrollbar { width: 0; height: 0; }

/* ============================================================
   Typography utilities — Apple's actual scale
   ============================================================ */

.t-hero {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9.5vw, 140px);
  line-height: var(--font-tighter);
  letter-spacing: -0.05em;
}

.t-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.t-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.t-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--c-electric);
}

.t-lead {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink-700);
  font-weight: 400;
}

.t-body {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-700);
}

.t-mono {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: -0.005em;
}

.text-ink-700 { color: var(--ink-700); }
.text-ink-500 { color: var(--ink-500); }
.text-ink-300 { color: var(--ink-300); }

.text-iridescent {
  background: linear-gradient(135deg, #ff5dac 0%, #8b5cf6 25%, #5b8bff 50%, #22d3ee 75%, #5cffb1 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iridescentShift 8s ease-in-out infinite;
}

@keyframes iridescentShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: clamp(80px, 12vw, 180px) 0;
}

.section.dark {
  background: var(--bg-dark);
  color: white;
}
.section.dark .t-lead,
.section.dark .text-ink-700 { color: var(--ink-100); }
.section.dark .text-ink-500 { color: var(--ink-200); }

.section.gray {
  background: var(--bg-2);
}

/* ============================================================
   Nav — Apple frosted bar
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease-apple), color .4s var(--ease-apple), border-color .4s;
}

.nav.dark {
  background: rgba(10, 10, 13, 0.72);
  border-bottom-color: var(--line-dark);
  color: white;
}

.nav-inner {
  width: 100%;
  max-width: 1024px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-logo .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--iridescent);
  display: inline-block;
  filter: saturate(1.2);
}

.nav a {
  color: inherit;
  opacity: 0.85;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
}
.nav a:hover { opacity: 1; }

.nav a.is-active {
  opacity: 1;
  font-weight: 500;
}

.nav-spacer { flex: 1; }

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 100px;
  padding: 4px 12px;
  opacity: 0.9;
  font-size: 12px;
}

/* ============================================================
   Buttons — Apple style
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform .15s var(--ease-apple), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: #0071e3;
  color: white;
}
.btn-primary:hover { background: #0077ed; }

.btn-secondary {
  background: transparent;
  color: #0071e3;
  height: 44px;
  padding: 0 4px;
}
.btn-secondary:hover { text-decoration: underline; }

.btn-dark-primary {
  background: white;
  color: var(--ink-900);
}
.btn-dark-primary:hover { background: #f5f5f7; transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

.btn-iridescent {
  background: var(--iridescent);
  color: white;
  position: relative;
  font-weight: 600;
  box-shadow: 0 12px 40px -8px rgba(139, 92, 246, 0.45);
}
.btn-iridescent::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: rgba(10,10,13,0.0);
  border-radius: inherit;
  z-index: -1;
}

.chev::after {
  content: "›";
  font-size: 1.2em;
  margin-left: 2px;
  display: inline-block;
  transform: translateY(-1px);
}

/* ============================================================
   Hero — cinematic
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(10,132,255,0.08);
  color: var(--c-electric);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  border: 1px solid rgba(10,132,255,0.15);
}

.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-electric);
  position: relative;
}
.hero-eyebrow .pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--c-electric);
  opacity: 0.3;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(3); opacity: 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 0;
  position: relative;
}

.hero-title .word { display: inline-block; }
.hero-title .word.iri {
  background: linear-gradient(135deg, #d63ea1 0%, #e0732c 18%, #c79b2a 36%, #2faa78 56%, #1a99b8 74%, #3766d9 88%, #6b3fc9 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iridescentShift 10s ease-in-out infinite;
}

.hero-sub {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  color: var(--ink-700);
  margin-top: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* The orb canvas wrapper */
.hero-orb-wrap {
  position: absolute;
  inset: -160px 0 -200px 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft white veil under the title — pulls the orb back */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(251,251,253,0.55) 0%, rgba(251,251,253,0) 70%);
}

/* The iridescent orb — pure CSS, glowing */
.orb {
  position: relative;
  width: min(720px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform-style: preserve-3d;
  will-change: transform, filter;
  transform: scale(var(--orb-scale, 1));
  opacity: var(--orb-intensity, 1);
}

.orb-core {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: var(--orb-core-bg,
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.3) 10%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 50% 50%,
      rgba(255, 93, 172, 0.55) 0%,
      rgba(139, 92, 246, 0.55) 22%,
      rgba(91, 139, 255, 0.55) 44%,
      rgba(34, 211, 238, 0.55) 64%,
      rgba(92, 255, 177, 0.45) 82%,
      rgba(255, 138, 61, 0.4) 100%));
  box-shadow:
    inset -40px -50px 100px rgba(20, 20, 60, 0.35),
    inset 40px 50px 100px rgba(255, 255, 255, 0.25),
    0 0 100px rgba(139, 92, 246, 0.25),
    0 0 200px rgba(91, 139, 255, 0.2);
  filter: saturate(0.95) blur(2px);
  opacity: 0.85;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--iridescent);
  filter: blur(50px);
  opacity: 0.35;
  animation: orbRotate 24s linear infinite;
}

.orb-ring.r2 {
  inset: 10%;
  filter: blur(70px);
  opacity: 0.3;
  animation: orbRotate 36s linear infinite reverse;
}

.orb-halo {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: var(--orb-halo-bg, radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(34,211,238,0.08) 35%, transparent 70%));
  filter: blur(40px);
}

@keyframes orbRotate {
  to { transform: rotate(360deg); }
}

/* Hero floating cards (orbiting around the orb to suggest people) */
.orbit-card {
  position: absolute;
  display: var(--orbits-display, flex);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-900);
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
  white-space: nowrap;
  z-index: 2;
}
.orbit-card .avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5dac, #8b5cf6);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 600;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-500);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 5;
  animation: floatUp 2.4s ease-in-out infinite;
}
.scroll-cue .line {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--ink-300), transparent);
}
@keyframes floatUp {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ============================================================
   Live momentum bar (ticker)
   ============================================================ */

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker {
  display: flex;
  gap: 48px;
  animation: tickerMove 80s linear infinite;
  width: max-content;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-700);
  white-space: nowrap;
  font-weight: 500;
}
.ticker-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 12px rgba(48, 209, 88, 0.6);
}
.ticker-item .tag {
  color: var(--ink-300);
  font-size: 12px;
  font-weight: 400;
}

/* ============================================================
   Section heads
   ============================================================ */

.section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.section-head .t-eyebrow {
  display: block;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0 0 16px 0;
}

/* ============================================================
   How it works — 3 step cards
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; }
}

.step-card {
  position: relative;
  background: white;
  border-radius: 28px;
  padding: 40px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .5s var(--ease-apple), box-shadow .5s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-strong);
}

.step-card .num {
  position: absolute;
  top: 36px;
  right: 40px;
  font-family: var(--font-display);
  font-size: 90px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(0,0,0,0.04);
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.022em;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.step-card p {
  color: var(--ink-700);
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.step-visual {
  margin-top: 24px;
  height: 200px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

/* ============================================================
   Featured group — interactive
   ============================================================ */

.featured-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 980px) {
  .featured-grid { grid-template-columns: 1fr; }
}

.fg-card {
  background: white;
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow-card-strong);
  position: relative;
  overflow: hidden;
}

.fg-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.fg-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0,0,0,0.05);
  color: var(--ink-700);
}
.tag.live {
  background: rgba(48, 209, 88, 0.12);
  color: #0e8c3e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tag.live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  display: inline-block;
}

.fg-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.fg-progress {
  margin: 32px 0;
}

.progress-bar {
  position: relative;
  height: 14px;
  border-radius: 100px;
  background: rgba(0,0,0,0.06);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #5b8bff 0%, #8b5cf6 50%, #22d3ee 100%);
  box-shadow: 0 0 20px rgba(91, 139, 255, 0.5);
  position: relative;
  transition: width 1.2s var(--ease-out-soft);
}
.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.fg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.fg-stat {
  padding: 16px;
  background: var(--bg-2);
  border-radius: 16px;
}
.fg-stat .label {
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 4px;
}
.fg-stat .value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fg-milestones {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.milestone {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-700);
}
.milestone .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.06);
  color: var(--ink-300);
  font-size: 12px;
  flex-shrink: 0;
}
.milestone.done .check {
  background: var(--c-green);
  color: white;
}
.milestone.done {
  color: var(--ink-900);
}

/* Side panel of featured */
.fg-side h3 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 20px 0;
}

.fg-side p {
  font-size: 19px;
  color: var(--ink-700);
  line-height: 1.45;
  margin: 0 0 24px 0;
}

.action-stack {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   Stats / big numbers
   ============================================================ */

.bignum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 980px) {
  .bignum-grid { grid-template-columns: repeat(2, 1fr); }
}

.bignum {
  text-align: center;
}
.bignum .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, white 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bignum .lbl {
  font-size: 15px;
  color: var(--ink-200);
  margin-top: 8px;
  letter-spacing: -0.005em;
}

/* ============================================================
   For business section
   ============================================================ */

.biz-stage {
  position: relative;
  border-radius: 36px;
  padding: 80px 60px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(139,92,246,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(34,211,238,0.15) 0%, transparent 50%),
    #0a0a0d;
  color: white;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 980px) {
  .biz-stage { grid-template-columns: 1fr; padding: 60px 32px; }
}

.biz-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-cards-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  perspective: 1200px;
}

.biz-card {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .6s var(--ease-apple);
}

.biz-card .row {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.biz-card .row:last-child { border-bottom: none; }
.biz-card .row .v {
  color: white;
  font-weight: 500;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--bg-2);
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.45;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer h4 {
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 14px 0;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--ink-500); text-decoration: none; }
.footer a:hover { color: var(--ink-900); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */

.reveal {
  opacity: 1;
  transform: translateY(0);
  /* Hidden-then-shown effect is enhancement only; never block content. */
}
.reveal.pre {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-soft), transform 1s var(--ease-out-soft);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Word-by-word reveal */
.word-reveal { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word-reveal > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out-soft);
}
.reveal.in .word-reveal > span,
.in > .word-reveal > span { transform: translateY(0); }

/* ============================================================
   Dark mode overrides (via body[data-dark])
   ============================================================ */

body[data-dark="true"] {
  background: var(--bg);
  color: var(--ink-900);
}
body[data-dark="true"] .nav {
  background: rgba(10, 10, 13, 0.72);
  border-bottom-color: var(--line-dark);
  color: white;
}
body[data-dark="true"] .step-card {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-900);
  border: 1px solid rgba(255,255,255,0.06);
}
body[data-dark="true"] .step-card .num { color: rgba(255,255,255,0.06); }
body[data-dark="true"] .step-card p { color: var(--ink-700); }
body[data-dark="true"] .fg-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
body[data-dark="true"] .fg-stat,
body[data-dark="true"] .tag {
  background: rgba(255,255,255,0.06);
  color: var(--ink-700);
}
body[data-dark="true"] .progress-bar { background: rgba(255,255,255,0.08); }
body[data-dark="true"] .section.gray { background: rgba(255,255,255,0.025); }
body[data-dark="true"] .footer {
  background: rgba(255,255,255,0.02);
  border-top-color: var(--line-dark);
}
body[data-dark="true"] .footer h4 { color: var(--ink-900); }
body[data-dark="true"] .footer a { color: var(--ink-500); }
body[data-dark="true"] .footer a:hover { color: var(--ink-900); }
body[data-dark="true"] .footer-bottom { border-top-color: var(--line-dark); }
body[data-dark="true"] .hero-veil {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(10,10,13,0.55) 0%, rgba(10,10,13,0) 70%);
}
body[data-dark="true"] .orbit-card {
  background: rgba(20, 20, 30, 0.6);
  border-color: rgba(255,255,255,0.10);
  color: var(--ink-900);
}
body[data-dark="true"] .ticker-wrap {
  border-color: var(--line-dark);
}
body[data-dark="true"] .hero-eyebrow {
  background: rgba(10,132,255,0.12);
  border-color: rgba(10,132,255,0.25);
}
body[data-dark="true"] .btn-primary { background: white; color: #0a0a0d; }
body[data-dark="true"] .btn-primary:hover { background: #f5f5f7; }
body[data-dark="true"] .btn-secondary { color: #7ab8ff; }
body[data-dark="true"] .nav-cta { color: white; }
body[data-dark="true"] .iphone { box-shadow: 0 60px 80px -40px rgba(0,0,0,0.7); }
body[data-dark="true"] .milestone { color: var(--ink-700); }
body[data-dark="true"] .milestone.done { color: var(--ink-900); }
body[data-dark="true"] .milestone .check { background: rgba(255,255,255,0.08); }

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.kbd {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--ink-700);
}

/* ============================================================
   Inner-page hero (used by Explore, Business, FAQ, etc.)
   ============================================================ */

.page-hero {
  padding: 140px 0 60px;
  position: relative;
  text-align: center;
}
.page-hero.page-dark {
  background: var(--bg-dark);
  color: white;
  padding: 160px 0 80px;
}
.page-hero .container { max-width: 980px; }

.page-hero .t-eyebrow {
  display: block;
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 20px 0;
}

.page-hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink-500);
  line-height: 1.4;
  max-width: 680px;
  margin: 0 auto;
}
.page-hero.page-dark .page-hero-sub { color: rgba(255,255,255,0.7); }

/* ============================================================
   Badges (status pills)
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0,0,0,0.06);
  color: var(--ink-700);
  white-space: nowrap;
  line-height: 1.2;
}
.badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.badge-info     { background: rgba(10,132,255,0.10);  color: #0058c9; }
.badge-violet   { background: rgba(139,92,246,0.12);  color: #6b3fc9; }
.badge-cyan     { background: rgba(34,211,238,0.14);  color: #0f7a8c; }
.badge-emerald  { background: rgba(48,209,88,0.14);   color: #0e8c3e; }
.badge-amber    { background: rgba(255,138,61,0.14);  color: #b15a13; }
.badge-neutral  { background: rgba(0,0,0,0.06);       color: var(--ink-700); }

body[data-dark="true"] .badge-neutral { background: rgba(255,255,255,0.08); color: var(--ink-700); }

/* ============================================================
   Group Card
   ============================================================ */

.gc {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform .4s var(--ease-apple), box-shadow .4s, border-color .3s;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: #fff;
}
.gc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-strong);
  border-color: rgba(10,132,255,0.18);
}

.gc-featured {
  background: linear-gradient(180deg, white 0%, #f8f5ff 100%);
}
.gc-featured::before {
  content: "FEATURED";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 100px;
  background: var(--iridescent);
  color: white;
}

.gc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.gc-tags {
  font-size: 12px;
  color: var(--ink-500);
}
.gc-cat {
  font-weight: 600;
  color: var(--ink-700);
}

.gc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px 0;
  color: var(--ink-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-height: calc(2 * 1.15em);
}

.gc-desc {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.45;
  margin: 0 0 20px 0;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.45em);
}

.gc-progress-row {
  margin-bottom: 18px;
}
.gc-progress {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.gc-progress-fill {
  height: 100%;
  background: var(--fill, var(--c-electric));
  border-radius: 100px;
  transition: width .5s var(--ease-out-soft);
}
.gc-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
}
.gc-pct { font-weight: 600; color: var(--ink-900); }
.gc-rmeta { color: var(--ink-500); }

.gc-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.gc-stat {
  text-align: left;
}
.gc-stat-l { font-size: 11px; color: var(--ink-500); margin-bottom: 2px; }
.gc-stat-v { font-size: 14px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.01em; }

body[data-dark="true"] .gc {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}
body[data-dark="true"] .gc-featured { background: linear-gradient(180deg, rgba(139,92,246,0.06) 0%, rgba(34,211,238,0.04) 100%); }
body[data-dark="true"] .gc-progress { background: rgba(255,255,255,0.08); }
body[data-dark="true"] .gc-foot { border-top-color: var(--line-dark); }

/* ============================================================
   Form fields — Apple style
   ============================================================ */
.ff {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ff-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}
.ff-label {
  font-weight: 500;
  color: var(--ink-900);
}
.ff-opt {
  color: var(--ink-500);
  font-weight: 400;
}
.ff-hint {
  color: var(--ink-500);
}
.ff-count {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-300);
  letter-spacing: 0.01em;
}
.ff-count-near { color: #f97316; }
.ff-input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--ink-900);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  letter-spacing: -0.01em;
}
.ff-input:focus {
  border-color: #0a84ff;
  box-shadow: 0 0 0 4px rgba(10,132,255,0.12);
}
.ff-input::placeholder { color: var(--ink-300); }
.ff-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.ff-select-wrap {
  position: relative;
}
.ff-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: none;
}
.ff-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-500);
  pointer-events: none;
}
.ff-error {
  color: #ff3b30;
  font-size: 12px;
}

body[data-dark="true"] .ff-input {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--ink-900);
}
body[data-dark="true"] .ff-input:focus {
  border-color: #0a84ff;
  background: rgba(255,255,255,0.06);
}

/* ============================================================
   Toast
   ============================================================ */
.toast-stack {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
  pointer-events: none;
}
.toast {
  background: rgba(29,29,31,0.95);
  color: white;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
  backdrop-filter: blur(20px);
  animation: toastSlide .35s var(--ease-apple) both;
}
@keyframes toastSlide {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.toast-success { background: #30d158; }
.toast-error { background: #ff3b30; }

/* ============================================================
   Filter bar + group grids (Explore)
   ============================================================ */
.filter-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: white;
  border-radius: 100px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  border: 1px solid var(--line);
}
@media (max-width: 880px) {
  .filter-bar { grid-template-columns: 1fr; border-radius: 24px; padding: 14px; }
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--ink-500);
}
.filter-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink-900);
  padding: 8px 0;
  letter-spacing: -0.01em;
}
.filter-search input::placeholder { color: var(--ink-300); }

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fp {
  position: relative;
}
.fp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(0,0,0,0.05);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-700);
  transition: background .2s;
}
.fp-btn:hover { background: rgba(0,0,0,0.08); }
.fp.open .fp-btn { background: var(--ink-900); color: white; }
.fp-label { font-weight: 500; opacity: 0.7; }
.fp-value { font-weight: 600; }
.fp-chev { font-size: 10px; opacity: 0.7; }
.fp-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-card-strong);
  padding: 6px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fp-opt {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-700);
}
.fp-opt:hover { background: rgba(0,0,0,0.05); }
.fp-opt.is-active { background: rgba(10,132,255,0.10); color: #0058c9; font-weight: 500; }

body[data-dark="true"] .filter-bar { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
body[data-dark="true"] .fp-btn { background: rgba(255,255,255,0.06); color: var(--ink-700); }
body[data-dark="true"] .fp-btn:hover { background: rgba(255,255,255,0.10); }
body[data-dark="true"] .fp.open .fp-btn { background: white; color: #0a0a0d; }
body[data-dark="true"] .fp-menu { background: #1a1a1d; }
body[data-dark="true"] .fp-opt:hover { background: rgba(255,255,255,0.08); }

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 32px;
}
.link-btn {
  background: none;
  border: none;
  color: #0a84ff;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  padding: 0;
}
.link-btn:hover { text-decoration: underline; }

.section-sub {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.empty {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-2);
  border-radius: 24px;
}
.empty h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}
.empty p {
  color: var(--ink-500);
  font-size: 16px;
  margin: 0 0 28px 0;
}

body[data-dark="true"] .empty { background: rgba(255,255,255,0.03); }

/* ============================================================
   Group Detail page
   ============================================================ */

.gp-hero {
  padding: 100px 0 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
body[data-dark="true"] .gp-hero { background: linear-gradient(180deg, var(--bg) 0%, rgba(255,255,255,0.02) 100%); }

.gp-back {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-500);
  text-decoration: none;
  margin-bottom: 32px;
  margin-top: 24px;
}
.gp-back:hover { color: var(--ink-900); }

.gp-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 60px;
}
@media (max-width: 980px) {
  .gp-hero-grid { grid-template-columns: 1fr; }
  .gp-hero-orb { display: none; }
}

.gp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.gp-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 20px 0;
}

.gp-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-500);
  line-height: 1.45;
  max-width: 620px;
  margin: 0 0 36px 0;
}

.gp-meta-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 36px;
  justify-content: start;
}
@media (max-width: 720px) {
  .gp-meta-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.gp-meta-l { font-size: 12px; color: var(--ink-500); margin-bottom: 4px; }
.gp-meta-v { font-size: 15px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.01em; }

/* Mini orb in group hero */
.gp-hero-orb {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mini-orb {
  position: relative;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  transform-style: preserve-3d;
}
.mini-orb-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.mini-orb-pct {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.mini-orb-lbl {
  font-size: 13px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* Group detail layout */
.gp-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) {
  .gp-grid { grid-template-columns: 1fr; }
}

.gp-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-lg {
  background: white;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.card-lg-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
}
body[data-dark="true"] .card-lg {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}

.prose {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0;
  text-wrap: pretty;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: step;
}
.step-list li {
  padding-left: 36px;
  position: relative;
  color: var(--ink-700);
  line-height: 1.5;
  counter-increment: step;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(10,132,255,0.10);
  color: #0058c9;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list li strong { color: var(--ink-900); font-weight: 600; }

.progress-block { }
.pb-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}
.pb-l { font-size: 12px; color: var(--ink-500); margin-bottom: 4px; }
.pb-v { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.pb-pct { font-size: 16px; font-weight: 600; }

/* Offer block (highlighted) */
.offer-block {
  position: relative;
  background: linear-gradient(180deg, rgba(48,209,88,0.04) 0%, white 100%);
  border-color: rgba(48,209,88,0.20);
}
body[data-dark="true"] .offer-block {
  background: linear-gradient(180deg, rgba(48,209,88,0.06) 0%, rgba(255,255,255,0.04) 100%);
}
.offer-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(48,209,88,0.15);
  color: #0e8c3e;
  font-size: 12px;
  font-weight: 600;
}
.offer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-500);
}

/* Action panel — sticky right side */
.gp-side {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.action-panel {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card-strong);
  border: 1px solid var(--line);
}
body[data-dark="true"] .action-panel {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.ap-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.ap-pct {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #5b8bff 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.ap-count {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ap-label { font-size: 13px; color: var(--ink-500); }

.ap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ap-stat-v {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ap-stat-l { font-size: 12px; color: var(--ink-500); }

.ap-note {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 14px;
  text-align: center;
  line-height: 1.4;
}

.btn-success { background: #30d158; color: white; }
.btn-success:hover { background: #2dba4c; }
.btn-ghost-light {
  background: rgba(0,0,0,0.05);
  color: var(--ink-900);
}
.btn-ghost-light:hover { background: rgba(0,0,0,0.08); }
.btn-secondary-filled {
  background: rgba(10,132,255,0.12);
  color: #0058c9;
}
body[data-dark="true"] .btn-ghost-light { background: rgba(255,255,255,0.06); color: var(--ink-900); }
body[data-dark="true"] .btn-ghost-light:hover { background: rgba(255,255,255,0.10); }

/* Share panel */
.share-panel {
  background: var(--bg-2);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
}
body[data-dark="true"] .share-panel { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
.sp-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}
.sp-desc {
  font-size: 13px;
  color: var(--ink-500);
  margin: 6px 0 16px 0;
  line-height: 1.4;
}
.sp-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-900);
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s;
}
.sp-btn:hover { background: var(--bg); border-color: var(--line-strong); }
body[data-dark="true"] .sp-btn { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); }

/* ============================================================
   Wizard (Create / Submit)
   ============================================================ */
.wiz-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}
.wiz-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-2);
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .3s var(--ease-apple);
}
.wiz-step.is-active {
  background: white;
  color: var(--ink-900);
  box-shadow: var(--shadow-card);
  border-color: var(--line);
}
.wiz-step.is-done {
  color: var(--ink-700);
}
.wiz-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wiz-step.is-active .wiz-dot { background: #0a84ff; color: white; }
.wiz-step.is-done .wiz-dot { background: #30d158; color: white; }
@media (max-width: 760px) {
  .wiz-steps { grid-template-columns: repeat(2, 1fr); }
  .wiz-label { display: none; }
  .wiz-step.is-active .wiz-label { display: block; }
}
body[data-dark="true"] .wiz-step { background: rgba(255,255,255,0.04); }
body[data-dark="true"] .wiz-step.is-active { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.10); }

.wiz-card {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .wiz-card { padding: 28px; } }
body[data-dark="true"] .wiz-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }

.wiz-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 12px 0;
}
.wiz-sub {
  font-size: 17px;
  color: var(--ink-500);
  line-height: 1.4;
  margin: 0 0 32px 0;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

.wiz-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* Native range slider — restyled */
.range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 100px;
  background: rgba(0,0,0,0.08);
  outline: none;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15), 0 0 0 1px var(--line-strong);
  cursor: grab;
}
.range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15), 0 0 0 1px var(--line-strong);
  cursor: grab;
}
.range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 6px;
  letter-spacing: -0.005em;
}
body[data-dark="true"] .range { background: rgba(255,255,255,0.10); }

/* Success ring */
.success-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #30d158 0%, #22d3ee 100%);
  box-shadow: 0 12px 32px -10px rgba(48,209,88,0.5);
}

/* ============================================================
   Business page
   ============================================================ */

.biz-hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--bg-dark);
  color: white;
}
.biz-hero .t-lead { color: rgba(255,255,255,0.7); }
.biz-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 100% 0%, rgba(139,92,246,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 0% 80%, rgba(34,211,238,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.biz-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) { .biz-hero-grid { grid-template-columns: 1fr; } }

.biz-hero-art {
  position: relative;
  perspective: 1400px;
  min-height: 460px;
}
.biz-stack-3d {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  transform-style: preserve-3d;
  transform: rotateY(-6deg) rotateX(8deg);
}
.biz-tile {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(150deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 22px;
  transition: transform .8s var(--ease-apple);
}
.biz-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.biz-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}

.bigstat {
  text-align: left;
  padding: 24px;
  border-left: 1px solid var(--line);
}
.bigstat:first-child { border-left: none; }
@media (max-width: 980px) {
  .bigstat { border-left: none; border-top: 1px solid var(--line); }
  .bigstat:first-child { border-top: none; }
}
.bigstat-v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bigstat-l {
  font-size: 14px;
  color: var(--ink-500);
  max-width: 200px;
  line-height: 1.4;
}
body[data-dark="true"] .bigstat-v {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Business flow steps */
.biz-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .biz-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .biz-flow { grid-template-columns: 1fr; } }

.biz-flow-item {
  padding: 28px;
  background: white;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
}
body[data-dark="true"] .biz-flow-item { background: rgba(255,255,255,0.04); }
.biz-flow-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-electric);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.biz-flow-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}
.biz-flow-body p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.5;
  margin: 0;
}

/* Pricing cards */
.price-card {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.price-card.is-featured {
  background: linear-gradient(180deg, white 0%, #f0f4ff 100%);
  border-color: rgba(10,132,255,0.25);
  transform: scale(1.02);
  box-shadow: var(--shadow-card-strong);
}
body[data-dark="true"] .price-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
body[data-dark="true"] .price-card.is-featured { background: linear-gradient(180deg, rgba(10,132,255,0.10) 0%, rgba(139,92,246,0.06) 100%); }

.price-flag {
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--ink-900);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.price-tier {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-note {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 6px;
  margin-bottom: 24px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-features li {
  font-size: 14px;
  color: var(--ink-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.pf-check {
  color: #30d158;
  font-weight: 600;
  flex-shrink: 0;
}

.price-note-card {
  margin-top: 48px;
  padding: 22px 28px;
  background: rgba(10, 132, 255, 0.06);
  border: 1px solid rgba(10, 132, 255, 0.18);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.price-note-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0a84ff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.price-note-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-700);
}
.price-note-card strong { color: var(--ink-900); font-weight: 600; }
body[data-dark="true"] .price-note-card {
  background: rgba(10, 132, 255, 0.10);
  border-color: rgba(10, 132, 255, 0.25);
}
body[data-dark="true"] .price-note-card p { color: var(--ink-100); }
body[data-dark="true"] .price-note-card strong { color: white; }

.form-hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 40px 0 32px;
}

/* ============================================================
   Admin Console
   ============================================================ */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 1000px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .kpi-row { grid-template-columns: 1fr; } }

.kpi {
  background: white;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
body[data-dark="true"] .kpi { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
.kpi::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, currentColor 0%, transparent 70%);
  opacity: 0.10;
  border-top-left-radius: 18px;
}
.kpi-electric { color: #0a84ff; }
.kpi-violet   { color: #8b5cf6; }
.kpi-cyan     { color: #22d3ee; }
.kpi-emerald  { color: #30d158; }

.kpi-l {
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}
.kpi-v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.kpi-sub {
  font-size: 12px;
  color: var(--ink-500);
  position: relative;
  z-index: 2;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1100px) { .admin-grid { grid-template-columns: 1fr; } }

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-tabs {
  display: flex;
  gap: 6px;
}
.admin-tabs button {
  padding: 10px 18px;
  border: none;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  transition: background .2s, color .2s;
}
.admin-tabs button:hover { background: rgba(0,0,0,0.04); color: var(--ink-900); }
.admin-tabs button.is-active { background: var(--ink-900); color: white; }
body[data-dark="true"] .admin-tabs button.is-active { background: white; color: #0a0a0d; }

.admin-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
body[data-dark="true"] .admin-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }

.admin-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 72px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-500);
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.data-table td {
  padding: 16px 8px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  color: var(--ink-700);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table a { color: var(--ink-900); text-decoration: none; font-weight: 500; }
.data-table a:hover { color: #0a84ff; }

.cell-main { display: flex; flex-direction: column; gap: 2px; }
.cell-meta { font-size: 12px; color: var(--ink-500); }
.cell-progress { min-width: 100px; }

.row-menu {
  position: relative;
  display: inline-block;
}
.row-menu summary {
  cursor: pointer;
  list-style: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-500);
}
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu summary:hover { background: rgba(0,0,0,0.05); color: var(--ink-900); }
.row-menu-pop {
  position: absolute;
  right: 0; top: 100%;
  margin-top: 4px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-card-strong);
  padding: 6px;
  min-width: 220px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.row-menu-pop button {
  text-align: left;
  background: transparent;
  border: none;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  border-radius: 8px;
  color: var(--ink-700);
  cursor: pointer;
}
.row-menu-pop button:hover { background: rgba(0,0,0,0.05); }
.row-menu-pop button.is-active { background: rgba(10,132,255,0.10); color: #0058c9; font-weight: 500; }
body[data-dark="true"] .row-menu-pop { background: #1a1a1d; }
body[data-dark="true"] .row-menu-pop button:hover { background: rgba(255,255,255,0.08); }

.mini-btn {
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  color: var(--ink-700);
  transition: background .2s, border-color .2s;
}
.mini-btn:hover { background: var(--bg-2); }
.mini-btn-success {
  background: #30d158;
  color: white;
  border-color: transparent;
}
.mini-btn-success:hover { background: #2dba4c; }
body[data-dark="true"] .mini-btn { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); }

.feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.feed-item {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.feed-item:last-child { border-bottom: none; padding-bottom: 0; }
.feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-300);
  margin-top: 6px;
  flex-shrink: 0;
}
.feed-milestone_reached .feed-dot { background: #30d158; box-shadow: 0 0 8px rgba(48,209,88,0.6); }
.feed-offer_submitted .feed-dot { background: #8b5cf6; box-shadow: 0 0 8px rgba(139,92,246,0.6); }
.feed-joined .feed-dot { background: #0a84ff; box-shadow: 0 0 8px rgba(10,132,255,0.5); }
.feed-reserved .feed-dot { background: #22d3ee; box-shadow: 0 0 8px rgba(34,211,238,0.5); }
.feed-msg { font-size: 13px; color: var(--ink-900); line-height: 1.4; }
.feed-time { font-size: 11px; color: var(--ink-500); margin-top: 4px; }

.admin-card.danger { border-color: rgba(255,59,48,0.20); }
body[data-dark="true"] .admin-card.danger { border-color: rgba(255,59,48,0.30); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-q { color: #0a84ff; }
.faq-q {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  transition: color .2s;
}
.faq-plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.05);
  color: var(--ink-700);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: background .3s, transform .3s var(--ease-apple);
  flex-shrink: 0;
}
.faq-item[open] .faq-plus {
  background: var(--ink-900);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-700);
  padding: 0 56px 32px 0;
  max-width: 720px;
  text-wrap: pretty;
}
body[data-dark="true"] .faq-plus { background: rgba(255,255,255,0.08); }
body[data-dark="true"] .faq-item[open] .faq-plus { background: white; color: #0a0a0d; }

.faq-cta {
  margin-top: 60px;
  padding: 36px;
  background: var(--bg-2);
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
body[data-dark="true"] .faq-cta { background: rgba(255,255,255,0.04); }
.faq-cta h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
}
.faq-cta p {
  color: var(--ink-500);
  margin: 0;
  font-size: 15px;
}

/* ============================================================
   Activity summary cards
   ============================================================ */
.summary-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
body[data-dark="true"] .summary-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
.summary-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  opacity: 0.10;
  filter: blur(20px);
}
.summary-violet::before { background: #8b5cf6; }
.summary-info::before   { background: #0a84ff; }
.summary-cyan::before   { background: #22d3ee; }

.summary-l {
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.summary-v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.summary-sub { font-size: 13px; color: var(--ink-500); }

/* ============================================================
   Effects (FlickeringGrid wrapper, PulsingBorder, Mesh, Underline)
   ============================================================ */

/* PulsingBorder — rotating iridescent ring */
.pulse-border {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-border-ring {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    #06b6d4, #0891b2, #f97316, #00FF88, #FFD700, #FF6B35, #ffffff, #06b6d4);
  filter: blur(6px);
  animation: pbRotate 8s linear infinite;
  opacity: 0.85;
}
.pulse-border-inner {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 40%), rgba(10,10,13,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.10);
}
.pulse-border-text {
  position: absolute;
  inset: -25%;
  width: 150%;
  height: 150%;
}
@keyframes pbRotate { to { transform: rotate(360deg); } }
@keyframes pbSpin   { to { transform: rotate(360deg); } }

/* AnimatedUnderline */
.au-wrap {
  position: relative;
  display: inline-block;
  color: inherit;
}
.au-text {
  display: inline-block;
  /* Inherit the gradient if parent has .iri */
}
.au-wrap.iri .au-text {
  background: linear-gradient(135deg, #d63ea1 0%, #e0732c 18%, #c79b2a 36%, #2faa78 56%, #1a99b8 74%, #3766d9 88%, #6b3fc9 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iridescentShift 10s ease-in-out infinite;
}
.au-svg {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.28em;
  overflow: visible;
  color: #0a84ff;
}
.au-wrap.iri .au-svg { color: #8b5cf6; }
.au-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: auDraw 1.6s 0.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes auDraw {
  to { stroke-dashoffset: 0; }
}

/* MeshGradient — animated radial blobs */
.mesh-grad {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  animation: meshFloat 20s ease-in-out infinite;
}
.mesh-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  mix-blend-mode: screen;
  top: -20%; left: -10%;
  animation: meshBlob1 14s ease-in-out infinite;
}
.mesh-blob-2 {
  top: 30%; left: 55%;
  animation: meshBlob2 18s ease-in-out infinite;
  opacity: 0.5;
}
.mesh-blob-3 {
  top: 50%; left: -15%;
  animation: meshBlob3 22s ease-in-out infinite;
  opacity: 0.55;
}
.mesh-blob-4 {
  top: -10%; left: 50%;
  animation: meshBlob4 16s ease-in-out infinite;
  opacity: 0.45;
}
@keyframes meshBlob1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20%, 30%) scale(1.2); }
}
@keyframes meshBlob2 {
  0%, 100% { transform: translate(0,0) scale(1.1); }
  50%      { transform: translate(-30%, -20%) scale(0.9); }
}
@keyframes meshBlob3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(25%, -25%) scale(1.3); }
}
@keyframes meshBlob4 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-20%, 30%) scale(1.1); }
}
@keyframes meshFloat {
  0%, 100% { filter: hue-rotate(0deg) saturate(1); }
  50%      { filter: hue-rotate(15deg) saturate(1.15); }
}

/* Hero backdrop swap */
.hero[data-bg="shader"] {
  background: #000;
  color: white;
}
.hero[data-bg="shader"] .hero-orb-wrap { display: none; }
.hero[data-bg="shader"] .hero-veil {
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 70%);
}
.hero[data-bg="shader"] .hero-eyebrow {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color: white;
}
.hero[data-bg="shader"] .hero-eyebrow .pulse { background: white; }
.hero[data-bg="shader"] .hero-eyebrow .pulse::after { background: white; }
.hero[data-bg="shader"] .hero-title { color: white !important; }
.hero[data-bg="shader"] .hero-sub { color: rgba(255,255,255,0.85) !important; }
.hero[data-bg="shader"] .scroll-cue { color: rgba(255,255,255,0.6); }
.hero[data-bg="shader"] .btn-primary { background: white; color: #000; }
.hero[data-bg="shader"] .btn-secondary { color: white; }
.hero[data-bg="shader"] .orbit-card { background: rgba(255,255,255,0.10); color: white; border-color: rgba(255,255,255,0.18); }
.hero[data-bg="shader"] .orbit-card .avatar { background: linear-gradient(135deg, #06b6d4, #f97316); }

.hero[data-bg="grid"] .hero-orb-wrap   { opacity: 0.5; }

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-layer.grid {
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 35%, transparent 80%);
}
.hero-bg-layer.shader {
  z-index: 0;
}

body[data-dark="true"] .hero[data-bg="shader"] {
  background: black;
}

/* Pulse-border position in hero */
.hero-pulse-badge {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  pointer-events: none;
}
.hero-pulse-badge .pulse-border-text text {
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* iPhone style mini frame */
.iphone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: #1d1d1f;
  padding: 8px;
  box-shadow: 0 60px 80px -40px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
  transform: rotate(-4deg);
}
.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
  overflow: hidden;
  position: relative;
}
.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #1d1d1f;
  border-radius: 100px;
  z-index: 5;
}

/* ── Performance / accessibility: reduced motion ──────────────
   Honors the OS-level "reduce motion" setting. Heavy continuous
   animations are calmed down to keep the UI smooth on low-power
   machines and for users who prefer less movement. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .mesh-blob,
  .pulse-border-ring,
  .pulse-border-text {
    animation: none !important;
  }
}
