:root {
  --bg: #0b0c10;
  --bg-alt: #101218;
  --surface: #14161d;
  --line: #23262f;
  --text: #f3f4f6;
  --muted: #9aa0ad;
  --accent: #ff4655;
  --accent-soft: rgba(255, 70, 85, 0.14);
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 700; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(16px, 4vw, 40px);
  background: rgba(11, 12, 16, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-dot { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: 0.95rem; color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.lang-switch {
  color: var(--text); font-weight: 500; font-family: var(--font-display);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
}
.lang-switch:hover { border-color: var(--accent); }
@media (max-width: 640px) { .site-nav a:not(.lang-switch) { display: none; } }

.hero {
  position: relative; min-height: 88vh; display: grid; align-items: center; overflow: hidden;
  padding: clamp(64px, 12vh, 140px) clamp(16px, 4vw, 40px);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-content { position: relative; max-width: var(--max); margin: 0 auto; width: 100%; }
.kicker {
  font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 20px;
}
.lead { max-width: 560px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); margin: 28px 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff5d6a; }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(11, 12, 16, 0.5); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { padding: 18px 34px; font-size: 1.15rem; }

.section { padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 40px); max-width: var(--max); margin: 0 auto; }
.section-alt { max-width: none; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  position: relative; padding: 32px 28px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card-index { font-family: var(--font-display); color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.card p { color: var(--muted); }
.card .tags { margin-top: auto; padding-top: 10px; font-size: 0.85rem; color: var(--text); opacity: 0.7; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { border-top: 2px solid var(--accent); padding-top: 18px; }
.step p { color: var(--muted); margin-top: 8px; }

.contact { text-align: center; }
.contact p { color: var(--muted); max-width: 520px; margin: 16px auto 32px; font-size: 1.1rem; }

.site-footer {
  border-top: 1px solid var(--line); padding: 48px clamp(16px, 4vw, 40px) 40px;
  display: grid; gap: 28px; max-width: var(--max); margin: 0 auto;
  font-size: 0.9rem; color: var(--muted);
}
.footer-legal-title { color: var(--text); font-family: var(--font-display); font-weight: 600; margin-bottom: 8px; }
.footer-legal p { line-height: 1.7; }
.footer-legal-en:empty { display: none; }
.footer-legal-en { margin-top: 8px; opacity: 0.75; }
.footer-copy { padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  .site-footer { grid-template-columns: auto 1fr; align-items: start; }
  .footer-copy { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card { transition: none; } }
