:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #17191f;
  --muted: #60646f;
  --border: #d9dce5;
  --accent: #3730a3;
  --accent-hover: #312e81;
  --soft: #eef0ff;
  --success: #12633a;
  --danger: #9b1c1c;
  --max: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; border-radius: 12px; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 20px 72px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.hero img { width: 150px; height: 150px; }
.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.25; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { margin-top: 42px; font-size: 1.55rem; }
h3 { margin-top: 28px; font-size: 1.15rem; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 700px; }
.meta { color: var(--muted); font-size: 0.92rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
}
.card h2, .card h3 { margin-top: 0; }
.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
}
.notice.success { border-left-color: var(--success); }
.notice.error { border-left-color: var(--danger); }
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 11px 17px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.button:hover { background: var(--accent-hover); color: #fff; }
.button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
form {
  max-width: 680px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
}
label { display: block; margin: 18px 0 7px; font-weight: 700; }
input[type="email"], textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #aeb3c0;
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 20px 0;
}
.checkbox label { margin: 0; font-weight: 500; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td { border: 1px solid var(--border); padding: 12px; text-align: left; vertical-align: top; }
th { background: #f0f1f5; }
code { background: #eceef4; padding: 2px 5px; }
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
ul, ol { padding-left: 1.3rem; }
@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .hero { grid-template-columns: 1fr; padding: 28px; }
  .hero img { width: 110px; height: 110px; order: -1; }
  .card-grid { grid-template-columns: 1fr; }
}
