:root {
  --bg: #0f1419;
  --card: #1a222c;
  --text: #e8eef4;
  --muted: #9aa8b5;
  --accent: #3dd6c3;
  --accent2: #5b8def;
  --border: #2a3542;
  --max: 880px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(15,20,25,0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.hero {
  padding: 64px 0 40px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 16px;
}
.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 0 28px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #06241f; }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 12px 0 48px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.section { padding: 24px 0 48px; }
.section h2 { margin: 0 0 12px; font-size: 1.45rem; }
.section p, .section li { color: var(--muted); }
.contact-box {
  background: linear-gradient(135deg, #1a2838, #15202b);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin: 12px 0 48px;
}
.contact-box strong { color: var(--text); }
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
footer .footer-left a { color: var(--muted); }
footer .footer-left a:hover { color: var(--text); }
footer .footer-right {
  text-align: right;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #8a97a5;
}
footer .footer-right a {
  color: #8a97a5;
  text-decoration: none;
}
footer .footer-right a:hover { color: var(--text); }
.legal {
  padding: 40px 0 60px;
}
.legal h1 { font-size: 1.8rem; margin: 0 0 8px; }
.legal .meta { color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }



.contact-page { padding: 48px 0 60px; }
.contact-page h1 { margin: 0 0 12px; font-size: 1.8rem; }
.contact-lead { color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.sent-note {
  background: rgba(61,214,195,0.12);
  border: 1px solid var(--accent);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.contact-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-form .optional { font-weight: 400; color: var(--muted); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #121820;
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(61,214,195,0.35);
  border-color: var(--accent);
}
.contact-form button {
  border: none;
  cursor: pointer;
  width: fit-content;
  font: inherit;
}
.form-note { margin: 0; color: var(--muted); font-size: 0.85rem; font-weight: 400; }

.sent-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 520px;
}
.sent-box h1 { margin: 0 0 12px; }
.sent-box p { color: var(--muted); margin: 0 0 24px; }
