:root {
  --brand-purple: #541a69;
  --brand-pink: #ec59b9;
  --brand-ink: #2a1233;
  --brand-muted: #6b5a72;
  --brand-line: #ece5f0;
  --brand-bg: #faf7fc;
  --gradient: linear-gradient(120deg, #de5cc8 0%, #8353e4 55%, #fea175 100%);
  --radius: 16px;
  --shadow: 0 18px 45px -22px rgba(84, 26, 105, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--brand-ink);
  background: var(--brand-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-purple);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.site-header .logo {
  height: 46px;
  width: auto;
  display: block;
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 13px;
}

.lang-switch a {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--brand-muted);
  border: 1px solid var(--brand-line);
  background: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lang-switch a[aria-current="true"] {
  color: #fff;
  background: var(--brand-purple);
  border-color: var(--brand-purple);
}

main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero {
  text-align: center;
  max-width: 640px;
  padding: 32px 8px 40px;
}

.hero .mark {
  height: 128px;
  width: auto;
  margin: 0 auto 8px;
  display: block;
}

.hero h1 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--brand-muted);
  font-size: 17px;
  margin: 0 0 28px;
}

.hero .contact {
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -20px rgba(84, 26, 105, 0.55);
}

.btn:active {
  transform: translateY(0);
}

.site-footer {
  border-top: 1px solid var(--brand-line);
  padding: 14px 24px 20px;
  background: #fff;
}

.site-footer .inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--brand-muted);
}

.site-footer a {
  color: var(--brand-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-purple);
  text-decoration: underline;
}

.site-footer .sep {
  color: var(--brand-line);
}

/* Document pages (legal, privacy, terms) */
.doc {
  display: block;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 4px 48px;
  text-align: left;
}

.doc h1 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 4px 0 4px;
  letter-spacing: -0.02em;
}

.doc .updated {
  color: var(--brand-muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.doc h2 {
  font-size: 19px;
  margin: 32px 0 8px;
}

.doc p,
.doc li {
  font-size: 15.5px;
  color: #3d2b45;
}

.doc ul {
  padding-left: 20px;
}

.doc .ph {
  background: #fff3c4;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

.callout {
  border: 1px solid var(--brand-line);
  border-left: 4px solid var(--brand-pink);
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 24px 0;
}

.callout p {
  margin: 0;
  font-size: 15px;
}

.legal-links {
  list-style: none;
  padding: 0;
  margin: 24px 0 8px;
  display: grid;
  gap: 14px;
}

.legal-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.legal-links a:hover {
  border-color: var(--brand-pink);
  box-shadow: var(--shadow);
}

.legal-links .arrow {
  color: var(--brand-pink);
  font-size: 20px;
}

.back {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 520px) {
  .site-header {
    padding: 16px;
  }
  .site-header .logo {
    height: 38px;
  }
  main {
    padding: 16px;
  }
  .hero .mark {
    height: 104px;
  }
}
