:root {
  --brand: #1a8fd8;
  --brand-dark: #0f6aa6;
  --ink: #1d2733;
  --muted: #5a6776;
  --bg: #ffffff;
  --band: #f2f7fb;
  --line: #dbe5ee;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e8eef4; --muted: #a3b1bf; --bg: #0f1720; --band: #16212d; --line: #263646; --brand: #4ab0ee; --brand-dark: #7cc6f4; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 10; }

.site-header { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand img { display: block; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
nav a:hover { color: var(--brand-dark); }
@media (prefers-color-scheme: dark) { .brand img { background: #fff; padding: 4px 8px; border-radius: 6px; } }

.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; font: inherit; font-weight: 700;
  padding: .75em 1.6em; border-radius: var(--radius); text-decoration: none;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-small { padding: .4em 1em; }
.btn[disabled] { opacity: .6; cursor: progress; }
nav a.btn { color: #fff; }

.hero { text-align: center; padding: 96px 0 80px; background: linear-gradient(180deg, var(--band), var(--bg)); }
.hero .lead { max-width: 640px; margin: 0 auto 1.6em; font-size: 1.2rem; color: var(--muted); }
.phone { color: var(--muted); }

section { padding: 72px 0; }
.band { background: var(--band); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand-dark); margin: 0 0 .5em; font-size: .85rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.features article, .team article { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.features p { margin: 0; color: var(--muted); }

#team h2 { text-align: center; margin-bottom: 1.2em; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.team .role { color: var(--brand-dark); font-weight: 700; margin: 0 0 .5em; }
.team p { margin: 0 0 .8em; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
dl { margin: 1.5em 0 0; }
dt { font-weight: 700; margin-top: 1em; }
dd { margin: 0; color: var(--muted); }

form label { display: block; font-weight: 600; margin: 0 0 .3em; }
form input, form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: .6em .8em; margin-bottom: 1em;
}
form input:focus, form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { font-size: .9rem; color: var(--muted); }
#form-status { min-height: 1.5em; font-weight: 600; }
#form-status.ok { color: #1c7a3c; }
#form-status.err { color: #b3261e; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }
