:root {
  --ink: #2a2f55;
  --muted: #4f5986;
  --line: #c6cce8;
  --violet: #9d64ff;
  --blue: #4f8dff;
  --gold: #f0be73;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 14%, rgba(157, 100, 255, 0.24), transparent 36%),
    radial-gradient(circle at 76% 16%, rgba(79, 141, 255, 0.22), transparent 34%),
    radial-gradient(circle at 66% 70%, rgba(240, 190, 115, 0.16), transparent 32%),
    linear-gradient(165deg, #f4f5ff 0%, #edf0ff 46%, #eaf5ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: none;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(10px);
  background: #f6f8ff;
  border-bottom: 1px solid #d6ddfb;
  display: flex;
  justify-content: space-between;
  padding: 18px 44px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #2a2f55;
  font-size: 0.96rem;
  font-weight: 650;
}

.hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(380px, 1fr) minmax(420px, 1fr);
  margin: 0 auto;
  max-width: 1220px;
  min-height: calc(100vh - 74px);
  padding: 40px 28px 56px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-logo-wrap {
  margin: 0;
  position: relative;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  left: 48%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(45vw, 560px);
  height: min(28vw, 320px);
  background:
    radial-gradient(circle at 40% 46%, rgba(157, 100, 255, 0.28), rgba(157, 100, 255, 0) 60%),
    radial-gradient(circle at 70% 50%, rgba(79, 141, 255, 0.24), rgba(79, 141, 255, 0) 56%),
    radial-gradient(circle at 56% 70%, rgba(240, 190, 115, 0.2), rgba(240, 190, 115, 0) 52%);
  filter: blur(28px);
  z-index: 0;
}

.hero-logo {
  display: block;
  width: min(44vw, 520px);
  height: auto;
  position: relative;
  z-index: 1;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
  max-width: 640px;
}

.hero-text {
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.72;
  margin: 18px 0 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.solid-button,
.ghost-button {
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 20px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.solid-button {
  background: linear-gradient(135deg, #a873ff, #4f8dff);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(79, 141, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ghost-button {
  background: #ffffff;
  color: #2a2f55;
  border: 1px solid #bfc8ee;
}

.solid-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .hero {
    gap: 22px;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 98px);
    padding: 24px 16px 42px;
  }

  .hero-right {
    text-align: center;
  }

  .hero h1,
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-logo {
    width: min(94vw, 560px);
  }

  .hero-logo-wrap::before {
    width: min(94vw, 560px);
    height: min(54vw, 320px);
  }
}
