:root {
  --bg: #111215;
  --panel: #090a0b;
  --text: #f0f0f0;
  --muted: #c8c8c8;
  --line: #2a2b2e;
  --button: #b8bbc0;
  --button-text: #0c0d0e;
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.28;
  overflow-x: hidden;
}
a { color: inherit; }
.site-header {
  background: #070809;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
  font-size: 20px;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: #b9b9b9;
  font-weight: 400;
  letter-spacing: .04em;
  font-size: 10px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid #555;
  background: #111;
  color: #fff;
  border-radius: 5px;
  padding: 8px 10px;
  font: inherit;
}
nav { margin-left: auto; }
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  text-decoration: none;
  color: #eee;
  font-size: 15px;
  white-space: nowrap;
}
nav a:hover, nav a.active { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.page {
  width: min(var(--max), calc(100% - 32px));
  margin: 20px auto 0;
}
.hero {
  width: 100%;
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: #000;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding: 18px 6px 24px;
  align-items: start;
}
.content-grid > section { min-width: 0; }
h1, h2, h3, p, li { overflow-wrap: anywhere; }
h1 { font-size: 22px; margin: 0 0 14px; }
h2 { font-size: 18px; margin: 20px 0 14px; }
h3 { font-size: 17px; margin: 18px 0 8px; }
p { margin: 0 0 18px; }
ul { margin-top: 8px; margin-bottom: 20px; padding-left: 28px; }
strong { color: #fff; }
.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 0 26px;
}
.button {
  display: inline-block;
  text-decoration: none;
  background: var(--button);
  color: var(--button-text);
  padding: 14px 24px;
  border-radius: 7px;
  font-weight: 700;
  border: 0;
}
.button.secondary { background: #222428; color: #fff; border: 1px solid #55585c; }
.footer {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding: 26px 16px 34px;
  text-align: center;
  color: #e5e5e5;
  font-size: 14px;
  background: #0f1012;
}
.footer p { max-width: 1080px; margin: 0 auto 12px; }
.contact-card {
  background: #0a0b0c;
  border: 1px solid #2e3033;
  border-radius: 8px;
  padding: 22px;
  max-width: 760px;
  margin: 28px auto;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display:block; font-weight: 700; margin: 0 0 6px; }
input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #555;
  background: #15171a;
  color: #fff;
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
.full { grid-column: 1 / -1; }
.note { color: var(--muted); font-size: 14px; }
@media (max-width: 920px) {
  body { font-size: 16px; }
  .nav-wrap { flex-wrap: wrap; padding: 12px 0; }
  .nav-toggle { display: block; }
  nav { width: 100%; margin-left: 0; display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  nav a { display:block; width:100%; padding: 10px 0; }
  .content-grid { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .page { width: min(100% - 20px, var(--max)); margin-top: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
}
@media (max-width: 520px) {
  .brand { font-size: 17px; }
  .brand small { font-size: 9px; }
  body { font-size: 15.5px; }
  h2 { font-size: 17px; }
  .page { width: calc(100% - 14px); }
  .content-grid { padding-left: 5px; padding-right: 5px; }
  .button { width: 100%; text-align: center; }
}
