/* Safewisp — plain CSS, no build step */
:root {
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #4f5d73;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --line: #dfe4ec;
  --brand: #0b5c63;
  --brand-dark: #08464c;
  --wisp: #7dd3c8;
  --night: #0f1b2d;
  --night-2: #17283f;
  --on-night: #e8eef6;
  --on-night-muted: #b9c6d8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--surface); color: var(--ink); padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header */
.site-header { background: var(--night); color: var(--on-night); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--on-night); text-decoration: none; font-weight: 700; font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: #fff; }
.brand svg { width: 34px; height: 34px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.1rem; flex-wrap: wrap; }
.nav a {
  color: var(--on-night-muted); text-decoration: none; font-size: .98rem;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--wisp); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(125, 211, 200, .16), transparent 60%),
    radial-gradient(700px 300px at -10% 110%, rgba(125, 211, 200, .10), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--on-night);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}
.hero .wisp-lines {
  position: absolute; right: -60px; bottom: -40px; width: 560px; height: auto;
  opacity: .35; pointer-events: none;
}
.hero .container { position: relative; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--wisp); margin-bottom: .9rem;
}
.hero h1 { max-width: 20ch; color: #fff; }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--on-night-muted); max-width: 46ch; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.75rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid rgba(125, 211, 200, .45); color: var(--on-night);
  border-radius: 999px; padding: .25rem .8rem; font-size: .88rem; font-weight: 600;
  margin-top: 1.5rem;
}
.badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--wisp); }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 600; text-decoration: none;
  padding: .75rem 1.3rem; border-radius: 10px; border: 2px solid transparent; cursor: pointer;
  line-height: 1.2;
}
.btn-primary { background: var(--wisp); color: var(--night); }
.btn-primary:hover { background: #a3e3da; color: var(--night); }
.btn-ghost { border-color: rgba(232, 238, 246, .5); color: var(--on-night); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-dark); color: #fff; }

/* Sections */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 62ch; color: var(--ink-2); }
.mission {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.5; max-width: 40ch; color: var(--ink);
  border-left: 4px solid var(--wisp); padding-left: 1.1rem; margin: 0 0 1.25rem;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.75rem; display: flex; flex-direction: column;
}
.card .icon { width: 52px; height: 52px; margin-bottom: 1rem; }
.card h3 { font-size: 1.45rem; margin-bottom: .25rem; }
.card .tagline { color: var(--brand); font-weight: 600; margin-bottom: .75rem; }
.card p { color: var(--ink-2); }
.card .meta { font-size: .9rem; color: var(--muted); margin-top: auto; padding-top: .5rem; }
.card .card-link { margin-top: 1rem; font-weight: 600; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem 3rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .95rem; height: .95rem; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--brand) 0 35%, rgba(11, 92, 99, .18) 36%);
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.steps li {
  counter-increment: step; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.25rem 1.1rem; color: var(--ink-2);
}
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem;
  border-radius: 50%; background: var(--night); color: var(--wisp); font-weight: 700; margin-bottom: .6rem;
}
.steps strong { display: block; color: var(--ink); }

.callout {
  background: #eef7f6; border: 1px solid #cfe9e5; border-radius: var(--radius);
  padding: 1.25rem 1.4rem; color: var(--ink-2);
}
.callout strong { color: var(--ink); }

/* Contact form */
.contact-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem 3rem; align-items: start; }
form.contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.75rem;
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #9aa6b8; border-radius: 10px; padding: .65rem .8rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(11, 92, 99, .25); outline-offset: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.warning {
  display: flex; gap: .7rem; align-items: flex-start;
  background: #fff8e6; border: 1px solid #f0d58a; border-radius: 10px;
  padding: .85rem 1rem; margin-bottom: 1.25rem; color: #4a3a07; font-size: .95rem;
}
.warning svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: .15rem; }
.form-foot { font-size: .9rem; color: var(--muted); margin: .9rem 0 0; }

/* Prose (privacy page) */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 2.25rem 0; font-size: .95rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--on-night); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; }
.site-footer .legal { display: flex; gap: .4rem 1.25rem; flex-wrap: wrap; }
.site-footer .pp { color: var(--wisp); font-weight: 600; }

@media (max-width: 560px) {
  .site-header .container { justify-content: center; }
  .hero .wisp-lines { width: 380px; opacity: .25; }
  .card, form.contact { padding: 1.35rem; }
}

/* v1 additions */
.section-tint { background: #eef5f6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.narrow { max-width: 760px; }
.narrow p { color: var(--ink-2); }
.grid-2 p { color: var(--ink-2); }
.fineprint { font-size: .9rem; color: var(--muted); margin-top: 1.5rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.35rem 1rem; border-top: 4px solid var(--wisp); }
.feature h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feature p { color: var(--ink-2); margin: 0; }
.btn { min-height: 44px; }
.nav a { display: inline-block; padding: .55rem 0; }
@media (max-width: 560px) {
  .site-header .container { justify-content: space-between; gap: .4rem 1rem; }
  .nav ul { gap: 0 1rem; }
  .hero h1 { font-size: 2rem; }
}

/* seamwisp landing extras */
.family-line {
  margin: .85rem 0 0;
  font-size: 1rem;
  color: var(--on-night-muted);
}
.family-line a { color: var(--wisp); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(125,211,200,.45); }
.family-line a:hover { color: #fff; border-bottom-color: #fff; }
.grid-2 p { color: var(--ink-2); }
