:root {
  --ink: #131a33;
  --muted: #5b6480;
  --line: #dfe3ee;
  --bg: #f7f8fc;
  --brand: #16204a;
  --accent: #f26b1d;
  --ok: #0a6b3d;
  --err: #a1140f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}

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

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--brand); text-decoration: none; }
nav a { margin-left: 20px; color: var(--ink); text-decoration: none; font-weight: 600; }
nav a:hover { text-decoration: underline; }

.hero { padding-top: 46px; padding-bottom: 30px; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; color: var(--brand); }
h2 { font-size: 1.6rem; margin: 34px 0 14px; color: var(--brand); }
h3 { margin: 0 0 8px; font-size: 1.15rem; }
.lead { font-size: 1.2rem; color: #2c3554; max-width: 760px; margin: 0; }
.muted { color: var(--muted); }
.tiny { font-size: 0.85rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card.soon { background: transparent; border-style: dashed; }
.card p { margin: 0 0 12px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 10px;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { filter: brightness(0.95); }
.btn:disabled { opacity: 0.6; cursor: default; }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; padding-top: 12px; padding-bottom: 50px; align-items: start; }
.form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.form input, .form select, .form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid #c4cadb;
  border-radius: 9px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid #8ea2ff; outline-offset: 1px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.4em; margin: 12px 0 4px; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

.foot { display: flex; gap: 18px; padding-top: 22px; padding-bottom: 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.foot a { color: var(--muted); }

.page { padding-top: 30px; padding-bottom: 50px; max-width: 760px; }
.page h1 { font-size: 2rem; }
