:root {
  --bg: #060607;
  --panel: #111114;
  --panel-strong: #17171b;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #b5b5be;
  --text: #f5f5f7;
  --red: #e3132c;
  --red-dark: #9c0f20;
  --red-soft: rgba(227, 19, 44, 0.16);
  --white-soft: rgba(255, 255, 255, 0.74);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(227, 19, 44, 0.09), transparent 360px),
    var(--bg);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -2;
}

#hexCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.72;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-metrics,
.panel-topline,
.pricing-toggle,
.source-list,
.contact-links,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  font-size: 1.08rem;
}

.brand-mark,
.hex-badge {
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--red);
  box-shadow: 0 0 30px var(--red-soft);
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.source-list a:hover {
  color: var(--text);
}

.header-action,
.button,
.toggle {
  border: 1px solid var(--line);
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.header-action:hover,
.button.secondary:hover {
  border-color: rgba(227, 19, 44, 0.55);
  background: var(--red-soft);
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 14px 40px rgba(227, 19, 44, 0.26);
}

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

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(54px, 9vw, 110px) clamp(18px, 5vw, 72px) 68px;
}

.review-hero {
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(54px, 9vw, 110px) clamp(18px, 5vw, 72px) 56px;
}

.hero-content,
.section {
  max-width: 1180px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff5b6c;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8.8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

p {
  color: var(--white-soft);
  line-height: 1.7;
}

.hero-copy {
  max-width: 660px;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  gap: 12px;
  margin: 34px 0;
  flex-wrap: wrap;
}

.hero-metrics {
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-metrics div {
  min-width: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.6rem;
}

.hero-metrics span,
.price-note,
.method-step span,
.site-footer,
.source-list {
  color: var(--muted);
  font-size: 0.88rem;
}

.signal-panel {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(227, 19, 44, 0.42);
  background: rgba(17, 17, 20, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-panel::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(227, 19, 44, 0.16);
  clip-path: polygon(8% 0, 92% 0, 100% 14%, 100% 86%, 92% 100%, 8% 100%, 0 86%, 0 14%);
}

.panel-topline {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  font-weight: 700;
}

.status-pill,
.popular {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
}

.score-ring {
  width: min(230px, 68vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 10px auto 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--panel) 0 58%, transparent 59%),
    conic-gradient(var(--red) calc(var(--score) * 1%), rgba(255, 255, 255, 0.1) 0);
}

.score-ring span {
  font-size: 4.6rem;
  font-weight: 800;
}

.score-ring small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  transform: translateY(-22px);
}

.signal-bars {
  display: grid;
  gap: 16px;
}

.signal-bars div {
  display: grid;
  gap: 8px;
}

.signal-bars span {
  color: var(--muted);
  font-size: 0.9rem;
}

.signal-bars i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--red) var(--bar), rgba(255, 255, 255, 0.1) var(--bar));
}

.section {
  margin: 0 auto;
  padding: 86px clamp(18px, 5vw, 42px);
}

.intro-grid,
.contact,
.proof {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 700px;
}

.pricing-toggle {
  width: fit-content;
  margin-bottom: 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.toggle {
  min-width: 110px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.toggle.active {
  color: #fff;
  background: var(--red);
}

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

.price-card,
.method-step,
.standards-grid article,
.contact-form,
.review-form,
.review-summary {
  border: 1px solid var(--line);
  background: rgba(17, 17, 20, 0.82);
  border-radius: 8px;
}

.price-card {
  position: relative;
  min-height: 470px;
  padding: 24px;
  overflow: hidden;
}

.price-card.featured {
  border-color: rgba(227, 19, 44, 0.72);
  background: linear-gradient(180deg, rgba(227, 19, 44, 0.15), rgba(17, 17, 20, 0.9));
}

.hex-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 52px;
  margin-bottom: 26px;
  background: var(--red-soft);
  color: #ff6b7a;
  border: 1px solid rgba(227, 19, 44, 0.38);
  font-weight: 800;
}

.popular {
  position: absolute;
  top: 20px;
  right: 18px;
}

.price-card p {
  min-height: 78px;
}

.price {
  display: block;
  font-size: 2.25rem;
  margin-bottom: 2px;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li,
.deliverables span {
  color: var(--white-soft);
}

.price-card li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--red);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

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

.method-step,
.standards-grid article {
  padding: 24px;
}

.method-step span {
  display: block;
  margin-bottom: 26px;
  color: #ff5b6c;
  font-weight: 800;
}

.standards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-list {
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.source-list a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.contact-links {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.contact-links a,
.site-footer a {
  color: var(--text);
}

.contact-links a {
  padding: 12px 14px;
  border: 1px solid rgba(227, 19, 44, 0.35);
  border-radius: 8px;
  background: rgba(227, 19, 44, 0.12);
  font-weight: 800;
}

.contact-links a:hover,
.site-footer a:hover {
  color: #ff5b6c;
}

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.deliverables span {
  padding: 13px 15px;
  border: 1px solid rgba(227, 19, 44, 0.35);
  background: var(--red-soft);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.review-section {
  padding-top: 42px;
}

.review-summary {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.review-summary::before,
.review-form::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(227, 19, 44, 0.16);
  clip-path: polygon(8% 0, 92% 0, 100% 14%, 100% 86%, 92% 100%, 8% 100%, 0 86%, 0 14%);
}

.review-summary h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.review-form {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 24px;
  overflow: hidden;
}

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

.rating-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rating-field {
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.42fr) 42px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.rating-field output {
  display: grid;
  place-items: center;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(227, 19, 44, 0.38);
  border-radius: 8px;
  color: var(--text);
  background: var(--red-soft);
  font-weight: 800;
}

input[type="range"] {
  accent-color: var(--red);
  padding: 0;
}

.checkbox-field {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  color: var(--white-soft);
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

select option {
  background: var(--panel);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 800;
}

.site-footer span:last-child {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .pricing-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .review-hero,
  .intro-grid,
  .contact,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .signal-panel {
    max-width: 520px;
  }

  .review-details,
  .rating-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-action {
    display: none;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .pricing-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .rating-field {
    grid-template-columns: 1fr 42px;
  }

  .rating-field input {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .price-card p {
    min-height: 0;
  }

  .hero-metrics div {
    width: 100%;
  }

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