:root {
  --bg: #050816;
  --bg-soft: #0b1020;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.15);
  --accent-strong: #6366f1;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --card-bg: #0f172a;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --radius-xl: 1.25rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 40%, #000 80%);
  color: var(--text-main);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 1rem;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 30% 20%, #e5e7eb 0, #4f46e5 32%, #0f172a 75%);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.45);
  position: relative;
  overflow: hidden;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: inherit;
  border: 1px solid rgba(248, 250, 252, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.nav a {
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

.nav a.nav-cta {
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  color: #0b1020;
  border-color: transparent;
  font-weight: 550;
  padding-inline: 1.1rem;
  box-shadow: 0 16px 35px rgba(56, 189, 248, 0.45);
}

.nav a.nav-cta:hover {
  filter: brightness(1.05);
  color: #020617;
}

/* hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 2.25rem;
  margin-top: 1.25rem;
  margin-bottom: 3rem;
}

.hero-left {
  padding-right: 0.75rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: radial-gradient(circle at left, rgba(56,189,248,0.25), rgba(79,70,229,0.15));
  border: 1px solid rgba(148,163,184,0.3);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.01em;
}

.hero-title span.accent {
  background: linear-gradient(135deg, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 550;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #22d3ee);
  color: #020617;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  text-decoration: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.6rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* hero app grid */

.hero-right {
  align-self: center;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.app-card {
  background: radial-gradient(circle at top left, rgba(148,163,184,0.2), rgba(15,23,42,0.95));
  border-radius: 1.25rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
  min-height: 115px;
}

.app-name {
  font-size: 0.9rem;
  font-weight: 550;
  margin-bottom: 0.2rem;
}

.app-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.3rem;
}

.badge {
  font-size: 0.68rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  color: var(--text-muted);
}

.app-links {
  font-size: 0.76rem;
}

.app-links a {
  color: var(--accent-strong);
}

/* sections */

.section {
  margin-bottom: 3.25rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.section-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(30,64,175,0.25), rgba(15,23,42,1));
  border-radius: var(--radius-xl);
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

.card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-meta {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.list-compact {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* layout helpers */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem;
}

.surface {
  background: radial-gradient(circle at top left, rgba(15,23,42,1), rgba(2,6,23,0.95));
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(51, 65, 85, 0.85);
  box-shadow: var(--shadow-soft);
}

/* footer */

.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  margin-top: auto;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* product / content pages */

.page-title {
  font-size: 1.7rem;
  margin: 0 0 0.4rem 0;
}

.page-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.breadcrumb {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.chip {
  font-size: 0.72rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--text-muted);
}

.kv {
  margin-top: 0.9rem;
  font-size: 0.82rem;
}

.kv dt {
  font-weight: 500;
}

.kv dd {
  margin: 0.1rem 0 0.55rem 0;
  color: var(--text-muted);
}

.policy h2 {
  margin-top: 1.6rem;
  font-size: 1.05rem;
}

.policy p, .policy li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy ul {
  padding-left: 1.1rem;
}

/* responsive */

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-left {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding-inline: 1rem;
  }
  .site-header {
    border-radius: 1rem;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
