/* SailVisible — clean maritime motif: deep navy, white, signal orange.
   System fonts only. No external dependencies. */

:root {
  --navy: #0a2540;
  --navy-deep: #071a2e;
  --ink: #22303e;
  --muted: #5a6b7a;
  --accent: #e8590c;
  --accent-dark: #c74a08;
  --paper: #ffffff;
  --mist: #f2f6f8;
  --line: #d9e2e8;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.4rem; letter-spacing: -0.01em; }
h2 { font-size: 1.55rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.4rem; }
li { margin-bottom: 0.35rem; }

a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 720px; }

/* Accessibility */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; color: #fff; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
}
.logo:hover { color: var(--navy); }
/* Small sail mark: two CSS triangles, mainsail orange + jib navy */
.logo-mark {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 20px solid var(--accent);
  position: relative;
  margin-right: 2px;
}
.logo-mark::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 5px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 15px solid var(--navy);
}
.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent-dark); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--accent); }

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 4.5rem 0 4rem;
  border-bottom: 4px solid var(--accent);
}
.hero h1 {
  color: #fff;
  font-size: 2.9rem;
  max-width: 640px;
  margin-bottom: 1rem;
}
.hero .accent { color: #ff8c42; }
.hero .lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: #d7e3ee;
  max-width: 640px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--mist); }
.page-head {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0 2.5rem;
  border-bottom: 4px solid var(--accent);
}
.page-head h1 { color: #fff; margin-bottom: 0.6rem; }
.page-head .lead { color: #d7e3ee; font-size: 1.2rem; max-width: 640px; margin-bottom: 0; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 1.4rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }

/* Steps */
.steps {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
  margin-top: 1.2rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.1rem 3rem;
  margin-bottom: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { color: var(--navy); }

/* Numbered list (what gets picked) */
.numbered li { margin-bottom: 0.6rem; }
.numbered li strong { color: var(--navy); }

/* Two layers list */
.two-layers li { margin-bottom: 0.7rem; }
.two-layers li strong { color: var(--navy); }

/* Boundaries */
.boundaries li { margin-bottom: 0.8rem; }
.boundaries li strong { color: var(--navy); }

/* Services */
.service {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.service:last-child { border-bottom: none; }
.service h2 { margin-bottom: 0.5rem; }

/* FAQ */
.faq-teaser p { margin-bottom: 1.1rem; }
.faq-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { padding-top: 0.4rem; }
.faq-item h2 { font-size: 1.25rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; text-align: left; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e3ee; }
.cta-band .btn { color: #fff; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c8d6e2;
  padding: 2.2rem 0;
  font-size: 0.95rem;
}
.site-footer strong { color: #fff; }
.site-footer a { color: #ffb37a; }
.site-footer a:hover { color: #fff; }
.footer-nav { margin: 0.8rem 0; }
.footer-nav a { color: #c8d6e2; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.fineprint { margin-bottom: 0; }

/* Small screens */
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 2.2rem 0; }
}
