/* ============================================================
   BoatMe — shared marketing site styles
   Brand: navy #1B3A5C · marine #2E86C1 · white bg · black text
   Logo: locked Option D, 160px header (110px mobile)
   ============================================================ */
:root {
  --navy: #1B3A5C;
  --marine: #2E86C1;
  --ink: #111111;
  --muted: #5a6b7b;
  --line: #e8edf2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #ffffff; scroll-behavior: smooth; }
body {
  color: var(--ink);
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.siteHeader { background: #ffffff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.siteHeader .bar {
  max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 4vw; gap: 14px;
}
.siteHeader .brand { display: flex; align-items: center; text-decoration: none; }
.siteHeader .brand img { height: 160px; width: 160px; object-fit: contain; display: block; }
.mainNav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mainNav > a, .mainNav .dd > summary {
  font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--navy);
  padding: 9px 13px; border-radius: 8px; white-space: nowrap; cursor: pointer; list-style: none;
}
.mainNav > a:hover { background: #f2f6fa; color: var(--marine); }
.mainNav .dd { position: relative; }
.mainNav .dd > summary::-webkit-details-marker { display: none; }
.mainNav .dd > summary::after { content: " ▾"; font-size: 0.7em; color: var(--marine); }
.mainNav .dd[open] > summary { background: #f2f6fa; }
.mainNav .dd .menu {
  position: absolute; top: calc(100% + 6px); left: 0; background: #ffffff;
  border: 1px solid var(--line); border-radius: 12px; min-width: 250px;
  box-shadow: 0 14px 40px rgba(27,58,92,.16); padding: 8px; z-index: 60;
}
.mainNav .dd .menu a {
  display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-size: 0.9rem; font-weight: 600;
}
.mainNav .dd .menu a:hover { background: #f2f6fa; color: var(--marine); }
.mainNav .dd .menu a small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.navCta {
  background: var(--navy); color: #ffffff !important; border-radius: 8px; padding: 9px 16px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem; white-space: nowrap;
}
.navCta:hover { background: var(--marine); }
.navSignin { font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--navy); padding: 9px 13px; border-radius: 8px; }
.navSignin:hover { background: #f2f6fa; }

/* ---------- Hero (over page photo) ---------- */
.pageHero { position: relative; padding: 72px 4vw 64px; }
.pageHero .heroInner {
  max-width: 960px; margin: 0 auto; background: #ffffff; border-radius: 18px;
  box-shadow: 0 10px 40px rgba(27,58,92,.18); padding: 44px 40px; text-align: center;
}
.pageHero .eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--marine); margin-bottom: 12px;
}
.pageHero h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.12; }
.pageHero h1 span { color: var(--marine); }
.pageHero .tag {
  margin: 16px auto 0; font-size: clamp(1rem, 2vw, 1.15rem); color: #44556a;
  max-width: 640px; line-height: 1.55;
}
.pageHero .ctaRow { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta {
  display: inline-block; background: var(--navy); color: #ffffff; font-weight: 600;
  font-size: 1rem; padding: 14px 32px; border-radius: 10px; text-decoration: none;
}
.cta:hover { background: var(--marine); }
.ctaGhost {
  display: inline-block; background: #ffffff; color: var(--navy); border: 1px solid #cfd9e3;
  font-weight: 600; font-size: 1rem; padding: 14px 32px; border-radius: 10px; text-decoration: none;
}
.ctaGhost:hover { border-color: var(--marine); color: var(--marine); }

/* ---------- Sections ---------- */
section.stack { max-width: 1080px; margin: 0 auto; padding: 40px 4vw 8px; }
.secTitle { font-size: 1.5rem; font-weight: 800; color: var(--navy); text-align: center; letter-spacing: -0.01em; }
.secSub { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 8px; margin-bottom: 30px; }

.benefitGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.benefit {
  background: #ffffff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px;
  box-shadow: 0 8px 26px rgba(27,58,92,.08);
}
.benefit h3 { font-size: 1rem; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.benefit p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

.tintBand { background: #f6f9fc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 44px; padding: 46px 0 8px; }

.checkList { max-width: 720px; margin: 0 auto; list-style: none; }
.checkList li {
  padding: 11px 0 11px 34px; position: relative; font-size: 0.97rem; color: #33424f; line-height: 1.5;
  border-bottom: 1px dashed var(--line);
}
.checkList li:last-child { border-bottom: none; }
.checkList li::before {
  content: "✓"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--marine); color: #ffffff; font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Pricing ---------- */
.priceGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; align-items: stretch; }
.priceCard {
  background: #ffffff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 8px 26px rgba(27,58,92,.08); display: flex; flex-direction: column; position: relative;
}
.priceCard.featured { border: 2px solid var(--marine); box-shadow: 0 14px 40px rgba(27,58,92,.16); }
.priceCard .popBadge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--marine);
  color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.priceCard h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.priceCard .who { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.priceCard .price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.priceCard .price b { font-size: 2rem; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
.priceCard .price span { font-size: 0.85rem; color: var(--muted); }
.priceCard .billed { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.priceCard ul { list-style: none; margin: 20px 0 24px; flex: 1; }
.priceCard ul li { padding: 7px 0 7px 26px; position: relative; font-size: 0.88rem; color: #33424f; line-height: 1.45; border-bottom: 1px dashed var(--line); }
.priceCard ul li:last-child { border-bottom: none; }
.priceCard ul li::before { content: "✓"; position: absolute; left: 2px; top: 7px; color: var(--marine); font-weight: 800; }
.priceCard ul li.off { color: #9fb0be; }
.priceCard ul li.off::before { content: "–"; color: #9fb0be; }
.priceCard .cta, .priceCard .ctaGhost { text-align: center; padding: 12px 18px; font-size: 0.92rem; }

.audienceTabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.audienceTabs button {
  border: 1px solid #d5dde5; background: #ffffff; color: var(--navy); font: inherit; font-weight: 700;
  font-size: 0.86rem; padding: 9px 18px; border-radius: 999px; cursor: pointer;
}
.audienceTabs button.active { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.audienceTabs button:hover:not(.active) { border-color: var(--marine); color: var(--marine); }
.pricePanel { display: none; }
.pricePanel.show { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
.faqWrap { max-width: 800px; margin: 0 auto; }
.faqItem { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faqItem summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 0.95rem;
  color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faqItem summary::-webkit-details-marker { display: none; }
.faqItem summary::after { content: "+"; color: var(--marine); font-size: 1.2rem; font-weight: 400; flex-shrink: 0; }
.faqItem[open] summary::after { content: "–"; }
.faqItem .ans { padding: 0 18px 16px; font-size: 0.92rem; color: #33424f; line-height: 1.6; }
.faqCat {
  font-size: 0.78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--marine); margin: 26px 0 12px; text-align: center;
}

/* ---------- Demo ---------- */
.demoFrame {
  max-width: 900px; margin: 0 auto; background: var(--navy); border-radius: 18px; padding: 10px;
  box-shadow: 0 18px 50px rgba(27,58,92,.28);
}
.demoScreen {
  background: #ffffff; border-radius: 12px; min-height: 300px; padding: 34px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.demoScreen .big { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.demoScreen .sub { color: var(--muted); font-size: 0.95rem; max-width: 480px; line-height: 1.55; }
.waitlistCard {
  max-width: 560px; margin: 34px auto 0; background: #ffffff; border: 1px solid var(--line);
  border-radius: 14px; padding: 30px 28px; text-align: center; box-shadow: 0 8px 26px rgba(27,58,92,.08);
}

/* ---------- CTA band ---------- */
.ctaBand { max-width: 1080px; margin: 54px auto 0; padding: 0 4vw 20px; }
.ctaBand .inner {
  background: var(--navy); border-radius: 18px; padding: 42px 36px; text-align: center; color: #ffffff;
}
.ctaBand h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.ctaBand p { margin-top: 10px; color: #cfe0ef; font-size: 0.95rem; }
.ctaBand .cta { background: #ffffff; color: var(--navy); margin-top: 24px; }
.ctaBand .cta:hover { background: #eaf1fb; }

/* ---------- Audience grid (home) ---------- */
.whoGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.whoCard {
  display: block; text-decoration: none; background: #ffffff; border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 20px; box-shadow: 0 8px 26px rgba(27,58,92,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.whoCard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(27,58,92,.16); }
.whoCard .ico { font-size: 1.5rem; }
.whoCard h3 { margin-top: 10px; font-size: 1rem; font-weight: 800; color: var(--navy); }
.whoCard p { margin-top: 7px; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.whoCard .go { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 700; color: var(--marine); }

/* ---------- Footer ---------- */
/* Solid white panel so footer text is always readable over the background photo */
.siteFooter {
  background: #ffffff; border-top: 3px solid var(--navy);
  margin-top: 60px; padding: 38px 4vw 30px;
  box-shadow: 0 -8px 30px rgba(27,58,92,.12);
}
.siteFooter .cols { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.siteFooter h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin-bottom: 12px; font-weight: 800; }
.siteFooter a { display: block; font-size: 0.92rem; color: #1f2d3a; text-decoration: none; padding: 5px 0; font-weight: 500; }
.siteFooter a:hover { color: var(--marine); text-decoration: underline; }
.siteFooter .legal {
  max-width: 1080px; margin: 26px auto 0; padding-top: 18px; border-top: 1px solid var(--line);
  text-align: center; font-size: 0.84rem; color: #33424f; line-height: 1.6;
}
.siteFooter .legal a { display: inline; color: #1B3A5C; padding: 0; font-weight: 700; }

/* ---------- BOB widget ---------- */
#bobSiteBtn {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; border: none; cursor: pointer;
  background: var(--navy); color: #ffffff; font: inherit; font-weight: 700; font-size: 0.88rem;
  padding: 13px 20px; border-radius: 999px; box-shadow: 0 10px 30px rgba(27,58,92,.35);
  display: flex; align-items: center; gap: 8px;
}
#bobSiteBtn:hover { background: var(--marine); }
#bobSitePanel {
  position: fixed; right: 20px; bottom: 76px; z-index: 91; width: 360px; max-width: calc(100vw - 32px);
  background: #ffffff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(27,58,92,.3); display: none; flex-direction: column; overflow: hidden;
}
#bobSitePanel.open { display: flex; }
#bobSitePanel .bobHead { background: var(--navy); color: #ffffff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
#bobSitePanel .bobHead b { font-size: 0.95rem; }
#bobSitePanel .bobHead small { display: block; color: #cfe0ef; font-weight: 400; margin-top: 2px; font-size: 0.72rem; }
#bobSitePanel .bobHead button { background: none; border: none; color: #cfe0ef; font-size: 1.1rem; cursor: pointer; }
#bobSitePanel .bobChips { display: flex; gap: 6px; padding: 10px 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: #f6f9fc; }
#bobSitePanel .bobChips button {
  border: 1px solid #d5dde5; background: #ffffff; font: inherit; font-size: 0.72rem; font-weight: 700;
  color: var(--navy); border-radius: 999px; padding: 5px 11px; cursor: pointer;
}
#bobSitePanel .bobChips button.active { background: var(--marine); border-color: var(--marine); color: #ffffff; }
#bobSitePanel .bobLog { height: 300px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #ffffff; }
#bobSitePanel .msg { max-width: 86%; padding: 10px 13px; border-radius: 12px; font-size: 0.87rem; line-height: 1.5; white-space: pre-wrap; }
#bobSitePanel .msg.bot { background: #f2f6fa; color: #33424f; border-bottom-left-radius: 4px; align-self: flex-start; }
#bobSitePanel .msg.user { background: var(--marine); color: #ffffff; border-bottom-right-radius: 4px; align-self: flex-end; }
#bobSitePanel .bobForm { display: flex; border-top: 1px solid var(--line); }
#bobSitePanel .bobForm input {
  flex: 1; border: none; padding: 13px 14px; font: inherit; font-size: 0.9rem; outline: none;
}
#bobSitePanel .bobForm button {
  border: none; background: var(--navy); color: #ffffff; font: inherit; font-weight: 700;
  padding: 0 20px; cursor: pointer; font-size: 0.9rem;
}
#bobSitePanel .bobForm button:hover { background: var(--marine); }
#bobSitePanel .bobForm button:disabled { background: #9fb0be; cursor: wait; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .siteHeader .brand img { height: 110px; width: 110px; }
  .mainNav .dd .menu { position: fixed; left: 12px; right: 12px; top: auto; }
  .pageHero { padding: 44px 16px 36px; }
  .pageHero .heroInner { padding: 30px 20px; }
  section.stack { padding-left: 16px; padding-right: 16px; }
  .ctaBand .inner { padding: 32px 22px; }
}

/* ============================================================
   Mobile navigation (<=860px): hamburger + menu panel
   Pairs with /js/nav.js. Desktop layout is unchanged.
   ============================================================ */
.navBurger { display: none; }
.navPanel { display: none; }
@media (max-width: 860px) {
  /* compact, sticky header: logo left, hamburger right */
  .siteHeader .bar { padding: 4px 16px; flex-wrap: nowrap; }
  .siteHeader .brand img { height: 84px; width: 84px; }
  .siteHeader .mainNav { display: none; }
  .navBurger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 48px; height: 48px; margin-left: auto; border-radius: 12px; cursor: pointer;
    background: #ffffff; border: 1px solid #d5dde5; box-shadow: 0 2px 8px rgba(27,58,92,.10);
    -webkit-tap-highlight-color: transparent;
  }
  .navBurger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .navBurger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .navBurger.open span:nth-child(2) { opacity: 0; }
  .navBurger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .navPanel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #ffffff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(27,58,92,.22);
    max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 6px 16px 18px;
  }
  .navPanel.open { display: block; }
  .navPanelHead { font-size: 0.72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--marine); padding: 14px 6px 6px; }
  .navPanel > a {
    display: block; padding: 13px 10px; min-height: 48px; border-radius: 10px; text-decoration: none;
    font-size: 1.02rem; font-weight: 650; color: var(--navy); border-bottom: 1px solid #f0f3f6;
  }
  .navPanel > a small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
  .navPanel > a:active, .navPanel > a[aria-current="page"] { background: #eef4fa; color: var(--marine); }
  .navPanelCtas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; }
  .navPanelCtas a { text-align: center; padding: 14px 10px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; min-height: 48px; }
  .navPanelCtas .pcSignin { border: 1.5px solid var(--navy); color: var(--navy); }
  .navPanelCtas .pcCta { background: var(--navy); color: #ffffff; }
  body.navOpen { overflow: hidden; }

  /* general phone comfort for shared marketing pages */
  html { -webkit-text-size-adjust: 100%; }
  .cta, .ctaGhost { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
}

    /* ios-input: stop iOS auto-zoom on focus */
    @media (max-width: 720px) {
      input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { font-size: 16px !important; }
    }
