/*
 * Site styles. Plain CSS, no build step: edit and reload.
 *
 * Brand: change the --brand* and --accent colours and --font below; everything
 * else follows from them.
 */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand: #0f5f73;
  --brand-dark: #0a4352;
  --brand-tint: #e7f2f4;
  --accent: #e8a33d;

  --ink: #17212b;
  --ink-soft: #4a5866;
  --line: #dde3e8;
  --paper: #ffffff;
  --paper-alt: #f5f7f9;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgb(16 24 32 / 6%), 0 8px 24px rgb(16 24 32 / 6%);
  --max: 1120px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }

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

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 750; font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1rem;
}
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.45rem 0.7rem; font: inherit; color: var(--ink); cursor: pointer;
}
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap;
}
.site-nav a {
  display: block; padding: 0.5rem 0.8rem; border-radius: 8px;
  color: var(--ink-soft); text-decoration: none; font-weight: 550;
}
.site-nav a:hover { color: var(--ink); background: var(--paper-alt); }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav .btn { margin-left: 0.5rem; color: #fff; }

@media (max-width: 760px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 0.75rem; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav .btn { margin: 0.5rem 0 0; text-align: center; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block; padding: 0.75rem 1.3rem; border-radius: var(--radius);
  background: var(--brand); color: #fff; text-decoration: none;
  border: 2px solid var(--brand); cursor: pointer; font: inherit; font-weight: 650;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-dark); }

/* ---------- sections ---------- */

.hero {
  background: linear-gradient(160deg, var(--brand-tint) 0%, #fff 70%);
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 38rem; }
.hero .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 0.75rem;
}

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--ink-soft); }

.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; }
.page-head p { color: var(--ink-soft); font-size: 1.15rem; max-width: 40rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 2.5rem; align-items: start; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 1rem;
  background: var(--brand-tint); color: var(--brand); display: grid; place-items: center;
}
.card .icon svg { width: 22px; height: 22px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.75rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--brand);
  box-shadow: inset 0 0 0 0.35rem var(--brand-tint);
}

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stat { padding: 1.25rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 2rem; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--ink-soft); font-size: 0.95rem; }

blockquote.quote {
  margin: 0; padding: 1.75rem; border-radius: var(--radius);
  background: var(--paper); border-left: 4px solid var(--accent); box-shadow: var(--shadow);
}
blockquote.quote p { font-size: 1.15rem; }
blockquote.quote cite { color: var(--ink-soft); font-style: normal; font-weight: 600; }

.cta-band { background: var(--brand); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 0.35rem 0 0; opacity: 0.9; }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }

/* ---------- forms ---------- */

.form { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.field input, .field textarea {
  width: 100%; padding: 0.7rem 0.85rem; font: inherit; color: var(--ink);
  border: 1px solid #c4ccd4; border-radius: 8px; background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid var(--brand-tint); }
.field textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 0.85rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-weight: 550; }
.notice-error { background: #fdecec; color: #8a1c1c; border: 1px solid #f5c2c2; }
.notice[hidden] { display: none; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin-bottom: 1rem; }
.contact-list strong { display: block; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: #c9d2da; padding: 3rem 0 2rem; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-base {
  border-top: 1px solid rgb(255 255 255 / 12%); margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
