:root {
  --bg: #0d0e12;
  --bg-soft: #15161b;
  --line: #26272e;
  --text: #ececee;
  --muted: #9a9ba3;
  --accent: #ff9a2e;
  --accent-glow: rgba(255, 154, 46, 0.35);
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 14, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: 0.04em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span b { font-weight: 800; }
.brand span i { font-style: normal; font-weight: 400; letter-spacing: 0.18em; margin-left: 4px; }
.nav ul { display: flex; gap: 24px; list-style: none; }
.nav ul a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.nav ul a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 72px 20px 80px; }
.hero .mark { width: min(300px, 70vw); height: auto; display: block; margin: 0 auto 28px; mix-blend-mode: lighten; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: 0.04em; line-height: 1.1; }
.hero h1 span { font-weight: 400; letter-spacing: 0.2em; }
.hero p.lead { color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 620px; margin: 18px auto 32px; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 10px;
  background: var(--accent); color: #111; font-weight: 700;
  box-shadow: 0 0 28px var(--accent-glow);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 700; margin-bottom: 14px; }
section p.intro { color: var(--muted); max-width: 700px; margin-bottom: 36px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.contact-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 30px; max-width: 560px; }
.contact-box dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; }
.contact-box dt { color: var(--muted); }
.contact-box dd { font-weight: 500; }

/* Legal pages */
.legal { padding: 56px 20px 72px; max-width: 800px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #c9cad0; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 0.88rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 18px; }
footer a:first-child { margin-left: 0; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .nav ul { gap: 16px; }
  .nav ul li.hide-sm { display: none; }
  .brand span i { display: none; }
  .contact-box dl { grid-template-columns: 1fr; gap: 2px; }
  .contact-box dd { margin-bottom: 12px; }
  footer .wrap { flex-direction: column; }
}
