:root {
  --bg: #09090d;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #f6f7fb;
  --muted: #a8adbb;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ff5f57;
  --accent-2: #6cffb8;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(255, 95, 87, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(108, 255, 184, 0.10), transparent 25%),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 9, 13, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ff7d64);
  color: #100e10;
  font-weight: 800;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.nav a,
.ghost-btn,
.primary-btn,
.secondary-btn {
  transition: 0.25s ease;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
}

.ghost-btn,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), #ff876f);
  color: #120f10;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(255, 95, 87, 0.25);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 95, 87, 0.34);
}

.ghost-btn,
.secondary-btn {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.ghost-btn:hover,
.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.large {
  padding: 14px 22px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero h1,
.section-head h2,
.footer h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero h1 {
  max-width: 720px;
}

.highlight {
  position: relative;
  display: inline-block;
  color: var(--text);
}

.highlight::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: 8px;
  width: 104%;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,95,87,0.92), rgba(255,140,102,0.75));
  z-index: -1;
  transform: rotate(-1.5deg);
}

.lead,
.section-head p,
.principle-card p,
.panel-card p,
.founder-note,
.footer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
}

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

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(108, 255, 184, 0.11);
}

.hero-panel,
.panel-stack,
.founder-card,
.principle-card,
.app-card,
.stat-card,
.footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 20px;
  border-radius: var(--radius-xl);
}

.panel-card {
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.panel-card-accent {
  border: 1px solid rgba(255, 95, 87, 0.18);
}

.panel-card h3 {
  margin: 10px 0 12px;
  font-size: 1.6rem;
}

.panel-label {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.panel-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 22px;
}

.mini-panel {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
}

.mini-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.ticker-wrap {
  overflow: hidden;
  margin: 28px 0 6px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-width: max-content;
  white-space: nowrap;
  font-weight: 700;
  color: #d8dbe3;
  animation: marquee 24s linear infinite;
}

.section-spacing {
  padding: 92px 0 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 32px;
}

.section-head.left {
  text-align: left;
  margin: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-card {
  padding: 22px;
  border-radius: 24px;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #151316;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.app-title-wrap h3 {
  margin: 0 0 6px;
  font-size: 1.28rem;
}

.app-meta,
.card-tags,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-meta span,
.tag,
.store-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #dde1e8;
  font-size: 0.82rem;
}

.card-desc {
  margin: 16px 0 18px;
}

.store-links {
  margin-top: 18px;
}

.store-badge:hover {
  background: rgba(255,255,255,0.10);
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.skill-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #e8eaf0;
}

.founder-card {
  padding: 28px;
  border-radius: 28px;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent), #ffb36d);
  color: #1d1612;
  margin-bottom: 20px;
}

.founder-card h3 {
  margin: 0;
  font-size: 1.6rem;
}

.founder-card > p {
  margin: 8px 0 18px;
  color: var(--accent-2);
}

.founder-note {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.principle-card {
  padding: 26px;
  border-radius: 24px;
}

.principle-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.footer {
  margin-top: 92px;
  padding: 34px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .section-grid,
  .stats-grid,
  .app-grid,
  .principles-grid,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .about,
  .footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-actions {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .topbar {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 6px 0 0;
  }

  .nav.open {
    display: flex;
  }

  .topbar-actions .ghost-btn,
  .topbar-actions .primary-btn {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    padding-top: 70px;
  }

  .stats-grid,
  .app-grid,
  .principles-grid,
  .panel-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .section-head h2,
  .footer h2 {
    line-height: 1.02;
  }

  .hero-panel,
  .stat-card,
  .app-card,
  .founder-card,
  .principle-card,
  .footer {
    border-radius: 22px;
  }

  .site-shell {
    padding-top: 12px;
  }

  .topbar {
    top: 10px;
  }
}