/* Tokens copied from the live Reputation Analyzer (build/pg-site/analyzer/app.css). */
:root {
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ink-900: #0B0D12; --blue-600: #0A5CFF; --blue-800: #0838B8; --blue-400: #4D8DFF; --blue-100: #C9DBFF; --blue-50: #EAF1FF;
  --white: #FFFFFF; --cloud-50: #F4F6F9; --hairline: #E4E7EC; --divider: #EEF0F3;
  --gray-300: #C5CBD4; --gray-500: #6A7280; --gray-600: #4A515C; --gray-700: #3A404B; --star: #F2A007;
  --sample-bg: #FFF4DB; --sample-fg: #7A4B00;
  --shadow: 0 1px 2px rgba(11,13,18,.04), 0 8px 24px rgba(11,13,18,.04);
  --shadow-lg: 0 1px 2px rgba(11,13,18,.04), 0 12px 32px rgba(11,13,18,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cloud-50); color: var(--ink-900); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; font-size: 17px; line-height: 1.55; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--blue-600); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--gray-600); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 26px; border-radius: 16px; font: 600 17px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px rgba(10,92,255,.24); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink-900); border-color: var(--hairline); }
.btn-sm { height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }

.badge-sample { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; background: var(--sample-bg); color: var(--sample-fg); font-size: 12px; font-weight: 600; }
.flag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-left: 8px; border-radius: 6px; background: #FFE9C2; color: #7A4B00; font: 600 11px/1 var(--font-sans); vertical-align: 3px; border: 1px dashed #D9A441; white-space: nowrap; }
.flagged { outline: 2px dashed #D9A441; outline-offset: 6px; border-radius: 6px; }
.ph { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(135deg, #E9EDF2 0 10px, #F1F4F7 10px 20px); color: var(--gray-500); font: 600 13px/1.3 var(--font-mono); border-radius: 24px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 10; background: rgba(244,246,249,.82); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); border-bottom: 1px solid rgba(228,231,236,.8); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink-900); text-decoration: none; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; color: var(--ink-900); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--gray-700); text-decoration: none; font-size: 15px; font-weight: 500; }
.hdr .menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hairline); background: #fff; align-items: center; justify-content: center; }

/* Mini visuals (sample, abstract) */
.bars { display: grid; gap: 10px; }
.bar { height: 10px; border-radius: 99px; background: #E9EDF2; }
.stars { color: var(--star); letter-spacing: 1px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; background: #fff; border: 1px solid var(--hairline); font-size: 13px; font-weight: 600; color: var(--gray-700); }

/* FAQ */
details { border-top: 1px solid var(--hairline); }
details:last-child { border-bottom: 1px solid var(--hairline); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 18px; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--cloud-50); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 20px; color: var(--gray-600); }
details[open] summary::after { content: "–"; }
details p { padding: 0 48px 24px 0; color: var(--gray-600); }

.foot { padding: 40px 0 56px; color: var(--gray-500); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav, .hdr .btn { display: none; }
  .hdr .menu { display: inline-flex; }
  .hdr .wrap { height: 64px; }
  .btn { width: 100%; }
  summary { font-size: 17px; padding: 20px 0; }
  details p { padding-right: 0; }
  .flag { white-space: normal; height: auto; padding: 4px 8px; line-height: 1.3; }
  summary > span.flag { display: inline-block; }
}
