/* The public website: Home, Features, Pricing & coverage, Contact us (BluewaterScout.Web/Pages).
   Blue and white (v62): white pages with navy writing, one blue for everything that can be
   pressed, and the brand blue laid on solid at the top of each page and in the footer.
   The bar across the top is the logo's own navy (v87), so the owner's whole logo, whose
   lettering is white, stands on it as it was supplied.
   Colours are named by what they do. The solid blue parts (.on-blue) give the same names
   other values, so a heading, a link or a button reads correctly wherever it stands. */
:root {
  --page: #ffffff;
  --tint: #f2f7fd;
  --panel: #ffffff;
  --panel-2: #f5f9fe;
  --line: #d3e0ef;
  --field-line: #b3c7de;
  --text: #10284a;
  --muted: #455a75;
  --dim: #586d85;
  --accent: #1565c0;
  --accent-strong: #0f4c9a;
  --accent-soft: #e6f0fc;
  --button: #1565c0;
  --button-hover: #0f4c9a;
  --button-ink: #ffffff;
  --quiet-line: #a9bfd9;
  --quiet-hover: #eef4fc;
  --warm: #8a5a00;
  --warm-line: #dcb873;
  --danger-bg: #fdecea;
  --danger-line: #e2a69a;
  --danger-text: #8a2415;
  --wide: 1160px;
}
.hero, .page-head, .site-footer {
  --text: #ffffff;
  --muted: #dce9f9;
  --dim: #bdd2ec;
  --line: #ffffff47;
  --accent: #d3e5fb;
  --accent-strong: #ffffff;
  --accent-soft: #ffffff24;
  --button: #ffffff;
  --button-hover: #e6f0fc;
  --button-ink: #0f4c9a;
  --quiet-line: #ffffff80;
  --quiet-hover: #ffffff1f;
  color: var(--text);
}
.site-header {
  --text: #ffffff;
  --muted: #dce9f9;
  --dim: #bdd2ec;
  --line: #ffffff2e;
  --tint: #ffffff1f;
  --accent: #d3e5fb;
  --accent-strong: #ffffff;
  --accent-soft: #ffffff24;
  --button: #ffffff;
  --button-hover: #e6f0fc;
  --button-ink: #0f4c9a;
  --quiet-line: #ffffff80;
  --quiet-hover: #ffffff1f;
  color: var(--text);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--page); color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 62px); letter-spacing: -.025em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 14px; background: #1565c0; color: #fff; border-radius: 6px; }
.skip:focus { top: 12px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 62ch; }
.fine { font-size: 14px; color: var(--dim); max-width: 70ch; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; border: 1px solid transparent; border-radius: 8px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.button.primary { background: var(--button); color: var(--button-ink); }
.button.primary:hover { background: var(--button-hover); color: var(--button-ink); }
.button.quiet { border-color: var(--quiet-line); color: var(--text); background: transparent; }
.button.quiet:hover { background: var(--quiet-hover); color: var(--text); border-color: var(--accent); }
.button.large { min-height: 50px; padding: 12px 24px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* "Coming soon", standing where a button will be once the site is open for business. It is not a button. */
.soon-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 18px; border: 1px dashed var(--quiet-line); border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-strong); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: default; }
.soon-badge.large { min-height: 50px; padding: 12px 24px; font-size: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #011439f2; border-bottom: 1px solid #ffffff1f; backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: 19px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--text); }
/* The whole logo: the marlin with its own lettering. Only ever on navy or blue, because the lettering is white. */
.brand img { display: block; height: 62px; width: auto; }
.footer-brand .brand img { height: 76px; }
.menu { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; }
.menu nav { display: flex; gap: 4px; }
.menu nav a { padding: 8px 13px; border-radius: 7px; color: var(--muted); font-size: 15px; text-decoration: none; }
.menu nav a:hover { color: var(--text); background: var(--tint); }
.menu nav a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); font-weight: 600; }
.app-links { display: flex; gap: 10px; }
.menu-button { display: none; margin-left: auto; min-height: 42px; padding: 8px 14px; border: 1px solid var(--quiet-line); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }

/* Home: headline beside the coverage map */
.hero { background: radial-gradient(1100px 520px at 12% 110%, #4a93e680, transparent 70%), linear-gradient(160deg, #1764c0, #0f4c9a 60%, #0b3c80); padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 52px; align-items: center; }
.hero-copy .lead { margin: 22px 0 32px; }
.subscriber { margin-top: 22px; font-size: 15px; color: var(--muted); }
.hero-map, .coverage-map { margin: 0; }
.hero-map a { display: block; border-radius: 14px; }
.hero-map figcaption, .coverage-map figcaption { margin-top: 12px; font-size: 14px; color: var(--dim); }

/* The coverage map: region boxes over the land picture. Its colours are its own, the same on a
   white page and on the blue band: pale blue sea, white land (ClientApp/scripts/site-land.mjs). */
.coverage { display: block; width: 100%; height: auto; border: 1px solid #c5d8ee; border-radius: 14px; background: #dcebfa; box-shadow: 0 10px 30px #0b2a5524; }
.coverage .region rect { fill: #1565c026; stroke: #1565c0; stroke-width: 1.5; transition: fill .15s; }
.coverage .region:hover rect, .coverage .region.on rect { fill: #1565c066; }
.coverage .number circle { fill: #ffffff; stroke: #1565c0; stroke-width: 1.5; }
.coverage .number text { fill: #0f4c9a; font: 700 19px Arial, Helvetica, sans-serif; text-anchor: middle; }
.coverage .sea-names text { fill: #6f93bd; font: 600 12px Arial, Helvetica, sans-serif; letter-spacing: .28em; text-anchor: middle; }

/* Pricing & coverage before the site opens: "Coming soon" beside the banner. */
.hero.soon { padding: 92px 0 104px; }
.soon-picture { margin: 0; }
.soon-picture img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 40px #06204a66; }

/* Bands of content */
.band { padding: 76px 0; background: var(--tint); border-top: 1px solid var(--line); }
.band.plain { background: var(--page); }
.band h2 { margin-bottom: 14px; }
.band .lead { margin-bottom: 34px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.three article { padding-top: 20px; border-top: 2px solid var(--accent); }
.three h3 { margin-bottom: 10px; }
.three p { color: var(--muted); }
.step { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); text-decoration: none; box-shadow: 0 1px 2px #0b2a550d; }
.card:hover { border-color: var(--accent); background: var(--panel-2); color: var(--text); box-shadow: 0 8px 24px #0b2a551a; }
.card p { color: var(--muted); font-size: 16px; flex: 1; }
.icon { display: block; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card .icon, .feature-copy .icon { width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: var(--accent-soft); box-sizing: content-box; }
.tag { align-self: flex-start; display: inline-block; padding: 3px 10px; border: 1px solid var(--field-line); border-radius: 99px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.tag.paid { border-color: var(--warm-line); color: var(--warm); }
.more { margin-top: 30px; font-weight: 600; }
.plans-teaser { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.plans-teaser > div:first-child { max-width: 60ch; }
.plans-teaser p { color: var(--muted); margin-top: 8px; }
.shot { max-width: var(--wide); margin: 0 auto; padding: 0 24px 56px; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px #0b2a551f; }

/* Page headings */
.page-head { padding: 64px 0 52px; background: linear-gradient(160deg, #1764c0, #0f4c9a); }
.page-head .lead { margin-top: 20px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { padding: 6px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 14px; text-decoration: none; }
.jump a:hover { color: var(--accent-strong); border-color: var(--accent-strong); background: var(--accent-soft); }

/* Features */
.feature { padding: 58px 0 6px; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) { background: var(--tint); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 56px; padding-bottom: 52px; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.feature-copy p { color: var(--muted); }
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; align-content: start; }
.points li { position: relative; padding-left: 26px; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.points strong { color: var(--text); font-weight: 600; }
.feature-detail { display: grid; gap: 18px; align-content: start; }

/* Pricing */
.interval { display: none; padding: 4px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--tint); }
.js .interval { display: inline-flex; }
.interval button { min-height: 38px; padding: 7px 18px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.interval button[aria-pressed="true"] { background: var(--button); color: var(--button-ink); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 1px 2px #0b2a550d; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 12px 32px #0b2a551f; }
.plan h2 { font-size: 26px; margin: 0; }
.plan-summary { color: var(--muted); font-size: 16px; min-height: 3.2em; }
.price { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price + .price { border-top: 0; }
.js .pricing[data-interval="month"] .per-year, .js .pricing[data-interval="year"] .per-month { display: none; }
.amount { color: var(--muted); font-size: 16px; }
.amount strong { color: var(--text); font-size: 40px; font-weight: 700; letter-spacing: -.02em; margin-right: 4px; }
.saving { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.extra { margin-top: 6px; color: var(--muted); font-size: 15px; }
.extra strong { color: var(--text); }
.includes { flex: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; align-content: start; font-size: 15.5px; }
.includes li { position: relative; padding-left: 26px; }
.includes li::before { content: "\2713"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.includes .plus { color: var(--text); font-weight: 600; }
.includes .plus::before { color: var(--warm); }
.includes .without { color: var(--dim); }
.includes .without::before { content: "\2013"; color: var(--dim); }
.trial-note { margin-top: 26px; padding: 16px 20px; border: 1px solid #b3d0f0; border-radius: 10px; background: #e9f2fc; color: #123a6b; font-size: 16px; }
.calculator { margin-top: 34px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--tint); }
.calculator h2 { font-size: 22px; margin-bottom: 16px; }
.calculator form { display: flex; flex-wrap: wrap; gap: 18px; }
.calculator .total { margin-top: 18px; font-size: 18px; color: var(--muted); }
.calculator .total strong { color: var(--text); font-size: 22px; }
.calculator .total span { display: inline-block; margin-right: 6px; }

/* Coverage */
.coverage-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
/* The list is longer than the map, so the map stays in view beside it. */
@media (min-width: 981px) { .coverage-map { position: sticky; top: 108px; } }
.region-lists { display: grid; gap: 22px; }
.coast h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.coast ol { margin: 0; padding: 0 0 0 30px; display: grid; gap: 4px; }
.coast li { padding: 5px 8px; border-radius: 6px; }
.coast li::marker { color: var(--accent); font-weight: 700; }
.coast li.on { background: var(--accent-soft); }
.coast li strong { display: block; font-weight: 600; }
.coast li span { color: var(--dim); font-size: 14px; }
.notes { margin: 34px 0 0; padding: 0 0 0 20px; color: var(--muted); font-size: 16px; display: grid; gap: 6px; max-width: 80ch; }

/* Questions */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 30px 18px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--accent); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* Forms */
label { display: grid; gap: 8px; font-size: 14.5px; color: var(--text); }
.field { display: grid; gap: 8px; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--field-line); border-radius: 8px; background: #ffffff; color: #10284a; font: inherit; font-size: 16px; }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 2px solid #1565c0; outline-offset: 1px; border-color: #1565c0; }
.calculator .field { width: 190px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.contact-form form { display: grid; gap: 20px; }
.contact-form .button { justify-self: start; }
.leave-empty { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.problem { padding: 12px 15px; border: 1px solid var(--danger-line); border-radius: 8px; background: var(--danger-bg); color: var(--danger-text); font-size: 15.5px; }
.notice { padding: 22px 24px; margin-bottom: 20px; border: 1px solid #b3d0f0; border-radius: 12px; background: #e9f2fc; color: #123a6b; }
.notice h2 { font-size: 22px; margin-bottom: 8px; }
.contact-side { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--tint); }
.contact-side h2 { font-size: 20px; margin-bottom: 14px; }
.contact-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; color: var(--muted); font-size: 16px; }
.contact-side strong { color: var(--text); }

/* Footer */
.site-footer { padding: 56px 0 40px; background: linear-gradient(180deg, #0f4c9a, #0b3c80); border-top: 0; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 44ch; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer nav h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-notes { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--dim); }
.footer-notes strong { color: var(--muted); }

/* Narrower screens */
@media (max-width: 980px) {
  .hero-grid, .feature-grid, .coverage-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cards, .three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan-summary { min-height: 0; }
  .hero, .hero.soon { padding: 52px 0 60px; }
  .hero-grid { gap: 40px; }
}
@media (max-width: 860px) {
  .js .menu-button { display: inline-flex; align-items: center; }
  .bar { flex-wrap: wrap; gap: 0 16px; }
  .menu { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 6px 0 18px; }
  .js .menu { display: none; }
  .js .site-header.open .menu { display: flex; }
  .menu nav { flex-direction: column; gap: 2px; }
  .menu nav a { padding: 11px 12px; font-size: 16px; }
  .app-links { flex-direction: column; }
  .app-links .button, .app-links .soon-badge { min-height: 46px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .shot { padding: 0 16px 40px; }
  .cards, .three { grid-template-columns: minmax(0, 1fr); }
  .band { padding: 52px 0; }
  .page-head { padding: 44px 0 38px; }
  .feature { padding-top: 42px; }
  .feature-grid { padding-bottom: 38px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .actions .button.large, .actions .soon-badge.large { flex: 1 1 100%; }
  .plans-teaser .actions { width: 100%; }
  .calculator .field { width: 100%; }
  .amount strong { font-size: 34px; }
  /* The map is a third as wide on a phone, so its numbers are drawn larger to stay readable. */
  .coverage .number circle { r: 25px; }
  .coverage .number text { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .coverage .region rect { transition: none; }
}
