:root {
  --bg: #000000;
  --surface: #0c0c0e;
  --border: #1f1f23;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #e5131b;
  --orange: #ff6a13;
  --amber: #ff8a1f;
  --gradient: linear-gradient(120deg, var(--red), var(--orange) 60%, var(--amber));
  --display: "Michroma", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1080px;
  --gutter: 20px;
  --nav-h: 60px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, p { overflow-wrap: break-word; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__brand img { width: 28px; height: 28px; }

.nav__word {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.nav__word .fire { color: var(--text); }
.nav__word .line { color: var(--orange); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a:focus-visible { color: var(--orange); }

.nav__links .nav__cta {
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 106, 19, 0.5);
  border-radius: 999px;
  color: var(--text);
}

/* Tag pill */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.tag__dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 106, 19, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 106, 19, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 19, 0); }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding: 3rem var(--gutter) 4rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 45%;
  left: 50%;
  width: min(900px, 160vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 90, 20, 0.16), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
  text-align: center;
}

.hero__title { margin: 0; line-height: 0; }

.hero__logo {
  width: min(460px, 82vw);
  max-height: 50vh;
  max-height: 50svh;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255, 80, 20, 0.18));
}

.hero__lede {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  text-wrap: balance;
  line-height: 1.45;
  color: var(--text);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(255, 90, 20, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 90, 20, 0.55);
}

/* Sections */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5.5rem var(--gutter);
  border-top: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--orange);
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section__body {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  position: relative;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}

.card:hover {
  border-color: rgba(255, 106, 19, 0.45);
  transform: translateY(-3px);
}

.card__index {
  font-family: var(--display);
  font-size: 0.72rem;
  color: var(--orange);
  letter-spacing: 0.15em;
}

.card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

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

/* Stay tuned */
.tuned {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  text-align: center;
  overflow: hidden;
}

.tuned__glow {
  position: absolute;
  bottom: -60%;
  left: 50%;
  width: 700px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 90, 20, 0.2), transparent);
  pointer-events: none;
}

.tuned > *:not(.tuned__glow) { position: relative; }

.tuned__title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
}

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tuned__body {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

/* Footer */
.footer {
  padding: 0 var(--gutter) 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p { margin: 0; }

.footer__rule {
  max-width: var(--maxw);
  height: 1px;
  margin: 0 auto 2rem;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.6;
}

/* Small phones: keep the brand and the one key link */
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .nav__links { gap: 1rem; }
  .nav__links a:not(.nav__cta) { display: none; }
  .section { padding: 4rem var(--gutter); }
  .hero__inner { gap: 1.5rem; }
}

/* Landscape phones: short viewport, shrink the logo so nothing is cut off */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; padding: 2rem var(--gutter) 3rem; }
  .hero__logo { height: 58vh; max-height: none; width: auto; }
  .hero__inner { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tag__dot { animation: none; }
  .btn, .card { transition: none; }
}
