:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #14171c;
  --muted: #5d6470;
  --border: #e3e4e0;
  --accent: #0e7a64;
  --accent-soft: #e2f3ed;
  --amber: #a5630b;
  --amber-soft: #fbefd9;
  --shadow: 0 1px 2px rgb(20 23 28 / 0.04), 0 8px 24px rgb(20 23 28 / 0.06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a20;
    --text: #e9ecef;
    --muted: #9aa1ab;
    --border: #262a32;
    --accent: #5ce0b4;
    --accent-soft: #11302a;
    --amber: #f0b45a;
    --amber-soft: #33270f;
    --shadow: none;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

.nav nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.nav nav a {
  color: var(--muted);
  text-decoration: none;
}

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

/* Hero */

.hero {
  padding-top: 96px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
}

.lead {
  max-width: 540px;
  margin: 20px 0 32px;
  color: var(--muted);
  font-size: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* Sections */

.section {
  padding-top: 40px;
  padding-bottom: 40px;
  scroll-margin-top: 60px;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.icon-drift {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--amber);
}

.card h3 {
  font-size: 20px;
}

.card p {
  flex: 1;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.card-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.card-link.muted {
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status.live {
  background: var(--accent-soft);
  color: var(--accent);
}

.status.building {
  background: var(--amber-soft);
  color: var(--amber);
}

/* About */

.about {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: start;
}

.about p {
  max-width: 620px;
  margin: 0 0 12px;
  color: var(--muted);
}

.about a {
  color: var(--accent);
}

.avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
}

/* Support */

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px dashed var(--border);
  border-radius: 14px;
}

.support h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.support p {
  margin: 0;
  color: var(--muted);
}

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  text-decoration: none;
}

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

@media (max-width: 640px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav nav {
    gap: 14px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .avatar {
    width: 72px;
    height: 72px;
    font-size: 24px;
  }

  .support,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .card {
    transition: none;
  }
}
