:root {
  --font: "Urbanist", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --bg: #f4f7f4;
  --bg-deep: #e7efe8;
  --ink: #102018;
  --muted: #4d5f55;
  --line: #1020181a;
  --accent: #137a50;
  --accent-ink: #0c5c3b;
  --on-accent: #f3fbf6;
  --surface: #ffffffd9;
  --radius: 22px;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 12% -10%, #c8e8d480, transparent 60%),
    radial-gradient(700px 420px at 90% 8%, #d9ebdf99, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.5;
}

a { color: var(--accent-ink); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent) !important;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}
.nav-cta:hover {
  background: var(--accent-ink);
  transform: translateY(-1px);
}

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 4rem; }

.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 3rem;
  max-width: 42rem;
  animation: rise 700ms var(--ease) both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-ink);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lede {
  margin: 1.15rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover { background: var(--accent-ink); color: var(--on-accent); }
.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.section-head {
  margin: 2.5rem 0 1.25rem;
  max-width: 36rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.app-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.app-card {
  height: 100%;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -28px #10201855;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}
.app-card--live:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.app-card--soon { opacity: 0.78; }

.app-tag {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.app-card--soon .app-tag { color: var(--muted); }

.app-card h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.app-card h3 a {
  color: inherit;
  text-decoration: none;
}
.app-card h3 a:hover { color: var(--accent); }
.app-card p { margin: 0.55rem 0 0; color: var(--muted); }
.app-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.steps {
  margin: 0;
  padding: 1.2rem 1.2rem 1.2rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: color-mix(in srgb, #fff 70%, transparent);
}
.steps li + li { margin-top: 0.55rem; }
.steps strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.92rem;
}
.foot a { text-decoration: none; font-weight: 500; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 3rem; }
}
