/* Swell & Road website, "Dockside Friendly" (owner's pick, 2026-10-14): soft sea-glass ground, white rounded
   cards, pill navigation, teal ink, gold for the main action. Plus Jakarta Sans throughout. Dark mode below. */
:root {
  --teal: #133b44; --teal-deep: #0c282f; --gold: #f5b400; --on-gold: #10262b;
  --ink: #14262b; --muted: #4a5a60; --bg: #eef6f4; --card: #ffffff; --line: #d6e5e2;
  --mint: #e3f3ea; --mint-ink: #1d6f42; --sun: #fff3cf; --sun-ink: #5a4300; --sky: #e6eef8; --sky-ink: #2f4a6b; --coral: #fde2dc;
  --shadow: 0 18px 44px rgba(19, 59, 68, .10);
  /* Names older markup still uses. */
  --navy: var(--teal); --sand: var(--gold); --foam: #e4f0ed;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef2; --muted: #a9bcbc; --bg: #0d1f23; --card: #15302f; --line: #23433f; --teal: #9fd3cf;
    --mint: #17382b; --mint-ink: #7fd9a3; --sun: #3a3112; --sun-ink: #f5d67a; --sky: #1c2c40; --sky-ink: #a9c4ea; --coral: #3b2620;
    --shadow: 0 18px 44px rgba(0, 0, 0, .35); --foam: #12292d;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 18px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--teal); }
h1, h2, h3 { letter-spacing: -.015em; line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; margin: 0 0 22px; }
h3 { font-weight: 800; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header and pill navigation */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px; max-width: 1160px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.logo img { border-radius: 50%; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; background: var(--card); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 9px 16px; border-radius: 999px; }
.nav a:hover { background: var(--bg); }
.nav .nav-cta { background: #133b44; color: #fff; }
.nav .nav-cta:hover { background: #0c282f; }

/* Hero */
.hero { text-align: center; padding: 48px 0 24px; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.switch { display: inline-flex; gap: 4px; background: var(--card); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.switch a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 18px; border-radius: 999px; }
.switch a.on { background: #133b44; color: #fff; }
.switch a.muted { color: var(--muted); }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.2rem); font-weight: 800; margin: 6px 0 0; max-width: 15ch; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 46ch; margin: 0; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.button { display: inline-block; background: var(--gold); color: var(--on-gold); font-weight: 800; text-decoration: none; padding: 15px 28px; border-radius: 999px; }
.button:hover { filter: brightness(1.05); }
.button.ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.swell, .eyebrow, .soon { display: none; }
.preview { max-width: 760px; margin: 36px auto 0; background: var(--card); border-radius: 32px; padding: 22px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.tile { border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.tile strong { font-size: 1.25rem; }
.tile span { font-size: .9rem; color: var(--muted); }
.tile .tile-label { font-weight: 600; }
.tile.ok { background: var(--mint); } .tile.ok strong, .tile.ok .tile-label { color: var(--mint-ink); }
.tile.ask { background: var(--sun); } .tile.ask .tile-label { color: var(--sun-ink); }
.tile.due { background: var(--sky); } .tile.due .tile-label { color: var(--sky-ink); }
.preview-note { grid-column: 1 / -1; margin: 0; text-align: center; font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .preview { grid-template-columns: 1fr; margin: 28px 20px 0; } }

/* Sections and cards */
.features { padding: 56px 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.grid article { background: var(--card); border-radius: 26px; padding: 24px 22px 14px; box-shadow: var(--shadow); }
.grid article::before { content: ""; display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); margin-bottom: 12px; }
.grid article:nth-child(4n+2)::before { background: var(--mint); }
.grid article:nth-child(4n+3)::before { background: var(--sky); }
.grid article:nth-child(4n+4)::before { background: var(--coral); }
.grid h3 { margin: 0 0 6px; font-size: 1.1rem; }
.grid p { margin: 0 0 10px; color: var(--muted); font-size: .97rem; }
.band { background: var(--foam); padding: 48px 0; border-radius: 40px; max-width: 1160px; margin: 0 auto; }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.who h3 { margin: 0 0 6px; }
.who p { margin: 0; color: var(--muted); }

/* Plans, add-ons and tables */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 18px; }
.tiers article { background: var(--card); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); }
.tiers h3 { margin: 0; font-size: 1.35rem; }
.tiers .price { font-size: 2rem; font-weight: 800; margin: 4px 0; }
.tiers .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.tiers p { margin: 0 0 8px; color: var(--muted); }
.soon-chip { font-size: .78rem; font-weight: 700; background: var(--sun); color: var(--sun-ink); padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.price { color: inherit; white-space: nowrap; }
.table-wrap { overflow-x: auto; background: var(--card); border-radius: 26px; box-shadow: var(--shadow); }
table.plans { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
table.plans th, table.plans td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; }
table.plans thead th { background: #133b44; color: #fff; text-align: center; font-weight: 800; }
table.plans .mark { text-align: center; white-space: nowrap; font-weight: 700; }
table.plans tr.group th { background: var(--bg); text-transform: uppercase; font-size: .76rem; letter-spacing: .08em; color: var(--muted); }
table.addons { min-width: 640px; }
table.addons td:last-child { color: var(--muted); }
table.addons thead th:first-child, table.addons thead th:last-child { text-align: left; }
.note { max-width: 72ch; color: var(--muted); margin-top: 18px; font-size: .95rem; }
.area { font-size: 1.05rem; margin: 0 0 16px; }
.area strong { color: var(--teal); }
.included { background: var(--sun); border-radius: 26px; padding: 20px 24px 8px; margin-bottom: 20px; }
.included h3 { margin: 0 0 8px; font-size: 1.2rem; }
.included ul { margin: 0 0 10px; padding-left: 20px; }
.included li { margin-bottom: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Early access form */
.access { padding: 56px 20px 64px; text-align: center; }
.access > p { max-width: 52ch; margin: 0 auto 22px; color: var(--muted); }
.lead-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 18px; max-width: 760px; margin: 0 auto;
  text-align: left; background: var(--card); padding: 26px; border-radius: 32px; box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.lead-form .wide { grid-column: 1 / -1; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(245, 180, 0, .45); border-color: var(--teal); }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button { border: 0; cursor: pointer; font: inherit; }
.form-msg.error { color: #b42318; }
@media (prefers-color-scheme: dark) { .form-msg.error { color: #f97066; } }
.form-done { font-size: 1.15rem; font-weight: 700; text-align: center; }
.sub-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* Footer and legal pages */
.foot { padding: 26px 0 34px; font-size: .85rem; color: var(--muted); }
.foot p { margin: 6px 0; }
.foot a { color: inherit; }
.legal { max-width: 780px; padding-top: 20px; padding-bottom: 48px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; margin: 8px 0 12px; }
.legal h2 { font-size: 1.45rem; margin: 30px 0 10px; }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.draft { background: var(--sun); color: var(--ink); padding: 12px 16px; border-radius: 16px; }
.callout { background: var(--card); border-radius: 22px; padding: 6px 22px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .nav a:not(.nav-cta) { display: none; } .nav { box-shadow: none; background: transparent; padding: 0; } }
.plan-group { font-size: 1.5rem; margin: 28px 0 12px; }
table.addons td .sub { font-size: .8rem; color: var(--muted); font-weight: 400; }
/* Kicker line and questions. */
.kicker { margin: 0; font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--teal); }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--card); border-radius: 22px; padding: 16px 22px; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 2px; color: var(--muted); }
/* Local pages. */
.local { max-width: 860px; padding-top: 24px; padding-bottom: 40px; }
.local h1 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); font-weight: 800; margin: 6px 0 14px; }
.local h2 { font-size: 1.5rem; margin: 34px 0 10px; }
.local li { margin-bottom: 6px; }
.lead-left { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.cta-left { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }
.grid h3 a { color: inherit; }

/* Locations (Boats Managed): open and coming-soon badges, location cards, waiting-list forms, booking links. */
.badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; vertical-align: middle; }
.badge.open { background: var(--mint); color: var(--mint-ink); }
.badge.soon { background: var(--sun); color: var(--sun-ink); }
.crumb { margin: 0 0 6px; font-size: .95rem; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.loc { background: var(--card); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.loc.open { outline: 2px solid var(--gold); }
.loc h2 { margin: 0; font-size: 1.35rem; }
.loc p { margin: 0; color: var(--muted); }
.loc .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.loc > .button { align-self: flex-start; margin-top: 8px; }
.lead-form.mini { grid-template-columns: 1fr; margin-top: 10px; }
.tiers article .button { margin-top: 8px; }
.book-table .sub { font-size: .9rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.book-table td.book { white-space: nowrap; font-weight: 700; }
.local .access { margin-top: 40px; }
[hidden] { display: none !important; }
button.button { font: inherit; font-weight: 800; border: 0; cursor: pointer; }
.loc.open { grid-column: 1 / -1; }
