:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --orb-a: #7aa2ff;
  --orb-b: #c58bff;
  --ok: #1d8f4e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #161618;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.12);
    --orb-a: #2b4fd6;
    --orb-b: #7a2bd6;
    --ok: #30d158;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.orb {
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.orb-a { background: var(--orb-a); top: -30vmax; left: -18vmax; animation: drift 18s ease-in-out infinite alternate; }
.orb-b { background: var(--orb-b); bottom: -34vmax; right: -20vmax; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
}

.top, .center, .bottom { position: relative; z-index: 1; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 4vw, 40px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }

.langs { display: flex; gap: 4px; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 980px; }
.langs button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 6px 12px;
  border-radius: 980px;
  cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 22px 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 980px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(48, 209, 88, 0); }
  100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); }
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
  background: linear-gradient(90deg, #3b6cff 0%, #8a4dff 50%, #e0479e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-color-scheme: dark) {
  h1 { background-image: linear-gradient(90deg, #6f95ff 0%, #b17dff 50%, #ff6ab8 100%); }
}

.lead {
  margin: 24px 0 0;
  max-width: 600px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  text-wrap: balance;
}

.bottom { padding: 22px; text-align: center; font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .orb, .dot { animation: none; }
}
