/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --bg-elevated: #f6f6f7;
  --border: #e6e6e8;
  --text: #0a0a0a;
  --text-dim: #55565c;
  --text-faint: #8c8d93;
  --accent: #ff0f00;
  --accent-2: #0a0a0a;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1140px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 70%);
  z-index: -2;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255,15,0,0.10) 0%, rgba(10,10,10,0.05) 40%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, .logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.accent-text {
  color: var(--accent);
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin-top: -6px;
  margin-bottom: 40px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.logo-thin { color: var(--text-dim); font-weight: 400; }

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 0.94rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(255, 15, 0, 0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 15, 0, 0.25);
  background: #e00d00;
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(255, 15, 0, 0.06);
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 120px;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-sub {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 1.1rem;
  margin: 24px 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; border-top: 1px solid var(--border); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-grid p { color: var(--text-dim); margin-bottom: 16px; }
.about-grid p:last-child { margin-bottom: 0; }

/* Platforms */
.platform-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 15, 0, 0.4);
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.12);
}

.platform-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  min-height: 40px;
}

.platform-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.platform-brand-img {
  height: 34px;
  width: auto;
}

.platform-card p {
  color: var(--text-dim);
  margin-bottom: 24px;
  flex-grow: 1;
}

.platform-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.approach-num {
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.approach-item p { color: var(--text-dim); }

/* Contact */
.contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-small { font-size: 1rem; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.incubation-badge {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-copy {
  color: var(--text-faint);
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  margin-top: 12px;
}

.footer-legal {
  color: var(--text-faint);
  font-size: 0.76rem;
  width: 100%;
  text-align: center;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .footer-legal {
    white-space: normal;
    line-height: 1.6;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .platform-cards { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.nav-open { max-height: 320px; }

  .nav a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    border-radius: 0;
    border: none;
    margin: 0;
  }

  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 80px; }
  .section { padding: 70px 0; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
