.qc-frame {
  width: 1080px;
  height: 1920px;
  position: relative;
  overflow: hidden;
  background: #f7f8fa;
  color: #1a2e5a;
  font-family: Inter, "Helvetica Neue", Arial, system-ui, sans-serif;
  box-sizing: border-box;
}

.qc-frame * { box-sizing: border-box; }

.qc-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #1a2e5a 0%, #00a4ba 100%);
  overflow: hidden;
}

.qc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.85) contrast(1.04);
}

.qc-bg-treatment { position: absolute; inset: 0; }
.qc-bg-vignette { background: radial-gradient(circle at 50% 34%, rgba(26,46,90,.2), rgba(26,46,90,.76) 72%, rgba(26,46,90,.9)); }
.qc-bg-darken-bottom { background: linear-gradient(to top, rgba(26,46,90,.9), rgba(26,46,90,.42) 48%, rgba(26,46,90,.18)); }
.qc-bg-darken-top { background: linear-gradient(to bottom, rgba(26,46,90,.9), rgba(26,46,90,.42) 48%, rgba(26,46,90,.18)); }
.qc-bg-none { background: rgba(26,46,90,.54); }

.qc-masthead {
  position: absolute;
  left: 72px;
  right: 72px;
  top: 292px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 2;
}

.qc-series-badge {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 6px;
  background: #f5b800;
  color: #1a2e5a;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
}

.qc-brand-mark {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .02em;
}

.qc-cover-card {
  position: absolute;
  left: 72px;
  right: 72px;
  top: 452px;
  min-height: 790px;
  padding: 58px 60px 52px;
  background: rgba(247,248,250,.96);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(10, 24, 48, .34);
  z-index: 2;
}

.qc-category {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  background: #00a4ba;
  color: #1a2e5a;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 28px;
}

.qc-question {
  margin: 0;
  max-width: 820px;
  color: #1a2e5a;
  font-size: 76px;
  line-height: .98;
  font-weight: 900;
  letter-spacing: 0;
}

.qc-primary-highlight {
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  padding: 16px 22px;
  min-height: 74px;
  background: #f5b800;
  color: #1a2e5a;
  border-radius: 6px;
  font-size: 36px;
  font-weight: 950;
  line-height: 1;
}

.qc-cover-context {
  margin-top: 28px;
  max-width: 780px;
  color: #334155;
  font-size: 28px;
  line-height: 1.28;
  font-weight: 560;
  white-space: pre-wrap;
}

.qc-cover-lines {
  position: absolute;
  left: 60px;
  right: 60px;
  bottom: 44px;
  display: grid;
  gap: 8px;
  color: #1a2e5a;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 750;
}

.qc-core {
  position: absolute;
  left: 72px;
  right: 72px;
  top: 420px;
  min-height: 900px;
  padding: 54px 58px;
  background: #ffffff;
  border: 1px solid rgba(26,46,90,.14);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(26,46,90,.12);
}

.qc-section-label {
  color: #00a4ba;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.qc-title {
  margin: 0 0 32px;
  color: #1a2e5a;
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.qc-body {
  color: #24364f;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 560;
  white-space: pre-wrap;
}

.qc-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.qc-data-card {
  min-height: 142px;
  padding: 24px 24px 22px;
  border-radius: 8px;
  background: #f7f8fa;
  border: 1px solid rgba(26,46,90,.14);
  color: #1a2e5a;
  font-size: 27px;
  line-height: 1.18;
  font-weight: 760;
}

.qc-data-card span {
  display: block;
  margin-bottom: 12px;
  color: #00a4ba;
  font-size: 20px;
  font-weight: 950;
}

.qc-variable-grid {
  display: grid;
  gap: 18px;
}

.qc-variable {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 18px;
  align-items: start;
  color: #24364f;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 680;
}

.qc-variable span {
  width: 18px;
  height: 18px;
  margin-top: 10px;
  border-radius: 999px;
  background: #00a4ba;
}

.qc-table-wrap {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(26,46,90,.16);
}

.qc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #1a2e5a;
}

.qc-table th {
  background: #1a2e5a;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  padding: 16px 12px;
  text-align: left;
  font-weight: 900;
}

.qc-table td {
  background: #f7f8fa;
  border-top: 1px solid rgba(26,46,90,.12);
  font-size: 24px;
  line-height: 1.15;
  padding: 17px 12px;
  font-weight: 650;
  vertical-align: top;
}

.qc-value-highlight {
  display: inline-flex;
  align-items: center;
  min-height: 82px;
  padding: 16px 24px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: #f5b800;
  color: #1a2e5a;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
}

.qc-continuity {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 8px solid #00a4ba;
  background: #f7f8fa;
  color: #1a2e5a;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 760;
}

.qc-cta-box {
  padding: 44px;
  border-radius: 8px;
  background: #1a2e5a;
  color: #fff;
}

.qc-cta-box h3 {
  margin: 0 0 24px;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

.qc-cta-box div {
  color: rgba(255,255,255,.88);
  font-size: 34px;
  line-height: 1.28;
  white-space: pre-wrap;
}

.qc-footer {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 310px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: rgba(26,46,90,.72);
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.qc-cover-frame .qc-footer { color: rgba(255,255,255,.8); }
.qc-emphasis { color: #f46a1f; font-weight: 950; }

.qc-guide-square,
.qc-guide-vertical {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  border-top: 3px dashed rgba(245,184,0,.85);
  border-bottom: 3px dashed rgba(245,184,0,.85);
  z-index: 20;
}

.qc-guide-square { top: 420px; height: 1080px; }
.qc-guide-vertical { top: 285px; height: 1350px; border-color: rgba(0,164,186,.82); }
