/* Plan B Marine — clean nautical design system */
:root {
  --navy: #0b1d2c;
  --ink: #13293d;
  --foam: #f4f7f9;
  --line: #dbe4ea;
  --teal: #1b7f8e;
  --teal-deep: #14606b;
  --text: #2b3a46;
  --muted: #61707c;
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Ubuntu', system-ui, sans-serif;
  color: var(--text);
  background: var(--foam);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3 { font-family: 'Merriweather', Georgia, serif; line-height: 1.25; color: var(--navy); }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* header */
header.site {
  background: var(--navy);
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
}
.nav .brand {
  color: #fff; font-family: 'Merriweather', serif; font-weight: 900; font-size: 19px;
  display: flex; align-items: center; gap: 10px;
}
.nav .brand .flag { width: 26px; height: 26px; flex: 0 0 auto; }
.nav .links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav .links a { color: #cfdbe4; font-size: 15px; }
.nav .links a:hover { color: #fff; text-decoration: none; }
.nav .links a.cta {
  background: var(--teal); color: #fff; padding: 8px 16px; border-radius: 4px;
  font-weight: 700;
}
.nav .links a.cta:hover { background: var(--teal-deep); }

@media (max-width: 720px) {
  .nav { gap: 12px; flex-wrap: wrap; }
  .nav .links { gap: 14px; }
}

/* hero */
.hero { position: relative; min-height: 62vh; display: flex; align-items: center; color: #fff; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,29,44,.55) 0%, rgba(11,29,44,.75) 100%); }
.hero .inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); max-width: 18ch; }
.hero p { margin-top: 18px; font-size: clamp(17px, 2vw, 21px); max-width: 55ch; color: #e4ecf1; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 5px; font-weight: 700;
  background: var(--teal); color: #fff;
}
.btn:hover { background: var(--teal-deep); text-decoration: none; }
.btn.ghost { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.5); }
.btn.ghost:hover { background: rgba(255,255,255,.24); }

/* sections */
section { padding: 72px 0; }
section.alt { background: #fff; }
.kicker {
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700;
  color: var(--teal); margin-bottom: 10px;
}
h2.sec { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; }
.lead { max-width: 62ch; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 42px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
}
.card img { width: 100%; height: 200px; object-fit: cover; }
.card .body { padding: 22px 24px 26px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
section.alt .card { background: var(--foam); }

/* split (image + text) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 8px; width: 100%; height: 420px; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split img { height: 300px; } }
.split h2 { margin-bottom: 14px; }
.split .points { margin: 22px 0 0; list-style: none; }
.split .points li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.split .points li::before { content: "▸"; position: absolute; left: 8px; color: var(--teal); }

/* cta band */
.cta-band { background: var(--navy); color: #fff; padding: 64px 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { color: #c3cfda; margin-top: 8px; }

/* page banner (subpages) */
.pagehead { background: var(--navy); color: #fff; padding: 68px 0 58px; }
.pagehead h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.pagehead p { color: #b9c7d2; margin-top: 12px; max-width: 60ch; }

/* article (legal pages) */
article.legal { max-width: 76ch; }
article.legal h1 { font-size: 30px; margin-bottom: 18px; }
article.legal h2 { font-size: 20px; margin: 28px 0 10px; }
article.legal p, article.legal ul { margin-bottom: 14px; }
article.legal ul { padding-left: 22px; }
article.legal .todo {
  background: #fff7e0; border: 1px solid #e8d59a; border-radius: 6px;
  padding: 14px 18px; margin: 14px 0; color: #6b5410; font-size: 15px;
}

/* footer */
footer.site { background: var(--navy); color: #93a5b3; padding: 44px 0 36px; font-size: 14px; }
footer.site .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
footer.site a { color: #c3cfda; }
footer.site .legal-links { display: flex; gap: 18px; margin-top: 10px; }
footer.site .fine { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; color: #6d7f8d; font-size: 12.5px; }
