:root {
  color-scheme: dark;
  --ink: #081114;
  --surface: #10191b;
  --surface-2: #172326;
  --line: rgba(255, 255, 255, 0.16);
  --text: #f5fbf8;
  --muted: #b8c8c2;
  --accent: #ff6a3d;
  --accent-2: #55d6c2;
  --paper: #f7fbf8;
  --paper-text: #17201e;
  --paper-muted: #5a6864;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px 40px;
  background: rgba(8, 17, 20, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  font-size: 18px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 38%, rgba(255, 255, 255, 0.72) 39%, transparent 47%),
    linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 28px rgba(85, 214, 194, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  min-height: 86svh;
  display: flex;
  align-items: center;
  padding: 124px 40px 76px;
  background:
    linear-gradient(90deg, rgba(8, 17, 20, 0.96), rgba(8, 17, 20, 0.72) 45%, rgba(8, 17, 20, 0.2)),
    url("/assets/fireluma-hero.png") center / cover no-repeat;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 30px;
  color: #d7e5e0;
  font-size: 22px;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 720;
  font-size: 15px;
}

.button.primary {
  background: var(--accent);
  color: #180906;
}

.button.primary:hover {
  background: #ff7d58;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.platform {
  background: var(--paper);
  color: var(--paper-text);
  padding: 68px 40px 76px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.eyebrow.dark {
  color: #287d73;
}

h2 {
  margin-bottom: 0;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 190px;
  padding: 22px;
  border: 1px solid #d8e2de;
  border-radius: 8px;
  background: #ffffff;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 19px;
  letter-spacing: 0;
}

.feature p {
  margin-bottom: 0;
  color: var(--paper-muted);
  line-height: 1.58;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  background: #0b1315;
  font-size: 14px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 32px;
}

.message {
  width: min(520px, 100%);
}

.message h1 {
  margin-top: 40px;
  font-size: 48px;
}

.message p {
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
    padding: 14px 20px;
  }

  .nav {
    gap: 2px;
    font-size: 13px;
  }

  .nav a {
    padding-inline: 7px;
  }

  .hero {
    min-height: 84svh;
    padding: 108px 22px 54px;
    background:
      linear-gradient(180deg, rgba(8, 17, 20, 0.94), rgba(8, 17, 20, 0.76) 54%, rgba(8, 17, 20, 0.52)),
      url("/assets/fireluma-hero.png") center / cover no-repeat;
  }

  h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .platform {
    padding: 52px 22px 58px;
  }

  .section-heading,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 30px;
  }

  .footer {
    padding: 22px;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .nav a:first-child {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .button {
    width: 100%;
  }
}
