/* Shared shell for self-contained tools and download flows.
   Keeps their product-specific layouts while matching the main 2026 site. */
body.standalone-shell {
  --amber: #bd188b;
  --dark: #0a0809;
  --card: #1a1519;
  --card2: #231b21;
  --border: rgba(224, 90, 188, .2);
  --border2: rgba(255, 255, 255, .12);
  --white: #fff;
  --body: #fff;
  --muted: rgba(255, 255, 255, .78);
  --dimmer: rgba(255, 255, 255, .64);
  background:
    radial-gradient(circle at 82% 4%, rgba(189, 24, 139, .12), transparent 24rem),
    var(--dark);
}

.standalone-shell .skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: .85rem 1.3rem;
  background: var(--amber);
  color: #fff !important;
  font-size: .9rem !important;
  font-weight: 700;
  text-decoration: none;
}

.standalone-shell .skip-link:focus { left: 0; }

.standalone-shell .shell-nav {
  position: sticky;
  inset: 0 0 auto;
  z-index: 100;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  background: rgba(10, 8, 9, .82);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
}

.standalone-shell .shell-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  height: 78px;
  margin: 0 auto;
  padding: 0 32px;
}

.standalone-shell .shell-nav .wordmark {
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem !important;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.standalone-shell .shell-nav .dot { color: #e05abc !important; }

.standalone-shell .shell-nav .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.5vw, 1.55rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.standalone-shell .shell-nav .nav-links li { margin: 0; }

.standalone-shell .shell-nav .nav-links a {
  position: relative;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem !important;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.standalone-shell .shell-nav .nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #e05abc;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.standalone-shell .shell-nav .nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.standalone-shell .shell-nav .nav-links .btn {
  display: inline-block;
  padding: .6rem 1.3rem !important;
  color: #fff !important;
  background: var(--amber);
  border: 2px solid var(--amber);
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(189, 24, 139, .18);
  font-weight: 700;
}

.standalone-shell .shell-nav .nav-links .btn:hover {
  background: #d62ca3;
  border-color: #d62ca3;
  transform: translateY(-2px);
}

.standalone-shell .shell-nav .nav-toggle {
  display: none;
  padding: .55rem .8rem;
  color: #fff;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  font: 600 .82rem 'Montserrat', sans-serif;
  cursor: pointer;
}

/* Bring the older, self-contained interfaces into the rounded product system. */
.standalone-shell .purchase-card,
.standalone-shell .question-card,
.standalone-shell .panel,
.standalone-shell .cta-card,
.standalone-shell .next-card,
.standalone-shell .callout-block,
.standalone-shell .chapter-row,
.standalone-shell .faq-item {
  border-color: rgba(255, 255, 255, .12) !important;
  border-radius: 18px !important;
  background-color: rgba(255, 255, 255, .025);
}

.standalone-shell .purchase-card,
.standalone-shell .panel,
.standalone-shell .next-card {
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32);
}

.standalone-shell .final-cta {
  background:
    radial-gradient(circle at 78% 12%, rgba(189, 24, 139, .2), transparent 23rem),
    linear-gradient(145deg, #161116, #0a0809) !important;
}

.standalone-shell .btn-buy,
.standalone-shell .btn-download,
.standalone-shell .btn-retry,
.standalone-shell .btn-primary,
.standalone-shell .btn-secondary,
.standalone-shell .btn-ghost,
.standalone-shell .cta-btn-solid,
.standalone-shell .cta-btn-outline,
.standalone-shell input,
.standalone-shell textarea,
.standalone-shell select {
  border-radius: 10px !important;
}

.standalone-shell footer {
  border-top-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .012);
}

@media (max-width: 1040px) {
  .standalone-shell .shell-nav .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.6rem 32px;
    background: rgba(10, 8, 9, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .standalone-shell .shell-nav .nav-links.open { display: flex; }
  .standalone-shell .shell-nav .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .standalone-shell .shell-nav .wrap { padding-inline: 20px; }
  .standalone-shell .shell-nav .nav-links { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .standalone-shell .shell-nav .nav-links a::after { transition: none; }
}

/* Brand Clarity Scorecard refresh ----------------------------------------- */
.brandscore-page .screen {
  min-height: calc(100vh - 79px);
  background:
    radial-gradient(circle at 82% 4%, rgba(189, 24, 139, .13), transparent 25rem),
    linear-gradient(145deg, rgba(255, 255, 255, .018), transparent 48%);
}

.brandscore-page .content {
  max-width: 980px;
  padding: clamp(3.5rem, 7vw, 6rem) 32px;
}

.brandscore-page #screen-welcome .content {
  max-width: 1280px;
  width: 100%;
  margin: auto;
}

.brandscore-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(440px, .82fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.brandscore-page .brandscore-hero-copy { text-align: left; }

.brandscore-eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.3rem;
  color: #f079cb;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.brandscore-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.brandscore-page .welcome-title {
  max-width: 8.5ch;
  margin: 0 0 1.5rem;
  font-size: clamp(3.1rem, 6.5vw, 5.65rem);
  line-height: .94;
  letter-spacing: -.06em;
  text-align: left;
}

.brandscore-page .welcome-title span { color: #e05abc; }

.brandscore-page .welcome-sub {
  max-width: 54ch;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 400;
  line-height: 1.62;
  text-align: left;
}

.brandscore-page .stats {
  justify-content: flex-start;
  gap: 0;
  margin: 0 0 2rem;
  border-block: 1px solid rgba(255, 255, 255, .1);
}

.brandscore-page .stats > div {
  min-width: 120px;
  padding: 1rem 1.4rem 1rem 0;
}

.brandscore-page .stats > div + div {
  padding-left: 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.brandscore-page .stat-num {
  color: #f079cb;
  font-size: 1.55rem;
  line-height: 1;
}

.brandscore-page .stat-label {
  margin-top: .45rem;
  color: rgba(255, 255, 255, .58);
  font-size: .62rem;
  letter-spacing: .14em;
}

.brandscore-page .btn-primary,
.brandscore-page .btn-secondary {
  min-height: 48px;
  border-radius: 10px !important;
  font-size: .78rem;
  letter-spacing: .08em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.brandscore-page .btn-primary {
  padding: .95rem 1.55rem;
  color: #fff;
  background: #bd188b;
  box-shadow: 0 10px 28px rgba(189, 24, 139, .2);
}

.brandscore-page .btn-primary:hover {
  background: #d62ca3;
  transform: translateY(-2px);
}

.brandscore-page .btn-primary:disabled {
  opacity: .42;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.brandscore-page .brandscore-note {
  margin-top: .85rem;
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
  line-height: 1.55;
}

.brandscore-preview {
  overflow: hidden;
  color: #271f24;
  background: #f7f3f5;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  transform: rotate(1deg);
}

.score-ui-topbar {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 60px;
  padding: .75rem 1rem;
  color: #fff;
  background: #171216;
  font-size: .7rem;
}

.score-ui-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  background: #bd188b;
  font-weight: 800;
  letter-spacing: -.06em;
}

.score-ui-status {
  margin-left: auto;
  padding: .3rem .6rem;
  color: #f3b9df;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: .6rem;
}

.score-ui-body { padding: clamp(1.4rem, 3vw, 2.2rem); }

.score-ui-kicker {
  display: block;
  margin-bottom: .6rem;
  color: #8b3976;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.score-ui-total {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  color: #271f24;
}

.score-ui-total strong {
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -.07em;
}

.score-ui-total > span { color: #8b7b83; font-size: 1.35rem; }
.score-ui-total em { margin-left: auto; color: #8b3976; font-size: .65rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.score-ui-rule { height: 1px; margin: 1.15rem 0; background: #ded2d8; }

.score-ui-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .38rem 1rem;
  margin-top: .8rem;
  color: #62545c;
  font-size: .7rem;
  font-weight: 700;
}

.score-ui-row b { color: #8b3976; }
.score-ui-track { grid-column: 1 / -1; height: 6px; overflow: hidden; background: #e7dfe3; border-radius: 999px; }
.score-ui-track span { display: block; height: 100%; background: linear-gradient(90deg, #bd188b, #e05abc); border-radius: inherit; }

.score-ui-callout {
  margin-top: 1.35rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ddcfd6;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(44, 31, 38, .08);
}

.score-ui-callout small { display: block; margin-bottom: .35rem; color: #8b3976; font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.score-ui-callout strong { display: block; color: #2d2429; font-size: .75rem; line-height: 1.45; }

.brandscore-page .progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, .06);
}

.brandscore-page .progress-fill {
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #bd188b, #e05abc);
}

.brandscore-page .dim-header { margin-bottom: 2rem; }
.brandscore-page .dim-num { color: #f079cb; font-size: .7rem; }
.brandscore-page .dim-dot { width: 28px; height: 5px; background: rgba(255, 255, 255, .1); border-radius: 999px; }
.brandscore-page .dim-dot.done { background: #bd188b; }
.brandscore-page .dim-title { font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: .98; letter-spacing: -.05em; }
.brandscore-page .dim-subtitle { max-width: 58ch; color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.brandscore-page .dim-insight { max-width: 62ch; color: #f079cb; font-size: .88rem; }

.brandscore-page .question-card {
  padding: clamp(1.2rem, 3vw, 1.65rem);
  margin-bottom: .85rem;
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .1) !important;
}

.brandscore-page .question-card.answered {
  border-color: rgba(224, 90, 188, .45) !important;
  background: linear-gradient(135deg, rgba(189, 24, 139, .08), rgba(255, 255, 255, .025));
}

.brandscore-page .q-text { margin-bottom: 1rem; color: rgba(255, 255, 255, .9); font-size: .98rem; }
.brandscore-page .q-num { color: #f079cb; font-size: .72rem; letter-spacing: .08em; }
.brandscore-page .options { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }

.brandscore-page .opt-btn {
  min-width: 0;
  min-height: 66px;
  padding: .7rem .5rem;
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .12);
  border-radius: 11px;
  font-size: .78rem;
}

.brandscore-page .opt-btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); }
.brandscore-page .opt-btn.selected { color: #fff; background: #bd188b; border-color: #e05abc; box-shadow: 0 8px 22px rgba(189, 24, 139, .2); }
.brandscore-page .opt-sub { font-size: .61rem; line-height: 1.25; }
.brandscore-page .dim-nav { gap: 1rem; margin-top: 2rem; }
.brandscore-page .nav-hint { color: rgba(255, 255, 255, .55); font-size: .75rem; }

.brandscore-page #screen-gate .content { max-width: 650px; }
.brandscore-page .gate-eyebrow { color: #f079cb; font-size: .7rem; }
.brandscore-page .gate-title { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.05em; }
.brandscore-page .gate-sub { color: rgba(255, 255, 255, .75); }

.brandscore-page .gate-form {
  padding: clamp(1.35rem, 4vw, 2.25rem);
  background: linear-gradient(145deg, #1a1519, #121012);
  border-color: rgba(255, 255, 255, .12);
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .3);
}

.brandscore-page .form-label { color: rgba(255, 255, 255, .62); font-size: .67rem; letter-spacing: .12em; }
.brandscore-page .form-input { min-height: 52px; background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .12); }
.brandscore-page .form-input:focus { border-color: #e05abc; box-shadow: 0 0 0 3px rgba(189, 24, 139, .14); }
.brandscore-page .gdpr-text { color: rgba(255, 255, 255, .67); font-size: .75rem; }

.brandscore-page #screen-results .content { max-width: 1000px; }
.brandscore-page .results-num { letter-spacing: -.07em; }
.brandscore-page .results-denom { color: rgba(255, 255, 255, .38); }
.brandscore-page .results-band { border-radius: 999px; font-size: .67rem; }
.brandscore-page .results-headline { max-width: 30ch; margin-inline: auto; font-size: clamp(1.45rem, 3vw, 2.25rem); }
.brandscore-page .results-body { color: rgba(255, 255, 255, .75); }

.brandscore-page .panel,
.brandscore-page .cta-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .11) !important;
}

.brandscore-page .panel-label,
.brandscore-page .cta-tier { color: #f079cb; font-size: .68rem; }
.brandscore-page .dim-row-bar-bg { height: 7px; background: rgba(255, 255, 255, .08); border-radius: 999px; }
.brandscore-page .dim-row-bar { height: 7px; border-radius: inherit; }

.brandscore-page .insight-box {
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, rgba(189, 24, 139, .13), rgba(255, 255, 255, .025));
  border: 1px solid rgba(224, 90, 188, .24);
  border-radius: 18px;
}

.brandscore-page .insight-box p { color: rgba(255, 255, 255, .82); font-style: normal; }
.brandscore-page .cta-grid { gap: 1rem; }
.brandscore-page .cta-title { font-size: 1.12rem; }
.brandscore-page .cta-desc { color: rgba(255, 255, 255, .68); font-size: .82rem; }
.brandscore-page .cta-btn-solid,
.brandscore-page .cta-btn-outline { padding: .8rem 1rem; color: #fff; font-size: .69rem; border-width: 1px; }
.brandscore-page .cta-btn-solid { background: #bd188b; }
.brandscore-page .results-sent { margin-bottom: .7rem; color: rgba(255, 255, 255, .68); font-size: .8rem; }

@media (max-width: 900px) {
  .brandscore-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .brandscore-page .welcome-title { max-width: 10ch; }
  .brandscore-preview { width: min(100%, 620px); transform: none; }
}

@media (max-width: 600px) {
  .brandscore-page .content { padding: 3rem 20px; }
  .brandscore-page .welcome-title { font-size: clamp(2.8rem, 14vw, 4rem); }
  .brandscore-page .stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .brandscore-page .stats > div { min-width: 0; padding: .9rem .65rem .9rem 0; }
  .brandscore-page .stats > div + div { padding-left: .65rem; }
  .brandscore-page .stat-num { font-size: 1.3rem; }
  .brandscore-page .stat-label { font-size: .52rem; }
  .brandscore-page .options { grid-template-columns: repeat(2, 1fr); }
  .brandscore-page .dim-dots { display: none; }
  .brandscore-page .dim-nav { flex-wrap: wrap; }
  .brandscore-page .nav-hint { order: -1; width: 100%; text-align: center; }
  .brandscore-page .dim-nav .btn-primary,
  .brandscore-page .dim-nav .btn-secondary { flex: 1; padding-inline: .8rem; }
  .brandscore-page .cta-grid { grid-template-columns: 1fr; }
  .score-ui-total { flex-wrap: wrap; }
  .score-ui-total em { width: 100%; margin: .2rem 0 0; }
}
