/* boardcompanion.com home page (2026-11-15): drawn in the ivymed.net style (lib "pass-theme":
   white surface, deep green accent, tight Geist headlines, thin-line rounded cards, pill buttons).
   Scoped to body.bb-home and loaded after style.css, which the auth modal and the other pages
   still use. */

body.bb-home {
  --pp-accent: #1b6b3f;
  --pp-accent-hover: #155532;
  --pp-accent-soft: rgb(27 107 63 / 0.1);
  --pp-ink: #111814;
  --pp-muted: #4d5a53;
  --pp-line: #d6dfda;
  --pp-surface: #ffffff;
  --pp-bg: #f5f7f6;
  margin: 0;
  background: var(--pp-surface);
  color: var(--pp-ink);
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.bb-home *, .bb-home *::before, .bb-home *::after { box-sizing: border-box; }
.bb-home img { max-width: 100%; height: auto; }
.bb-home a { color: inherit; }
.bb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
.bb-home .main-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgb(255 255 255 / 0.86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; box-shadow: none; padding: 0;
  transition: border-color .2s;
}
.bb-home .main-header.is-stuck { border-bottom-color: var(--pp-line); }
.bb-home .navbar { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bb-home .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pp-ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.bb-home .logo img { height: 40px; width: 40px; margin: 0; border-radius: 12px; }
.bb-home .nav-menu { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.bb-home .nav-menu a { text-decoration: none; color: var(--pp-muted); font-weight: 500; font-size: 15px; }
.bb-home .nav-menu a:hover { color: var(--pp-ink); }
.bb-home .header-actions { display: flex; gap: 10px; align-items: center; }

/* Buttons (also restyles the two auth.js puts in the header) */
.bb-home .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, transform .18s;
}
.bb-home .btn:active { transform: scale(.98); }
.bb-home .btn-primary { background: var(--pp-accent); color: #fff; box-shadow: 0 14px 30px -14px rgb(27 107 63 / 0.6); }
.bb-home .btn-primary:hover { background: var(--pp-accent-hover); }
.bb-home .btn-secondary { background: transparent; color: var(--pp-ink); border-color: var(--pp-line); }
.bb-home .btn-secondary:hover { border-color: var(--pp-accent); }
.bb-home .btn-large { height: 56px; padding: 0 30px; font-size: 17px; }
.bb-home .btn .arrow { transition: transform .18s; }
.bb-home .btn:hover .arrow { transform: translateX(3px); }

/* Hero */
.bb-hero { position: relative; isolation: isolate; overflow-x: clip; }
.bb-hero .bb-plant { position: absolute; right: 0; top: -210px; width: min(40vw, 620px); z-index: -1; opacity: .95; pointer-events: none; }
.bb-hero .bb-plant::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / .2) 45%, transparent 100%), linear-gradient(0deg, #fff 0%, transparent 34%); }
.bb-hero .bb-plant img { width: 100%; display: block; }
.bb-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding: 56px 0 28px; }
.bb-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--pp-accent-soft); color: var(--pp-accent); font-size: 13px; font-weight: 600; }
.bb-hero h1 { margin: 18px 0 0; font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.bb-hero h1 span { color: var(--pp-accent); }
.bb-hero .bb-lede { margin: 22px 0 0; max-width: 44ch; font-size: clamp(1rem, 1.5vw, 1.22rem); color: var(--pp-muted); }
.bb-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bb-proof { margin-top: 18px; font-size: 14px; color: var(--pp-muted); }
.bb-proof strong { color: var(--pp-ink); }
.bb-mascot { position: relative; width: min(320px, 70vw); margin: 0 auto; }
.bb-mascot::before { content: ''; position: absolute; left: 12%; right: 12%; bottom: 6px; height: 30px; border-radius: 50%; background: rgb(27 107 63 / .16); filter: blur(14px); }
.bb-mascot img { position: relative; display: block; filter: drop-shadow(0 18px 30px rgb(17 24 20 / .18)); }

/* Works-with strip */
.bb-banks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 8px 0 8px; color: var(--pp-muted); font-size: 14px; }
.bb-banks b { color: var(--pp-ink); font-weight: 600; margin-right: 4px; }
.bb-chip { padding: 6px 13px; border: 1px solid var(--pp-line); border-radius: 999px; background: var(--pp-surface); color: var(--pp-ink); font-weight: 500; font-size: 13.5px; }

/* Sections */
.bb-section { padding: 72px 0 0; }
.bb-section h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.1; font-weight: 700; }
.bb-section .bb-sub { margin: 12px 0 0; max-width: 62ch; color: var(--pp-muted); font-size: 1.05rem; }
.bb-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-accent); margin: 0 0 10px; }
.bb-card { border: 1px solid var(--pp-line); border-radius: 26px; background: var(--pp-surface); }

/* Showcase rows: text + real screenshot */
.bb-show { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; margin-top: 44px; }
.bb-show.flip .bb-show-text { order: 2; }
.bb-show h3 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.15; }
.bb-show p { margin: 12px 0 0; color: var(--pp-muted); }
.bb-ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.bb-ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.bb-ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--pp-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b6b3f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.bb-ticks li b { font-weight: 600; }
.bb-shot { border: 1px solid var(--pp-line); border-radius: 22px; overflow: hidden; background: var(--pp-bg); box-shadow: 0 30px 60px -36px rgb(17 24 20 / .35); }
.bb-shot img { display: block; width: 100%; }
.bb-shot.narrow { max-width: 420px; margin: 0 auto; }

/* Feature grid */
.bb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.bb-feature { padding: 24px; transition: border-color .18s, transform .18s; }
.bb-feature:hover { border-color: var(--pp-accent); transform: translateY(-2px); }
.bb-feature .ico { width: 42px; height: 42px; border-radius: 13px; background: var(--pp-accent-soft); display: grid; place-items: center; font-size: 21px; }
.bb-feature h3 { margin: 14px 0 0; font-size: 1.08rem; letter-spacing: -0.02em; }
.bb-feature p { margin: 7px 0 0; color: var(--pp-muted); font-size: 15px; }
.bb-new { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--pp-accent); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; vertical-align: 2px; }

/* Four apps */
.bb-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.bb-app { padding: 20px; }
.bb-app h3 { margin: 0; font-size: 1rem; letter-spacing: -0.01em; }
.bb-app p { margin: 8px 0 0; font-size: 14.5px; color: var(--pp-muted); }
.bb-app .tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pp-accent); margin-bottom: 8px; display: block; }

/* Pricing */
.bb-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; align-items: stretch; }
.bb-price { padding: 28px; display: flex; flex-direction: column; }
.bb-price.featured { border-color: var(--pp-accent); box-shadow: 0 24px 46px -30px rgb(27 107 63 / .55); }
.bb-price .tier { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-accent); }
.bb-price h3 { margin: 8px 0 0; font-size: 1.4rem; letter-spacing: -0.03em; }
.bb-price .amount { margin: 12px 0 0; font-size: 2.9rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.bb-price .amount small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--pp-muted); margin-left: 3px; }
.bb-price .note { margin: 8px 0 0; font-size: 14px; color: var(--pp-muted); }
.bb-price .bb-ticks { flex: 1; margin-top: 18px; }
.bb-price .bb-ticks li { font-size: 14.5px; }
.bb-price .btn { margin-top: 22px; width: 100%; height: 48px; }
.bb-fine { margin: 18px auto 0; max-width: 76ch; text-align: center; font-size: 13px; color: var(--pp-muted); }
.bb-fine a { color: var(--pp-accent); }

/* Steps */
.bb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; counter-reset: step; }
.bb-step { padding: 24px; counter-increment: step; }
.bb-step::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pp-accent); color: #fff; font-weight: 700; font-size: 15px; }
.bb-step h3 { margin: 14px 0 0; font-size: 1.08rem; letter-spacing: -0.02em; }
.bb-step p { margin: 7px 0 0; color: var(--pp-muted); font-size: 15px; }

/* Callout */
.bb-callout { margin-top: 72px; padding: 32px; background: var(--pp-bg); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.bb-callout img { width: 150px; }
.bb-callout h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.bb-callout p { margin: 10px 0 0; color: var(--pp-muted); max-width: 60ch; }

/* FAQ */
.bb-home .faq-section { max-width: 880px; margin: 0 auto; padding: 72px 24px 0; }
.bb-home .faq-container { display: grid; gap: 10px; margin-top: 24px; }
.bb-home .faq-item { border: 1px solid var(--pp-line); border-radius: 20px; background: var(--pp-surface); padding: 18px 22px; box-shadow: none; }
.bb-home .faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.02rem; color: var(--pp-ink); }
.bb-home .faq-item summary::-webkit-details-marker { display: none; }
.bb-home .faq-item summary::after { content: '+'; color: var(--pp-accent); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.bb-home .faq-item[open] summary::after { transform: rotate(45deg); }
.bb-home .faq-item p { margin: 12px 0 0; color: var(--pp-muted); }

/* Footer */
.bb-home .main-footer { margin-top: 88px; border-top: 1px solid var(--pp-line); background: var(--pp-surface); color: var(--pp-muted); padding: 0; }
.bb-foot { max-width: 1180px; margin: 0 auto; padding: 34px 24px; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; font-size: 14px; }
.bb-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.bb-foot a { text-decoration: none; color: var(--pp-muted); }
.bb-foot a:hover { color: var(--pp-ink); }
.bb-foot .brand { display: flex; align-items: center; gap: 10px; color: var(--pp-ink); font-weight: 600; }
.bb-foot .brand img { width: 26px; height: 26px; border-radius: 8px; }
.bb-legal { max-width: 1180px; margin: 0 auto; padding: 0 24px 34px; font-size: 12px; color: var(--pp-muted); opacity: .85; }

/* Motion: gentle rise as sections enter */
.bb-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.23,1,.32,1), transform .6s cubic-bezier(.23,1,.32,1); }
.bb-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bb-reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 980px) {
  .bb-hero-grid { grid-template-columns: 1fr; padding-top: 28px; gap: 20px; }
  .bb-hero .bb-plant { display: none; }
  .bb-mascot { width: min(220px, 56vw); order: -1; margin: 0; }
  .bb-show, .bb-show.flip { grid-template-columns: 1fr; gap: 22px; }
  .bb-show.flip .bb-show-text { order: 0; }
  .bb-grid, .bb-steps { grid-template-columns: 1fr 1fr; }
  .bb-apps { grid-template-columns: 1fr 1fr; }
  .bb-pricing { grid-template-columns: 1fr; }
  .bb-home .nav-menu { display: none; }
}
@media (max-width: 620px) {
  .bb-wrap { padding: 0 16px; }
  .bb-home .navbar { padding: 12px 16px; }
  .bb-home .logo span { display: none; }
  .bb-grid, .bb-steps, .bb-apps { grid-template-columns: 1fr; }
  .bb-section { padding-top: 54px; }
  .bb-callout { grid-template-columns: 1fr; padding: 24px; }
  .bb-callout img { width: 110px; }
  .bb-cta .btn { width: 100%; }
  .bb-home .faq-section { padding: 54px 16px 0; }
}
