/* Glint Tech — one dark purple theme, taken from the brand slide:
   #8836FC at the top fading to #4E03C7. */
:root {
  color-scheme: dark;
  --top: #8836fc;
  --bottom: #4e03c7;
  --bg: #0d0720;
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f2ff;
  --muted: #b9addb;
  --faint: #8a7fb0;
  --accent: #c4a3ff;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ---------------------------------------------------------------- nav */

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(20, 8, 48, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.nav .mark { padding: 4px 10px 4px 6px; }
.nav .mark img { height: 18px; width: auto; max-width: none; flex-shrink: 0; }
.nav a { flex-shrink: 0; white-space: nowrap; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 96px 24px;
  background: linear-gradient(180deg, var(--top) 0%, var(--bottom) 100%);
  overflow: hidden;
}
/* A soft glow behind the wordmark. */
.hero::before {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}
.hero .wordmark {
  position: relative;
  width: min(560px, 78vw);
  height: auto;
}
.hero .scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero .scroll::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 8px auto 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ---------------------------------------------------------------- sections */

.section {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 88px 20px;
}
/* Purple light spilling down from the hero into the dark page. */
main { position: relative; }
main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 460px;
  background: radial-gradient(70% 100% at 50% 0%, rgba(136, 54, 252, 0.26), transparent 75%);
  pointer-events: none;
}
.page::before { display: none; }
.section.tight { padding-top: 0; }
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.2; margin: 0; }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 12px; }
.lead { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0; }

/* ---------------------------------------------------------------- app cards */

.apps { display: grid; gap: 16px; margin-top: 36px; }
.app {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.app:hover { background: var(--card-hover); }
.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 22.5%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.app h3 { font-size: 22px; }
.app p { color: var(--muted); margin: 6px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(196, 163, 255, 0.14);
  border: 1px solid rgba(196, 163, 255, 0.22);
}
.links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: 15px; }

@media (max-width: 560px) {
  .app { grid-template-columns: 1fr; }
  .app-icon { width: 72px; height: 72px; }
}

/* ---------------------------------------------------------------- contact */

.contact {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(136, 54, 252, 0.22), rgba(78, 3, 199, 0.22));
  border: 1px solid var(--border);
}
.contact p { color: var(--muted); margin: 8px 0 18px; }
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: #3a0a99;
  font-weight: 700;
}
.button:hover { text-decoration: none; opacity: 0.9; }

/* ---------------------------------------------------------------- inner pages */

.page { max-width: 760px; margin: 0 auto; padding: 108px 20px 40px; }
.page header { margin-bottom: 28px; }
.page h1 { font-size: clamp(30px, 5vw, 42px); margin: 8px 0 10px; }
.page .meta { color: var(--faint); font-size: 14px; }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.app-head .app-icon { width: 64px; height: 64px; }
.page p, .page li { color: var(--muted); }
.page strong { color: var(--text); }
.page ul { padding-left: 20px; }
section.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px 18px;
  margin-top: 14px;
}
section.card h2 { font-size: 19px; margin: 18px 0 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tabs a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.tabs a:hover { background: var(--card-hover); text-decoration: none; }
.tabs a[aria-current="page"] { background: #fff; color: #3a0a99; border-color: #fff; }

/* ---------------------------------------------------------------- footer */

footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  color: var(--faint);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--border);
}
footer a { color: var(--muted); }
