/* =========================================================================
   CortexCommerce — product page styles (extends styles.css)
   ========================================================================= */

/* Product hero tweaks: a touch more compact than the home hero */
.hero.phero {
  padding: 150px 0 96px;
}
@media (max-width: 560px) {
  .hero.phero {
    padding: 112px 0 60px;
  }
}
.phero .eyebrow {
  color: var(--indigo-1);
}
.phero h1 {
  font-size: clamp(38px, 4.8vw, 60px);
}
.phero .sub {
  max-width: 560px;
}

/* Problem / prose band */
.prose-band {
  max-width: 820px;
}
.prose-band h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -1.1px;
  line-height: 1.08;
  margin: 14px 0 0;
}
.prose-band p {
  font-size: 19px;
  color: var(--body);
  margin: 18px 0 0;
}

/* Feature grid (6) */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feat-grid > * {
  min-width: 0;
}
@media (max-width: 900px) {
  .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }
}

/* Screenshot showcase — real app slides in a framed figure */
.shot-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--card);
}
.shot-frame .bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.shot-frame .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.shot-frame .bar i:nth-child(1) {
  background: #ff5f57;
}
.shot-frame .bar i:nth-child(2) {
  background: #febc2e;
}
.shot-frame .bar i:nth-child(3) {
  background: #28c840;
}
.shot-frame .bar .u {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 3px 12px;
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-glow2 {
  position: absolute;
  inset: 14% -4% -12% 4%;
  z-index: -1;
  border-radius: 40px;
  filter: blur(46px);
  background: var(--grad-bright);
  opacity: 0.2;
}
.figure-cap {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

/* Gallery: stacked alternating bands reuse .band / .band.flip from styles.css */

/* How it works — numbered steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.step {
  position: relative;
  padding-top: 6px;
}
.step .n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-glow);
}
.step h3 {
  font-size: 19px;
  margin: 0 0 7px;
  letter-spacing: -0.3px;
}
.step p {
  font-size: 15.5px;
  color: var(--body);
  margin: 0;
}
.step::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 52px;
  right: -13px;
  height: 2px;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--indigo-1) 35%, transparent),
    transparent
  );
}
.step:last-child::before {
  display: none;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .step::before {
    display: none;
  }
}

/* FAQ accordion */
.faq {
  max-width: 840px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 12px;
  overflow: hidden;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.faq-item.open {
  border-color: color-mix(in oklab, var(--indigo-1) 35%, var(--line));
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q .pm {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--indigo-soft);
  color: var(--indigo-2);
  display: grid;
  place-items: center;
  transition:
    transform 0.3s ease,
    background 0.25s;
}
.faq-item.open .faq-q .pm {
  transform: rotate(45deg);
  background: var(--grad);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a .inner {
  padding: 0 22px 20px;
  font-size: 16px;
  color: var(--body);
}

/* Suite cross-links at the foot of each product page */
.cross {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cross > * {
  min-width: 0;
}
.cross-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.cross-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--indigo-1) 30%, var(--line));
  text-decoration: none;
}
.cross-card .ic-lg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: 0 0 auto;
}
.cross-card .cc-k {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.cross-card .cc-t {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 2px;
}
.cross-card .cc-a {
  margin-left: auto;
  color: var(--indigo-2);
}
@media (max-width: 700px) {
  .cross {
    grid-template-columns: 1fr;
  }
}

/* Brand-voice typing creative (Guard page) */
.bv-field {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--card);
}
.bv-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bv-k .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a7f4b;
}
.bv-v {
  font-size: 14px;
  color: var(--ink);
  margin-top: 6px;
  min-height: 1.3em;
}
.bv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.bv-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo-2);
  background: var(--indigo-soft);
  border: 1px solid color-mix(in oklab, var(--indigo-1) 22%, transparent);
  padding: 4px 10px;
  border-radius: 7px;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.bv-chip.in {
  opacity: 1;
  transform: none;
}
.bv-sugg {
  margin-top: 12px;
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13px;
  color: #2a3550;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s,
    transform 0.35s;
}
.bv-sugg.in {
  opacity: 1;
  transform: none;
}
.bv-sugg .lead {
  font-weight: 800;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* =======================================================================
   CortexPersona — iPhone "For You" feed
   ======================================================================= */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-stage .cv-glow {
  inset: 6% 18% -8% 18%;
  opacity: 0.26;
}
.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 624;
  background: #0c0e1a;
  border-radius: 48px;
  padding: 11px;
  box-shadow:
    0 44px 90px -34px rgba(20, 24, 55, 0.6),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  animation: floaty calc(7s / var(--mo)) ease-in-out infinite;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-soft);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  background: #06070d;
  border-radius: 14px;
  z-index: 6;
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.phone-status .r {
  display: flex;
  gap: 6px;
  align-items: center;
}
.phone-status .bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 11px;
}
.phone-status .bars i {
  width: 3px;
  border-radius: 1px;
  background: var(--ink);
}
.phone-status .bars i:nth-child(1) {
  height: 4px;
}
.phone-status .bars i:nth-child(2) {
  height: 6px;
}
.phone-status .bars i:nth-child(3) {
  height: 9px;
}
.phone-status .bars i:nth-child(4) {
  height: 11px;
}
.phone-status .batt {
  width: 22px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  position: relative;
}
.phone-status .batt::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  width: 70%;
  background: var(--ink);
  border-radius: 1px;
}
.ph-app {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 10px;
}
.ph-app .t {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.ph-app .t .spark {
  color: var(--accent-deep);
  display: inline-flex;
}
.ph-chip {
  font-size: 11px;
  font-weight: 700;
  color: var(--indigo-2);
  background: var(--indigo-soft);
  border: 1px solid color-mix(in oklab, var(--indigo-1) 24%, transparent);
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ph-chip .av {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--grad);
  flex: 0 0 auto;
}
.ph-chip .lbl {
  transition: opacity 0.3s;
}
.ph-feed {
  flex: 1;
  overflow: hidden;
  padding: 0 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.45s ease;
  -webkit-mask-image: linear-gradient(#000 88%, transparent);
  mask-image: linear-gradient(#000 88%, transparent);
}
.ph-banner {
  position: relative;
  height: 104px;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 auto;
  order: -10;
}
.ph-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-banner .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 13px 11px;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 12, 30, 0.72));
}
.ph-banner .cap b {
  font-size: 14px;
  font-weight: 800;
  display: block;
}
.ph-banner .cap span {
  font-size: 11px;
  opacity: 0.85;
}
.ph-rowlbl {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 2px 2px -2px;
  order: -9;
}
.ph-card {
  display: flex;
  gap: 11px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  padding: 8px;
  transition:
    opacity 0.5s ease,
    border-color 0.3s,
    box-shadow 0.3s;
}
.ph-card.top {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 32%, transparent);
}
.ph-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}
.ph-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-info {
  flex: 1;
  min-width: 0;
}
.ph-nm {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-pr {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.ph-match {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Persona profile card (showcase) */
.pp-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.pp-av {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.pp-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pp-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.pp-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 1px;
}
.pp-section {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin: 14px 0 8px;
}
.pp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.pp-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo-2);
  background: var(--indigo-soft);
  border: 1px solid color-mix(in oklab, var(--indigo-1) 22%, transparent);
  padding: 5px 11px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(5px) scale(0.96);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.pp-tag.in {
  opacity: 1;
  transform: none;
}
.pp-bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pp-bar {
  display: grid;
  grid-template-columns: 96px 1fr 34px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--body);
  font-weight: 600;
}
.pp-bar .track {
  height: 7px;
  border-radius: 99px;
  background: var(--bg-soft-2);
  overflow: hidden;
}
.pp-bar .track > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--grad-bright);
  transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pp-bar .pct {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--indigo-2);
  font-weight: 800;
}

/* Why-this-pick card */
.why-pick {
}
.wp-prod {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 14px;
}
.wp-th {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  overflow: hidden;
  flex: 0 0 auto;
}
.wp-th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-nm {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.wp-meta {
  font-size: 12.5px;
  color: var(--body);
  margin-top: 3px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.wp-meta .sc-stars {
  color: #f5a623;
  letter-spacing: 1.5px;
  font-size: 12px;
}
.wp-ring {
  margin-left: auto;
}
.wp-reasons {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.wp-reason {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 10px 13px;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.wp-reason.in {
  opacity: 1;
  transform: none;
}
.wp-reason .ck {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e7f7ee;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #1a7f4b;
}
.wp-reason b {
  color: var(--indigo-2);
}

/* Capability cards (Taste Profiles / Theme Studio / Set up in minutes) */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.cap-grid > * {
  min-width: 0;
}
@media (max-width: 900px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}
.cap-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklab, var(--indigo-1) 30%, var(--line));
}
.cap-vis {
  padding: 20px;
  background: linear-gradient(180deg, var(--bg-soft), var(--card));
  border-bottom: 1px solid var(--line-soft);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
.cap-body {
  padding: 22px 22px 24px;
}
.cap-body h3 {
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.cap-body p {
  font-size: 15px;
  color: var(--body);
  margin: 0;
}
.gift-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 8px 11px;
}
.gift-row .gi {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 auto;
}
.gift-row .gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gift-row .gt {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gift-row .gbadge {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.gbadge.keep {
  color: #1a7f4b;
  background: #e7f7ee;
}
.gbadge.gift {
  color: var(--indigo-2);
  background: var(--indigo-soft);
}
.theme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.theme-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--indigo-2);
  background: var(--indigo-soft);
  border: 1px solid color-mix(in oklab, var(--indigo-1) 22%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
}
.theme-approve {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  color: #1a7f4b;
}
.setup-state {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.setup-row {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.setup-row .ck {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e7f7ee;
  color: #1a7f4b;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.setup-row.mut {
  color: var(--muted);
}
.setup-row.mut .ck {
  background: var(--bg-soft-2);
  color: var(--muted);
}

/* =======================================================================
   CortexSchema — phone "AI answer" surface + capability visuals
   ======================================================================= */
.ph-chat {
  flex: 1;
  overflow: hidden;
  padding: 6px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-mask-image: linear-gradient(#000 90%, transparent);
  mask-image: linear-gradient(#000 90%, transparent);
}
.ph-bubble {
  max-width: 86%;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 13px;
  border-radius: 16px;
}
.ph-bubble.user {
  align-self: flex-end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.ph-bubble.ai {
  align-self: flex-start;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line-soft);
  border-bottom-left-radius: 5px;
}
.ph-bubble .ccaret {
  background: #fff;
}
.ph-think2 {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 9px 13px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
}
.ph-think2 i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo-1);
  opacity: 0.4;
  animation: scdot calc(1.1s / var(--mo)) infinite;
}
.ph-think2 i:nth-child(2) {
  animation-delay: 0.15s;
}
.ph-think2 i:nth-child(3) {
  animation-delay: 0.3s;
}
.ph-ans {
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.ph-ans.in {
  opacity: 1;
  transform: none;
}
.ph-ans .lead {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-deep);
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.ph-ans .row {
  display: flex;
  gap: 11px;
  align-items: center;
}
.ph-ans .th {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  overflow: hidden;
  flex: 0 0 auto;
}
.ph-ans .th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-ans .nm {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.ph-ans .mt {
  font-size: 11.5px;
  color: var(--body);
  margin-top: 3px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.ph-ans .stars {
  color: #f5a623;
  font-size: 11px;
  letter-spacing: 1px;
}
.ph-ans .src {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ph-ans .src .d {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Rich-result capability visual */
.rr {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 12px 14px;
}
.rr .url {
  font-size: 11px;
  color: #1a7f4b;
}
.rr .ti {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--indigo-2);
  margin-top: 2px;
}
.rr .meta {
  font-size: 12px;
  color: var(--body);
  margin-top: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.rr .stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 12px;
}
.llm-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  line-height: 1.7;
  color: #34405a;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 11px 13px;
  white-space: pre;
  overflow: hidden;
}
.llm-code .k {
  color: var(--indigo-2);
}
.llm-code .c {
  color: var(--muted);
}

/* =======================================================================
   CortexSchema — AI Visibility (measure-first) components
   ======================================================================= */
/* Scorecard creative (hero) */
.scb-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.scb-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  flex: 0 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) var(--p, 0%), var(--bg-soft-2) 0);
}
.scb-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--card);
}
.scb-ring .v {
  position: relative;
  z-index: 1;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.scb-ring .v small {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}
.scb-t {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.scb-s {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.scb-engines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scb-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
}
.scb-row .track {
  height: 7px;
  border-radius: 99px;
  background: var(--bg-soft-2);
  overflow: hidden;
}
.scb-row .track > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--grad-bright);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scb-row .pct {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--indigo-2);
  font-weight: 800;
  font-size: 12.5px;
}
.scb-rev {
  margin-top: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 12px 15px;
}
.scb-rev .num {
  font-size: 19px;
  font-weight: 800;
  color: var(--accent-deep);
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
}
.scb-rev .lbl {
  font-size: 12.5px;
  color: #2a3550;
  font-weight: 600;
}

/* Prioritized fix list (capabilities) */
.fx-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fx-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 9px 11px;
}
.fx-chip {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.fx-chip.high {
  color: #b42318;
  background: #fde8e6;
}
.fx-chip.med {
  color: #93600a;
  background: #fdf0d4;
}
.fx-chip.low {
  color: var(--muted);
  background: var(--bg-soft-2);
}
.fx-t {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fx-btn {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.fx-btn.ghost {
  background: var(--bg-soft-2);
  color: var(--body);
}

/* Mobile: tighten grids & code so nothing clips at phone widths */
@media (max-width: 560px) {
  .pf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .llm-code {
    font-size: 10.5px;
    overflow-x: auto;
  }
  .phone {
    width: 272px;
  }
  .prose-band p {
    font-size: 17px;
  }
  .shot-frame .bar .u {
    display: none;
  }
  .faq-q {
    font-size: 15.5px;
    padding: 16px 16px;
  }
  .faq-a .inner {
    padding: 0 16px 16px;
    font-size: 15px;
  }
}
