:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: #f6f4fb;
  color: #252033;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 0%, rgba(155, 130, 215, 0.2), transparent 30rem),
    radial-gradient(circle at 92% 14%, rgba(244, 184, 205, 0.22), transparent 28rem),
    #f6f4fb;
  color: #252033;
}

a {
  color: #7357ad;
}

.site-header {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 24px;
  background: linear-gradient(145deg, #4a3f73, #a182d6 58%, #f0a9c3);
  box-shadow: 0 10px 24px rgba(77, 61, 112, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.site-nav a {
  color: #5d536d;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: #252033;
  font-weight: 700;
}

main {
  width: min(920px, calc(100% - 40px));
  margin: 26px auto 64px;
}

.hero {
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid rgba(87, 68, 124, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(62, 45, 91, 0.09);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 10px;
  color: #8063bb;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 7vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 700px;
  margin: 22px 0 0;
  color: #5d536d;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.6;
}

.meta {
  margin: 20px 0 0;
  color: #766d82;
  font-size: 14px;
}

.content {
  width: min(760px, 100%);
  margin: 40px auto 0;
}

.content section {
  padding: 26px 0;
  border-bottom: 1px solid rgba(68, 53, 94, 0.12);
}

.content section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 31px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

p,
li {
  color: #554c62;
  font-size: 16px;
  line-height: 1.75;
}

ul,
ol {
  padding-left: 1.35rem;
}

.notice {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(119, 91, 174, 0.09);
  color: #4f4365;
}

.contact-card {
  padding: 24px;
  border-radius: 22px;
  background: #312a42;
  color: white;
}

.contact-card h2,
.contact-card p,
.contact-card a {
  color: white;
}

.contact-card a {
  font-weight: 700;
}

.language-divider {
  width: min(760px, 100%);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 2px solid rgba(68, 53, 94, 0.13);
}

footer {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 40px;
  color: #766d82;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 600px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  main {
    margin-top: 14px;
  }

  .hero {
    border-radius: 24px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #15121c;
    color: #f4effb;
  }

  body {
    background:
      radial-gradient(circle at 8% 0%, rgba(116, 88, 170, 0.25), transparent 30rem),
      radial-gradient(circle at 92% 14%, rgba(164, 83, 116, 0.18), transparent 28rem),
      #15121c;
    color: #f4effb;
  }

  .hero {
    border-color: rgba(227, 213, 247, 0.1);
    background: rgba(35, 29, 46, 0.78);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  }

  .site-nav a,
  .lede,
  .meta,
  p,
  li {
    color: #c9bfd5;
  }

  .site-nav a[aria-current="page"] {
    color: #f4effb;
  }

  a {
    color: #c5a8f5;
  }

  .notice {
    background: rgba(172, 136, 230, 0.12);
    color: #d7c8eb;
  }

  .contact-card {
    background: #302743;
  }
}
