/* fswap promo — palette derived from 1.fswap.app */
:root {
  --blue: #0d6efd;
  --blue-soft: rgba(13, 110, 253, 0.12);
  --ink: #212529;
  --muted: #6c757d;
  --line: #dee2e6;
  --bg: #f8f9fa;
  --white: #ffffff;
  --radius: 6px;
  --font-display: "Space Grotesk", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Space Grotesk", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

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

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 12% 8%, rgba(13, 110, 253, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 18%, rgba(25, 135, 84, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 85%, rgba(13, 110, 253, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #eef3f9 100%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(12px);
  background: rgba(248, 249, 250, 0.78);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.logo--hero img {
  width: clamp(140px, 28vw, 220px);
  height: clamp(140px, 28vw, 220px);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(13, 110, 253, 0.18);
  animation: brand-in 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Buttons — fswap-like */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

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

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue-soft);
}

/* Hero */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  text-align: center;
}

/* Footer */
.site-footer {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@keyframes brand-in {
  from {
    transform: translateY(18px) scale(0.96);
  }
  to {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0.85rem 1rem;
  }
}
