/* After changing this file, raise the ?v= number in the stylesheet links
   (index.html, error-404.html, error-500.htm) so visitors get the new version. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --text: #1c2430;
  --muted: #5a6575;
  --line: #e2e6ec;
  --accent: #008484;
  --accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --bg-soft: #1a2029;
    --text: #e6eaf0;
    --muted: #9aa5b4;
    --line: #2a323d;
    --accent: #2bb3b3;
    --accent-text: #0d1117;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

a { color: var(--accent); }

/* Skip link: hidden until it gets keyboard focus */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--accent);
  color: var(--accent-text);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Focus rings in our teal instead of the browser's blue */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

code {
  font-size: 0.9em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 4px;
}

/* Top bar */
.top {
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.logo img { display: block; }
.top-contact {
  text-decoration: none;
}

/* Sections */
section { padding: 64px 0; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: clamp(30px, 5vw, 44px); max-width: 760px; }
h2 { font-size: 28px; }
h3 { font-size: 19px; margin-bottom: 8px; }

.hero { padding: 88px 0 72px; }
.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: -12px 0 32px;
}
.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 14px;
  font-size: 15px;
  color: var(--muted);
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
}
.button:hover { opacity: 0.9; }

.features { background: var(--bg-soft); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}
.card p { margin: 0; color: var(--muted); }
.card h2 { font-size: 19px; margin-bottom: 8px; }

.contact p { color: var(--muted); max-width: 600px; margin: 0 0 24px; }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 15px;
}
