/* Onboarding P0 - goal picker modal.
   Monochrome. No emoji. No em dash. */

.ob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 16px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #111;
  opacity: 0;
  pointer-events: none; /* only capture clicks once visible */
  transition: opacity 160ms ease-out;
}
.ob-overlay.ob-visible { opacity: 1; pointer-events: auto; }

.ob-modal {
  background: #fff;
  width: 100%;
  max-width: 600px;
  padding: 32px 32px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  position: relative;
}

.ob-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: #000;
}

.ob-sub {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 22px;
}

.ob-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

@media (min-width: 480px) {
  .ob-cards { grid-template-columns: 1fr 1fr; }
  .ob-card-both { grid-column: span 2; }
}

.ob-card {
  border: 1px solid #ddd;
  background: #fff;
  padding: 18px 16px;
  cursor: pointer;
  transition: transform 120ms ease-out, border-color 120ms ease-out, box-shadow 120ms ease-out;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: inherit;
  width: 100%;
}

.ob-card:hover,
.ob-card:focus-visible {
  transform: translateY(-2px);
  border-color: #111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  outline: none;
}

.ob-card-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
}

.ob-card-body {
  font-size: 13px;
  line-height: 1.45;
  color: #555;
}

.ob-card-both {
  border-color: #111;
}

.ob-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #111;
  color: #fff;
  padding: 3px 8px;
  align-self: flex-start;
  margin-bottom: 4px;
}

.ob-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 14px;
  font-size: 12px;
  color: #888;
}

.ob-skip {
  background: none;
  border: 0;
  font: inherit;
  color: #555;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px 4px;
}
.ob-skip:hover { color: #111; }

.ob-pid {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #999;
}

/* Hidden until JS decides to render */
#ob-root:empty { display: none; }

/* =========================================================================
   P1: Spotlight tour engine. Monochrome only. Black + white + grays.
   ========================================================================= */

.ob-tour-root {
  position: fixed;
  inset: 0;
  z-index: 9100;
  pointer-events: none;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  transition: opacity 160ms ease-out;
}
/* During fade-out also kill the bubble's clickability so a stale click does
   not land on a button that is about to disappear. */
.ob-tour-root.ob-tour-fadeout,
.ob-tour-root.ob-tour-fadeout * { pointer-events: none !important; }
.ob-tour-root.ob-tour-fadeout { opacity: 0; }

.ob-tour-svg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* user can click the highlighted target through the dim */
}

.ob-tour-bubble {
  position: fixed;
  pointer-events: auto;
  max-width: 360px;
  min-width: 280px;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  padding: 18px 18px 16px;
  visibility: hidden; /* set by engine on mount */
  transition: transform 160ms ease-out;
}

.ob-tour-step {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ob-tour-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #000;
  margin: 0 0 6px;
}

.ob-tour-body {
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  margin: 0;
}

.ob-tour-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}

.ob-tour-foot-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ob-btn {
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.ob-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.ob-btn:hover { background: #f5f5f5; }

.ob-btn-primary {
  background: #111;
  color: #fff;
  border-color: #111;
}
.ob-btn-primary:hover { background: #000; }

.ob-btn-ghost {
  border-color: #ddd;
  color: #555;
  background: #fff;
}
.ob-btn-ghost:hover { color: #111; border-color: #111; }

/* =========================================================================
   P5: Contextual tooltips. Tiny "?" mark with hover/focus popover.
   ========================================================================= */

.ob-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  vertical-align: middle;
  cursor: help;
  outline: none;
}
.ob-tip-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  color: #555;
  border: 1px solid #ccc;
  font-size: 10px;
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
}
.ob-tip:hover .ob-tip-mark,
.ob-tip:focus .ob-tip-mark {
  background: #111;
  color: #fff;
  border-color: #111;
}
.ob-tip-pop {
  position: absolute;
  z-index: 8800;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #111;
  border: 1px solid #111;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  padding: 12px 14px;
  width: 260px;
  font-size: 12px;
  line-height: 1.55;
  font-family: Inter, system-ui, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease-out;
}
.ob-tip:hover .ob-tip-pop,
.ob-tip:focus .ob-tip-pop,
.ob-tip:focus-within .ob-tip-pop {
  opacity: 1;
  pointer-events: auto;
}
.ob-tip-body p { margin: 0 0 6px; }
.ob-tip-body p:last-child { margin-bottom: 0; }
.ob-tip-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.02em;
}


/* ==========================================================================
   Landing Pages: /start/create  and  /start/join
   Versioned in this file so browser cache is always busted by the CSS URL.
   ========================================================================== */

.container-landing { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.bg-light { background: #f9f9f9; }
.bg-dark { background: #000000 !important; color: #FFFFFF !important; }
.bg-dark * { color: #FFFFFF !important; opacity: 1 !important; }

.landing-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #666; margin-bottom: 20px; }
.landing-title { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 850; line-height: 1.05; letter-spacing: -0.04em; color: #111; margin-bottom: 32px; }
.landing-subtitle { font-size: 1.25rem; line-height: 1.6; color: #666; margin-bottom: 48px; max-width: 520px; }
.landing-section-title { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.landing-section-sub { font-size: 1.125rem; color: #666; }

/* Buttons - light sections */
.btn-landing-primary { display: inline-block; background: #000000 !important; color: #FFFFFF !important; padding: 18px 40px; font-size: 1rem; font-weight: 700; text-decoration: none !important; border: 2px solid #000000 !important; transition: all 0.2s; }
.btn-landing-primary:hover { background: transparent !important; color: #000000 !important; }
.btn-landing-outline { display: inline-block; background: transparent !important; color: #000000 !important; padding: 18px 40px; font-size: 1rem; font-weight: 700; text-decoration: none !important; border: 2px solid #000000 !important; transition: all 0.2s; }
.btn-landing-outline:hover { background: #000000 !important; color: #FFFFFF !important; }

/* Buttons - dark sections */
.btn-landing-primary-white { display: inline-block; background: #FFFFFF !important; color: #000000 !important; padding: 18px 40px; font-size: 1rem; font-weight: 700; text-decoration: none !important; border: 2px solid #FFFFFF !important; transition: all 0.2s; }
.btn-landing-primary-white:hover { background: transparent !important; color: #FFFFFF !important; }
.btn-landing-outline-white { display: inline-block; background: transparent !important; color: #FFFFFF !important; padding: 18px 40px; font-size: 1rem; font-weight: 700; text-decoration: none !important; border: 2px solid #FFFFFF !important; transition: all 0.2s; }
.btn-landing-outline-white:hover { background: #FFFFFF !important; color: #000000 !important; }

.landing-hero { padding: 96px 0 120px; border-bottom: 1px solid #ededed; }
.landing-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.landing-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.landing-hero-img { width: 100%; height: auto; border-radius: 4px; }
.landing-section { padding: 100px 0; }
.section-header-centered { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-cta-centered { text-align: center; margin-top: 48px; }

.landing-hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.landing-hiw-item { display: flex; gap: 24px; }
.hiw-step-num { font-size: 2.5rem; font-weight: 800; color: #ededed; line-height: 1; flex-shrink: 0; }
.landing-hiw-item h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; color: #111; }
.landing-hiw-item p { font-size: 0.95rem; color: #666; line-height: 1.7; }

.landing-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.seller-feature-list { margin: 32px 0 48px; display: flex; flex-direction: column; gap: 32px; }
.seller-feature-item { padding-left: 24px; border-left: 3px solid #111; }
.seller-feature-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: #111; }
.seller-feature-item p { font-size: 0.95rem; color: #666; line-height: 1.6; }

.landing-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.landing-feature-card { background: #fff; padding: 48px 32px; border: 1px solid #ededed; transition: all 0.2s; border-radius: 4px; }
.landing-feature-card:hover { border-color: #111; transform: translateY(-4px); }
.feature-icon-box { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #666; margin-bottom: 24px; border-bottom: 1px solid #ededed; padding-bottom: 8px; display: inline-block; }
.landing-feature-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; color: #111; }
.landing-feature-card p { font-size: 0.9rem; color: #666; line-height: 1.6; }

.buyer-benefit-list { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.buyer-benefit { padding-left: 24px; border-left: 3px solid #111; }
.buyer-benefit h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; color: #111; }
.buyer-benefit p { font-size: 0.95rem; color: #666; line-height: 1.6; }

.protection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 24px; }
.protection-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: #111; }
.protection-item p { font-size: 0.95rem; color: #666; line-height: 1.6; }

.landing-faq-list { margin-top: 48px; }
.faq-item-premium { border-bottom: 1px solid #ededed; }
.faq-item-premium summary { padding: 32px 0; font-weight: 700; font-size: 1.125rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #111; }
.faq-item-premium summary::-webkit-details-marker { display: none; }
.faq-item-premium summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; }
.faq-item-premium[open] summary::after { content: '\2212'; }
.faq-item-premium p { padding-bottom: 32px; color: #666; line-height: 1.8; }

.landing-cta-section { padding: 140px 0; text-align: center; }
.cta-title { font-size: 3.5rem; font-weight: 850; letter-spacing: -0.04em; margin-bottom: 24px; color: #FFFFFF !important; }
.cta-subtitle { font-size: 1.25rem; margin-bottom: 56px; color: #FFFFFF !important; }

/* Footer contrast - scoped to landing pages */
.start-create .site-footer,
.start-join .site-footer { background: #000000 !important; }
.start-create .site-footer a, .start-create .site-footer p, .start-create .site-footer span, .start-create .footer-col-title, .start-create .footer-tagline, .start-create .footer-copy,
.start-join .site-footer a, .start-join .site-footer p, .start-join .site-footer span, .start-join .footer-col-title, .start-join .footer-tagline, .start-join .footer-copy { color: #FFFFFF !important; opacity: 1 !important; }
.start-create .footer-divider, .start-join .footer-divider { border-top-color: rgba(255,255,255,0.15) !important; }

@media (max-width: 1024px) {
  .landing-hero-grid, .landing-split-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .landing-hero-visual { order: -1; }
  .landing-subtitle { margin: 0 auto 48px; }
  .landing-hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .protection-grid { grid-template-columns: 1fr; gap: 32px; }
  .seller-feature-item, .buyer-benefit { text-align: left; }
}

@media (max-width: 640px) {
  .landing-hiw-grid, .landing-feature-grid { grid-template-columns: 1fr; }
  .landing-title { font-size: 2.75rem; }
  .cta-title { font-size: 2.25rem; }
  .btn-landing-primary, .btn-landing-outline, .btn-landing-primary-white, .btn-landing-outline-white { padding: 16px 28px; }
  /* The emotional-storytelling sections carry oversized inline font sizes
     (3.5rem section titles, 2.75rem sub-heads, 80px gaps) that do not adapt on
     phones. Rein them in here; !important is required to beat the inline rule. */
  .landing-page .landing-section-title { font-size: 2rem !important; }
  .landing-page .split-content h3,
  .landing-page .landing-split-grid h3 { font-size: 1.9rem !important; }
  .landing-page section[style*="padding-top: 120px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  .landing-page .landing-split-grid[style*="gap: 80px"] { gap: 40px !important; }
  .landing-page .split-visual { padding: 32px !important; }
}
