/* Seamoor3 Solutions — shared static stylesheet (mobile-first, no external fonts/CDNs) */
:root {
  --ink: #1b2733;
  --muted: #4a5866;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #d9d4c8;
  --accent: #0d5c63;
  --accent-ink: #ffffff;
  --accent-soft: #e6f1f0;
  --warn-soft: #fdf3dc;
  --warn-line: #b7791f;
  --radius: 8px;
  --maxw: 46rem;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 64rem; margin: 0 auto; padding: 0.6rem 1rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem;
}
.wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
  min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 0.25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.6rem;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent); }

/* Layout */
main { flex: 1 0 auto; width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1rem 3rem; }
.container.wide { max-width: 64rem; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; color: var(--ink); }
h1 { font-size: 1.9rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.4rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.35rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
.meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.lede { font-size: 1.2rem; color: var(--ink); max-width: 38rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.4rem;
  background: var(--accent); color: var(--accent-ink);
  border: 2px solid var(--accent); border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #0a4a50; border-color: #0a4a50; }
.btn.secondary { background: transparent; color: var(--accent); }
.btn.secondary:hover { background: var(--accent-soft); }
.btn[disabled] {
  background: #e4e1d8; border-color: #cfcabd; color: #5a636d; cursor: not-allowed;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }

/* Callouts */
.callout {
  border-left: 5px solid var(--accent); background: var(--accent-soft);
  padding: 1rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1rem 0 1.5rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout.notice { border-left-color: var(--warn-line); background: var(--warn-soft); }
.clause { font-weight: 600; }

/* Cards (home) */
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.5rem 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* Form */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 48px; padding: 0.6rem 0.75rem;
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #8a8f94; border-radius: var(--radius);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field-error { color: #9b1c1c; font-size: 0.93rem; margin: 0.3rem 0 0; min-height: 0; }
.field-error:empty { display: none; }

.check { display: flex; align-items: flex-start; gap: 0.75rem; margin: 0 0 1rem; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fcfcfa; }
.check input[type="checkbox"] { width: 1.4rem; height: 1.4rem; flex: 0 0 auto; margin: 0.2rem 0 0; accent-color: var(--accent); }
.check label { font-weight: 400; margin: 0; }

/* Anti-bot honeypot: visually hidden, still in DOM */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 1rem 0 0; padding: 0.75rem 1rem; border-radius: var(--radius); }
.form-status:empty { display: none; }
.form-status.ok { background: var(--accent-soft); border: 1px solid var(--accent); }
.form-status.err { background: #fbe9e9; border: 1px solid #9b1c1c; }
.disclosure { margin-top: 1.1rem; font-size: 0.95rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #f2f0ea; margin-top: auto; }
.footer-inner { max-width: 64rem; margin: 0 auto; padding: 1.5rem 1rem; font-size: 0.95rem; }
.footer-inner a { color: #cfe9e7; }
.footer-inner p { margin: 0 0 0.5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 40rem) {
  h1 { font-size: 2.4rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .form-card { padding: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
