/* ===========================================================================
   IgnitionSphere corporate site — placeholder design system
   Intentional, neutral, and deliberately distinct from BreakSphere
   (no gold #F4C430, no Arial). Refined ink/slate base + one cool accent.
   Replace tokens below when the defined IgnitionSphere brand identity lands.
   =========================================================================== */

:root {
  /* Palette */
  --ink: #0a0f1f;          /* near-black navy — hero/footer surfaces */
  --ink-2: #111a33;        /* hero gradient stop */
  --heading: #0b1220;      /* headings on light */
  --body: #3c465c;         /* body text on light */
  --muted: #6b7587;        /* secondary text */
  --bg: #ffffff;
  --bg-alt: #f5f7fb;       /* alternating section */
  --border: #e5e9f1;
  --accent: #2f5bd7;       /* restrained cool blue */
  --accent-2: #6e8bff;     /* gradient partner */
  --accent-soft: #eef2fe;  /* accent tint surface */
  --on-dark: #eef1f8;
  --on-dark-muted: #9aa6c2;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 12px 30px rgba(11, 18, 32, 0.06);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ------------------------------- Shared bits ----------------------------- */
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--accent-2); }

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  max-width: 18ch;
}

.prose {
  max-width: 62ch;
  font-size: 1.05rem;
}
.prose p + p { margin-top: 1rem; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #2549b4; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); transform: translateY(-1px); }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

/* ---------------------------------- Nav ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--heading);
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--heading); }
.nav-cta {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

/* --------------------------------- Hero ---------------------------------- */
.hero {
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(110, 139, 255, 0.22), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-dark);
  padding-block: clamp(72px, 12vw, 140px);
}
.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 700;
  max-width: 20ch;
  margin-bottom: 22px;
}
.hero-sub {
  color: var(--on-dark-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 56ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------- Sections -------------------------------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section .section-title { margin-bottom: 24px; }

/* Card grid (What we do) */
.card-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.section-alt .card { background: #fff; }
.card-title {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 0.98rem; }

/* Flagship / product */
.product-headline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.product .prose { margin-bottom: 16px; }
.badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #d8e0fb;
  padding: 6px 12px;
  border-radius: 999px;
}
/* Roadmap */
.roadmap { text-align: center; }
.roadmap .eyebrow { margin-bottom: 18px; }
.roadmap-line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--heading);
  max-width: 24ch;
  margin-inline: auto;
  letter-spacing: -0.01em;
}

/* Team */
.team-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #d8e0fb;
  margin-bottom: 18px;
}
.team-name { font-size: 1.18rem; font-weight: 600; }
.team-role {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.92rem;
  margin: 4px 0 14px;
}
.team-bio { color: var(--muted); font-size: 0.97rem; }
.team-bio + .team-bio { margin-top: 12px; }
/* One card: a readable measure, aligned with the heading, instead of a full-width stretch */
.team-grid-solo {
  grid-template-columns: minmax(0, 38rem);
  justify-content: start;
}

/* Contact */
.contact { text-align: center; }
.contact-inner .prose { margin-inline: auto; margin-bottom: 22px; }
.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.contact-email:hover { border-color: var(--accent); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: 44px;
}
.footer-inner { text-align: center; }
.brand-footer { justify-content: center; margin-bottom: 14px; }
.brand-footer .brand-word { color: #fff; }
.footer-tag { color: var(--on-dark); font-weight: 500; margin-bottom: 6px; }
.footer-legal { font-size: 0.88rem; }

/* ------------------------------ Responsive ------------------------------- */
@media (max-width: 760px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
