/* Shared styles for the static website pages (/about/, /businesses/).
   Colors come from the Jersey Shorehop logo. */
:root {
  --navy: #10304a;
  --teal: #0e7490;
  --wave: #17a9a9;
  --sun: #fdb940;
  --sand: #f6f1e7;
  --bg: #fbfaf7;
  --card: #ffffff;
  --text: #13293b;
  --muted: #52667a;
  --line: #e3e0d8;
  --on-accent: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #e8f1f6;
    --teal: #4cc3d1;
    --wave: #33b8b8;
    --sand: #14283a;
    --bg: #0c1c2a;
    --card: #12283a;
    --text: #e8eef3;
    --muted: #a3b4c3;
    --line: #23405a;
    --on-accent: #062230;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3 {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
.narrow > * { max-width: 680px; }

/* Top bar */
.top { border-bottom: 1px solid var(--line); background: var(--card); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 0.98rem; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav a[aria-current="page"] { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; font-size: 1rem;
  background: var(--teal); color: var(--on-accent);
}
.btn.ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.nav .btn { padding: 8px 16px; color: var(--on-accent); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { background: var(--sand); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-block: 56px; }
.hero .wrap > * { min-width: 0; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin-block: 16px 26px; max-width: 34ch; }
.hero .logo { justify-self: center; width: min(320px, 80%); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 800; color: var(--teal); margin-bottom: 10px; }

section.block { padding-block: 56px; }
section.block + section.block { border-top: 1px solid var(--line); }
.block > .wrap > h2 { margin-bottom: 8px; }
.block > .wrap > p.sub { color: var(--muted); margin-bottom: 28px; max-width: 60ch; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.features > div { min-width: 0; }
.features .ico { font-size: 1.6rem; line-height: 1; margin-bottom: 8px; }
.features p { color: var(--muted); font-size: 0.98rem; margin-top: 4px; }

/* Towns, laid out north to south like the island */
.towns { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--wave); max-width: 640px; }
.towns li { position: relative; padding: 0 0 18px 22px; }
.towns li::before { content: ''; position: absolute; left: -8px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 3px solid var(--wave); }
.towns li.mainland::before { border-color: var(--sun); }
.towns strong { color: var(--navy); font-size: 1.05rem; }
.towns span { display: block; color: var(--muted); font-size: 0.93rem; }
.compass { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 800; margin: 0 0 12px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; min-width: 0; }
.plan.top-pick { border: 2px solid var(--teal); }
.price { font-family: 'Poppins', system-ui, sans-serif; font-size: 2rem; font-weight: 700; color: var(--navy); margin-top: 6px; font-variant-numeric: tabular-nums; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.pitch { color: var(--muted); margin-block: 6px 14px; font-size: 0.98rem; }
.plan ul, ul.list { margin: 0; padding-left: 20px; font-size: 0.96rem; }
.plan li + li, ul.list li + li { margin-top: 6px; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.rental { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: var(--sand); border-radius: 16px; padding: 28px; }
.rental > * { min-width: 0; }
.deal { background: var(--sun); color: #3a2600; font-weight: 800; border-radius: 8px; padding: 2px 8px; font-size: 0.85rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; min-width: 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--bg); font-weight: 800; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 0.98rem; margin-top: 4px; }

.note { color: var(--muted); font-size: 0.93rem; margin-top: 18px; }
.contact { font-size: 1.1rem; font-weight: 700; }

footer { border-top: 1px solid var(--line); background: var(--card); font-size: 0.9rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 36px; gap: 20px; }
  .hero .logo { order: -1; width: 180px; }
  .features, .plans, .steps, .rental { grid-template-columns: 1fr; }
  section.block { padding-block: 40px; }
}
.actions.spaced { margin-top: 20px; }
