.cdcq {
  --cdcq-navy: #132438;
  --cdcq-blush: #f7ece8;
  --cdcq-rose: #8c4554;
  --cdcq-cream: #faf6f1;
  --cdcq-gold: #b58257;
  --cdcq-ink-muted: #52606e;
  --cdcq-line: #e6d6cf;
  --cdcq-serif: var(--global-heading-font-family, Georgia, serif);
  --cdcq-sans: var(--global-body-font-family, system-ui, sans-serif);
  width: min(100%, 1160px);
  margin-inline: auto;
  padding: clamp(18px, 3vw, 42px) clamp(12px, 3vw, 36px) clamp(52px, 7vw, 92px);
  color: var(--cdcq-navy);
  font-family: var(--cdcq-sans);
  line-height: 1.5;
}

.cdcq *,
.cdcq *::before,
.cdcq *::after {
  box-sizing: border-box;
}

.cdcq [hidden] {
  display: none !important;
}

.cdcq :is(h1, h2, h3, h4) {
  margin: 0;
  color: var(--cdcq-navy);
  font-family: var(--cdcq-serif);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.cdcq :is(a, button, input, summary):focus-visible {
  outline: 2px solid var(--cdcq-rose);
  outline-offset: 4px;
}

.cdcq .cdcq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--cdcq-line);
  border-radius: 26px;
  background: var(--cdcq-cream);
}

.cdcq .cdcq-hero-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(28px, 5.8vw, 76px);
}

.cdcq .cdcq-hero h1 {
  font-size: clamp(2.7rem, 5.3vw, 5rem);
  letter-spacing: -.065em;
}

.cdcq .cdcq-hero p {
  max-width: 38ch;
  margin: 19px 0 28px;
  color: var(--cdcq-ink-muted);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.62;
}

.cdcq .cdcq-hero-photo {
  position: relative;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--cdcq-blush) var(--cdcq-hero, none) center / cover no-repeat;
}

.cdcq .cdcq-hero-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cdcq .cdcq-button,
.cdcq .cdcq-hero a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--cdcq-navy);
  color: #fff;
  font: 650 0.94rem / 1.35 var(--cdcq-sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.cdcq :is(.cdcq-button, .cdcq-hero a):hover {
  background: var(--cdcq-rose);
  color: #fff;
  text-decoration: none;
}

.cdcq .cdcq-button:disabled {
  border-color: #d9d8d6;
  background: #ece8e6;
  color: #62616a;
  cursor: default;
}

.cdcq .cdcq-choices {
  margin-top: clamp(48px, 8vw, 86px);
  scroll-margin-block-start: 90px;
}

.cdcq .cdcq-choices h2 {
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -.04em;
}

.cdcq .cdcq-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.cdcq .cdcq-card {
  --cdcq-card-background: #fffdfb;
  display: flex;
  grid-column: span 2;
  min-height: 232px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(19px, 3vw, 30px);
  border: 1px solid var(--cdcq-line);
  border-radius: 15px;
  background: var(--cdcq-card-background);
  color: var(--cdcq-navy);
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cdcq .cdcq-card:nth-child(4),
.cdcq .cdcq-card:nth-child(5) {
  grid-column: span 3;
  min-height: 200px;
}

.cdcq .cdcq-card:nth-child(1) {
  --cdcq-card-background: var(--cdcq-blush);
}

.cdcq .cdcq-card:nth-child(4) {
  --cdcq-card-background: #f4eee7;
}

.cdcq .cdcq-card:nth-child(5) {
  --cdcq-card-background: #eef1ef;
}

.cdcq .cdcq-card:hover {
  transform: translateY(-3px);
  border-color: var(--cdcq-gold);
  background: #fff;
  color: var(--cdcq-navy);
  text-decoration: none;
}

.cdcq .cdcq-card h3 {
  font-size: clamp(1.44rem, 2.2vw, 1.95rem);
  letter-spacing: -.035em;
}

.cdcq .cdcq-card p {
  max-width: 46ch;
  margin: 0;
  color: var(--cdcq-ink-muted);
  font-size: .94rem;
  line-height: 1.55;
}

.cdcq .cdcq-topic,
.cdcq .cdcq-panel-topic {
  color: var(--cdcq-rose);
  font: 700 .74rem / 1.3 var(--cdcq-sans);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.cdcq .cdcq-card-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 5px;
  color: var(--cdcq-rose);
  font-size: .9rem;
  font-weight: 700;
}

.cdcq .cdcq-card-action span {
  font-size: 1.2em;
}

.cdcq .cdcq-sources {
  max-width: 780px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--cdcq-line);
  color: var(--cdcq-ink-muted);
  font-size: .91rem;
}

.cdcq :is(.cdcq-sources, .cdcq-result-references) summary {
  width: fit-content;
  color: var(--cdcq-navy);
  font-weight: 700;
  cursor: pointer;
}

.cdcq :is(.cdcq-sources, .cdcq-result-references) ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 25px;
  margin: 12px 0 0;
  padding-inline-start: 18px;
}

.cdcq :is(.cdcq-sources, .cdcq-result-references, .cdcq-notice) a {
  color: var(--cdcq-rose);
  text-underline-offset: 3px;
}

.cdcq #cdcq-flow {
  max-width: 715px;
  margin: clamp(3px, 3vw, 27px) auto 0;
  scroll-margin-block-start: 90px;
}

.cdcq .cdcq-panel {
  padding: clamp(20px, 5vw, 52px);
  border: 1px solid var(--cdcq-line);
  border-radius: 23px;
  background: #fffdfb;
}

.cdcq .cdcq-panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 12px;
  margin-bottom: 20px;
}

.cdcq .cdcq-panel h2 {
  max-width: 28ch;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.cdcq .cdcq-panel h2:focus {
  outline: none;
}

.cdcq .cdcq-plain {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cdcq-rose);
  font: 650 .88rem / 1.35 var(--cdcq-sans);
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cdcq .cdcq-plain:hover {
  background: transparent;
  color: var(--cdcq-navy);
}

.cdcq .cdcq-progress {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: var(--cdcq-blush);
  color: var(--cdcq-rose);
  appearance: none;
}

.cdcq .cdcq-progress::-webkit-progress-bar {
  background: var(--cdcq-blush);
}

.cdcq .cdcq-progress::-webkit-progress-value {
  border-radius: 10px;
  background: var(--cdcq-rose);
}

.cdcq .cdcq-progress::-moz-progress-bar {
  border-radius: 10px;
  background: var(--cdcq-rose);
}

.cdcq .cdcq-progress-copy {
  margin: 11px 0 17px;
  color: var(--cdcq-ink-muted);
  font-size: .86rem;
  font-weight: 650;
}

.cdcq .cdcq-question-note {
  margin: 12px 0 0;
  color: var(--cdcq-ink-muted);
  font-size: .9rem;
}

.cdcq .cdcq-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.cdcq .cdcq-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cdcq .cdcq-option {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 4px;
  border: 1px solid var(--cdcq-line);
  border-radius: 11px;
  background: #fff;
  color: var(--cdcq-navy);
  font-size: .84rem;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
}

.cdcq .cdcq-option:has(input:checked) {
  border-color: var(--cdcq-rose);
  background: var(--cdcq-blush);
  color: var(--cdcq-rose);
}

.cdcq :is(.cdcq-option, .cdcq-consent) input {
  position: static;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--cdcq-rose);
}

.cdcq .cdcq-nav,
.cdcq .cdcq-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 24px;
}

.cdcq .cdcq-nav .cdcq-button {
  margin-inline-start: auto;
}

.cdcq .cdcq-panel-intro,
.cdcq .cdcq-result-summary {
  margin: 15px 0 23px;
  color: var(--cdcq-ink-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.cdcq .cdcq-email-form {
  display: grid;
}

.cdcq .cdcq-field-label {
  margin: 0 0 8px;
  color: var(--cdcq-navy);
  font-size: .92rem;
  font-weight: 700;
}

.cdcq input.cdcq-email {
  width: 100%;
  min-height: 51px;
  padding: 10px 14px;
  border: 1px solid #ab9693;
  border-radius: 9px;
  background: #fff;
  color: var(--cdcq-navy);
  font: 1rem / 1.4 var(--cdcq-sans);
}

.cdcq .cdcq-notice {
  margin: 10px 0 16px;
  color: var(--cdcq-ink-muted);
  font-size: .81rem;
  line-height: 1.55;
}

.cdcq .cdcq-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 11px 13px;
  border-top: 1px solid var(--cdcq-line);
  color: var(--cdcq-navy);
  font-size: .88rem;
  line-height: 1.55;
  cursor: pointer;
}

.cdcq .cdcq-consent input {
  margin-block-start: 2px;
}

.cdcq .cdcq-form-status:not(:empty) {
  margin: 13px 0 0;
  color: var(--cdcq-rose);
  font-size: .9rem;
}

.cdcq .cdcq-form-status:empty {
  margin: 0;
}

.cdcq .cdcq-next-step {
  margin-top: 18px;
  padding: 17px 20px;
  border-inline-start: 3px solid var(--cdcq-gold);
  border-radius: 0 9px 9px 0;
  background: var(--cdcq-cream);
}

.cdcq .cdcq-next-step h3 {
  margin-bottom: 7px;
  font-size: 1.17rem;
}

.cdcq .cdcq-next-step p {
  margin: 0;
  color: var(--cdcq-ink-muted);
  font-size: .94rem;
  line-height: 1.62;
}

.cdcq .cdcq-success {
  margin: 16px 0 20px;
  padding: 11px 14px;
  border: 1px solid #cddcd1;
  border-radius: 8px;
  background: #edf3ed;
  color: #2f563b;
  font-size: .88rem;
}

.cdcq .cdcq-result-references {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--cdcq-line);
  color: var(--cdcq-ink-muted);
  font-size: .85rem;
}

.cdcq .cdcq-hero-copy .cdcq-topic {
  display: block;
  margin-bottom: 13px;
}

.cdcq .cdcq-result .cdcq-analyses {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.cdcq .cdcq-analyses > h3,
.cdcq .cdcq-email-section h3 {
  margin-bottom: 8px;
  font-size: clamp(1.42rem, 3vw, 1.75rem);
}

.cdcq .cdcq-analysis {
  min-width: 0;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--cdcq-line);
  border-radius: 12px;
  background: #fff;
}

.cdcq .cdcq-analysis > .cdcq-topic {
  margin: 0 0 10px;
}

.cdcq .cdcq-analysis h4 {
  margin-bottom: 10px;
  font-size: clamp(1.22rem, 2.2vw, 1.52rem);
  line-height: 1.22;
}

.cdcq .cdcq-analysis > p:not(.cdcq-topic) {
  margin: 0;
  color: var(--cdcq-ink-muted);
  font-size: .95rem;
  line-height: 1.6;
}

.cdcq .cdcq-analysis > .cdcq-exercise {
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--cdcq-line);
}

.cdcq .cdcq-exercise strong,
.cdcq .cdcq-week-plan strong {
  display: block;
  margin-bottom: 3px;
  color: var(--cdcq-navy);
  font-size: .9rem;
}

.cdcq .cdcq-week-plan {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-inline-start: 20px;
  color: var(--cdcq-rose);
}

.cdcq .cdcq-result-note {
  margin: 16px 0 0;
  color: var(--cdcq-ink-muted);
  font-size: .83rem;
}

.cdcq .cdcq-email-section {
  margin-top: 26px;
  padding: clamp(17px, 4vw, 25px);
  border: 1px solid var(--cdcq-line);
  border-radius: 13px;
  background: var(--cdcq-cream);
}

.cdcq .cdcq-email-section h3 {
  margin-bottom: 18px;
}

.cdcq .cdcq-email-section .cdcq-consent {
  padding-inline: 0;
}

.cdcq .cdcq-email-section .cdcq-result-actions {
  margin-top: 14px;
}

@media (max-width: 840px) {
  .cdcq .cdcq-hero {
    min-height: 340px;
  }

  .cdcq .cdcq-hero-copy {
    padding: 32px;
  }

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

  .cdcq .cdcq-card:nth-child(n) {
    grid-column: span 1;
    min-height: 185px;
  }
}

@media (max-width: 580px) {
  .cdcq {
    padding-inline: 7px;
  }

  .cdcq .cdcq-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 19px;
  }

  .cdcq .cdcq-hero-copy {
    padding: 28px 23px;
  }

  .cdcq .cdcq-hero-photo {
    min-height: 172px;
    aspect-ratio: 2.15;
  }

  .cdcq .cdcq-hero h1 {
    font-size: clamp(2.3rem, 10.2vw, 3.2rem);
  }

  .cdcq .cdcq-hero p {
    margin: 14px 0 19px;
  }

  .cdcq .cdcq-card-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .cdcq .cdcq-card:nth-child(n) {
    min-height: 0;
    gap: 8px;
    padding: 18px;
  }

  .cdcq .cdcq-options {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 16px;
  }

  .cdcq .cdcq-option {
    min-height: 44px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 9px;
    padding-inline: 11px;
  }

  .cdcq .cdcq-nav {
    justify-content: space-between;
  }

  .cdcq .cdcq-nav .cdcq-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdcq .cdcq-card,
  .cdcq .cdcq-button,
  .cdcq .cdcq-hero a {
    transition: none;
  }
  .cdcq .cdcq-card:hover {
    transform: none;
  }
}

body.cdcq-page article > .entry-header { display: none; }

.cdcq-private {
  --cdcq-private-gutter: clamp(1rem, 5vw, 4rem);
  box-sizing: border-box;
  margin: 0;
  padding: var(--cdcq-private-gutter);
  background: #faf6f1;
  color: #132438;
  font: 1rem/1.65 system-ui, sans-serif;
}

.cdcq-private--result { padding-block-start: 0; }

.cdcq-private-header {
  display: flex;
  justify-content: center;
  margin-inline: calc(-1 * var(--cdcq-private-gutter));
  margin-block-end: clamp(1rem, 3vw, 2rem);
  padding: .35rem var(--cdcq-private-gutter);
  border-bottom: 1px solid #ead9d4;
  background: #fff;
}

.cdcq-private-header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #132438;
  font-weight: 700;
}

.cdcq-private-header img {
  display: block;
  width: clamp(9rem, 38vw, 11.5rem);
  max-width: 100%;
  height: auto;
}

.cdcq-private--result .cdcq-private-panel h1 { margin-block-start: 0; }

.cdcq-private-panel {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 6vw, 3.5rem);
  border: 1px solid #ead9d4;
  border-radius: 1.5rem;
  background: #fff;
}

.cdcq-private-panel h1,
.cdcq-private-panel h2 {
  font-family: Georgia, serif;
  line-height: 1.15;
}

.cdcq-private-panel h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
.cdcq-private-panel a { color: #8c4554; }
.cdcq-private-panel .cdcq-topic,
.cdcq-private-panel .cdcq-private-notice { color: #74404a; }
.cdcq-private-panel .cdcq-primary {
  padding: .75rem 1.2rem;
  background: #8c4554;
  border: 1px solid transparent;
  border-radius: .75rem;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cdcq-private-panel .cdcq-primary:disabled { opacity: .6; cursor: wait; }

.cdcq-private-panel :is(h3, h4) {
  margin: 0 0 .5rem;
  font-family: Georgia, serif;
  line-height: 1.2;
}

.cdcq-private-panel .cdcq-analysis {
  margin-top: .7rem;
  padding: 1rem;
  border: 1px solid #ead9d4;
  border-radius: .7rem;
}

.cdcq-private-panel .cdcq-analysis p,
.cdcq-private-panel .cdcq-week-plan p {
  margin: 0 0 .65rem;
}

.cdcq-private-panel .cdcq-analysis p:last-child,
.cdcq-private-panel .cdcq-week-plan p:last-child {
  margin-bottom: 0;
}

.cdcq-private-panel .cdcq-exercise strong,
.cdcq-private-panel .cdcq-week-plan strong {
  display: block;
}

.cdcq-private-panel .cdcq-week-plan {
  padding-inline-start: 1.25rem;
}

.cdcq-private-panel .cdcq-week-plan li + li {
  margin-top: .65rem;
}
