:root {
  --bg: #0a0a0f;
  --bg-alt: #0f0f17;
  --panel: #13131c;
  --panel-border: #22222f;
  --text: #f4f4f6;
  --text-muted: #9a9aab;
  --accent: #22d3ee;
  --accent-2: #6366f1;
  --radius: 14px;
  --max-width: 960px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* background decoration */

.bg-glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  z-index: -2;
  pointer-events: none;
}

.bg-glow--one {
  top: -180px;
  left: -140px;
  background: var(--accent-2);
}

.bg-glow--two {
  top: 300px;
  right: -200px;
  background: var(--accent);
  opacity: 0.15;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid var(--panel-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  min-height: 68px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #05050a;
}

.logo-word {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
}

/* hero */

.hero {
  padding: 120px 0 96px;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 14ch;
}

.grad-text {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 46ch;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #05050a;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--panel-border);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* sections */

.section {
  padding: 88px 0;
  border-top: 1px solid var(--panel-border);
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 20px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 60ch;
  margin: 0 0 40px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.pillar {
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.pillar-index {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.pillar h3 {
  font-family: var(--font-head);
  margin: 12px 0 8px;
  font-size: 18px;
}

.pillar p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* app card */

.app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
  flex-wrap: wrap;
}

.app-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.app-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.app-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

.app-card-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.apps-note {
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
}

.apps-note a {
  color: var(--accent);
  text-decoration: none;
}

.apps-note a:hover {
  text-decoration: underline;
}

/* contact */

.contact-inner {
  text-align: left;
}

/* footer */

.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .header-inner {
    justify-content: flex-start;
  }
  .nav {
    width: 100%;
    gap: 18px;
  }
  .nav a {
    font-size: 13px;
  }
  .hero {
    padding: 64px 0 72px;
  }
}
