:root {
  color-scheme: light dark;
  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-muted: #eef0ff;
  --text: #1a1c24;
  --text-muted: #5e6278;
  --accent: #4f46ef;
  --accent-strong: #8b5cf6;
  --border: rgba(20, 24, 40, 0.08);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

.hero {
  background: radial-gradient(circle at 20% 20%, rgba(79, 70, 239, 0.15), transparent),
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.25), transparent),
    #070814;
  color: #f9fbff;
  padding: 4rem 1.5rem 5rem;
}

.hero__content {
  max-width: 960px;
  margin: 0 auto;
}

.hero h1 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.1rem;
  max-width: 620px;
}

.hero__meta {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.hero__meta-item .label {
  margin: 0;
}

.hero__meta a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.sticky-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  z-index: 10;
}

.sticky-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 45px rgba(15, 24, 61, 0.08);
}

.panel--muted {
  background: var(--surface-muted);
}

.section-heading h2 {
  margin: 0.25rem 0 1rem;
  font-size: 2rem;
}

.section-heading .intro {
  max-width: 640px;
  color: var(--text-muted);
}

.policy ul {
  padding-left: 1.1rem;
  color: var(--text);
}

.policy li + li {
  margin-top: 0.4rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.app-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.app-card__meta {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover,
.sticky-nav a:hover {
  color: var(--accent-strong);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05050b;
    --surface: #0f111a;
    --surface-muted: #141729;
    --text: #f6f7ff;
    --text-muted: #b4bbd6;
    --border: rgba(255, 255, 255, 0.08);
  }

  .app-card {
    background: #141729;
  }

  .sticky-nav {
    background: rgba(8, 9, 20, 0.85);
    border-color: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 640px) {
  .panel {
    padding: 1.75rem;
  }

  .sticky-nav {
    justify-content: space-around;
    flex-wrap: wrap;
  }
}
