:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5d6778;
  --line: #e6dff4;
  --blue: #7954ed;
  --blue-dark: #4d27a8;
  --blue-deep: #32166f;
  --sky: #ae8bff;
  --surface: rgba(255, 255, 255, 0.95);
  --shadow: 0 20px 60px rgba(18, 67, 133, 0.12);
  --shadow-soft: 0 10px 28px rgba(18, 67, 133, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 5% 2%, rgba(174, 139, 255, 0.22), transparent 27rem),
    radial-gradient(circle at 96% 15%, rgba(121, 84, 237, 0.14), transparent 24rem),
    linear-gradient(180deg, #fbfdff 0%, #f1f6fc 48%, #f8fbff 100%);
  color: var(--ink);
  font: 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--blue-dark); font-weight: 700; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
main { width: min(960px, calc(100% - 32px)); margin: 32px auto 24px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 48px;
  border: 1px solid rgba(121, 84, 237, 0.22);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(239, 247, 255, 0.96));
  box-shadow: var(--shadow);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; }
.hero::before { width: 310px; height: 310px; right: -106px; top: -122px; background: linear-gradient(145deg, rgba(174, 139, 255, 0.38), rgba(121, 84, 237, 0.10)); }
.hero::after { width: 180px; height: 180px; right: 72px; bottom: -126px; border: 28px solid rgba(121, 84, 237, 0.10); }

.hero-brands { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 54px; height: 54px; object-fit: contain; padding: 3px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(18, 67, 133, 0.14); }
.brand-name { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.brand-studio { color: var(--muted); font-size: 0.82rem; font-weight: 650; }
.studio-mark { flex: 0 1 268px; width: 268px; max-width: 100%; height: 88px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 18px; background: #040907; box-shadow: 0 12px 28px rgba(8, 25, 43, 0.16); }
.studio-mark img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.eyebrow { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--blue-dark); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--blue)); box-shadow: 0 0 0 5px rgba(121, 84, 237, 0.12); }
h1, h2 { line-height: 1.25; }
h1 { position: relative; z-index: 1; max-width: 760px; margin: 0; font-size: clamp(2.35rem, 7vw, 4.55rem); letter-spacing: -0.055em; }
.lead { position: relative; z-index: 1; max-width: 700px; margin: 18px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.13rem); }
.meta-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.meta-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border: 1px solid #d8e7f8; border-radius: 999px; background: rgba(241, 247, 255, 0.94); color: #36516f; font-size: 0.82rem; font-weight: 700; }

.page-nav { position: sticky; z-index: 10; top: 12px; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; padding: 10px; border: 1px solid rgba(211, 225, 243, 0.92); border-radius: 18px; background: rgba(255, 255, 255, 0.90); box-shadow: var(--shadow-soft); backdrop-filter: blur(16px); }
.page-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border-radius: 12px; color: #33445b; text-decoration: none; font-size: 0.91rem; }
.page-nav a:hover, .page-nav a:focus-visible { background: #efe8ff; color: var(--blue-deep); outline: none; }
.page-nav .primary-link { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; }
.page-nav .primary-link:hover { color: #fff; filter: brightness(0.97); }

.language-block { scroll-margin-top: 92px; }
.language-title { display: flex; align-items: center; gap: 13px; margin: 34px 4px 15px; color: #20334e; font-size: 1.22rem; letter-spacing: -0.02em; }
.language-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

section { margin-bottom: 12px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 7px 24px rgba(18, 67, 133, 0.05); }
section h2 { margin: 0 0 9px; color: #4d27a8; font-size: 1.18rem; letter-spacing: -0.015em; }
section p, section li { color: #334155; }
section p { margin: 0; }
section p + p, section ul { margin-top: 10px; }
section ul { margin-bottom: 0; padding-left: 22px; }
section.notice { border-color: #c9def6; background: linear-gradient(135deg, #fbfdff, #f4efff); box-shadow: 0 12px 30px rgba(18, 77, 151, 0.08); }
section.notice h2 { color: var(--blue-dark); }

.contact-card { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; margin-top: 28px; padding: 22px 24px; border: 1px solid #cbdff5; border-radius: 20px; background: linear-gradient(135deg, #eef6ff, #ffffff); }
.contact-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: white; font-size: 1.15rem; font-weight: 900; }
.contact-card strong { display: block; margin-bottom: 2px; }
.contact-card > div { min-width: 0; overflow-wrap: anywhere; }
footer { padding: 30px 16px 18px; color: var(--muted); text-align: center; font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 8px; }

@media (max-width: 640px) {
  main { width: min(100% - 20px, 960px); margin-top: 10px; }
  .hero { min-height: 0; padding: 26px 22px 30px; border-radius: 24px; }
  .hero::before { width: 210px; height: 210px; right: -110px; top: -100px; }
  .hero-brands { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
  .studio-mark { flex: none; width: 246px; height: 82px; border-radius: 16px; }
  .brand img { width: 48px; height: 48px; border-radius: 14px; }
  h1 { font-size: clamp(2.15rem, 12vw, 3.2rem); }
  .lead { margin-top: 14px; }
  .page-nav { top: 7px; margin: 12px 0 24px; border-radius: 16px; }
  .page-nav a { flex: 1 1 42%; justify-content: center; padding-inline: 10px; font-size: 0.84rem; text-align: center; }
  .language-title { margin-top: 28px; }
  section { padding: 20px 19px; border-radius: 17px; }
  section h2 { font-size: 1.08rem; }
  .contact-card { grid-template-columns: 38px 1fr; padding: 18px; }
  .contact-icon { width: 38px; height: 38px; border-radius: 12px; }
}

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


.hero-brands .brand { min-width:0; flex:1 1 260px; }
.brand-name, section, .lead { overflow-wrap:anywhere; }
@media(max-width:640px){.studio-mark{align-self:flex-end;} .page-nav{position:static;} .language-block{scroll-margin-top:16px;}}
