/* Shared public-site chrome for index.html and buy.html. */
body {
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 75% 55% at 0% 0%, rgba(99, 102, 241, 0.22) 0%, transparent 100%),
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(37, 99, 235, 0.18) 0%, transparent 100%),
    radial-gradient(ellipse 50% 35% at 50% 110%, rgba(139, 92, 246, 0.10) 0%, transparent 100%);
}

.site-header,
.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 10px;
  height: auto;
  background: transparent;
  border-bottom: 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, #4f8cff 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-copy span,
.site-nav a {
  color: var(--muted);
}

.brand-copy span {
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
}

.page {
  max-width: none;
  padding: 82px 0 88px;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #3f7cff 100%);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.button-secondary {
  border: 1px solid rgba(207, 218, 231, 0.68);
  background: rgba(255, 255, 255, 0.72);
  color: #475569;
}

@media (max-width: 720px) {
  .site-header,
  .page {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .page {
    padding-top: 24px;
  }

  .button {
    width: 100%;
  }
}
