:root {
  --bg: #f4f5f7;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --text: #121418;
  --text-soft: #58606d;
  --line: rgba(18, 20, 24, 0.09);
  --accent: #151e2f;
  --accent-soft: #33415c;
  --shadow: 0 24px 70px rgba(20, 28, 40, 0.08);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(35, 52, 85, 0.08), transparent 30%),
    linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.9rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

.legal-company {
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 248, 250, 0.78);
  border-bottom: 1px solid rgba(18, 20, 24, 0.06);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.site-nav a {
  color: var(--text-soft);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(21, 30, 47, 0.06);
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.7);
  font-size: 1rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem;
  border: 1px solid rgba(18,20,24,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 38px;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
}

.language-link.is-active {
  background: var(--accent);
  color: #fff;
}

.language-link:hover,
.language-link:focus-visible {
  background: rgba(21, 30, 47, 0.08);
  color: var(--text);
}

.language-link.is-active:hover,
.language-link.is-active:focus-visible {
  background: var(--accent);
  color: #fff;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  align-items: stretch;
}

.eyebrow,
.section-label,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-soft);
}

.eyebrow { margin: 0 0 1rem; }
.lead {
  max-width: 62ch;
  font-size: 1.18rem;
  color: var(--text-soft);
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.button-secondary {
  background: rgba(255,255,255,0.62);
  color: var(--text);
  border: 1px solid rgba(18,20,24,0.1);
}

.hero-card,
.feature-card,
.project-card,
.contact-card,
.content-block {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card {
  overflow: hidden;
}

.hero-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-body {
  padding: 1.35rem;
}

.hero-project-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-project-list article + article {
  padding-top: 1rem;
  border-top: 1px solid rgba(18,20,24,0.08);
}

.hero-project-list h2 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.hero-project-list p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--accent);
}

.project-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.project-links-vertical {
  flex-direction: column;
  align-items: flex-start;
}

.platform-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.platform-button img {
  width: 26px;
  height: 26px;
}

.platform-button--steam {
  background: #1b2838;
  border-color: #1b2838;
}

.platform-button--youtube {
  background: #ff0000;
  border-color: #ff0000;
}

.platform-button--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af 78%, #515bd4);
  border-color: #c13584;
}

.platform-button--tiktok {
  background: #111111;
  border-color: #111111;
}

.platform-button:hover,
.platform-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.section {
  padding: 2rem 0 4.4rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0));
}

.section-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
}

.contact-grid-single {
  grid-template-columns: 1fr;
}

.content-block,
.contact-card {
  padding: 1.6rem;
}

.section-heading.narrow {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-copy,
.content-block p,
.feature-card p,
.contact-card p,
.footer-inner p {
  color: var(--text-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.35rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  padding: 1.45rem;
}

.project-card-head {
  margin-bottom: 1rem;
}

.project-points {
  margin: 1.1rem 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.project-points li + li {
  margin-top: 0.45rem;
}

.project-note {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0;
}

.social-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(18,20,24,0.08);
  font-weight: 600;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(21, 30, 47, 0.06);
}

.site-footer {
  padding: 1.4rem 0 2rem;
  border-top: 1px solid rgba(18,20,24,0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero-grid,
  .section-grid,
  .contact-grid,
  .feature-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html { font-size: 14px; }

  .header-inner {
    min-height: 72px;
    align-items: center;
  }

  .header-controls {
    gap: 0.55rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .language-switch {
    order: 1;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 0.35rem);
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: min(240px, calc(100vw - 2rem));
    padding: 0.9rem 0.75rem 0.75rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(18,20,24,0.08);
    box-shadow: 0 24px 50px rgba(20, 28, 40, 0.12);
    transform-origin: top right;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.is-open::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 16px;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid rgba(18,20,24,0.08);
    border-left: 1px solid rgba(18,20,24,0.08);
    transform: rotate(45deg);
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .language-link {
    min-width: 40px;
    min-height: 36px;
    padding: 0 0.7rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  h1 {
    font-size: clamp(2.3rem, 10vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .lead {
    font-size: 1.04rem;
  }

  .hero-card-body,
  .content-block,
  .contact-card,
  .feature-card {
    padding: 1.1rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav a,
  .button,
  .social-links a {
    transition: none;
  }
}
