:root { --showcase-report-radius: 1.25rem; }
html[data-theme="dark"] {
  --hub-bg: #07101f;
  --hub-surface: #101b2e;
  --hub-soft: #14243a;
  --hub-text: #f3f7fc;
  --hub-muted: #a9b7ca;
  --hub-border: #2a3b53;
  --hub-teal: #5eead4;
  --hub-shadow: 0 22px 65px rgba(0, 0, 0, 0.28);
}

.showcase-hero { padding: clamp(4rem, 10vw, 7rem) 0 3.5rem; background: radial-gradient(circle at 75% 20%, rgba(8,145,178,.15), transparent 34%), linear-gradient(180deg, rgba(91,74,163,.08), transparent); }
.showcase-hero h1 { max-width: 860px; margin: .65rem 0 1rem; font-size: calc(3rem - 1pt); line-height: 1.05; letter-spacing: -.035em; }
.showcase-hero p:last-child { max-width: 790px; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; color: var(--hub-muted); }
.showcase-section { padding: 2rem 0 5rem; }
.showcase-gallery-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.showcase-gallery-heading h2 { margin-top: .4rem; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.showcase-gallery-heading > p { max-width: 31rem; color: var(--hub-muted); line-height: 1.6; }
.showcase-list { display: grid; gap: 1rem; }
.showcase-entry { overflow: hidden; border: 1px solid var(--hub-border); border-radius: var(--showcase-report-radius); background: var(--hub-surface); box-shadow: 0 12px 34px rgba(15,23,42,.08); transition: border-color 180ms ease, box-shadow 180ms ease; }
.showcase-entry[open] { border-color: color-mix(in srgb, var(--hub-accent) 45%, var(--hub-border)); box-shadow: var(--hub-shadow); }
.showcase-entry > summary { display: grid; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; cursor: pointer; list-style: none; background: linear-gradient(120deg, var(--hub-surface), color-mix(in srgb, var(--hub-surface) 92%, #cffafe 8%)); }
.showcase-entry > summary::-webkit-details-marker { display: none; }
.showcase-entry > summary:hover { background: color-mix(in srgb, var(--hub-surface) 92%, var(--hub-accent) 8%); }
.showcase-entry-identity { display: grid; grid-template-columns: 7rem minmax(0,1fr); align-items: center; gap: 1rem; min-width: 0; }
.showcase-avatar { display: block; overflow: hidden; flex: 0 0 auto; border: 1px solid color-mix(in srgb, var(--hub-border) 76%, var(--hub-accent) 24%); border-radius: 1rem; background: #ecfeff; box-shadow: 0 7px 20px rgba(15,23,42,.10); }
.showcase-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase-avatar-card { width: 7rem; height: 7rem; }
.showcase-avatar-report { width: clamp(5.5rem, 10vw, 7.5rem); height: clamp(5.5rem, 10vw, 7.5rem); }
.showcase-avatar.is-placeholder img { padding: .35rem; object-fit: contain; }
.showcase-entry-profile h2 { margin-top: .35rem; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.1; }
.showcase-entry-profile > p:last-child { margin-top: .4rem; color: var(--hub-muted); font-size: .85rem; }
.showcase-entry-voice > span { color: var(--hub-accent); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.showcase-entry-voice blockquote { margin-top: .4rem; color: var(--hub-text); font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 750; line-height: 1.4; }
.showcase-entry-action { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.showcase-entry-confidence { border-radius: 999px; background: rgba(16,185,129,.12); padding: .35rem .65rem; color: #047857; font-size: .65rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
html[data-theme="dark"] .showcase-entry-confidence { color: #6ee7b7; }
.showcase-entry-open { display: inline-flex; align-items: center; gap: .45rem; color: var(--hub-accent); font-size: .78rem; font-weight: 850; white-space: nowrap; }
.showcase-entry-open b { display: inline-block; font-size: 1.1rem; transition: transform 180ms ease; }
.showcase-entry .when-open { display: none; }
.showcase-entry[open] .when-closed { display: none; }
.showcase-entry[open] .when-open { display: inline; }
.showcase-entry[open] .showcase-entry-open b { transform: rotate(180deg); }
.showcase-entry-detail { border-top: 1px solid var(--hub-border); background: var(--hub-bg); padding: clamp(.75rem, 2vw, 1.25rem); }
.showcase-detail-loading, .showcase-detail-error { padding: 2rem; text-align: center; color: var(--hub-muted); }
.showcase-detail-error { color: #b91c1c; }
.showcase-report { max-width: 1160px; margin: 0 auto; }
.showcase-profile, .showcase-answer, .showcase-why, .showcase-notice { border: 1px solid var(--hub-border); border-radius: var(--showcase-report-radius); background: var(--hub-surface); box-shadow: 0 20px 55px rgba(15,23,42,.11); }
.showcase-profile { padding: clamp(1.25rem, 4vw, 2rem); background: linear-gradient(120deg, var(--hub-surface), color-mix(in srgb, var(--hub-surface) 88%, #ccfbf1 12%)); }
.showcase-profile-identity { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.5rem); }
.showcase-profile-copy { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .65rem 1.5rem; margin-top: .6rem; }
.showcase-profile h3 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1; }
.showcase-profile p:last-child { margin-top: .55rem; color: var(--hub-muted); }
.showcase-answer { margin-top: 1.25rem; overflow: hidden; }
.showcase-report > .showcase-answer:first-child { margin-top: 0; }
.showcase-answer-header { padding: clamp(1.25rem, 4vw, 2rem); border-bottom: 1px solid rgba(8,145,178,.28); background: linear-gradient(120deg, var(--hub-surface), color-mix(in srgb, var(--hub-surface) 90%, #cffafe 10%)); }
.showcase-answer-header h3 { margin-top: .45rem; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; }
.showcase-answer-grid { display: grid; }
.showcase-answer-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 5vw, 3rem); }
.showcase-answer-copy blockquote { color: var(--hub-text); font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.25; }
.showcase-answer-copy > p { margin-top: 1rem; color: var(--hub-muted); line-height: 1.65; }
.showcase-confidence { display: inline-flex; align-self: flex-start; margin-top: 1.25rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(16,185,129,.13); color: #047857; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
html[data-theme="dark"] .showcase-confidence { color: #6ee7b7; }
.showcase-evidence { min-width: 0; border-top: 1px solid rgba(8,145,178,.28); background: #020617; color: #cbd5e1; }
.showcase-layer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; border-bottom: 1px solid rgba(8,145,178,.28); padding: .7rem .85rem; }
.showcase-layer-bar strong { margin-right: .25rem; color: #94a3b8; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.showcase-layer-bar span { border: 1px solid rgba(34,211,238,.45); border-radius: 999px; padding: .16rem .48rem; color: #a5f3fc; font-size: .65rem; font-weight: 800; }
.showcase-layer-bar span:nth-of-type(2) { border-color: rgba(232,121,249,.48); color: #f5d0fe; }
.showcase-layer-bar span:nth-of-type(3) { border-color: rgba(251,191,36,.5); color: #fde68a; }
.showcase-image-wrap { position: relative; background: #020617; }
.showcase-image-wrap img { display: block; width: 100%; max-height: 650px; object-fit: contain; }
.showcase-evidence-overlay { position: absolute; inset: 0; pointer-events: none; }
.showcase-evidence-overlay svg { width: 100%; height: 100%; }
.showcase-evidence-metrics { padding: .65rem .85rem; color: #94a3b8; font-size: .7rem; line-height: 1.55; }
.showcase-why { margin-top: 1.25rem; padding: clamp(1.5rem, 5vw, 2.5rem); background: linear-gradient(135deg, rgba(245,158,11,.08), var(--hub-surface)); }
.showcase-why h3 { margin-top: .5rem; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.showcase-why-headline { margin-top: .55rem; color: var(--hub-muted); }
.showcase-why-hypotheses { display: grid; gap: .8rem; margin-top: 1.25rem; }
.showcase-why-hypotheses article { border: 1px solid var(--hub-border); border-radius: .85rem; padding: 1rem; background: var(--hub-surface); box-shadow: 0 3px 10px rgba(15,23,42,.04); }
.showcase-why-hypotheses article.is-primary { border-color: rgba(181,145,57,.35); background: color-mix(in srgb, var(--hub-surface) 88%, #fef3c7 12%); }
.showcase-why-hypotheses article.is-safety { border-color: rgba(220,38,38,.25); background: color-mix(in srgb, var(--hub-surface) 90%, #fee2e2 10%); }
.showcase-why-hypotheses article strong { display: block; }
.showcase-why-hypotheses article p { margin-top: .55rem; color: var(--hub-muted); font-size: .88rem; line-height: 1.55; }
.showcase-why-hypotheses article small { display: block; margin-top: .65rem; color: #b45309; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
html[data-theme="dark"] .showcase-why-hypotheses article small { color: #fcd34d; }
.showcase-why-followup { display: grid; gap: .8rem; margin-top: 1rem; }
.showcase-why-followup > div { border: 1px solid rgba(8,145,178,.28); border-radius: .85rem; padding: 1rem; background: rgba(8,145,178,.08); }
.showcase-why-followup > div:last-child { border-color: rgba(16,185,129,.28); background: rgba(16,185,129,.08); }
.showcase-why-followup strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.showcase-why-followup p { margin-top: .45rem; color: var(--hub-muted); line-height: 1.55; }
.showcase-notice { margin-top: 1.25rem; padding: 1rem; color: var(--hub-muted); font-size: .82rem; line-height: 1.6; box-shadow: none; }
.showcase-load-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.showcase-load-actions.hidden, #loadMoreShowcase.hidden { display: none; }
#loadMoreShowcase, .showcase-state a { display: inline-flex; border-radius: .75rem; background: #087f9b; padding: .8rem 1.1rem; color: #fff; font-weight: 800; }
#loadMoreShowcase:hover, .showcase-state a:hover { background: #066b82; }
#loadMoreShowcase:disabled { cursor: wait; opacity: .65; }
#showcaseCountStatus { color: var(--hub-muted); font-size: .82rem; }
.showcase-state { max-width: 760px; margin: 2rem auto; padding: 3rem; border: 1px dashed var(--hub-border); border-radius: 1.25rem; text-align: center; color: var(--hub-muted); }
.showcase-state h2 { margin-bottom: .75rem; color: var(--hub-text); font-size: 2rem; }
.showcase-privacy { padding: 4rem 0; background: var(--hub-soft); }
.showcase-privacy .hub-shell { display: grid; gap: 1.5rem; }
.showcase-privacy h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.showcase-privacy p { margin-bottom: .75rem; color: var(--hub-muted); line-height: 1.6; }
@media (min-width: 820px) { .showcase-entry > summary { grid-template-columns: minmax(20rem,.85fr) minmax(18rem,1.15fr) auto; } .showcase-answer-grid { grid-template-columns: minmax(320px,.88fr) minmax(0,1.12fr); } .showcase-evidence { border-top: 0; border-left: 1px solid rgba(8,145,178,.28); } .showcase-why-hypotheses { grid-template-columns: repeat(3,minmax(0,1fr)); } .showcase-why-followup { grid-template-columns: repeat(2,minmax(0,1fr)); } .showcase-privacy .hub-shell { grid-template-columns: .8fr 1.2fr; } }
@media (max-width: 819px) { .showcase-entry-action { border-top: 1px solid var(--hub-border); padding-top: .85rem; } }
@media (max-width: 640px) { .showcase-hero h1 { font-size: 2.25rem; } .showcase-state { padding: 2rem 1rem; } .showcase-entry > summary { padding: 1rem; } .showcase-entry-identity { grid-template-columns: 4.75rem minmax(0,1fr); gap: .8rem; } .showcase-avatar-card { width: 4.75rem; height: 4.75rem; border-radius: .8rem; } .showcase-profile-identity { align-items: flex-start; } .showcase-entry-detail { padding: .5rem; } }
