/* ---------- Theme: change these to rebrand ---------- */
:root {
  --primary: #0e6f7f;        /* deep teal: buttons, links */
  --primary-dark: #0a5562;
  --primary-soft: #e3f3f4;
  --ink: #0f2a33;            /* headings, body text */
  --muted: #4a5f66;          /* secondary text */
  --line: #d6e3e5;
  --bg: #ffffff;
  --tint: #f3f8f8;
  --dark: #0d2f38;
  --ok: #1f9d6b;
  --warn: #d08a1c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 51, .06), 0 8px 24px rgba(15, 42, 51, .07);
  --font-head: "Figtree", system-ui, sans-serif;
  --font-body: "Noto Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }

:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 50;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  background: var(--primary); color: #fff; border: 2px solid var(--primary);
  border-radius: 10px; font: 600 1rem var(--font-head); text-decoration: none;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn svg { width: 20px; height: 20px; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary-dark); }
.btn-small { min-height: 44px; padding: .5rem 1rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 1.15rem var(--font-head); color: var(--ink); text-decoration: none;
}
.brand-mark { width: 40px; height: 40px; color: var(--primary); flex: none; }
.brand-text { font-weight: 800; letter-spacing: -.01em; }
.brand-sub { font-weight: 600; }
@media (max-width: 420px) { .brand { font-size: .95rem; gap: .5rem; } .brand-mark { width: 36px; height: 36px; } }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500;
  padding: .5rem 0; transition: color .2s;
}
.site-nav a:not(.btn):hover { color: var(--primary); }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.25rem 1.25rem; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background:
    radial-gradient(900px 400px at 85% 10%, var(--primary-soft), transparent 70%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.eyebrow {
  font: 600 .85rem var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); margin-bottom: .75rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 1.5rem;
}
.claim-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem;
  padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 500;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-ok { background: var(--ok); }
.dot-warn { background: var(--warn); }
.tag {
  font: 600 .8rem var(--font-head); color: var(--primary-dark);
  background: var(--primary-soft); padding: .25rem .65rem; border-radius: 999px;
}
.hero-card-foot { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head p:not(.eyebrow) { color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #b6d3d6; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card-wide {
  grid-column: 1 / -1; display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--primary-soft); border-color: #bfdfe2;
}
.card-wide .icon { background: #fff; margin: 0; flex: none; }
.card-wide p { max-width: 60em; }
.icon {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 1rem;
  background: var(--primary-soft); color: var(--primary); border-radius: 10px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split p { color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.systems {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
}
.systems h3 { margin-bottom: 1rem; }
.systems-gap { margin-top: 1.5rem; }
.systems-note { margin: 1rem 0 0; font-size: .95rem; }
.pill-list li {
  background: var(--tint); border: 1px solid var(--line); border-radius: 999px;
  padding: .6rem 1.1rem; font-weight: 500;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: none; }
.steps li { position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--primary); color: #fff; font: 700 1.1rem var(--font-head);
}
.steps p { color: var(--muted); margin: 0; }

.about { display: grid; grid-template-columns: 320px 1fr; gap: 3.5rem; align-items: center; }
.about p:not(.eyebrow) { color: var(--muted); }
.about-photo img:not(.about-sprig), .photo-placeholder {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; object-fit: cover;
}
.photo-placeholder {
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--primary), var(--dark)); color: #fff;
  font: 800 clamp(3.5rem, 9vw, 5.5rem) var(--font-head); letter-spacing: .02em;
}
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.75rem 0 0;
}
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; }
.facts dt { font: 700 1.2rem var(--font-head); color: var(--primary-dark); }
.facts dd { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  margin-bottom: .75rem; transition: border-color .2s;
}
.faq details[open] { border-color: #b6d3d6; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; min-height: 44px;
  font: 600 1.05rem var(--font-head); display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.section-dark { background: var(--dark); color: #e6f0f1; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #7fd0d8; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: .85rem; }
.contact-list svg {
  width: 22px; height: 22px; flex: none; color: #7fd0d8;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list a { color: #fff; font-weight: 500; text-underline-offset: 3px; }

.contact-big { font: 700 1.35rem var(--font-head); text-decoration: none; }
.contact-form {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.contact-form h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
input, textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #b9cbce; border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 111, 127, .2); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); }
.cf-turnstile { margin-bottom: 1rem; min-height: 65px; }
.form-status { font-weight: 500; font-size: .95rem; padding: .75rem 1rem; border-radius: 10px; }
.form-status.success { background: #e6f5ee; color: #14633f; }
.form-status.error { background: #fdecea; color: #b42318; }
.btn:disabled { opacity: .7; cursor: wait; }

/* ---------- Decorative art ---------- */
.hero, .deco-wrap { position: relative; overflow: hidden; }
.hero > .container, .deco-wrap > .container { position: relative; z-index: 1; }
.deco { position: absolute; pointer-events: none; user-select: none; }
.deco-hero { width: 250px; left: -130px; bottom: -130px; opacity: .5; transform: rotate(8deg); }
.deco-br { width: 340px; right: -80px; bottom: -90px; transform: scaleX(-1) rotate(-10deg); opacity: .9; }
.deco-bl { width: 360px; left: -70px; bottom: -90px; opacity: .85; }

.hero-art { position: relative; padding: 2rem 0 2.5rem 2rem; }
.hero-art .hero-card { position: relative; z-index: 1; }
.hero-sprig { position: absolute; width: 250px; right: -120px; top: -120px; transform: rotate(-8deg); z-index: 0; pointer-events: none; }
.hero-steth { position: absolute; width: 130px; left: -20px; bottom: -10px; z-index: 0; }

#how .container { position: relative; }
.how-art { position: absolute; right: 0; top: -.5rem; width: 110px; transform: rotate(6deg); opacity: .95; }

.about-photo { position: relative; }
.about-sprig { position: absolute; width: 190px; left: -60px; bottom: -60px; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: #0a252c; color: #a9c2c6; padding: 1.75rem 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.site-footer p { margin: 0; }
.site-footer strong { color: #fff; }
.site-footer a { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .split, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 220px 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .deco-hero, .how-art { display: none; }
  .deco-br { width: 220px; right: -70px; bottom: -70px; opacity: .6; }
  .deco-bl { width: 220px; left: -80px; bottom: -70px; opacity: .5; }
  .hero-art { padding: 1.5rem 0 2rem 1rem; }
  .hero-sprig { width: 170px; right: -60px; top: -70px; }
  .hero-steth { display: none; }
  .about-sprig { width: 140px; left: -30px; bottom: -40px; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .card-wide { flex-direction: column; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 220px; }
  .facts { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
