/* Shared Molten Arc theme for pSEO pages (D1.1, D1.5, future standards) */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #08080A; --surface: #111115; --surface-deep: #0C0C10;
  --arc: #FFB627; --arc-hot: #FF8C00;
  --arc-glow: rgba(255,182,39,0.15); --arc-glow-strong: rgba(255,182,39,0.3);
  --arc-glow-subtle: rgba(255,182,39,0.10);
  --text: #F0EDE8; --text-muted: #9A9AA0; --text-dim: #6A6A72;
  --border: #2A2A2E; --border-subtle: #1A1A1E; --success: #34D399; --radius: 6px;
}
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: 'Barlow', sans-serif; font-weight: 400; line-height: 1.6; min-height: 100dvh; overflow-x: clip; position: relative; }
body::before { content: ''; position: fixed; inset: 0; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px; pointer-events: none; z-index: 1; }
body::after { content: ''; position: fixed; top: 30%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 600px; background: radial-gradient(ellipse, var(--arc-glow-subtle) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.page { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 24px; }
a { color: var(--arc); text-decoration: none; }
a:hover { color: var(--arc-hot); }
.breadcrumb { margin-top: 24px; font-size: 0.75rem; color: var(--text-dim); font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.04em; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--arc); }
.breadcrumb span { color: var(--text-dim); margin: 0 6px; }
.hero { padding: 48px 0 32px; }
.hero__label { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; color: var(--arc); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.8rem,4.5vw,2.6rem); line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero__sub { color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 580px; }
.arc-line { position: relative; height: 2px; margin: 32px 0; background: linear-gradient(90deg, transparent 0%, var(--arc) 30%, var(--arc-hot) 50%, var(--arc) 70%, transparent 100%); opacity: 0; animation: arcIgnite 1.2s ease 0.4s forwards; overflow: visible; }
.arc-line::before { content: ''; position: absolute; inset: -8px 0; background: linear-gradient(90deg, transparent 0%, var(--arc-glow) 30%, rgba(255,140,0,0.2) 50%, var(--arc-glow) 70%, transparent 100%); filter: blur(8px); animation: arcPulse 3s ease-in-out infinite; }
.arc-line::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 6px; height: 6px; border-radius: 50%; background: #FFF; box-shadow: 0 0 12px var(--arc), 0 0 24px var(--arc-hot), 0 0 48px var(--arc-glow-strong); animation: arcCenter 3s ease-in-out infinite; }
.sparks { position: absolute; left: 50%; top: 0; width: 200px; transform: translateX(-50%); pointer-events: none; }
.spark { position: absolute; width: 2px; height: 2px; background: var(--arc); border-radius: 50%; opacity: 0; animation: sparkFloat var(--duration) ease-out var(--delay) infinite; }
.section { padding: 48px 0; }
.section + .section { border-top: 1px solid var(--border-subtle); }
.section__label { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; color: var(--arc); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 20px; }
p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }
.result-card { border-radius: 10px; padding: 28px 24px; margin-top: 24px; }
.result-card--temp { border: 1px solid var(--arc); box-shadow: 0 0 24px var(--arc-glow), 0 0 48px rgba(255,182,39,0.06); background: rgba(255,182,39,0.03); }
.result-card__label { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.result-card__temp { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.result-card__cat { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }
.result-card__source { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 16px; }
.result-card__note { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; padding: 12px 14px; background: rgba(255,182,39,0.04); border-radius: var(--radius); margin-bottom: 12px; }
.result-card__note--info { border-left: 2px solid var(--text-dim); }
.result-card__disclaimer { font-size: 0.75rem; color: var(--text-dim); margin-top: 12px; line-height: 1.5; }
.related-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.related-link { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; text-decoration: none; transition: border-color 0.3s, box-shadow 0.3s; }
.related-link:hover { border-color: rgba(255,182,39,0.3); box-shadow: 0 0 16px rgba(255,182,39,0.06); }
.related-link__icon { font-family: 'IBM Plex Mono', monospace; font-size: 1rem; color: var(--arc); flex-shrink: 0; }
.related-link__text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.3; }
.related-link__text strong { display: block; color: var(--text); font-size: 0.95rem; margin-bottom: 2px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 1rem; }
.compare-table th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table a { text-decoration: none; transition: color 0.3s; }
.compare-table a:hover { text-decoration: underline; }
.section--caution { border-left: 3px solid var(--arc-hot); padding-left: 20px; }
.section--insight { border-left: 3px solid var(--success); padding-left: 20px; }
.section--h8, .section--h4 { border-left: 3px solid var(--arc); padding-left: 20px; }
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--border-subtle); padding: 20px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item__q { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 10px; }
.faq-item__a, .faq-answer p { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }
.trust-line { font-size: 0.75rem; color: var(--text-dim); text-align: center; margin: 24px 0 0; font-family: 'IBM Plex Mono', monospace; }
footer { padding: 24px 0 40px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--text-dim); flex-wrap: wrap; gap: 12px; }
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--arc); }
@keyframes arcIgnite { 0% { opacity: 0; transform: scaleX(0); } 60% { opacity: 1; transform: scaleX(1.02); } 100% { opacity: 1; transform: scaleX(1); } }
@keyframes arcPulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes arcCenter { 0%, 100% { box-shadow: 0 0 12px var(--arc), 0 0 24px var(--arc-hot), 0 0 48px var(--arc-glow-strong); } 50% { box-shadow: 0 0 16px var(--arc), 0 0 32px var(--arc-hot), 0 0 64px rgba(255,182,39,0.4); } }
@keyframes sparkFloat { 0% { opacity: 0.9; transform: translate(var(--x), 0) scale(1); } 100% { opacity: 0; transform: translate(calc(var(--x) + var(--drift)), -60px) scale(0); } }
@media (max-width: 600px) {
  .result-card__temp { font-size: 1.5rem; }
  .page { padding-inline: 1.25rem; }
  p { font-size: 1.05rem; }
  .faq-item__a, .faq-answer p { font-size: 1.05rem; }
  .faq-item__q { font-size: 1.1rem; }
  .compare-table { font-size: 1rem; }
  .result-card__cat { font-size: 1rem; }
  .result-card__note { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  nav, .breadcrumb, .hero, .arc-line, .section { opacity: 1 !important; transform: none !important; animation: none !important; }
}
@media print {
  #c5-nav, .arc-line, #flux-widget, .faq-list, footer, .related-links { display: none !important; }
  body::before, body::after { display: none !important; }
  body { background: #fff; color: #000; }
  .page { max-width: 100%; }
  .result-card { border-color: #333; box-shadow: none; background: #f9f9f9; color: #000; }
  .result-card__temp { color: #000; }
  .result-card__source { color: #555; }
  .result-card__cat, .result-card__note, .result-card__disclaimer { color: #333; }
}
