/* BeachCall — sunny light palette. Mobile-first, vanilla, no build step. */
:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-2: #eef7fd;
  --line: #d9e9f4;
  --text: #0b2b40;
  --muted: #52768c;
  --accent: #026ea6;
  --accent-2: #0ea5e9;
  --sun: #f59e0b;
  --grad: linear-gradient(135deg, #026ea6, #0ea5e9);
  --go: #15803d;
  --go-bg: #e8f8ee;
  --skip: #dc2626;
  --skip-bg: #fdecec;
  --warn: #d97706;
  --warn-bg: #fef4e2;
  --radius: 18px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(800px 380px at 85% -60px, rgba(14, 165, 233, .16) 0%, transparent 60%) no-repeat,
    radial-gradient(700px 340px at 8% 0%, rgba(245, 158, 11, .10) 0%, transparent 60%) no-repeat,
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 251, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.5px; color: var(--text); text-decoration: none; }
.brand span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav { display: flex; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 18px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  margin-left: 18px; padding: 9px 18px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700;
  box-shadow: 0 6px 18px rgba(2, 132, 199, .28);
}
.nav .nav-cta:hover { color: #fff; opacity: .94; }
@media (max-width: 620px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- layout ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 72px; }
main section { margin-top: clamp(48px, 8vw, 88px); }
section[id] { scroll-margin-top: 76px; }
h1 {
  font-size: clamp(32px, 9vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 0 14px; text-wrap: balance;
}
h2 { font-size: clamp(22px, 5.5vw, 30px); letter-spacing: -0.02em; margin: 0 0 10px; text-wrap: balance; }
.sec-title { font-size: clamp(24px, 6.4vw, 36px); letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
p.lede { color: var(--muted); font-size: 17px; margin: 0 0 18px; max-width: 620px; }
::selection { background: rgba(14, 165, 233, .3); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px;
}
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(14, 165, 233, .1);
  border: 1px solid rgba(14, 165, 233, .25);
  padding: 6px 14px; border-radius: 999px; margin: 0 0 14px;
}
.grad-text {
  background: linear-gradient(135deg, #0284c7, #f59e0b);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 800; font-size: 17px;
  padding: 16px 30px; border-radius: 16px; border: 0; cursor: pointer;
  text-decoration: none; line-height: 1.2; min-height: 56px;
  transition: transform .08s ease, opacity .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(2, 132, 199, .32); }
.btn-primary:hover { opacity: .95; box-shadow: 0 12px 32px rgba(2, 132, 199, .4); }
.btn-primary:disabled { opacity: .55; cursor: wait; box-shadow: none; }
.btn-ghost {
  background: var(--surface); color: var(--accent);
  border: 2px solid rgba(14, 165, 233, .4);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { width: 100%; }
.btn-sun { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #3b2a02; box-shadow: 0 10px 28px rgba(245, 158, 11, .32); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: clamp(28px, 6vw, 64px) 0 8px; }
.hero .free-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--go);
  color: var(--go); font-weight: 800; font-size: 15px;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(22, 163, 74, .15);
}
.hero-sub { font-size: clamp(16px, 4.4vw, 20px); color: var(--muted); max-width: 600px; margin: 0 auto 26px; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--muted); font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.stat-strip {
  max-width: 620px; margin: 26px auto 0; font-size: 14.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  padding: 12px 20px; border-radius: 14px;
}
.stat-strip strong { color: var(--text); }

/* ---------- verdict tool ---------- */
.verdict-tool {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 5vw, 40px);
  box-shadow: 0 20px 60px rgba(2, 132, 199, .10);
}
.beach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 22px;
}
@media (min-width: 640px) { .beach-grid { grid-template-columns: repeat(4, 1fr); } }
.beach-btn {
  font-family: var(--font);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s, transform .08s;
  min-height: 64px;
}
.beach-btn:active { transform: scale(.96); }
.beach-btn .bname { display: block; font-weight: 800; font-size: 15px; color: var(--text); }
.beach-btn .barea { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.beach-btn[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(14, 165, 233, .08);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
}

/* verdict result card — screenshot-ready */
.verdict-card {
  border-radius: 20px;
  padding: clamp(22px, 5.5vw, 36px);
  margin-top: 20px;
  border: 2px solid var(--line);
  background: var(--surface-2);
  text-align: center;
}
.verdict-card.go { border-color: var(--go); background: linear-gradient(180deg, #f2fbf5, var(--go-bg)); }
.verdict-card.skip { border-color: var(--skip); background: linear-gradient(180deg, #fff5f5, var(--skip-bg)); }
.verdict-card.unavailable { border-style: dashed; }
.verdict-stamp {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 10px;
}
.verdict-card.go .verdict-stamp { background: var(--go); color: #fff; }
.verdict-card.skip .verdict-stamp { background: var(--skip); color: #fff; }
.verdict-word { font-size: clamp(52px, 15vw, 88px); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 6px 0 4px; }
.verdict-card.go .verdict-word { color: var(--go); }
.verdict-card.skip .verdict-word { color: var(--skip); }
.verdict-score { font-size: 14px; font-weight: 800; color: var(--muted); margin: 0 0 2px; letter-spacing: .04em; }
.verdict-voice { font-size: 15px; font-style: italic; color: var(--muted); max-width: 560px; margin: 10px auto 0; }
.verdict-beach { font-size: 18px; font-weight: 800; margin: 0 0 2px; }
.verdict-hours {
  display: inline-block; margin: 10px 0 6px;
  font-size: clamp(18px, 5vw, 24px); font-weight: 800; color: var(--text);
  background: #fff; border: 1px solid var(--line);
  padding: 10px 20px; border-radius: 14px;
}
.verdict-reason { font-size: 16px; color: var(--muted); max-width: 560px; margin: 8px auto 0; }
.verdict-reason strong { color: var(--text); }
.factor-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--text);
  background: #fff; border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--go); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--skip); }
.verdict-asof { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.verdict-err { color: var(--skip); font-weight: 700; }
.spinner {
  width: 44px; height: 44px; margin: 24px auto;
  border: 4px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* email capture (post-verdict funnel entry) */
.capture-box {
  margin-top: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
  text-align: center;
}
.capture-box h3 { margin: 0 0 4px; font-size: 17px; }
.capture-box p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.capture-row { display: flex; gap: 10px; }
.capture-row input[type="email"] {
  flex: 1; font-family: var(--font); font-size: 16px;
  padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line);
  min-width: 0; background: var(--bg); color: var(--text);
}
.capture-row input[type="email"]:focus { border-color: var(--accent); outline: none; }
.capture-row .btn { min-height: 52px; padding: 12px 22px; font-size: 16px; white-space: nowrap; }
.capture-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.capture-ok { font-weight: 700; color: var(--go); }
@media (max-width: 480px) {
  .capture-row { flex-direction: column; }
  .capture-row .btn { width: 100%; }
}

/* ---------- before/after ---------- */
.ba-wrap { display: grid; gap: 14px; }
@media (min-width: 720px) { .ba-wrap { grid-template-columns: 1fr 1fr; } }
.ba-card {
  border-radius: var(--radius); padding: 22px;
  border: 2px solid var(--line); background: var(--surface);
}
.ba-card .ba-label {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.ba-before .ba-label { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.ba-after { border-color: var(--accent); box-shadow: 0 14px 40px rgba(2, 132, 199, .14); }
.ba-after .ba-label { background: var(--grad); color: #fff; }
.app-mock {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 14px; margin-bottom: 10px; font-size: 14px;
}
.app-mock .app-name { font-weight: 800; font-size: 13px; color: #475569; margin-bottom: 6px; }
.app-mock .app-line { color: #94a3b8; line-height: 1.9; }
.app-mock .app-num { color: #0f172a; font-weight: 800; }
.verdict-mini {
  background: linear-gradient(180deg, #f2fbf5, var(--go-bg));
  border: 2px solid var(--go); border-radius: 16px;
  padding: 22px; text-align: center;
}
.verdict-mini .mini-word { font-size: 44px; font-weight: 900; color: var(--go); letter-spacing: -.03em; }
.verdict-mini .mini-hours { font-weight: 800; margin-top: 6px; font-size: 17px; }
.verdict-mini .mini-reason { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- pricing ---------- */
.pass-card {
  background: linear-gradient(160deg, #0b3a54, #075985 60%, #0284c7);
  color: #fff; border-radius: 24px; padding: clamp(26px, 6vw, 44px);
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 24px 70px rgba(2, 132, 199, .35);
}
.pass-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 50% -40px, rgba(251, 191, 36, .35), transparent 70%);
  pointer-events: none;
}
.pass-card > * { position: relative; }
.pass-card h2 { color: #fff; }
.pass-card .lede, .pass-card .pass-sub { color: rgba(255,255,255,.82); }
.pass-price { font-size: clamp(44px, 12vw, 64px); font-weight: 900; letter-spacing: -.04em; margin: 8px 0 2px; }
.pass-price small { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: 0; }
.pass-feats { list-style: none; padding: 0; margin: 22px auto; max-width: 460px; text-align: left; }
.pass-feats li { padding: 9px 0 9px 34px; position: relative; font-size: 16px; font-weight: 600; }
.pass-feats li::before { content: "✓"; position: absolute; left: 6px; color: #fbbf24; font-weight: 900; }
.free-vs { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 680px) { .free-vs { grid-template-columns: 1fr 1fr; } }
.tier-col { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: left; }
.tier-col.paid { border: 2px solid var(--sun); }
.tier-col h3 { margin-bottom: 2px; }
.tier-col .tier-price { font-size: 26px; font-weight: 900; margin: 4px 0 10px; }
.tier-col ul { list-style: none; padding: 0; margin: 0; font-size: 14.5px; color: var(--muted); }
.tier-col ul li { padding: 5px 0 5px 26px; position: relative; }
.tier-col ul li::before { content: "✓"; position: absolute; left: 4px; color: var(--go); font-weight: 800; }
.tier-col ul li.no::before { content: "–"; color: #cbd5e1; }

/* ---------- how it works / steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.steps .step-icon { font-size: 30px; }
.steps strong { display: block; font-size: 17px; margin: 8px 0 6px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; margin-bottom: 10px;
}
.faq summary { font-weight: 800; font-size: 16px; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- final cta ---------- */
.final-cta {
  text-align: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(30px, 7vw, 54px) 24px;
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 72px; background: var(--surface); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 36px 20px 90px; }
.footer-base {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}
.footer-base a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-base a:hover { color: var(--text); }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 10px 10px 10px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 40px rgba(2, 132, 199, .25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.sticky-cta[hidden] { display: none; }
.sticky-cta-text { font-size: 14px; color: var(--muted); flex: 1; line-height: 1.35; }
.sticky-cta-text strong { color: var(--text); }
.sticky-cta .btn { padding: 12px 20px; font-size: 15px; min-height: 50px; white-space: nowrap; }
@media (min-width: 720px) { .sticky-cta { display: none !important; } }

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; }
.legal h1 { margin-top: 24px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: #33475b; font-size: 15.5px; }
.legal ul { padding-left: 22px; }

/* ---------- success page ---------- */
.centered { text-align: center; padding-top: clamp(24px, 6vw, 56px); }
.check {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--go); color: #fff; font-size: 40px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(22, 163, 74, .35);
}
.status { margin-top: 10px; font-size: 14.5px; min-height: 22px; }
.status.error { color: var(--skip); font-weight: 700; }
.status.ok { color: var(--go); font-weight: 700; }
.token-form { display: flex; gap: 10px; max-width: 460px; margin: 18px auto 0; }
.token-form input {
  flex: 1; font-family: var(--font); font-size: 16px; min-width: 0;
  padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line);
  background: #fff; color: var(--text);
}
@media (max-width: 480px) { .token-form { flex-direction: column; } .token-form .btn { width: 100%; } }

/* pass unlocked view */
.pass-grid { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 680px) { .pass-grid { grid-template-columns: 1fr 1fr; } }
.pass-beach {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px; text-align: left;
}
.pass-beach .mini-word { font-size: 26px; font-weight: 900; }
.pass-beach.go .mini-word { color: var(--go); }
.pass-beach.skip .mini-word { color: var(--skip); }
.pass-beach .pb-name { font-weight: 800; font-size: 16px; }
.pass-beach .pb-hours { font-weight: 700; font-size: 14px; margin-top: 4px; }
.pass-beach .pb-reason { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .spinner { animation: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
