:root {
  color-scheme: light dark;
  --ground: #f7f7fb;
  --surface: #ffffff;
  --text: #12131c;
  --muted: #5b5e70;
  --line: #e2e3ec;
  --accent: #5b3fd0;
  --halo: rgba(177, 140, 255, 0.35);
  --cyan: #28e8ff;
  --pink: #ff2fa0;
  --violet: #b18cff;
  --gold: #ffd166;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #05060e;
    --surface: #0d0f1c;
    --text: #eef0fa;
    --muted: #9a9db3;
    --line: #22253a;
    --accent: #b18cff;
    --halo: rgba(177, 140, 255, 0.28);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

header.site a.home {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

header.site nav { display: flex; gap: 18px; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--text); }

main { padding: 40px 0 56px; }

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 28px 0 4px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }

.lede { font-size: 19px; color: var(--muted); margin-bottom: 24px; }
.updated { color: var(--muted); font-size: 15px; }

.app {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px;
  margin: 24px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
}

.app img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  flex: none;
  box-shadow: 0 0 36px var(--halo);
}

.app strong { display: block; font-size: 20px; }
.app span { color: var(--muted); }

.hero { text-align: center; padding-top: 12px; }

.hero img {
  width: 148px;
  height: 148px;
  border-radius: 33px;
  box-shadow: 0 0 80px var(--halo), 0 0 24px var(--halo);
  margin-bottom: 22px;
}

.hero .lede { max-width: 520px; margin: 0 auto 28px; }

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.button:hover { border-color: var(--accent); }

.dots { display: flex; justify-content: center; gap: 10px; margin: 36px 0 0; }
.dots i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 12px currentColor; background: currentColor; }

.contact {
  padding: 18px 20px;
  margin: 18px 0 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.lang { font-size: 15px; color: var(--muted); margin-bottom: 28px; }

hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 8px; }

address { font-style: normal; margin-bottom: 14px; }

footer.site {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

footer.site a { color: var(--muted); }

@media (max-width: 480px) {
  header.site nav { gap: 14px; font-size: 14px; }
  h1 { font-size: 28px; }
  .app { padding: 18px; gap: 16px; }
  .app img { width: 68px; height: 68px; border-radius: 16px; }
}
