:root {
  --bg: #0b1120;
  --bg-2: #111a2e;
  --line: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #f97316;
  --accent-2: #38bdf8;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, #1e3a5f55, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, #7c2d1244, transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }

.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.kite { position: absolute; width: 90px; opacity: .85; animation: drift 9s ease-in-out infinite; }
.kite-a { top: 12%; right: 10%; transform: rotate(12deg); }
.kite-b { top: 48%; right: 24%; width: 56px; opacity: .55; animation-duration: 12s; animation-delay: -3s; }

@keyframes drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: -14px -18px; rotate: -6deg; }
}

@media (prefers-reduced-motion: reduce) { .kite { animation: none; } }

.top, main, .foot { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.top { padding-top: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; text-decoration: none; font-size: 1.1rem; }

.hero { padding: 14vh 0 10vh; max-width: 760px; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin: 0 0 16px; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 24px; }
.lede { color: var(--muted); font-size: 1.2rem; max-width: 600px; margin: 0; }

h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 18px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 24px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-2), #0d1526);
  text-decoration: none; transition: border-color .2s, transform .2s;
}
a.card:hover, a.card:focus-visible { border-color: var(--accent); transform: translateY(-2px); outline: none; }
.card-name { font-weight: 700; font-size: 1.25rem; }
.card-desc { color: var(--muted); flex: 1; }
.card-url { color: var(--accent); font-size: .9rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.card-soon { border-style: dashed; }
.card-soon .card-url { color: var(--muted); }

.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 12vh 0 8vh; }
.how h3 { margin: 0 0 6px; font-size: 1.05rem; }
.how h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent-2); margin-right: 10px; vertical-align: middle; rotate: 45deg; }
.how p { margin: 0; color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 40px; color: var(--muted); font-size: .9rem; }

.lost { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.lost p { color: var(--muted); }
.lost a { color: var(--accent); }

@media (max-width: 640px) {
  .kite-a { width: 60px; top: 6%; right: 6%; }
  .kite-b { display: none; }
  .hero { padding-top: 10vh; }
}
