/* home page */
.hero{background:linear-gradient(180deg,#f1f6fa,#f7f9fb);border-bottom:1px solid var(--line)}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center;padding-top:64px;padding-bottom:64px}
.hero h1{font-size:clamp(2.1rem,4.8vw,3rem);margin:14px 0 0;line-height:1.08;letter-spacing:-.025em}
.hero h1 .sub{display:block;font-size:1rem;font-weight:400;color:#6b7684;margin-top:14px;line-height:1.55;letter-spacing:0;max-width:44ch}
.hero .lead{color:var(--ink-2);font-size:var(--fs-lg);line-height:1.6;margin:16px 0 0;max-width:60ch}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.stats{display:flex;gap:22px;flex-wrap:wrap;margin-top:22px;color:var(--ink-2);font-size:var(--fs-sm)}
.stats b{display:block;font-size:var(--fs-xl);color:var(--brand-ink)}
.feat{list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,max-content);gap:10px 28px}
.feat li{margin:0}
.feat a{display:inline-flex;gap:8px;align-items:center;color:#4a5665;font-size:.875rem;font-weight:500;text-decoration:none}
.feat a:hover{color:var(--brand-2)}
.feat .ic{font-size:.95rem;line-height:1;opacity:.85}
.hero-eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.08em;color:#5f7f96}
#auth{padding:26px}
#auth h2{margin:0 0 4px;font-size:var(--fs-xl)}
#auth .auth-sub{margin:0 0 18px;color:var(--muted);font-size:var(--fs-sm)}
@media(max-width:900px){.hero .wrap{grid-template-columns:1fr;gap:32px;padding-top:32px;padding-bottom:36px}}

/* live map */
.live-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:18px;align-items:stretch}
@media(max-width:980px){.live-grid{grid-template-columns:1fr}}
.map-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.map-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.map-head h3{margin:0;font-size:var(--fs-lg)}
#map{height:460px;min-height:460px;background:#dfe9f2;flex:1 0 auto}
@media(max-width:640px){#map{height:340px;min-height:340px}}
.map-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 18px;border-top:1px solid var(--line);font-size:var(--fs-xs);color:var(--muted)}
.legend{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.legend span{display:inline-flex;align-items:center;gap:6px}
.lg{width:12px;height:12px;border-radius:50%;display:inline-block}
.lg-move{background:#0b5d8f}.lg-dock{background:#94a3b8}.lg-term{background:#fff;border:2px solid #13836f}
.boat-ic{width:30px;height:30px}
.boat-ic svg{width:30px;height:30px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.boat-lbl{background:rgba(11,42,63,.88);color:#fff;border:0;border-radius:6px;font:600 11px/1.2 var(--font);padding:3px 6px;box-shadow:none}
.boat-lbl:before{display:none}
.leaflet-popup-content{font:13px/1.45 var(--font);color:var(--ink);margin:12px 14px}
.leaflet-popup-content b{color:var(--brand-ink)}
.vlist{display:none}

/* drive-up space */
.space-card{display:flex;flex-direction:column;padding:0;overflow:hidden}
.space-card .map-head{position:sticky;top:0;background:#fff}
#space{overflow:auto;max-height:520px;padding:6px 0}
@media(max-width:980px){#space{max-height:none}}
.term{padding:12px 18px;border-bottom:1px solid var(--line)}
.term:last-child{border-bottom:0}
.term h4{margin:0 0 6px;font-size:var(--fs-sm);color:var(--brand-ink);display:flex;justify-content:space-between;gap:8px}
.dep{display:grid;grid-template-columns:70px 1fr auto;gap:10px;align-items:center;font-size:var(--fs-xs);padding:4px 0}
.dep .t{font-weight:700;color:var(--ink)}
.dep .v{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar{height:6px;border-radius:4px;background:#e8edf3;overflow:hidden;margin-top:4px}
.bar i{display:block;height:100%;border-radius:4px}
.cnt{font-weight:800;font-size:var(--fs-sm);text-align:right;min-width:64px}
.cnt small{display:block;font-weight:600;color:var(--muted);font-size:.7rem}
.skeleton{padding:18px;color:var(--muted);font-size:var(--fs-sm)}

/* reservation space teaser */
.tgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.job-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:14px}
.job-header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:8px}
.job-title strong{display:block;color:var(--ink);font-size:var(--fs-sm)}
.job-meta-inline{display:block;color:var(--muted);font-size:var(--fs-xs)}
.sailing-row{display:grid;grid-template-columns:72px 1fr auto;gap:8px;align-items:center;background:var(--ok-soft);border-radius:8px;padding:7px 10px;font-size:var(--fs-xs)}
.sail-time{font-weight:700}.sail-vessel{color:var(--muted)}.spaces-yes{color:var(--ok);font-weight:700}
.last-checked{color:var(--muted);font-size:var(--fs-xs);margin:0}
.hint-inline{color:var(--muted);font-size:var(--fs-xs);font-weight:500;margin-left:8px}

/* content */
.content{max-width:820px}
.content p,.content li{color:var(--ink-2);line-height:1.7}
.content ul,.content ol{padding-left:1.3em}
.content li{margin:6px 0}
.tbl{border-collapse:collapse;width:100%;font-size:var(--fs-sm)}
.tbl th,.tbl td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.tbl th{background:#f1f5f9;font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.04em;color:var(--ink-2)}
.quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:14px 0}
.quick a{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:14px 16px;box-shadow:var(--shadow)}
.quick a:hover{border-color:var(--brand)}
.quick strong{display:block;color:var(--brand-2)}
.quick span{font-size:var(--fs-xs);color:var(--muted)}
.holiday{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;border-left:5px solid var(--accent)}
.holiday h2{margin:0;font-size:var(--fs-lg)}
.phone-input-row .country-code{max-width:9.5em!important}
@media(max-width:640px){.hero h1{font-size:2.1rem}.hero h1 .sub{font-size:.9375rem}.hero-cta .btn{flex:1 1 auto}.feat{gap:10px 18px;margin-top:24px}}
#bk-allguides{max-width:1080px!important;margin:8px auto 0!important;padding:0 20px!important;font-size:var(--fs-sm)!important;color:var(--ink-2)}

/* alert builder (try before sign-in) */
#alert{padding:24px}
#alert h2{margin:0 0 4px;font-size:var(--fs-xl)}
#alert .auth-sub{margin:2px 0 14px;color:#8a94a3;font-size:12.5px;line-height:1.45}
.time-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;max-height:236px;overflow:auto;padding:2px}
.time-btn{display:flex;flex-direction:column;align-items:center;gap:1px;font:inherit;font-size:var(--fs-sm);font-weight:700;color:var(--ink);background:#fff;border:1.5px solid var(--line-2);border-radius:var(--radius-sm);padding:8px 6px;cursor:pointer;touch-action:manipulation}
.time-btn:hover{border-color:var(--brand)}
.time-btn-active{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-2);box-shadow:inset 0 0 0 1px var(--brand)}
.time-vessel{font-size:.7rem;font-weight:600;color:var(--muted)}
.tb-st{font-size:.65rem;font-weight:800;border-radius:999px;padding:0 6px;margin-top:2px}
.tb-st.ok{background:var(--ok-soft);color:var(--ok)}.tb-st.full{background:var(--bad-soft);color:var(--bad)}
.alert-sum{display:flex;flex-direction:column;gap:2px;background:var(--brand-soft);border:1px solid #cfe3f1;border-radius:var(--radius-sm);padding:10px 14px;margin:0 0 16px;font-size:var(--fs-sm)}
.alert-sum b{color:var(--brand-ink)}.alert-sum span{color:var(--ink-2)}
#auth h2{margin:0 0 4px;font-size:var(--fs-xl)}
.sail-li{display:grid;grid-template-columns:70px 1fr auto;gap:8px;align-items:center;border-radius:8px;padding:6px 10px;font-size:var(--fs-xs);background:#f6f8fb;margin-top:6px}
.sail-li.ok{background:var(--ok-soft)}.sail-li.full{background:var(--bad-soft)}
.sail-na{color:var(--muted);font-weight:600}
.btn-notify{background:#fff;color:var(--bad);border:1px solid #f5c2bc;font-size:.75rem;padding:5px 9px;border-radius:999px;white-space:normal;text-align:center}
.btn-notify:hover{background:var(--bad);color:#fff}
.term-hl{background:#f0f8f4;box-shadow:inset 4px 0 0 var(--ok)}
#alert,#live,#today,#driveup,#auth{scroll-margin-top:76px}
.sail-li.full{grid-template-columns:70px 1fr}
.sail-li.full .btn-notify{grid-column:1/-1;justify-self:stretch;white-space:nowrap;margin-top:2px}

/* ---- declutter 2026-11-10: calmer alert card, chips, lower sections ---- */
#alert{padding:26px 26px 22px;box-shadow:0 1px 2px rgba(15,28,43,.04),0 12px 32px rgba(15,28,43,.07)}
#alert h2{font-size:1.25rem;letter-spacing:-.01em}
#alert .field{margin-bottom:14px}
#alert .field label{font-weight:600;color:#4a5665}
#alert .hint{color:#8a94a3;font-size:.75rem}
#alert .field input,#alert .field select{padding:10px 12px;border-width:1px}
.time-grid{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:6px}
.time-btn{font-size:.875rem;font-weight:600;border:1px solid var(--line);border-radius:8px;padding:7px 4px;background:#fbfcfd}
.time-btn:hover{border-color:#9cc2dc;background:#fff}
.time-btn-active{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-2);box-shadow:none}
.time-vessel{font-size:.6875rem;font-weight:500;color:#8a94a3}
.hint-inline{font-weight:400;color:#8a94a3}
/* how it works (descriptive copy moved out of the hero) */
.how{border-top:1px solid var(--line)}
.how h2{font-size:1.25rem;margin-top:0}
.how .lead{color:#4a5665;font-size:.9375rem;line-height:1.7;max-width:68ch;margin:0 0 18px}
.how-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px;margin:0}
.how-grid dt{font-weight:600;color:var(--ink);font-size:.9375rem}
.how-grid dd{margin:4px 0 0;color:#5b6b7d;font-size:.875rem;line-height:1.6}
@media(max-width:640px){.how-grid{grid-template-columns:1fr}}
/* calmer long-form SEO area */
#bk-seo .content h2{font-size:1.25rem;margin-top:36px}
#bk-seo .content p,#bk-seo .content li{color:#4a5665;font-size:.9375rem}
#bk-seo details{box-shadow:none}
.holiday{border-left:3px solid #f0b48f}
.holiday h2{font-size:1.0625rem}
#today .section-h h2{font-size:1.0625rem!important}
#today .section-h .btn-primary{background:#fff;color:var(--brand-2);border-color:var(--line-2)}
#today .section-h .btn-primary:hover{background:var(--brand-soft)}
.section-h .eyebrow{font-size:.72rem;font-weight:600;color:#5f7f96}

/* SMS opt-in on the alert card */
.channel-row{display:flex;flex-wrap:wrap;gap:16px;margin-top:4px}
#aChannelL{display:block;color:#4a5665;font-size:var(--fs-xs);font-weight:600;margin-bottom:6px}
#smsConsentWrap{margin:8px 0 4px;padding:12px;background:#f8fafc;border:1px solid var(--line,#e2e8f0);border-radius:10px}
#smsConsentWrap .checkbox-label{font-size:13px;line-height:1.55;color:var(--ink-2,#334155);align-items:flex-start;gap:10px}
#smsConsentWrap input[type=checkbox]{margin-top:3px;flex-shrink:0;width:18px;height:18px}
#alert .phone-input-row input{padding-top:10px!important;padding-bottom:10px!important}
