:root {
  --color-obsidian: #09090b;
  --color-ink: #18181b;
  --color-graphite: #3f3f46;
  --color-slate: #52525b;
  --color-steel: #71717a;
  --color-ash: #a1a1aa;
  --color-pebble: #d4d4d8;
  --color-fog: #ececee;
  --color-mist: #f4f4f5;
  --color-snow: #ffffff;
  --color-ember: #ff5a00;
  --color-orchid-flash: #fe45e2;
  --font-cosmica: 'Plus Jakarta Sans', 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --shadow-button: rgba(255, 255, 255, 0.5) 0px 0.5px 0px 0px inset,
    rgba(117, 123, 133, 0.4) 0px 9px 14px -5px inset,
    rgb(44, 46, 52) 0px 0px 0px 1.5px,
    rgba(0, 0, 0, 0.14) 0px 4px 6px 0px;
  --max-width: 1200px;
  --family-canvas: #fbfaf9;
  --family-stone: #f2f0ed;
  --family-card: #ffffff;
  --family-parchment: #f8f7f4;
  --family-graphite: #474645;
  --family-charcoal: #343433;
  --family-midnight: #121212;
  --family-orange: #ff3e00;
  --family-green: #00ca48;
  --family-blue: #0090ff;
  --family-yellow: #ffbb26;
  --family-pink: #ff58ae;
  --family-purple: #9f4fff;
  --family-border: #f2f0ed 0 0 0 1px inset;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-mist);
  color: var(--color-obsidian);
  font-family: var(--font-cosmica);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::selection { background: var(--color-obsidian); color: var(--color-snow); }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.site-nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 16px auto 0;
  min-height: 58px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 10000px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  box-shadow: rgb(228, 228, 231) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.04) 0px 4px 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: radial-gradient(circle at 68% 28%, var(--color-snow) 0 13%, transparent 14%),
    linear-gradient(135deg, var(--color-obsidian), var(--color-graphite));
  box-shadow: var(--shadow-button);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 10000px;
  background: var(--color-fog);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 10000px;
  color: var(--color-graphite);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.nav-links a:hover { transform: translateY(-1px); background: var(--color-snow); color: var(--color-obsidian); }

.landing-page { padding-bottom: 48px; }

.hero-section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 0;
  padding: 18px 0 0;
}

.announcement {
  min-height: 54px;
  margin: 0 0 20px;
  padding: 12px 16px 12px 22px;
  border-radius: 48px;
  background: #222222;
  color: var(--color-snow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  animation: rise 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.announcement a {
  white-space: nowrap;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10000px;
  color: var(--color-snow);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.announcement a:hover { transform: translateX(2px); opacity: 0.82; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy, .hero-board {
  border-radius: 48px;
  min-height: 630px;
  animation: rise 0.82s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.hero-copy {
  background: var(--color-snow);
  padding: clamp(32px, 5.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: rgb(228, 228, 231) 0px 1px 0px 0px inset;
}

.hero-board {
  position: relative;
  overflow: hidden;
  background: var(--color-obsidian);
  padding: 24px;
  color: var(--color-snow);
  animation-delay: 0.08s;
}

.hero-board::before {
  content: '';
  position: absolute;
  inset: -20% -30% auto auto;
  width: 430px;
  height: 430px;
  border-radius: 999px;
  background: var(--color-orchid-flash);
  opacity: 0.54;
  filter: blur(72px);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--color-fog);
  color: var(--color-graphite);
  font-size: 12px;
  font-weight: 700;
}

.eyebrow.light { background: rgba(255,255,255,0.12); color: var(--color-pebble); }

h1, h2, h3, p { margin-top: 0; }

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7.2vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero-copy h1 span { color: var(--color-ash); font-weight: 500; }

.hero-copy p {
  max-width: 540px;
  color: var(--color-graphite);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions.centered { justify-content: center; }

.pill-button, .outline-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10000px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.pill-button {
  background: var(--color-obsidian);
  color: var(--color-snow);
  box-shadow: var(--shadow-button);
}

.pill-button:hover, .outline-button:hover { transform: translateY(-2px); }
.pill-button:active, .outline-button:active { transform: translateY(0px) scale(0.99); }
.pill-button.small { min-height: 42px; padding: 10px 14px; white-space: nowrap; }
.pill-button.wide { width: 100%; }

.outline-button {
  background: var(--color-snow);
  color: var(--color-graphite);
  border: 1px solid var(--color-graphite);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.hero-stats div {
  padding: 22px 18px;
  border-radius: 28px;
  background: var(--color-fog);
}

.hero-stats strong { display: block; font-size: clamp(26px, 4vw, 42px); line-height: 1; letter-spacing: -0.04em; }
.hero-stats span { display: block; margin-top: 8px; color: var(--color-steel); font-size: 13px; font-weight: 600; }

.board-top, .floating-link-card, .tile-glass {
  position: relative;
  z-index: 1;
}

.board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-pebble);
  font-size: 13px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 12px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 750;
}

.badge.dark { background: var(--color-graphite); color: var(--color-snow); }
.badge.ghost { border: 1px solid rgba(255,255,255,0.36); color: var(--color-snow); backdrop-filter: blur(8px); }

.floating-link-card {
  margin: 34px 0 22px auto;
  width: min(100%, 390px);
  padding: 14px;
  border-radius: 28px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatCard 5s ease-in-out infinite;
}

.floating-link-card span { display: block; color: var(--color-ash); font-size: 12px; font-weight: 700; }
.floating-link-card strong { display: block; margin-top: 3px; font-size: 14px; overflow-wrap: anywhere; }

.icon-bubble {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: var(--color-snow);
  color: var(--color-obsidian);
  display: grid;
  place-items: center;
}

.icon-bubble.large { width: 64px; height: 64px; border-radius: 24px; background: var(--color-fog); margin: 0 auto 24px; }

.visual-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.product-tile {
  min-height: 140px;
  border-radius: 36px;
  padding: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.product-tile::before, .buyer-image::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.28);
}

.product-tile::after, .buyer-image::after {
  content: '';
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  right: 9%;
  top: 14%;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  filter: blur(12px);
}

.product-clay { background: radial-gradient(circle at 78% 20%, #f8d6b8 0 16%, transparent 17%), linear-gradient(135deg, #b76542, #e6b186 55%, #74351e); }
.product-graphite { background: radial-gradient(circle at 76% 22%, #d8d8dc 0 15%, transparent 16%), linear-gradient(135deg, #151518, #5c6068 54%, #050506); }
.product-linen { background: radial-gradient(circle at 78% 22%, #fff8e8 0 15%, transparent 16%), linear-gradient(135deg, #d8c2a1, #f3e8cd 48%, #90785c); }

.tile-glass {
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  background: rgba(9,9,11,0.4);
  backdrop-filter: blur(10px);
}

.tile-glass h3 { margin: 12px 0 4px; color: var(--color-snow); font-size: 20px; line-height: 1.15; }
.tile-glass p { margin: 0; color: var(--color-pebble); font-size: 12px; font-weight: 700; }

.ticker-section {
  width: 100%;
  margin: 34px 0 0;
  overflow: hidden;
  border-block: 1px solid var(--color-fog);
  background: var(--color-snow);
}

.ticker {
  width: max-content;
  display: flex;
  gap: 12px;
  padding: 16px 0;
  animation: scrollText 28s linear infinite;
}

.ticker span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--color-fog);
  color: var(--color-graphite);
  font-size: 13px;
  font-weight: 800;
}

.family-lift-section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 72px auto 0;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 48px;
  background: linear-gradient(180deg, var(--color-snow), #fafafa);
  box-shadow: rgb(228, 228, 231) 0px 1px 0px 0px inset;
}

.family-wordmark {
  max-width: 760px;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 850;
}

.family-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.family-card {
  min-height: 190px;
  padding: 20px;
  border-radius: 30px;
  background: var(--color-fog);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.family-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--color-snow);
}

.family-card strong { font-size: 21px; letter-spacing: -0.03em; }
.family-card p { margin: 8px 0 0; color: var(--color-steel); font-size: 13px; line-height: 1.45; font-weight: 700; }

.section, .fee-section, .cta-section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 82px auto 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
  gap: 24px;
  align-items: end;
}

.section-heading h2, .fee-card h2, .cta-section h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.052em;
}

.section-heading p, .fee-card p, .cta-section p {
  color: var(--color-steel);
  font-size: 16px;
  line-height: 1.58;
  font-weight: 600;
}

.role-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.role-panel {
  border-radius: 36px;
  background: var(--color-snow);
  padding: 26px;
  box-shadow: rgb(228, 228, 231) 0px 1px 0px 0px inset;
}

.role-panel.dark-panel {
  background: var(--color-obsidian);
  color: var(--color-snow);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-title span { color: var(--color-steel); font-size: 13px; font-weight: 800; }
.dark-panel .panel-title span { color: var(--color-ash); }
.panel-title strong { font-size: 18px; }

.step-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--color-fog);
}

.dark-panel .step-card { border-color: rgba(255,255,255,0.12); }

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: var(--color-fog);
  display: grid;
  place-items: center;
  color: var(--color-graphite);
  font-weight: 800;
}

.dark-panel .step-number { background: var(--color-graphite); color: var(--color-snow); }
.step-card h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.2; }
.step-card p { margin: 0; color: var(--color-steel); font-size: 14px; line-height: 1.5; font-weight: 600; }
.dark-panel .step-card p { color: var(--color-ash); }

.fee-card {
  border-radius: 36px;
  background: var(--color-obsidian);
  color: var(--color-snow);
  padding: clamp(28px, 5vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.fee-card::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: var(--color-orchid-flash);
  opacity: 0.42;
  filter: blur(52px);
}

.fee-card p { color: var(--color-ash); max-width: 600px; }

.fee-math {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  padding: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
}

.fee-math div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--color-pebble);
  font-weight: 700;
}

.fee-math div:last-child { border-bottom: 0; }
.fee-math strong { color: var(--color-snow); font-size: 22px; letter-spacing: -0.04em; }
.fee-math .total strong { font-size: 30px; }

.buyer-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: 18px;
  padding: 18px;
  border-radius: 48px;
  background: var(--color-snow);
  box-shadow: rgb(228, 228, 231) 0px 1px 0px 0px inset;
}

.buyer-image {
  min-height: 520px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}

.preview-badge {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 22px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--color-snow);
  background: rgba(9,9,11,0.35);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
}

.buyer-content {
  padding: clamp(20px, 4vw, 44px) clamp(18px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.verified {
  color: var(--color-steel);
  font-size: 13px;
  font-weight: 800;
}

.buyer-content h3 {
  margin: 16px 0 12px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.buyer-content p { color: var(--color-graphite); font-size: 16px; line-height: 1.55; font-weight: 600; }
.price-row { margin: 20px 0 24px; display: grid; gap: 6px; }
.price-row strong { font-size: 36px; letter-spacing: -0.05em; }
.price-row span { color: var(--color-steel); font-size: 13px; font-weight: 700; }

.cta-section {
  border-radius: 48px;
  padding: clamp(34px, 6vw, 76px);
  background: var(--color-snow);
  text-align: center;
}

.cta-section p { max-width: 570px; margin: 0 auto; }

.auth-page, .onboarding-page {
  min-height: 100vh;
  padding: 28px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 12% 10%, rgba(254,69,226,0.14), transparent 32%), var(--color-mist);
}

.auth-brand { position: fixed; top: 28px; left: 28px; }

.auth-card {
  width: min(100%, 1060px);
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 18px;
  border-radius: 48px;
}

.auth-copy, .signup-form, .onboarding-card {
  border-radius: 36px;
  background: var(--color-snow);
  padding: clamp(24px, 5vw, 52px);
  box-shadow: rgb(228, 228, 231) 0px 1px 0px 0px inset;
}

.auth-copy {
  background: var(--color-obsidian);
  color: var(--color-snow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.auth-copy::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  background: var(--color-orchid-flash);
  opacity: 0.5;
  filter: blur(46px);
  border-radius: 999px;
}

.auth-copy h1, .onboarding-card h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

.auth-copy p, .onboarding-card p { color: var(--color-ash); line-height: 1.6; font-weight: 600; }
.onboarding-card p { color: var(--color-steel); }

.mode-switch {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 10000px;
  background: rgba(255,255,255,0.1);
  width: fit-content;
  position: relative;
  z-index: 1;
}

.mode-switch a {
  padding: 10px 14px;
  border-radius: 10000px;
  color: var(--color-pebble);
  font-size: 13px;
  font-weight: 800;
}

.mode-switch a.active { background: var(--color-snow); color: var(--color-obsidian); }

.signup-form { display: grid; align-content: center; gap: 14px; }
.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--color-graphite);
  font-size: 13px;
  font-weight: 800;
}

.signup-form input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--color-fog);
  color: var(--color-obsidian);
  font-weight: 700;
}

.signup-form input:focus { box-shadow: inset 0 0 0 1.5px var(--color-graphite); }

.url-preview, .availability {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--color-obsidian);
  color: var(--color-snow);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.url-preview span { color: var(--color-ash); }
.availability { gap: 8px; background: var(--color-fog); color: var(--color-graphite); }

.fine-print { margin: 0; color: var(--color-steel); text-align: center; font-size: 12px; line-height: 1.5; font-weight: 700; }

.onboarding-card {
  width: min(100%, 590px);
  text-align: center;
  padding: clamp(30px, 7vw, 64px);
}

.dashboard-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--color-mist);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  background: var(--color-obsidian);
  color: var(--color-snow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mode-label {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: var(--color-ash);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-nav a {
  padding: 13px 14px;
  border-radius: 16px;
  color: var(--color-ash);
  font-weight: 800;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.dashboard-nav a:hover, .dashboard-nav a.active {
  transform: translateX(3px);
  background: var(--color-snow);
  color: var(--color-obsidian);
}

.sidebar-user {
  margin-top: auto;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  display: grid;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.sidebar-user button, .dashboard-tabs button, .card-actions button, .copy-row button, .share-row button, .modal-close {
  border-radius: 10000px;
  padding: 10px 12px;
  background: var(--color-fog);
  color: var(--color-obsidian);
  font-size: 12px;
  font-weight: 850;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sidebar-user button:hover, .dashboard-tabs button:hover, .card-actions button:hover, .copy-row button:hover, .share-row button:hover { transform: translateY(-1px); }

.dashboard-main {
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
}

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

.dashboard-header h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.dashboard-header p {
  max-width: 650px;
  color: var(--color-steel);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.dashboard-stat-card {
  min-height: 150px;
  border-radius: 30px;
  background: var(--color-snow);
  padding: 22px;
  box-shadow: rgb(228,228,231) 0 1px 0 0 inset;
}

.dashboard-stat-card span { color: var(--color-steel); font-size: 12px; font-weight: 850; }
.dashboard-stat-card strong { display: block; margin-top: 16px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.055em; }
.dashboard-stat-card p { margin: 12px 0 0; color: var(--color-steel); font-size: 12px; line-height: 1.42; font-weight: 700; }

.dashboard-tabs {
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 10000px;
  background: var(--color-snow);
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  box-shadow: rgb(228,228,231) 0 1px 0 0 inset;
}

.dashboard-tabs a, .dashboard-tabs button {
  border-radius: 10000px;
  padding: 11px 16px;
  color: var(--color-graphite);
  font-size: 13px;
  font-weight: 850;
}

.dashboard-tabs a.active {
  background: var(--color-obsidian);
  color: var(--color-snow);
}

.product-grid, .affiliate-link-grid, .discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-product-card, .affiliate-link-card, .discover-card, .empty-state, .transaction-panel, .config-card {
  border-radius: 32px;
  background: var(--color-snow);
  padding: 18px;
  box-shadow: rgb(228,228,231) 0 1px 0 0 inset;
}

.dashboard-product-card, .affiliate-link-card { display: grid; gap: 16px; }
.product-thumb { min-height: 160px; border-radius: 26px; position: relative; overflow: hidden; }
.dashboard-product-body h3, .affiliate-link-card h3, .discover-card h3 { margin: 14px 0 8px; font-size: 24px; line-height: 1.08; letter-spacing: -0.045em; }
.dashboard-product-body p, .discover-card p, .simulator-line { color: var(--color-steel); font-size: 13px; line-height: 1.48; font-weight: 700; }

.mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mini-metrics span {
  padding: 7px 9px;
  border-radius: 12px;
  background: var(--color-fog);
  color: var(--color-graphite);
  font-size: 12px;
  font-weight: 850;
}

.card-actions { display: flex; gap: 8px; margin-top: 16px; }
.card-actions button { flex: 1; }

.transaction-panel { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 15px 12px; text-align: left; border-bottom: 1px solid var(--color-fog); font-size: 13px; font-weight: 750; }
th { color: var(--color-steel); }
.table-status { padding: 6px 8px; border-radius: 12px; background: var(--color-fog); }

.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: var(--color-fog);
}
.copy-row span { flex: 1; color: var(--color-graphite); font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }

.discover-card { display: grid; gap: 10px; }
.estimate { min-height: 42px; }
.empty-state { min-height: 320px; display: grid; place-items: center; text-align: center; align-content: center; }
.empty-state h3 { margin: 10px 0 8px; font-size: 30px; letter-spacing: -0.04em; }
.empty-state p { max-width: 500px; color: var(--color-steel); line-height: 1.55; font-weight: 650; }
.dashboard-loading { padding: 28px; border-radius: 28px; background: var(--color-snow); font-weight: 850; }

.config-card {
  display: grid;
  gap: 6px;
  background: var(--color-fog);
  color: var(--color-graphite);
  text-align: left;
}
.config-card.ready { background: #eef8ef; color: #24542d; }
.config-card strong { font-size: 13px; }
.config-card span { color: inherit; font-size: 12px; line-height: 1.45; font-weight: 700; }
.inline-error { padding: 12px; border-radius: 16px; background: #fff0f0; color: #8a2020; font-size: 13px; font-weight: 800; }

.clerk-mount:empty { display: none; }
.fallback-auth-link { margin-top: 6px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9,9,11,0.62);
  backdrop-filter: blur(12px);
}
.modal-backdrop[hidden] { display: none; }
.share-modal {
  width: min(100%, 520px);
  border-radius: 36px;
  padding: 24px;
  background: var(--color-snow);
  position: relative;
}
.share-modal h3 { font-size: 34px; line-height: 1; letter-spacing: -0.05em; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; padding: 0; }
.qr-box { margin: 18px auto; width: 128px; height: 128px; border-radius: 28px; background: repeating-linear-gradient(45deg, var(--color-obsidian) 0 8px, var(--color-snow) 8px 16px); display: grid; place-items: center; color: transparent; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Family-style auth and onboarding */
.family-auth-page,
.family-onboarding-page {
  background: var(--family-canvas);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}

.family-auth-page .brand-mark,
.family-onboarding-page .brand-mark {
  border-radius: 10px;
  background: radial-gradient(circle at 64% 32%, var(--family-yellow) 0 16%, transparent 17%), var(--family-midnight);
  box-shadow: none;
}

.family-auth-card {
  position: relative;
  z-index: 2;
  width: min(100%, 1080px);
  gap: 14px;
}

.family-auth-story,
.family-auth-form,
.family-onboarding-card {
  background: #fff;
  color: var(--family-graphite);
  box-shadow: var(--family-border);
  border-radius: 24px;
}

.family-auth-story {
  background: var(--family-parchment);
  color: var(--family-graphite);
  overflow: hidden;
}

.family-auth-story::after,
.family-auth-story::before {
  content: '';
  position: absolute;
  border-radius: 50% 48% 54% 46% / 48% 58% 42% 52%;
  opacity: 1;
  filter: none;
}

.family-auth-story::after {
  right: -38px;
  bottom: -40px;
  width: 170px;
  height: 150px;
  background: var(--family-orange);
}

.family-auth-story::before {
  right: 92px;
  bottom: 66px;
  width: 68px;
  height: 68px;
  background: var(--family-yellow);
  box-shadow: #d48f00 0 0 0 3px inset;
}

.family-auth-story h1,
.family-onboarding-card h1 {
  color: var(--family-midnight);
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(44px, 5.8vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.family-auth-story p,
.family-onboarding-card p {
  color: var(--family-graphite);
  font-size: 16px;
  line-height: 1.52;
  letter-spacing: -0.2px;
}

.auth-path-preview {
  position: relative;
  z-index: 1;
  margin: 28px 0;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--family-border);
}

.auth-path-preview span {
  display: block;
  color: var(--family-orange);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-path-preview strong {
  display: block;
  color: var(--family-midnight);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.auth-path-preview em { font-style: normal; }

.family-auth-page .mode-switch {
  background: #fff;
  box-shadow: var(--family-border);
}

.family-auth-page .mode-switch a {
  color: var(--family-graphite);
}

.family-auth-page .mode-switch a.active {
  background: var(--family-midnight);
  color: #fff;
}

.family-auth-form {
  align-content: center;
}

.form-header-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  padding: 13px;
  border-radius: 14px;
  background: var(--family-parchment);
  color: var(--family-midnight);
  font-size: 13px;
}

.form-header-note span {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: var(--family-yellow);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.family-auth-form label {
  color: var(--family-charcoal);
}

.family-auth-form input {
  background: var(--family-parchment);
  border-radius: 10px;
  box-shadow: var(--family-border);
}

.family-auth-form input:focus { box-shadow: var(--family-border), var(--family-orange) 0 0 0 2px; }

.family-auth-form .url-preview {
  background: var(--family-midnight);
  border-radius: 14px;
}

.family-auth-form .availability {
  background: #eefaf2;
  color: #16602b;
  border-radius: 14px;
}

.auth-blob-one { left: 7%; top: 18%; }
.auth-blob-two { right: 8%; bottom: 13%; animation-delay: -1.5s; }
.auth-coin { left: 17%; bottom: 16%; animation-delay: -2s; }

.family-onboarding-card {
  position: relative;
  z-index: 2;
  width: min(100%, 660px);
  padding: clamp(30px, 6vw, 58px);
  overflow: hidden;
}

.family-onboarding-card::after {
  content: '';
  position: absolute;
  right: -54px;
  top: -58px;
  width: 160px;
  height: 160px;
  border-radius: 50% 48% 54% 46% / 48% 58% 42% 52%;
  background: var(--family-green);
  z-index: -1;
}

.family-wallet-scene {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  border-radius: 42px;
  background: var(--family-parchment);
  box-shadow: var(--family-border);
  display: grid;
  place-items: center;
  color: var(--family-midnight);
  animation: bobble 5s ease-in-out infinite;
}

.family-wallet-scene .wallet-face {
  width: 58px;
  height: 58px;
  border-radius: 22px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--family-border);
}

.family-wallet-scene span {
  font-size: 12px;
  font-weight: 750;
  color: var(--family-orange);
}

.family-onboarding-card .config-card {
  margin: 22px 0 12px;
  background: var(--family-parchment);
  border-radius: 14px;
  box-shadow: var(--family-border);
}

.family-onboarding-card .config-card.ready {
  background: #eefaf2;
  color: #16602b;
}

.onboarding-proof-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.onboarding-proof-row span {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--family-parchment);
  color: var(--family-charcoal);
  box-shadow: var(--family-border);
  font-size: 12px;
  font-weight: 700;
}

.family-success-mark {
  background: var(--family-green);
  color: var(--family-midnight);
  box-shadow: none;
  border-radius: 32px;
}

.family-success-mark svg { stroke-width: 3; }

.onboard-blob-one { left: 16%; top: 18%; }
.onboard-blob-two { right: 15%; bottom: 16%; animation-delay: -1.7s; }

/* Family-inspired landing redesign */
.family-redesign {
  background: var(--family-canvas);
  color: var(--family-graphite);
  overflow: hidden;
}

.family-redesign ~ * { background: var(--family-canvas); }

body:has(.family-redesign) {
  background: var(--family-canvas);
}

body:has(.family-redesign) .site-nav {
  top: 14px;
  min-height: 64px;
  background: rgba(251, 250, 249, 0.86);
  box-shadow: rgba(0,0,0,0.04) 0 0 0 1px;
  border-radius: 32px;
}

body:has(.family-redesign) .nav-links {
  background: transparent;
}

body:has(.family-redesign) .nav-links a {
  color: var(--family-charcoal);
  font-weight: 600;
}

body:has(.family-redesign) .nav-links a:hover {
  background: var(--family-stone);
}

body:has(.family-redesign) .brand-mark {
  border-radius: 10px;
  background: radial-gradient(circle at 64% 32%, var(--family-yellow) 0 16%, transparent 17%), var(--family-midnight);
  box-shadow: none;
}

body:has(.family-redesign) .pill-button.small {
  min-height: 44px;
  border-radius: 32px;
  background: var(--family-midnight);
  box-shadow: none;
  font-weight: 650;
}

body:has(.family-redesign) .brand,
body:has(.family-redesign) .nav-links,
body:has(.family-redesign) .pill-button.small,
.family-redesign {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.family-primary-btn,
.family-secondary-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 32px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.18px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.family-primary-btn {
  background: var(--family-midnight);
  color: #fff;
}

.family-secondary-btn {
  background: #f6f4ef;
  color: var(--family-midnight);
  box-shadow: var(--family-border);
}

.family-primary-btn:hover,
.family-secondary-btn:hover {
  transform: translateY(-2px) rotate(-0.2deg);
  box-shadow: rgba(0,0,0,0.04) 0 1px 6px, rgba(0,0,0,0.05) 0 0 24px;
}

.family-primary-btn.wide { width: 100%; }

.family-hero {
  width: min(calc(100% - 32px), var(--max-width));
  min-height: calc(100vh - 96px);
  margin: 20px auto 0;
  padding: clamp(86px, 10vw, 126px) 24px 72px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-centerpiece {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  animation: familyRise 0.9s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.tiny-proof-row {
  width: fit-content;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tiny-proof-row span {
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  color: var(--family-charcoal);
  box-shadow: var(--family-border);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.14px;
}

.family-hero h1 {
  margin: 0;
  color: var(--family-charcoal);
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-size: clamp(58px, 9.2vw, 112px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.047em;
}

.family-hero p {
  max-width: 590px;
  margin: 24px auto 0;
  color: var(--family-graphite);
  font-size: 17px;
  line-height: 1.52;
  letter-spacing: -0.22px;
}

.family-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.family-hero-actions.centered { justify-content: center; }

.floating-blob,
.floating-coin {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  animation: bobble 5.2s ease-in-out infinite;
}

.floating-blob {
  width: clamp(78px, 10vw, 130px);
  height: clamp(74px, 9vw, 118px);
  border-radius: 48% 52% 54% 46% / 54% 40% 60% 46%;
}

.floating-blob::before,
.floating-blob::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  top: 38%;
  border-radius: 999px;
  background: var(--family-midnight);
}

.floating-blob::before { left: 34%; }
.floating-blob::after { right: 34%; }
.floating-blob span {
  width: 30px;
  height: 14px;
  border: 3px solid var(--family-midnight);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  transform: translateY(18px);
}

.blob-orange { background: var(--family-orange); }
.blob-green { background: var(--family-green); }
.blob-blue { background: var(--family-blue); }
.blob-yellow { background: var(--family-yellow); }

.hero-blob-1 { left: 8%; top: 22%; transform: rotate(-11deg); }
.hero-blob-2 { right: 9%; top: 18%; animation-delay: -1.3s; transform: rotate(9deg); }
.hero-blob-3 { left: 16%; bottom: 18%; animation-delay: -2.4s; transform: rotate(7deg); }

.floating-coin {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: var(--family-yellow);
  color: var(--family-midnight);
  font-weight: 800;
  box-shadow: #d48f00 0 0 0 3px inset;
}

.coin-one { right: 18%; bottom: 20%; animation-delay: -0.8s; }
.coin-two { left: 25%; top: 16%; width: 54px; height: 54px; animation-delay: -1.9s; }

.hero-mini {
  position: absolute;
  z-index: 3;
  width: 210px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--family-border);
  animation: familyRise 1s cubic-bezier(0.19, 1, 0.22, 1) both, bobble 6s ease-in-out infinite;
}

.hero-mini span { color: var(--family-orange); font-size: 12px; font-weight: 700; }
.hero-mini strong { display: block; margin-top: 6px; color: var(--family-charcoal); font-size: 23px; letter-spacing: -0.44px; }
.hero-mini small { display: block; margin-top: 6px; color: var(--family-ash, #848281); line-height: 1.35; }
.mini-left { left: 2%; bottom: 28%; animation-delay: 0.18s; }
.mini-right { right: 1%; bottom: 34%; animation-delay: 0.3s; }

.family-action-strip {
  margin-top: 4px;
  overflow: hidden;
  border-block: 1px solid var(--family-stone);
  background: #fff;
}

.family-action-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 14px 0;
  animation: scrollText 30s linear infinite;
}

.family-action-track span {
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--family-parchment);
  color: var(--family-charcoal);
  font-size: 13px;
  font-weight: 650;
}

.family-section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: clamp(104px, 14vw, 168px) auto 0;
}

.family-section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.family-section-heading.left { margin-left: 0; text-align: left; }

.family-kicker {
  margin: 0 0 12px;
  color: var(--family-orange);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.18px;
}

.family-section-heading h2,
.family-final h2 {
  margin: 0;
  color: var(--family-midnight);
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.038em;
  font-weight: 650;
}

.family-section-heading h2 span { color: var(--family-orange); }

.family-section-heading > p:not(.family-kicker),
.family-final > p:not(.family-kicker) {
  max-width: 590px;
  margin: 16px auto 0;
  color: var(--family-graphite);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.22px;
}

.family-section-heading.left > p:not(.family-kicker) { margin-left: 0; }

.family-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.journey-card {
  position: relative;
  min-height: 520px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--family-border);
  overflow: hidden;
}

.journey-card .panel-title { margin-bottom: 30px; }
.journey-card .panel-title span { color: var(--family-orange); }
.journey-card .panel-title strong { color: var(--family-charcoal); }

.journey-character {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 88px;
  height: 78px;
  border-radius: 48% 52% 54% 46% / 54% 40% 60% 46%;
  display: grid;
  place-items: center;
  animation: bobble 5s ease-in-out infinite;
}

.journey-character::before,
.journey-character::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  top: 35%;
  border-radius: 999px;
  background: var(--family-midnight);
}

.journey-character::before { left: 35%; }
.journey-character::after { right: 35%; }

.family-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--family-stone);
}

.family-step b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--family-parchment);
  color: var(--family-charcoal);
}

.family-step h3 { margin: 0 0 7px; color: var(--family-charcoal); font-size: 23px; line-height: 1.16; letter-spacing: -0.44px; }
.family-step p { margin: 0; color: var(--family-graphite); font-size: 15px; line-height: 1.47; letter-spacing: -0.2px; }

.split-fee-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: center;
}

.family-fee-device {
  border-radius: 24px;
  padding: 16px;
  background: #000;
  color: #fff;
  box-shadow: rgba(0,0,0,0.15) 0 0 24px;
  transform: rotate(1.5deg);
}

.device-top {
  padding: 16px 14px 18px;
  color: #fff;
  font-weight: 700;
}

.fee-device-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding: 17px 16px;
  border-radius: 14px;
  background: #151515;
  color: #c6c6c6;
  font-weight: 650;
}

.fee-device-row.orange { background: var(--family-orange); color: #fff; }
.fee-device-row.total { background: #fff; color: var(--family-midnight); }
.fee-device-row strong { color: inherit; }

.buyer-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 16px;
}

.buyer-art-card,
.buyer-checkout-card,
.family-final {
  background: #fff;
  box-shadow: var(--family-border);
  border-radius: 24px;
}

.buyer-art-card {
  min-height: 500px;
  padding: 24px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.buyer-object {
  width: min(72%, 420px);
  aspect-ratio: 1;
  border-radius: 47% 53% 48% 52% / 54% 45% 55% 46%;
  background: radial-gradient(circle at 35% 37%, #121212 0 2.3%, transparent 2.4%),
    radial-gradient(circle at 60% 37%, #121212 0 2.3%, transparent 2.4%),
    linear-gradient(var(--family-orange), var(--family-orange));
  position: relative;
  animation: bobble 4.6s ease-in-out infinite;
}

.buyer-object::after {
  content: '';
  position: absolute;
  left: 42%;
  top: 49%;
  width: 18%;
  height: 8%;
  border: 5px solid var(--family-midnight);
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.buyer-art-card span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--family-parchment);
  color: var(--family-charcoal);
  font-size: 12px;
  font-weight: 700;
}

.buyer-checkout-card {
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.buyer-checkout-card h3 {
  margin: 14px 0 12px;
  color: var(--family-midnight);
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.buyer-checkout-card p { color: var(--family-graphite); font-size: 15px; line-height: 1.47; }

.family-final {
  width: min(calc(100% - 32px), var(--max-width));
  margin: clamp(104px, 14vw, 168px) auto 60px;
  padding: clamp(38px, 7vw, 84px) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-blob { right: 10%; top: 18%; width: 86px; height: 78px; opacity: 0.95; }

@keyframes familyRise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bobble {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  35% { translate: 0 -12px; rotate: -2deg; }
  70% { translate: 0 6px; rotate: 2deg; }
}

.onboarding-card .brand { justify-content: center; margin-bottom: 34px; }
.success-mark {
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  border-radius: 30px;
  background: var(--color-obsidian);
  color: var(--color-snow);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-button);
}
.success-mark svg { width: 34px; height: 34px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@media (max-width: 920px) {
  .site-nav { border-radius: 28px; flex-wrap: wrap; justify-content: center; }
  .nav-links { order: 3; width: 100%; justify-content: center; overflow-x: auto; }
  .hero-grid, .section-heading.split, .role-columns, .fee-card, .buyer-preview, .auth-card { grid-template-columns: 1fr; }
  .hero-copy, .hero-board { min-height: auto; }
  .hero-board { min-height: 620px; }
  .buyer-image { min-height: 410px; }
  .auth-brand { position: static; justify-self: start; margin-bottom: 18px; }
  .auth-page, .onboarding-page { display: block; }
  .auth-card { width: 100%; }
  .family-grid, .dashboard-stats, .product-grid, .affiliate-link-grid, .discover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-layout { grid-template-columns: 1fr; padding-bottom: 82px; }
  .dashboard-sidebar {
    position: fixed;
    inset: auto 10px 10px;
    z-index: 30;
    height: auto;
    padding: 8px;
    border-radius: 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .dashboard-sidebar .brand, .mode-label, .sidebar-user { display: none; }
  .dashboard-nav { display: flex; flex: 1; justify-content: center; }
  .dashboard-nav a { flex: 1; text-align: center; padding: 12px 8px; font-size: 12px; }
  .dashboard-nav a:hover, .dashboard-nav a.active { transform: translateY(-1px); }
  .dashboard-header { flex-direction: column; }
  .family-hero { min-height: auto; padding-top: 88px; }
  .hero-mini { position: relative; inset: auto; width: 100%; max-width: 420px; margin: 18px auto 0; animation: familyRise 0.8s cubic-bezier(0.19, 1, 0.22, 1) both; }
  .hero-blob-1 { left: 2%; top: 19%; }
  .hero-blob-2 { right: 1%; top: 15%; }
  .hero-blob-3, .coin-one, .coin-two { display: none; }
  .family-role-grid, .split-fee-scene, .buyer-showcase { grid-template-columns: 1fr; }
  .family-fee-device { transform: none; }
  .family-auth-card { grid-template-columns: 1fr; }
  .auth-blob-one, .auth-blob-two, .auth-coin, .onboard-blob-one, .onboard-blob-two { opacity: 0.55; }
}

@media (max-width: 620px) {
  .site-nav, .hero-section, .section, .fee-section, .cta-section { width: min(calc(100% - 20px), var(--max-width)); }
  .site-nav { top: 10px; margin-top: 10px; padding: 10px; }
  .announcement { border-radius: 28px; flex-direction: column; align-items: flex-start; }
  .hero-copy { padding: 28px; border-radius: 36px; }
  .hero-board { border-radius: 36px; padding: 16px; min-height: 570px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy p { font-size: 15px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions, .hero-actions.centered { flex-direction: column; }
  .pill-button, .outline-button { width: 100%; }
  .product-tile { min-height: 126px; border-radius: 28px; }
  .section, .fee-section, .cta-section { margin-top: 58px; }
  .role-panel, .fee-card, .cta-section, .auth-copy, .signup-form, .onboarding-card { border-radius: 28px; }
  .step-card { grid-template-columns: 1fr; }
  .buyer-preview { border-radius: 32px; padding: 10px; }
  .buyer-image { min-height: 320px; border-radius: 26px; }
  .buyer-content { padding: 24px 10px 14px; }
  .auth-page, .onboarding-page { padding: 16px; }
  .nav-links a { padding: 9px 10px; }
  .family-lift-section { width: min(calc(100% - 20px), var(--max-width)); margin-top: 52px; border-radius: 34px; }
  .family-grid, .dashboard-stats, .product-grid, .affiliate-link-grid, .discover-grid { grid-template-columns: 1fr; }
  .dashboard-main { padding: 20px 10px 92px; }
  .dashboard-header h1 { font-size: 43px; }
  .dashboard-tabs { width: 100%; overflow-x: auto; border-radius: 28px; }
  .dashboard-tabs a, .dashboard-tabs button { white-space: nowrap; }
  .family-hero { width: min(calc(100% - 20px), var(--max-width)); padding-inline: 8px; }
  .family-hero h1 { font-size: 54px; }
  .family-hero p { font-size: 15px; }
  .family-hero-actions { flex-direction: column; }
  .family-primary-btn, .family-secondary-btn { width: 100%; }
  .floating-blob { width: 62px; height: 58px; }
  .hero-blob-1 { top: 92px; left: 0; }
  .hero-blob-2 { top: 108px; right: 0; }
  .tiny-proof-row span { font-size: 11px; padding: 7px 8px; }
  .family-section, .family-final { width: min(calc(100% - 20px), var(--max-width)); margin-top: 84px; }
  .family-section-heading h2, .family-final h2 { font-size: 38px; }
  .journey-card { padding: 22px; min-height: auto; }
  .journey-character { position: relative; right: auto; top: auto; margin-bottom: 16px; }
  .family-step { grid-template-columns: 1fr; gap: 12px; }
  .buyer-art-card { min-height: 320px; }
  .buyer-checkout-card h3 { font-size: 38px; }
  .final-blob { display: none; }
  body:has(.family-redesign) .site-nav {
    width: min(calc(100% - 20px), var(--max-width));
    min-height: 58px;
    flex-wrap: nowrap;
    justify-content: space-between;
    border-radius: 32px;
    padding: 8px 9px 8px 12px;
  }
  body:has(.family-redesign) .site-nav .nav-links { display: none; }
  body:has(.family-redesign) .site-nav .pill-button.small {
    width: auto;
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
  }
  body:has(.family-redesign) .brand { font-size: 14px; }
  .family-auth-page, .family-onboarding-page { padding: 16px; }
  .family-auth-card { gap: 10px; }
  .family-auth-story, .family-auth-form, .family-onboarding-card { border-radius: 22px; }
  .family-auth-story h1, .family-onboarding-card h1 { font-size: 42px; }
  .auth-path-preview strong { font-size: 14px; }
  .auth-blob-one, .auth-blob-two, .auth-coin, .onboard-blob-one, .onboard-blob-two { display: none; }
  .family-wallet-scene { width: 92px; height: 92px; border-radius: 32px; }
  .onboarding-proof-row { flex-direction: column; }
}