/* Leaflyte marketing site — standalone, not part of the Next.js app */

:root {
  --bg: #16171b;
  --surface: #1d1f24;
  --surface2: #25272e;
  --border: #2c2f37;
  --text: #e8e6e1;
  --muted: #8b8d93;
  --amber: #c97a4a;
  --font: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

.glow {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  height: 280px;
  background: radial-gradient(
    ellipse 80% 60% at 50% -10%,
    color-mix(in srgb, var(--amber) 18%, transparent),
    transparent
  );
  opacity: 0.25;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  position: relative;
  isolation: isolate;
  margin: 0 calc(50% - 50vw);
  padding: 72px calc(50vw - 50% + 24px) 72px;
  min-height: min(72vh, 640px);
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to bottom,
      rgba(22, 23, 27, 0.5) 0%,
      rgba(22, 23, 27, 0.82) 62%,
      var(--bg) 100%
    ),
    url('assets/pixelforest.webp') center top / cover no-repeat;
  image-rendering: pixelated;
}

.hero-content {
  position: relative;
}

.hero h1,
.hero .lead {
  text-shadow: 0 1px 24px rgba(22, 23, 27, 0.85);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 11px;
  color: var(--muted);
}

.pill strong {
  color: var(--amber);
  font-weight: 500;
}

.hero-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  image-rendering: pixelated;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 .accent {
  color: var(--amber);
}

.lead {
  margin: 20px auto 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 2.5vw, 1.125rem);
  color: var(--muted);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.coming-soon {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.closing .coming-soon {
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: var(--amber);
  color: #16171b;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.9;
}

.btn svg {
  flex-shrink: 0;
}

.fine-print {
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
}

.fine-print a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.features {
  display: grid;
  gap: 16px;
  margin: 48px 0 80px;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  text-align: left;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--surface2);
  color: var(--amber);
}

.feature h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
}

.feature p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.closing {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.closing h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.closing p {
  margin: 12px auto 0;
  max-width: 32rem;
  font-size: 13px;
  color: var(--muted);
}

.closing .cta-row {
  margin-top: 32px;
}

.site-footer {
  margin-top: 48px;
  padding: 32px 0 40px;
  border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
