:root {
  --bg: #0c0e16;
  --surface: #181b24;
  --surface-tile: #171b2b;
  --border: rgba(84, 88, 106, 0.35);
  --text: #eef1f7;
  --text-secondary: #8b90a3;
  --accent: #d4b26e;
  --accent-light: #e9cf9a;
  --success: #3f9e6b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -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: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
header.site {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
nav.site-nav { display: flex; gap: 24px; font-size: 14px; }
nav.site-nav a { color: var(--text-secondary); }
nav.site-nav a:hover { color: var(--accent); }

/* --- Hero --- */
.hero {
  padding: 96px 0 72px 0;
  text-align: center;
}
.hero .signet-big {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px auto;
}
.hero .tagline {
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 20px 0;
}
.hero p.lead {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

/* --- Sections --- */
section.block { padding: 56px 0; border-top: 1px solid var(--border); }
section.block h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}
section.block p.intro {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 640px;
  margin: 0 0 36px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.feature h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px 0; }
.feature p { color: var(--text-secondary); font-size: 13.5px; margin: 0; }

.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 20px 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
}
.notice strong { color: var(--text); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.contact-card div { min-width: 200px; }
.contact-card .label { color: var(--text-secondary); font-size: 12.5px; margin-bottom: 4px; }
.contact-card .value { font-size: 15px; }

/* --- Footer --- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px 0;
  margin-top: 40px;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
footer.site .legal {
  color: var(--text-secondary);
  font-size: 12.5px;
  max-width: 480px;
  line-height: 1.7;
}
footer.site .links { display: flex; gap: 20px; font-size: 13px; }
footer.site .links a { color: var(--text-secondary); }
footer.site .links a:hover { color: var(--accent); }

/* --- Legal pages (Privacy / Terms) --- */
.legal-page { padding: 64px 0 80px 0; }
.legal-page h1 { font-size: 30px; margin: 0 0 6px 0; }
.legal-page .updated { color: var(--text-secondary); font-size: 13px; margin-bottom: 40px; }
.legal-page h2 {
  font-size: 18px;
  margin: 40px 0 12px 0;
  padding-top: 8px;
}
.legal-page p, .legal-page li { color: var(--text-secondary); font-size: 15px; line-height: 1.75; }
.legal-page ul { padding-left: 20px; }
.legal-page strong { color: var(--text); }

@media (max-width: 720px) {
  .hero h1 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  section.block { padding: 40px 0; }
  .contact-card { flex-direction: column; gap: 20px; }
}
