:root {
  --ink: #fff8f4;
  --muted: #b9aaa8;
  --line: rgba(255, 255, 255, 0.16);
  --paper: #12090b;
  --panel: rgba(32, 20, 21, 0.78);
  --panel-strong: rgba(18, 9, 11, 0.9);
  --gold: #ffdb55;
  --red: #e11d48;
  --red-dark: #450b12;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #080304;
  line-height: 1.6;
}

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

.container {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 36px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 3, 4, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}

.brand img {
  display: block;
  width: 190px;
  height: auto;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
}

.section {
  padding: 88px 0;
}

.section--dark {
  background:
    radial-gradient(circle at 86% 10%, rgba(225, 29, 72, 0.14), transparent 34%),
    #0b0506;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 4, 5, 0.95) 0%, rgba(10, 6, 7, 0.82) 45%, rgba(52, 12, 14, 0.72) 100%),
    url('../images/score8-hero.png') center / cover no-repeat;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin: 0 0 26px;
  font-size: clamp(3.4rem, 6.8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 5.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 14px;
  font-size: 1.32rem;
  line-height: 1.2;
}

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

.hero p {
  color: rgba(255, 255, 255, 0.78);
}

.hero__lede {
  max-width: 760px;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer;
}

.button--primary {
  color: #110709;
  background: var(--gold);
  border-color: var(--gold);
}

.button--primary:hover,
.button--primary:focus {
  background: #ffe987;
}

.button--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(255, 255, 255, 0.12);
}

.hero__panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 7, 8, 0.72);
  box-shadow: var(--shadow);
}

.metric {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(38, 22, 23, 0.78);
}

.metric span,
.feature span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.35;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
}

.copy-stack {
  display: grid;
  gap: 16px;
}

.copy-stack p {
  font-size: 1.15rem;
}

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

.feature,
.contact-card,
.contact-note {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature h3,
.contact-card h2,
.contact-note h2 {
  color: #ffffff;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(8, 3, 4, 0.96), rgba(69, 11, 18, 0.74)),
    url('../images/score8-hero.png') center / cover no-repeat;
  color: #ffffff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.policy {
  max-width: 860px;
}

.policy h2 {
  margin-top: 34px;
  color: #ffffff;
  font-size: 1.45rem;
}

.policy h2:first-child {
  margin-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font: inherit;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(255, 219, 85, 0.24);
  border-color: var(--gold);
}

.contact-form .button {
  width: fit-content;
  min-width: 150px;
  margin-top: 8px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #080304;
}

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

.footer-wrap nav {
  display: flex;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .hero__grid,
  .split,
  .feature-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 82px 0;
    background-position: 62% center;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #12090b;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  .section {
    padding: 60px 0;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 24px, 1320px);
  }

  .brand img {
    width: 150px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .hero__actions,
  .button,
  .contact-form .button {
    width: 100%;
  }

  .hero__panel,
  .feature,
  .contact-card,
  .contact-note,
  .metric {
    padding: 20px;
  }
}
