/*
 * beebrand.us — the public site, dressed like the panel it sells
 * (docs/better_internal_ui.png): the same blue-white field, frosted-glass
 * cards with generous radii, navy for weight, bright blue for action, and the
 * honey of the bee as the warm accent. Every colour comes from tokens.css,
 * which the site serves from the panel's own assets, so the two never drift.
 * Plain CSS; no framework, no CDN.
 */
:root {
  --site-shadow: var(--bb-shadow);
  --site-lift: var(--bb-shadow-lift);
  --site-radius: 26px;
  --honey-glow: 0 12px 28px -12px rgba(224, 154, 18, .55);
  --navy-glow: 0 14px 28px -14px rgba(19, 40, 77, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--bb-font); color: var(--bb-text); line-height: 1.6;
  background: var(--bb-bg); background-image: var(--bb-bg-gradient); background-attachment: fixed;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--bb-yellow); color: var(--bb-navy-deep); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--bb-ink); letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.icon { width: 18px; height: 18px; flex: none; }
.muted { color: var(--bb-muted); }
.center { text-align: center; }
.glass {
  background: var(--bb-glass-strong); border: 1px solid var(--bb-glass-edge);
  -webkit-backdrop-filter: var(--bb-blur); backdrop-filter: var(--bb-blur); box-shadow: var(--site-shadow);
}
main, .footer { position: relative; z-index: 1; }

/* ---------- Backdrop ---------- */
.backdrop { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.blob-blue { width: 520px; height: 520px; top: -180px; right: -140px; background: rgba(47, 123, 246, .16); }
.blob-honey { width: 460px; height: 460px; top: 38%; left: -200px; background: rgba(246, 185, 59, .18); }
.blob-purple { width: 480px; height: 480px; bottom: -200px; right: 12%; background: rgba(106, 79, 214, .1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700;
  font-size: .9rem; padding: 10px 20px; border-radius: var(--bb-pill); border: 1px solid transparent; cursor: pointer;
  transition: transform var(--bb-ease), background var(--bb-ease), box-shadow var(--bb-ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 16px; height: 16px; }
.btn-big { padding: 16px 30px; font-size: 1rem; }
.btn-navy { background: var(--bb-navy); color: #fff; box-shadow: var(--navy-glow); }
.btn-navy:hover { background: var(--bb-blue-bright); }
.btn-light { background: #fff; color: var(--bb-navy); border-color: var(--bb-line); box-shadow: var(--site-shadow); }
.btn-light:hover { background: var(--bb-grey-50); }
.btn-white { background: #fff; color: var(--bb-navy-deep); }
.btn-white:hover { background: var(--bb-yellow); }
:focus-visible { outline: 3px solid var(--bb-focus); outline-offset: 3px; border-radius: 10px; }

/* ---------- Top navigation ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 251, .78);
  -webkit-backdrop-filter: var(--bb-blur); backdrop-filter: var(--bb-blur); border-bottom: 1px solid var(--bb-line);
}
.topnav-row { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--bb-navy); }
.brand b { color: var(--bb-honey-deep); font-weight: 800; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark.small { width: 26px; height: 26px; }
.links { display: flex; gap: 28px; font-size: .9rem; font-weight: 600; color: var(--bb-muted); }
.links a:hover { color: var(--bb-navy); }
.actions { display: flex; align-items: center; gap: 8px; }
.signin { padding: 10px 14px; font-size: .9rem; font-weight: 600; color: var(--bb-navy); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: 72px; padding-bottom: 40px; }
.tagline {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: var(--bb-pill); margin-bottom: 30px;
  background: var(--bb-glass-strong); border: 1px solid var(--bb-glass-edge); box-shadow: var(--site-shadow);
  font-size: .8rem; font-weight: 600; color: var(--bb-navy);
}
.tagline .icon { width: 12px; height: 12px; color: var(--bb-grey-400); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--bb-green-light); box-shadow: 0 0 0 3px rgba(34, 176, 125, .2); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; max-width: 980px; margin: 0 auto; color: var(--bb-navy-deep); }
.accent { background: linear-gradient(120deg, var(--bb-blue-bright) 0%, var(--bb-purple-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--bb-muted); max-width: 720px; margin: 24px auto 0; font-weight: 500; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.fine { font-size: .78rem; font-weight: 600; color: var(--bb-muted); margin-top: 16px; }
.hero-shot { margin: 56px auto 0; padding: 14px; border-radius: 30px; max-width: 1120px; box-shadow: var(--site-lift); }
.hero-shot img { display: block; width: 100%; border-radius: 18px; border: 1px solid var(--bb-line); }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 2px 6px 12px; }
.traffic { display: inline-flex; gap: 7px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; background: var(--bb-red-light); }
.traffic i:nth-child(2) { background: var(--bb-yellow-light); }
.traffic i:nth-child(3) { background: var(--bb-green-light); }
.url { font-size: .75rem; font-weight: 600; color: var(--bb-grey-400); }

/* ---------- Sections ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-top: 14px; color: var(--bb-navy-deep); }
.section-head p { color: var(--bb-muted); margin: 12px 0 0; font-size: 1rem; }
.kicker {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bb-blue-deep); background: var(--bb-blue); padding: 5px 13px; border-radius: var(--bb-pill);
}
.chip { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--bb-navy); background: var(--bb-grey-100); padding: 3px 10px; border-radius: var(--bb-pill); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }

/* ---------- Tints (content names these; utils.go knownTints) ---------- */
.tint-sea { background: var(--bb-sea); color: var(--bb-sea-deep); }
.tint-purple { background: var(--bb-purple); color: var(--bb-purple-deep); }
.tint-honey { background: var(--bb-yellow); color: var(--bb-honey-deep); }
.tint-blue { background: var(--bb-blue); color: var(--bb-blue-deep); }
.tint-rose { background: var(--bb-rose); color: var(--bb-rose-deep); }
.tint-orange { background: var(--bb-orange); color: #c2621d; }

/* ---------- Welcome: the person, and the notes BeeBrand sends them ---------- */
.welcome { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.welcome-photo { position: relative; margin: 0; }
.welcome-photo img { display: block; width: 100%; border-radius: 30px; box-shadow: var(--site-lift); }
.welcome-photo::after { content: ""; position: absolute; inset: 0; border-radius: 30px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); pointer-events: none; }
.note {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; max-width: 290px;
  background: var(--bb-glass-strong); border: 1px solid var(--bb-glass-edge); -webkit-backdrop-filter: var(--bb-blur); backdrop-filter: var(--bb-blur);
  box-shadow: var(--site-lift); animation: drift 6s ease-in-out infinite;
}
.note-1 { left: -4%; top: 9%; }
.note-2 { right: -5%; top: 52%; animation-delay: -2s; }
.note-3 { left: 6%; bottom: -7%; animation-delay: -4s; }
.note-icon { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.note-text { min-width: 0; font-size: .74rem; line-height: 1.35; color: var(--bb-muted); }
.note-text b { display: block; font-size: .8rem; color: var(--bb-navy-deep); }
.note-text span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.welcome-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin: 14px 0 14px; color: var(--bb-navy-deep); }
.welcome-text p { color: var(--bb-muted); margin: 0 0 20px; font-size: 1.02rem; }
.welcome-text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.welcome-text li { display: flex; gap: 10px; font-weight: 600; color: var(--bb-ink); font-size: .95rem; }
.welcome-text li .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--bb-sea); color: var(--bb-sea-deep); margin-top: 2px; }

/* ---------- Doors ---------- */
.doors { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.doors .door { flex: 0 1 calc((100% - 66px) / 4); }
.door {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 24px 24px;
  border-radius: 200px 200px var(--site-radius) var(--site-radius);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.door:hover { transform: translateY(-6px); box-shadow: var(--site-lift); }
.door-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.door-icon .icon { width: 28px; height: 28px; }
.door h3 { font-size: 1.1rem; font-weight: 800; color: var(--bb-navy-deep); }
.door p { margin: 10px 0 18px; font-size: .9rem; color: var(--bb-muted); flex: 1; }
.door-foot { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--bb-blue-deep); }
.door-foot .icon { width: 14px; height: 14px; transition: transform var(--bb-ease); }
.door:hover .door-foot .icon { transform: translateX(4px); }

/* ---------- Journey ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; position: relative; }
.journey::before { content: ""; position: absolute; top: 38px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--bb-honey), var(--bb-blue-bright), var(--bb-purple-deep)); opacity: .35; }
.journey-step { position: relative; display: flex; flex-direction: column; padding: 20px 16px 18px; border-radius: 22px; }
.journey-icon { width: 40px; height: 40px; border-radius: 14px; background: var(--bb-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--navy-glow); }
.journey-num { position: absolute; top: 16px; right: 16px; font-size: .7rem; font-weight: 800; color: var(--bb-grey-400); }
.journey-step h3 { font-size: 1rem; font-weight: 800; margin-top: 14px; }
.journey-step p { font-size: .8rem; color: var(--bb-muted); margin: 6px 0 0; }

/* ---------- Tabs (stories and the tour; site.js makes them tabs) ---------- */
.tabs { display: none; }
.js-tabs .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
  padding: 9px 18px 9px 10px; border-radius: var(--bb-pill); border: 1px solid var(--bb-line); background: var(--bb-glass-strong); color: var(--bb-navy);
  transition: background var(--bb-ease), color var(--bb-ease);
}
.tour .tab { padding-left: 18px; }
.tab:hover { background: #fff; }
.tab[aria-selected="true"] { background: var(--bb-navy); color: #fff; border-color: var(--bb-navy); box-shadow: var(--navy-glow); }
.tab-icon { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.tab-icon .icon { width: 15px; height: 15px; }
.js-tabs [role="tabpanel"][hidden] { display: none; }

/* ---------- Tour ---------- */
.tour-panel { margin: 0 0 22px; padding: 14px; border-radius: 28px; }
.tour-panel img { display: block; width: 100%; border-radius: 18px; border: 1px solid var(--bb-line); }
.tour-panel figcaption { font-size: .85rem; color: var(--bb-muted); padding: 12px 8px 2px; }
.tour-panel figcaption b { color: var(--bb-navy); }

/* ---------- Stories ---------- */
.stories { display: grid; gap: 22px; }
.js-tabs.stories { display: block; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; padding: 36px; border-radius: 30px; scroll-margin-top: 150px; }
.persona { display: flex; align-items: center; gap: 12px; }
.persona div b { display: block; font-size: 1rem; color: var(--bb-navy-deep); }
.persona div span { display: block; font-size: .8rem; color: var(--bb-muted); font-weight: 600; }
.avatar { width: 48px; height: 48px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; }
.story h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; margin: 20px 0 12px; color: var(--bb-navy-deep); }
.situation { color: var(--bb-muted); margin: 0 0 18px; }
.ai-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: linear-gradient(100deg, var(--bb-purple), var(--bb-blue)); }
.ai-note-icon { width: 32px; height: 32px; border-radius: 11px; background: var(--bb-purple-deep); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ai-note-icon .icon { width: 16px; height: 16px; }
.ai-note p { margin: 0; font-size: .88rem; color: var(--bb-ink); }
.outcome, .story-plan { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: .9rem; }
.outcome { color: var(--bb-ink); font-weight: 600; }
.outcome .icon { color: var(--bb-red-light); margin-top: 3px; }
.story-plan { padding: 12px 14px; border-radius: 16px; background: var(--bb-yellow); color: var(--bb-navy-deep); font-weight: 600; }
.story-plan .icon { color: var(--bb-honey-deep); margin-top: 3px; }
.recipe h4 { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-muted); margin-bottom: 14px; }
.recipe ol { list-style: none; counter-reset: recipe; margin: 0; padding: 0; display: grid; gap: 12px; }
.recipe li {
  counter-increment: recipe; position: relative; padding: 14px 16px 14px 56px; border-radius: 18px;
  background: #fff; border: 1px solid var(--bb-line);
}
.recipe li::before {
  content: counter(recipe); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bb-navy); color: #fff; font-size: .78rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.recipe li b { display: block; font-size: .92rem; color: var(--bb-navy-deep); }
.recipe li span { display: block; font-size: .86rem; color: var(--bb-muted); margin-top: 2px; }

/* ---------- Start a business: the warm band for first-timers ---------- */
.nav-start { color: var(--bb-honey-deep); }
.links .nav-start:hover { color: var(--bb-navy); }
.start {
  position: relative; overflow: clip; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px;
  padding: 52px 48px 40px; border-radius: 32px; box-shadow: var(--site-lift);
  background: linear-gradient(140deg, #fffaf0 0%, var(--bb-yellow) 45%, #ffe9c7 100%); border: 1px solid rgba(246, 185, 59, .35);
}
.start-glow { position: absolute; left: -120px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .7); filter: blur(60px); pointer-events: none; }
.start-intro, .launch-wrap, .start-note { position: relative; }
.start-intro { position: sticky; top: 104px; align-self: start; }
.kicker-honey { background: rgba(255, 255, 255, .75); color: var(--bb-honey-deep); }
.start h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin: 14px 0 18px; color: var(--bb-navy-deep); }
.slogan { margin: 0 0 10px; padding-left: 16px; border-left: 4px solid var(--bb-honey); font-size: 1.15rem; font-weight: 700; color: var(--bb-navy); line-height: 1.4; }
.start-text { margin: 18px 0; color: var(--bb-ink); opacity: .8; }
.promises { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.promises li { display: flex; gap: 10px; font-weight: 700; color: var(--bb-navy-deep); font-size: .95rem; }
.promises .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #fff; color: var(--bb-honey-deep); margin-top: 1px; }
.start-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.launch { list-style: none; counter-reset: launch; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.launch-step {
  counter-increment: launch; position: relative; padding: 16px 18px 16px 62px; border-radius: 20px;
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 24px -18px rgba(224, 154, 18, .6);
}
.launch-step::before {
  content: counter(launch); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bb-honey); color: var(--bb-navy-deep); font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center;
}
.launch-step h3 { font-size: 1rem; font-weight: 800; color: var(--bb-navy-deep); }
.launch-step p { margin: 4px 0 0; font-size: .87rem; color: var(--bb-muted); }
.launch-step .launch-help { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(224, 154, 18, .35); color: var(--bb-ink); }
.launch-help img { flex: none; margin-top: 1px; }
.launch-help b { color: var(--bb-honey-deep); }
.start-note { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .8rem; color: var(--bb-muted); }
.start-note .icon { width: 16px; height: 16px; color: var(--bb-honey-deep); margin-top: 2px; }

.launch-wrap { position: relative; display: grid; gap: 12px; align-content: start; }
.launch-title { margin: 0 0 4px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-honey-deep); }

/* ---------- The Hive (Phase 32) ---------- */
.hive-stages { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.hive-stages::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--bb-honey), var(--bb-honey-deep)); opacity: .45; }
.hive-stage { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 18px 18px; border-radius: 22px;
  background: linear-gradient(160deg, #fffaf0, var(--bb-yellow)); border: 1px solid rgba(246, 185, 59, .35); box-shadow: var(--site-shadow); }
.hive-stage-num { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bb-honey); color: var(--bb-navy-deep); font-weight: 800; }
.hive-stage h3 { font-size: 1.05rem; font-weight: 800; margin-top: 12px; color: var(--bb-navy-deep); }
.hive-stage p { margin: 6px 0 12px; font-size: .88rem; color: var(--bb-ink); flex: 1; }
.hive-plan { background: rgba(255, 255, 255, .8); }
.hive-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hive-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: var(--site-radius); }
.hive-card-head { display: flex; width: 100%; justify-content: space-between; align-items: center; }
.hive-icon { width: 44px; height: 44px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: var(--bb-yellow); color: var(--bb-honey-deep); }
.hive-badge { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bb-honey-deep); background: var(--bb-yellow); padding: 4px 10px; border-radius: var(--bb-pill); }
.hive-card h3 { font-size: 1.1rem; font-weight: 800; margin: 16px 0 8px; color: var(--bb-navy-deep); }
.hive-card p { margin: 0 0 18px; font-size: .9rem; color: var(--bb-muted); flex: 1; }
.hive-trust { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 24px auto 0; font-weight: 700; color: var(--bb-navy); text-align: center; }
.hive-trust .icon { color: var(--bb-green-light); }
@media (max-width: 1100px) {
  .hive-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hive-stages::before { display: none; }
}
@media (max-width: 960px) { .hive-cards { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .hive-stages { grid-template-columns: 1fr; }
  .hive-card .btn { width: 100%; }
}

/* ---------- AI band ---------- */
.ai-band { position: relative; overflow: hidden; border-radius: 32px; padding: 56px 44px; color: #fff; background: linear-gradient(135deg, var(--bb-navy-deep), var(--bb-navy) 60%, #2a4f93); box-shadow: var(--site-lift); }
.ai-glow { position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(246, 185, 59, .22); filter: blur(70px); }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #c7d4ea; }
.kicker-dark { background: rgba(255, 255, 255, .12); color: var(--bb-honey); }
.ai-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ai-card { display: flex; gap: 14px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.ai-icon { width: 40px; height: 40px; border-radius: 14px; background: var(--bb-honey); color: var(--bb-navy-deep); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ai-card h3 { color: #fff; font-size: 1rem; font-weight: 800; }
.ai-card p { margin: 4px 0 0; font-size: .86rem; color: #c7d4ea; }
.ai-trust { position: relative; display: flex; gap: 10px; align-items: flex-start; max-width: 820px; margin: 28px auto 0; font-size: .85rem; color: #c7d4ea; }
.ai-trust .icon { color: var(--bb-green-light); margin-top: 2px; }

/* ---------- Feature groups ---------- */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.group { padding: 28px; border-radius: var(--site-radius); }
.group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.group-icon { width: 46px; height: 46px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.group h3 { font-size: 1.15rem; font-weight: 800; color: var(--bb-navy-deep); }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.group li { padding-top: 12px; border-top: 1px solid var(--bb-line); font-size: .88rem; }
.group li b { display: block; color: var(--bb-navy); }
.group li span { color: var(--bb-muted); }

/* ---------- Stack comparison ---------- */
.compare { border-radius: 30px; padding: 44px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; }
th { padding: 8px 16px 16px 0; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-muted); border-bottom: 1px solid var(--bb-line); }
td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--bb-line); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
th.ours { color: var(--bb-blue-deep); background: var(--bb-blue); padding-left: 16px; border-radius: 14px 14px 0 0; width: 38%; }
td.ours { background: rgba(225, 235, 253, .5); padding-left: 16px; font-weight: 700; color: var(--bb-navy-deep); }
tbody tr:last-child td.ours { border-radius: 0 0 14px 14px; }
td.need { font-weight: 700; color: var(--bb-ink); width: 24%; }
td.theirs { color: var(--bb-muted); }

/* ---------- Pricing as growth phases ---------- */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; position: relative; }
.phase { position: relative; display: flex; flex-direction: column; padding: 24px 18px; border-radius: var(--site-radius); }
.phase.featured { border: 2px solid var(--bb-blue-bright); box-shadow: 0 18px 40px -18px var(--bb-blue-glow), var(--site-shadow); }
.phases .phase:nth-child(1) { margin-top: 64px; }
.phases .phase:nth-child(2) { margin-top: 48px; }
.phases .phase:nth-child(3) { margin-top: 32px; }
.phases .phase:nth-child(4) { margin-top: 16px; }
.phase li.extra span { color: var(--bb-muted); }
.soon { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bb-honey-deep); background: var(--bb-yellow); padding: 1px 7px; border-radius: var(--bb-pill); white-space: nowrap; }
.ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--bb-blue-bright); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--bb-pill); white-space: nowrap; }
.phase-stage { display: flex; align-items: center; justify-content: space-between; }
.phase-icon { width: 40px; height: 40px; border-radius: 14px; background: var(--bb-yellow); color: var(--bb-honey-deep); display: inline-flex; align-items: center; justify-content: center; }
.phase-step { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-grey-400); }
.phase h3 { font-size: 1.15rem; font-weight: 800; margin-top: 16px; color: var(--bb-navy-deep); }
.phase-who { font-size: .85rem; color: var(--bb-muted); margin: 6px 0 16px; }
.phase-plan { padding-top: 14px; border-top: 1px solid var(--bb-line); }
.phase-plan span { font-size: .78rem; font-weight: 800; color: var(--bb-blue-deep); text-transform: uppercase; letter-spacing: .06em; }
.price { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; color: var(--bb-navy-deep); margin: 4px 0 12px; line-height: 1.2; }
.phase ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.phase li { display: flex; gap: 8px; font-size: .84rem; color: var(--bb-ink); }
.phase li .icon { width: 16px; height: 16px; color: var(--bb-green-light); margin-top: 3px; }
.phase-why { font-size: .84rem; color: var(--bb-muted); margin: 0 0 18px; flex: 1; }
.phase .btn { width: 100%; font-size: .85rem; }
.nonprofit { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 20px 24px; border-radius: 22px; }
.nonprofit div { flex: 1; }
.nonprofit h3 { font-size: 1rem; font-weight: 800; }
.nonprofit p { margin: 2px 0 0; font-size: .85rem; color: var(--bb-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--bb-navy-deep); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--bb-blue-bright); transition: transform var(--bb-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--bb-muted); font-size: .92rem; }

/* ---------- Closing band ---------- */
.closing { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 32px; padding: 60px 32px; background: linear-gradient(135deg, var(--bb-navy-deep), var(--bb-navy)); box-shadow: var(--site-lift); }
.closing-glow { position: absolute; left: 50%; top: -120px; width: 360px; height: 360px; transform: translateX(-50%); border-radius: 50%; background: rgba(246, 185, 59, .25); filter: blur(70px); }
.closing-bee { position: relative; display: block; margin: 0 auto 18px; }
.closing h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; max-width: 760px; margin: 0 auto; position: relative; }
.closing p { color: #c7d4ea; margin: 16px auto 30px; max-width: 620px; position: relative; }
.closing .btn { position: relative; }
.assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 30px; font-size: .8rem; font-weight: 600; color: #c7d4ea; position: relative; }
.assurances span { display: inline-flex; align-items: center; gap: 6px; }
.assurances .icon { width: 14px; height: 14px; color: var(--bb-honey); }

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; padding-top: 56px; padding-bottom: 72px; }
.legal-head { text-align: center; margin-bottom: 28px; }
.legal-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-top: 14px; color: var(--bb-navy-deep); }
.legal-body { border-radius: 28px; padding: 40px 44px; font-size: .95rem; color: var(--bb-ink); }
.legal-body h2 { font-size: 1.15rem; font-weight: 800; margin: 32px 0 10px; }
.legal-body p, .legal-body ul { margin: 0 0 12px; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--bb-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { margin-top: 32px; border-top: 1px solid var(--bb-line); background: rgba(255, 255, 255, .5); padding: 36px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: var(--bb-muted); font-weight: 500; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-brand b { color: var(--bb-navy); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--bb-navy); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1240px) {
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phases .phase:nth-child(n) { margin-top: 0; }
}
@media (max-width: 1100px) {
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .journey::before { display: none; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases .phase:nth-child(n) { margin-top: 0; }
}
@media (max-width: 960px) {
  .links { display: none; }
  .doors .door { flex-basis: calc((100% - 22px) / 2); }
  .story { grid-template-columns: 1fr; padding: 28px; }
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .groups { grid-template-columns: 1fr; }
  .welcome { grid-template-columns: 1fr; gap: 48px; }
  .start { grid-template-columns: 1fr; padding: 40px 32px 32px; }
  .start-intro { position: relative; top: auto; }
  .note-1 { left: 3%; } .note-2 { right: 3%; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .signin { display: none; }
  .hero { padding-top: 44px; }
  .cta-row .btn { width: 100%; }
  .journey, .ai-grid, .phases { grid-template-columns: 1fr; }
  .doors .door { flex-basis: 100%; }
  .door { border-radius: 120px 120px 22px 22px; }
  .story, .compare, .legal-body, .ai-band, .start { padding: 24px 18px; }
  .start-cta .btn { width: 100%; }
  .launch-step { padding-left: 56px; }
  .hero-shot, .tour-panel { padding: 8px; border-radius: 20px; }
  .window-bar { display: none; }
  .nonprofit { flex-direction: column; align-items: flex-start; }
  .note { padding: 7px 10px 7px 7px; border-radius: 14px; max-width: 72%; }
  .note-icon { width: 28px; height: 28px; border-radius: 9px; }
  .note-icon .icon { width: 15px; height: 15px; }
  .note-2, .note-3 { display: none; }
  .note-1 { top: auto; bottom: 5%; left: 3%; }
  .welcome-photo img, .welcome-photo::after { border-radius: 22px; }
  .js-tabs .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .tab { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .door, .tab { transition: none; }
  .note { animation: none; }
}
