/* examples-page.css — /examples showcase page styles
   Namespace: ex- prefix for page chrome; inherits bp- classes from brief-page.css for inline briefs.
   Mobile-first. */

/* ── Body ─────────────────────────────────────────────────────────── */
.ex-body {
  background: var(--color-bg, #faf8f4);
  color: var(--color-text, #2a1f14);
  font-family: var(--font-body, 'DM Sans', sans-serif);
  margin: 0;
}

/* ── Header ───────────────────────────────────────────────────────── */
.ex-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: var(--color-bg, #faf8f4);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ex-header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ex-logo {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text, #2a1f14);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.ex-cta-btn {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--color-accent, #c4683a);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
}
.ex-cta-btn:hover { background: #b35a30; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.ex-hero {
  padding: 3rem 1.25rem 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.ex-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent, #c4683a);
  margin: 0 0 0.6rem;
  font-weight: 500;
}

.ex-headline {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--color-text, #2a1f14);
  margin: 0 0 0.75rem;
}

.ex-subhead {
  font-size: 1.05rem;
  color: var(--color-muted, #6b5c4e);
  margin: 0;
  line-height: 1.5;
}

/* ── Main ─────────────────────────────────────────────────────────── */
.ex-main { padding: 1rem 0 3rem; }

.ex-main-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ── Individual example ───────────────────────────────────────────── */
.ex-example { display: flex; flex-direction: column; gap: 0; }

/* Platform label */
.ex-label-row { margin-bottom: 0.75rem; }

.ex-platform-chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(196, 104, 58, 0.1);
  color: var(--color-accent, #c4683a);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Brief wrapper: scoped visual container */
.ex-brief-wrap {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Override bp-hero padding inside the embed */
.ex-brief-wrap .ex-brief-hero {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ex-brief-wrap .bp-hero-inner { max-width: 100%; padding: 0; }
.ex-brief-wrap .bp-eyebrow { font-size: 0.7rem; margin-bottom: 0.3rem; }
.ex-brief-wrap .bp-couple { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.ex-brief-wrap .bp-facts { gap: 0.5rem; }

.ex-brief-body {
  padding: 0 1.75rem 1.5rem;
}

.ex-brief-body .bp-section {
  padding-top: 1.25rem;
  padding-bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 1.25rem;
}
.ex-brief-body .bp-section:first-child { margin-top: 0; border-top: none; padding-top: 1.25rem; }

.ex-brief-body .bp-section-title {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted, #6b5c4e);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ex-brief-body .bp-section-title svg { width: 14px; height: 14px; opacity: 0.7; flex-shrink: 0; }

/* ── Paste box ────────────────────────────────────────────────────── */
.ex-paste-box {
  background: var(--color-accent, #c4683a);
  border-radius: 0 0 12px 12px;
  padding: 1.1rem 1.75rem 1.25rem;
  border: 1px solid rgba(196, 104, 58, 0.5);
  border-top: none;
}

.ex-paste-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ex-paste-input {
  flex: 1;
  min-width: 200px;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
  color: #2a1f14;
  outline: none;
}
.ex-paste-input::placeholder { color: #9b8b7a; }
.ex-paste-input:focus { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.5); }

.ex-paste-btn {
  padding: 0.7rem 1.3rem;
  background: #2a1f14;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.ex-paste-btn:hover { background: #1a1108; }

.ex-paste-hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── Footer ───────────────────────────────────────────────────────── */
.ex-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 1.25rem;
  text-align: center;
  background: var(--color-bg, #faf8f4);
}

.ex-footer-inner {
  max-width: 860px;
  margin: 0 auto;
}

.ex-footer-brand a {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text, #2a1f14);
  text-decoration: none;
}

.ex-footer-tagline {
  font-size: 0.8rem;
  color: var(--color-muted, #6b5c4e);
  margin: 0.25rem 0 0.75rem;
}

.ex-footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.ex-footer-nav a {
  font-size: 0.8rem;
  color: var(--color-muted, #6b5c4e);
  text-decoration: none;
}
.ex-footer-nav a:hover { color: var(--color-accent, #c4683a); }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 500px) {
  .ex-paste-form { flex-direction: column; }
  .ex-paste-input, .ex-paste-btn { width: 100%; }
  .ex-brief-wrap .ex-brief-hero { padding: 1.25rem 1.1rem 1rem; }
  .ex-brief-body { padding: 0 1.1rem 1.25rem; }
  .ex-paste-box { padding: 1rem 1.1rem 1.1rem; }
}

/* Suppress feedback chips and disclosure elements inside examples (they are not functional) */
.ex-brief-wrap .bp-fb-chip,
.ex-brief-wrap .bp-audit,
.ex-brief-wrap .bp-conf,
.ex-brief-wrap .bp-warn-banner { display: none !important; }
