/* ==========================================================================
   Shared sections of a press release page (layered on /site.css and
   /press/press.css): the hero's glow, feature bands, "gem" rows, the Paper
   mock-ups in the app's own colours, the comparison scorecard, the FAQ.
   A release's own demo keeps its styles inline in its page.
   ========================================================================== */

@keyframes rl-shine { 50% { background-position: 100% 0; } }
.press-hero { position: relative; overflow: hidden; padding-bottom: 12px; }
.press-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 80%;
  background:
    radial-gradient(45% 55% at 50% 0%, rgba(240,106,155,.26), transparent 70%),
    radial-gradient(35% 45% at 82% 25%, rgba(255,210,122,.14), transparent 70%),
    radial-gradient(30% 40% at 15% 30%, rgba(139,92,246,.20), transparent 70%);
  pointer-events: none; z-index: 0;
}
.press-hero > .wrap { position: relative; z-index: 1; }
.press-head h1 { font-size: clamp(38px, 6.6vw, 76px) !important; }
.press-head h1 em { font-style: italic; background: linear-gradient(100deg, #ffd27a, #f5a66a 25%, #f06a9b 60%, #c084fc); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rl-shine 9s ease-in-out infinite; padding-right: .08em; }

.rl-demo { margin: 46px auto 0; max-width: 1080px; }
.rl-demo figcaption { margin: 18px auto 0; max-width: 680px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--fg-3); }
.rl-stage { position: relative; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(120% 90% at 50% 0%, #2a1730, #141018 70%); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(240,106,155,.08); padding: clamp(16px, 3vw, 34px); overflow: hidden; }

.band-feat { width: 100%; max-width: 1100px; min-width: 0; margin: 104px auto 0; padding: 0 16px; box-sizing: border-box; }
.score-wrap { max-width: 100%; }
.band-feat .head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.band-feat .head .k { font: 700 11px/1 Manrope, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.band-feat .head h2 { margin: 10px 0 12px; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.band-feat .head h2 .grad-text { display: inline; padding-right: .14em; margin-right: -.08em; }
.band-feat .head p { margin: 0; color: var(--fg-2); font-size: 16.5px; line-height: 1.6; text-wrap: pretty; }

.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rules.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .rules, .rules.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rules, .rules.three { grid-template-columns: 1fr; } }
.rule { border: 1px solid var(--border); border-radius: 18px; padding: 18px; background: rgba(255,255,255,.02); }
.rule .n { font: 800 11px/1 Manrope, sans-serif; letter-spacing: .14em; color: #f9a8c9; }
.rule h3 { margin: 10px 0 6px; font: 500 20px/1.25 Lora, Georgia, serif; }
.rule p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.55; }

.gem { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: center; margin: 0 auto 72px; max-width: 1060px; }
.gem.flip { grid-template-columns: 1.15fr 1fr; }
.gem.flip .gem-copy { order: 2; }
@media (max-width: 880px) { .gem, .gem.flip { grid-template-columns: 1fr; } .gem.flip .gem-copy { order: 0; } }
.gem .n { display: inline-flex; align-items: center; gap: 8px; font: 800 11px/1 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #f9a8c9; }
.gem .n b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #f06a9b, #c084fc); font-size: 11px; letter-spacing: 0; }
.gem h3 { margin: 12px 0 10px; font: 500 clamp(26px, 3.4vw, 36px)/1.15 Lora, Georgia, serif; text-wrap: balance; }
.gem p { margin: 0 0 12px; color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.gem .where { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(240,106,155,.10); border: 1px solid rgba(240,106,155,.32); color: var(--fg); font-size: 14.5px; line-height: 1.5; }
.gem .where b { color: #ffd9e7; }
.gem .where svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: #f9a8c9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gem figure { margin: 0; }
.gem figure img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }

/* Drawn mock-ups, in the app's Paper colours (every text 4.5:1 or more). */
.mock { border-radius: 18px; padding: 18px; background: #f6efe2; color: #2c241c; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); font: 500 14px/1.5 Manrope, system-ui, sans-serif; }
.mock-label { font: 800 10.5px/1 Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6b5e4e; margin: 0 0 10px; }
.mock .prose { font: 400 16px/1.65 Lora, Georgia, serif; color: #2c241c; margin: 0; }

/* The scorecard */
.score-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 22px; border: 1px solid var(--border); background: rgba(255,255,255,.015); }
.score { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.45; }
.score th, .score td { padding: 16px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.score thead th { font: 800 11.5px/1.3 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); background: #131117; }
.score thead th.us { color: #fff; background: linear-gradient(180deg, #3a1a2b, #24131d); }
.score tbody th { width: 180px; font: 700 14px/1.35 Manrope, sans-serif; color: var(--fg); }
.score td { color: var(--fg-2); }
.score td.us { color: var(--fg); font-weight: 600; background: rgba(240,106,155,.08); border-left: 1px solid rgba(240,106,155,.35); border-right: 1px solid rgba(240,106,155,.35); }
.score .mk { display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0 6px -4px 0; border-radius: 50%; }
.score .mk.yes { background: #d94d82 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: 0 0 12px rgba(240,106,155,.55); }
.score .mk.no { border: 1px solid rgba(255,255,255,.2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 2.5l5 5M7.5 2.5l-5 5' stroke='%23a59fae' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.score .mk.half { border: 1px solid rgba(255,210,122,.5); background: linear-gradient(90deg, rgba(255,210,122,.6) 50%, transparent 50%); }
.score sup a { color: var(--fg-3); text-decoration: none; font-size: 10px; }
.score .us-badge { display: inline-flex; align-items: center; gap: 6px; }
.score .us-badge i { padding: 3px 7px; border-radius: 999px; font: 800 9.5px/1 Manrope, sans-serif; letter-spacing: .06em; color: #fff; font-style: normal; background: linear-gradient(135deg, #f06a9b, #c084fc); }
.score-note { margin: 14px 4px 0; font-size: 12.5px; line-height: 1.55; color: var(--fg-3); }
.score-note a { color: var(--fg-2); }
.rl-sources { max-width: 820px; margin: 0 auto; padding-left: 20px; color: var(--fg-3); font-size: 13px; line-height: 1.6; }
.rl-sources a { color: var(--fg-2); }

.ap-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.ap-faq details { border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; background: rgba(255,255,255,.02); }
.ap-faq summary { cursor: pointer; font: 600 16px/1.4 Manrope, sans-serif; color: var(--fg); list-style: none; }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary::after { content: "+"; float: right; color: var(--fg-3); font-weight: 400; }
.ap-faq details[open] summary::after { content: "−"; }
.ap-faq p { margin: 10px 0 2px; color: var(--fg-2); font-size: 15px; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) { .press-head h1 em { animation: none; } }
