:root {
  --ink: #14213d;
  --text: #1f2937;
  --muted: #64748b;
  --primary: #0b5f8f;
  --primary-2: #0e7490;
  --accent: #10b981;
  --line: #dbe7ee;
  --soft: #eef7fb;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f8fbfd;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 5vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand img,
footer img {
  display: block;
  width: 174px;
  height: auto;
}

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

nav a:hover {
  color: var(--primary);
}

.nav-cta {
  color: var(--primary);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 56px 5vw 48px;
  background:
    linear-gradient(90deg, rgba(248, 251, 253, 0.97) 0%, rgba(248, 251, 253, 0.72) 48%, rgba(255, 255, 255, 0.96) 100%),
    url("./logo-quantum.png") right 8vw top 38px / 420px auto no-repeat;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.lead {
  max-width: 660px;
  color: #334155;
  font-size: 20px;
  line-height: 1.55;
}

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

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

.button.primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(11, 95, 143, 0.2);
}

.button.secondary {
  color: var(--primary);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-stats dt {
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-shot {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(20, 33, 61, 0.16);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.shot-bar strong {
  margin-left: 8px;
  font-size: 14px;
}

.shot-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 16px;
  padding: 18px;
}

.shot-grid section {
  min-height: 156px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.shot-grid p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.score-card {
  background: var(--soft) !important;
}

.score-card strong {
  display: block;
  color: var(--primary);
  font-size: 58px;
  line-height: 0.95;
}

.shot-grid small {
  color: var(--muted);
}

.meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbeafe;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
}

.bars i {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: var(--primary-2);
}

.bars i:nth-child(1) { height: 42%; }
.bars i:nth-child(2) { height: 68%; }
.bars i:nth-child(3) { height: 55%; }
.bars i:nth-child(4) { height: 88%; }
.bars i:nth-child(5) { height: 73%; }

.shot-grid ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.9;
}

.section {
  padding: 76px 5vw;
}

.subhero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: end;
  padding: 78px 5vw 58px;
  background:
    linear-gradient(90deg, rgba(248, 251, 253, 0.98) 0%, rgba(248, 251, 253, 0.84) 62%, rgba(255, 255, 255, 0.94) 100%),
    url("./logo-quantum.png") right 7vw top 32px / 330px auto no-repeat;
}

.subhero h1 {
  max-width: 860px;
  font-size: 56px;
}

.fivec-hero {
  min-height: 520px;
}

.summary-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 60px rgba(20, 33, 61, 0.12);
}

.summary-panel h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.summary-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-panel li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.intro {
  padding-top: 40px;
  padding-bottom: 42px;
  background: var(--ink);
}

.intro p {
  max-width: 1050px;
  margin: 0 auto;
  color: #eef7fb;
  font-size: 26px;
  line-height: 1.45;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.feature-grid article {
  min-height: 228px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid p,
.split p,
.final-cta p {
  color: var(--muted);
  line-height: 1.65;
}

.inline-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.inline-callout h3 {
  margin: 0;
}

.fivec-intro {
  padding-top: 42px;
  padding-bottom: 42px;
  background: var(--ink);
}

.fivec-intro p {
  max-width: 1040px;
  margin: 0 auto;
  color: #eef7fb;
  font-size: 24px;
  line-height: 1.45;
}

.fivec-stack {
  display: grid;
  gap: 22px;
}

.c-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.c-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.c-head > span {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--primary);
  font-size: 19px;
  font-weight: 900;
}

.c-head h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.c-block > p {
  max-width: 980px;
  color: var(--muted);
  line-height: 1.65;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.concept-grid div,
.method-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.concept-grid strong,
.concept-grid span,
.method-grid strong,
.method-grid span {
  display: block;
}

.concept-grid strong,
.method-grid strong {
  margin-bottom: 7px;
  color: var(--ink);
}

.concept-grid span,
.method-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.source {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--primary) !important;
  font-size: 14px;
  font-weight: 800;
}

.score-method {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
  background: var(--soft);
}

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

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
  background: #ffffff;
}

.workflow {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.workflow li {
  position: relative;
  padding: 20px 22px 20px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.workflow li::before {
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--primary);
  content: counter(steps);
  counter-increment: steps;
  font-size: 13px;
  font-weight: 900;
}

.workflow strong,
.workflow span {
  display: block;
}

.workflow strong {
  color: var(--ink);
}

.workflow span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.55;
}

.security {
  background: var(--soft);
}

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

.security-row p {
  min-height: 108px;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.final-cta {
  padding: 86px 5vw;
  text-align: center;
  background: var(--ink);
}

.final-cta h2 {
  max-width: 900px;
  margin: 0 auto 16px;
  color: white;
}

.final-cta p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: #dbe7ee;
  font-size: 18px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 5vw;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .subhero,
  .score-method {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(248, 251, 253, 0.98) 0%, rgba(248, 251, 253, 0.82) 100%),
      url("./logo-quantum.png") right 5vw top 20px / 280px auto no-repeat;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 31px;
  }

  .feature-grid,
  .security-row,
  .concept-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  nav a:not(.nav-cta) {
    display: none;
  }

  .hero-stats,
  .feature-grid,
  .security-row,
  .shot-grid,
  .concept-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 42px;
  }

  .lead,
  .intro p,
  .fivec-intro p {
    font-size: 18px;
  }

  .subhero h1 {
    font-size: 38px;
  }

  .inline-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 56px 6vw;
  }

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