:root {
  color-scheme: dark;
  --bg: #090c17;
  --surface: #151928;
  --surface-raised: #1d2234;
  --ink: #fffaf1;
  --muted: #b7bac6;
  --orange: #ff5c21;
  --amber: #ffb12e;
  --line: rgba(255, 255, 255, .12);
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 4%, rgba(255, 92, 33, .16), transparent 30rem),
    radial-gradient(circle at 0 75%, rgba(73, 58, 180, .2), transparent 34rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.site-header,
.site-footer,
.site-page {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -.035em;
  text-decoration: none;
}

.mark {
  width: 2.3rem;
  aspect-ratio: 1;
  border-radius: .7rem;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 .5rem 1.7rem rgba(255, 92, 33, .25);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }

.site-page { padding: clamp(3.5rem, 9vw, 8rem) 0 6rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--amber);
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .95;
  letter-spacing: -.065em;
}

.intro {
  max-width: 43rem;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.55;
}

.grid,
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.card,
.app-card,
.article {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(21, 25, 40, .82);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .18);
}

.card,
.app-card { padding: 1.6rem; }

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
}

.card-icon,
.app-icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  aspect-ratio: 1;
  margin-bottom: 2.5rem;
  border-radius: 1rem;
  background: var(--surface-raised);
  color: var(--amber);
  font-size: 1.4rem;
  font-weight: 900;
}

.app-icon { margin-bottom: 0; }

.card h2,
.app-card h2,
.article h2 {
  margin: 0 0 .65rem;
  font-size: 1.35rem;
  letter-spacing: -.025em;
}

.card p,
.app-card p,
.article p,
.article li {
  color: var(--muted);
  line-height: 1.65;
}

.article {
  max-width: 52rem;
  margin-top: 3rem;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.article section + section {
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.article a { color: #ffd18a; }

.text-link {
  color: #ffd18a;
  font-weight: 800;
  text-decoration: none;
}

.coming-soon {
  color: #858a9b;
  font-size: .9rem;
  font-weight: 700;
}

.steps { padding-left: 1.35rem; }

.button {
  display: inline-flex;
  margin-top: 1rem;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  color: var(--bg);
  background: linear-gradient(110deg, var(--orange), var(--amber));
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.site-footer p { margin: 0; }

@media (max-width: 38rem) {
  .site-header,
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
  .site-page { padding-top: 3rem; }
  .app-card { grid-template-columns: 1fr; }
}
