
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #050608;
  color: #f9fafb;
  line-height: 1.6;
}

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

header {
  background: #020308;
  border-bottom: 1px solid #111827;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-logo {
  height: 28px;
  width: auto;
  border-radius: 999px;
  border: 1px solid #facc15;
  padding: 2px;
  background: radial-gradient(circle at top left, rgba(248,250,252,0.08), transparent 60%);
}

.nav-brand span {
  color: #facc15;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
  color: #f97316;
}

.nav-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #facc15;
  font-size: 0.8rem;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  gap: 1.75rem;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero h2 {
  font-size: 1.05rem;
  font-weight: 400;
  color: #e5e7eb;
  max-width: 40rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid #4b5563;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d1d5db;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-color: #b91c1c;
  color: #f9fafb;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(239,68,68,0.35);
}

.btn-outline {
  border-color: #4b5563;
  color: #e5e5e5;
}

/* Sections */

.section {
  margin-top: 2.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.section-title {
  font-size: 1.35rem;
  color: #fefce8;
}

.section-body {
  font-size: 0.9rem;
  color: #e5e7eb;
  max-width: 42rem;
}

/* Grid */

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

.card {
  border-radius: 0.9rem;
  border: 1px solid #111827;
  padding: 1rem 1.1rem;
  background: radial-gradient(circle at top left, rgba(248,250,252,0.04), transparent 60%);
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}

.card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #fee2e2;
}

.card p {
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* List */

ul {
  margin-left: 1.2rem;
  margin-top: 0.3rem;
}

li {
  margin-bottom: 0.2rem;
}

/* Layout helpers */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 1.75rem;
}

.muted {
  color: #9ca3af;
  font-size: 0.85rem;
}

hr {
  border: none;
  border-top: 1px solid #111827;
  margin: 2.5rem 0 1.5rem;
}

/* Forms */

form {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
  margin-top: 0.75rem;
}

label {
  font-size: 0.8rem;
  color: #f9fafb;
}

input, textarea, select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid #1f2937;
  background-color: #020617;
  color: #f4f4f5;
  font-size: 0.85rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px #f97316;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.hidden-field {
  display: none;
}

/* Footer */

footer {
  border-top: 1px solid #111827;
  padding: 1.25rem 1.25rem 2rem;
  font-size: 0.8rem;
  color: #9ca3af;
  background: #020308;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* Responsive */

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  main {
    padding-inline: 1rem;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Typography upgrades */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, .section-title {
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
}

/* Hero background layers with embers canvas */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero-embers {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* Section alternation for depth */
main > section.section:nth-of-type(even) {
  background-color: #050711;
}

main > section.section:nth-of-type(odd) {
  background-color: #020308;
}

/* Valhalla color accents */
:root {
  --valhalla-gold: #c9a94e;
  --valhalla-red-soft: #b91c1c;
  --valhalla-red-strong: #ef4444;
}

.section-kicker {
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--valhalla-gold);
}

/* Primary button upgrade */
.btn-primary {
  background: linear-gradient(135deg, var(--valhalla-red-strong), var(--valhalla-red-soft));
  border-color: var(--valhalla-red-soft);
  box-shadow: 0 18px 40px rgba(239,68,68,0.42);
}

.btn-primary:hover {
  box-shadow: 0 22px 50px rgba(239,68,68,0.5);
  transform: translateY(-1px);
}

/* Card hover motion */
.card {
  transition: transform 0.18s ease-out, background-color 0.18s ease-out, border-color 0.18s ease-out, box-shadow 0.18s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  background-color: #0b0f18;
  border-color: #374151;
  box-shadow: 0 14px 40px rgba(15,23,42,0.9);
}

/* Card icons for divisions */
.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.8rem;
  color: #020617;
  padding: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fde68a, #facc15, #b45309);
  box-shadow: 0 0 0 1px rgba(249, 250, 251, 0.08), 0 0 24px rgba(251, 191, 36, 0.55);
}

/* Accent bar under navbar */
.accent-bar {
  height: 3px;
  background: linear-gradient(90deg, #7f1d1d, #ef4444, #7f1d1d);
  opacity: 0.8;
}

/* Footer enhancements */
footer {
  background: #020207;
  border-top: 1px solid rgba(127,29,29,0.5);
}

.footer-inner {
  border-top: 1px solid #111827;
  padding-top: 1.1rem;
  margin-top: 1.1rem;
}

.footer-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

/* Credibility badges */
.cred-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cred-badge {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(201,169,78,0.38);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e5e7eb;
  background: radial-gradient(circle at top left, rgba(201,169,78,0.18), transparent 55%);
}

/* Responsive adjustments */
@media (max-width: 700px) {
  h1 {
    font-size: 2.4rem;
  }
}
