/* Naviterm site styles. Colours and type from 10-brand-and-style.md §5–6. */
:root {
  --bg: #F5F8F8;
  --surface: #FFFFFF;
  --text: #0B2D42;
  --muted: #536A75;
  --accent: #0F6B7A;
  --accent-text: #FFFFFF;
  --border: #D3DEE2;
  --gold: #D7A64B;
  --aqua: #5BBDC1;
  --deep: #0B2D42;
  --hero-text: #F5F8F8;
  --radius: 12px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1F2C;
    --surface: #0B2D42;
    --text: #F5F8F8;
    --muted: #A3B6BF;
    --accent: #5BBDC1;
    --accent-text: #0A1F2C;
    --border: #24475A;
    --deep: #071722;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1F2C;
  --surface: #0B2D42;
  --text: #F5F8F8;
  --muted: #A3B6BF;
  --accent: #5BBDC1;
  --accent-text: #0A1F2C;
  --border: #24475A;
  --deep: #071722;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3, .wordmark { font-family: "Manrope", "Inter", system-ui, sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
p { margin: 0 0 16px; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand .mark { width: 56px; height: auto; flex: none; }
.lockup { display: flex; flex-direction: column; line-height: 1; }
.wordmark { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.45rem; letter-spacing: 0.01em; color: var(--text); }
.lockup-tag { font-size: 0.62rem; color: var(--muted); margin-top: 4px; letter-spacing: 0.01em; white-space: nowrap; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.btn { display: inline-block; padding: 11px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font-size: 0.95rem; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-gold { background: var(--gold); color: #0A1F2C; }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.nav .btn { color: var(--accent-text); }
@media (max-width: 640px) {
  .nav { margin-left: 0; width: 100%; gap: 14px; padding-bottom: 10px; }
}

/* Hero (matches the brand board's light web example) */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0; overflow: hidden; }
.hero-inner { position: relative; max-width: var(--max); margin: 0 auto; min-height: 460px; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 64px 16px 64px 16px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 440px; font-weight: 400; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-photo { position: absolute; inset: 0 0 0 38%; background: url(hero-marina.jpg) center/cover no-repeat; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 70%, transparent) 22%, transparent 55%); }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { position: relative; inset: auto; height: 220px; }
  .hero-photo::before { background: linear-gradient(180deg, var(--surface) 0%, transparent 35%); }
  .hero-copy { padding: 40px 16px 8px; }
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.card .icon { width: 36px; height: 36px; border-radius: 8px; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #0A1F2C; display: grid; place-items: center; font-weight: 800; font-family: "Manrope", sans-serif; }

/* Marinas */
.region-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.marina-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); transition: border-color .15s; }
a.marina-card:hover { border-color: var(--accent); }
.marina-card .loc { color: var(--muted); font-size: 0.92rem; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); width: fit-content; }
.badge.gold { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--text); }
.marina-card.placeholder { border-style: dashed; color: var(--muted); justify-content: center; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0; }
.fact { border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; }
.fact .k { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.fact .v { font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 20px 0 0; border-left: 2px solid var(--border); }
.timeline li { padding: 0 0 18px 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline .when { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 0.9rem; color: var(--muted); }

/* Sign in */
.signin { max-width: 440px; margin: 64px auto; }
.signin form { display: grid; gap: 14px; }
.signin label { font-weight: 600; font-size: 0.9rem; display: grid; gap: 6px; }
.signin input, .signin select { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.notice { background: color-mix(in srgb, var(--gold) 18%, transparent); border: 1px solid var(--gold); border-radius: 8px; padding: 12px 14px; font-size: 0.92rem; }
button.btn { cursor: pointer; font: inherit; font-weight: 600; }
button[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Contact */
.contact { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }

/* Footer */
.site-footer { background: var(--deep); color: #A3B6BF; padding: 40px 0; font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.site-footer .wordmark { color: #F5F8F8; }
.site-footer .lockup-tag { color: #A3B6BF; }
.site-footer a { color: #F5F8F8; }
