:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --text: #f5f5ef;
  --muted: #9c9c95;
  --line: #262626;
  --accent: #d9ff55;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 18%, rgba(217,255,85,.08), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: .17em;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(217,255,85,.5);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: .08em;
}
.lang-switch button[aria-pressed="true"] { color: var(--text); }

[data-lang] { display: none; }
[data-lang].is-active { display: block; }

.home {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero {
  display: flex;
  align-items: center;
  padding: 44px 0 64px;
}

.hero-inner { width: 100%; }

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}

.hero h1 {
  margin: 0;
  max-width: 1150px;
  font-size: clamp(48px, 7.4vw, 114px);
  line-height: .94;
  letter-spacing: -.058em;
  font-weight: 680;
}

.lead {
  margin: 30px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.5;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: #d2d2cb;
  font-size: 13px;
}

.contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 42px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: clamp(20px, 2vw, 29px);
  border-bottom: 1px solid #555;
  padding-bottom: 4px;
}
.cta:hover, .cta:focus-visible { border-color: var(--accent); }

.meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--line);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--text); }

/* Legal pages */
.legal-main {
  padding: 70px 0 100px;
}
.legal-wrap {
  max-width: 880px;
}
.back {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.back:hover { color: var(--text); }

.legal-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 14px;
}

.legal-main h1 {
  margin: 0 0 48px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -.045em;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  margin: 0 0 16px;
  font-size: 18px;
}
.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 15px;
}
.legal-section p,
.legal-section li,
.legal-section dd,
.legal-section dt {
  color: #c5c5be;
  line-height: 1.7;
  font-size: 14px;
}
.legal-section p { margin: 10px 0; }
.legal-section ul {
  margin: 12px 0;
  padding-left: 22px;
}
.legal-section dl {
  display: grid;
  grid-template-columns: minmax(180px, 230px) 1fr;
  column-gap: 24px;
  row-gap: 12px;
  margin: 0;
}
.legal-section dt { color: var(--muted); }
.legal-section dd { margin: 0; }
.legal-section a {
  text-underline-offset: 3px;
}
.note {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--panel);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .shell { width: min(100% - 36px, var(--max)); }
  .site-header { min-height: 74px; }
  .home { min-height: calc(100vh - 74px); }
  .hero { align-items: flex-start; padding: 76px 0 58px; }
  .hero h1 { font-size: clamp(46px, 14vw, 72px); }
  .lead { margin-top: 24px; }
  .contact-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-footer { padding: 18px 0; align-items: flex-start; flex-direction: column; }
  .legal-main { padding: 50px 0 80px; }
  .legal-main h1 { margin-bottom: 38px; }
  .legal-section dl { grid-template-columns: 1fr; row-gap: 4px; }
  .legal-section dd { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
