@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --faq-bg: #f4f5f8;
  --faq-surface: #ffffff;
  --faq-subtle: #f8f8fb;
  --faq-sidebar: #201d4f;
  --faq-sidebar-strong: #17153b;
  --faq-text: #1b1b25;
  --faq-soft: #4c4e5e;
  --faq-muted: #696b78;
  --faq-line: #e4e5ec;
  --faq-primary: #4a438f;
  --faq-primary-strong: #342f72;
  --faq-primary-soft: #efedff;
  --faq-positive: #0c8060;
  --faq-positive-soft: #e7f6f0;
  --faq-warning: #a76819;
  --faq-warning-soft: #fff4df;
  --faq-negative: #bd4e52;
  --faq-negative-soft: #fff0f0;
  --faq-shadow: 0 18px 54px rgba(24, 24, 45, .12);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { min-width: 320px; height: auto; background: var(--faq-bg); color: var(--faq-text); font-family: 'Manrope', system-ui, sans-serif; font-size: 14px; }
a { color: inherit; }
.faq-shell { min-height: 100vh; overflow: hidden; }
.public-nav { position: sticky; top: 0; z-index: 20; display: grid; min-height: 72px; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 24px; border-bottom: 1px solid rgba(32, 29, 79, .1); background: rgba(255, 255, 255, .91); padding: 0 32px; backdrop-filter: blur(16px); }
.public-brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; text-decoration: none; }
.public-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(32, 29, 79, .12); }
.public-brand span { display: flex; flex-direction: column; }
.public-brand strong { color: var(--faq-sidebar); font-size: 13px; letter-spacing: -.02em; }
.public-brand small { margin-top: 1px; color: var(--faq-muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.public-links { display: flex; align-items: center; gap: 22px; }
.public-links a { color: var(--faq-muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.public-links a:hover { color: var(--faq-primary); }
.public-actions { display: flex; justify-content: flex-end; gap: 8px; }
.button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; padding: 8px 14px; font-weight: 750; line-height: 1; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { border-color: var(--faq-primary); background: var(--faq-primary); color: white; }
.button.primary:hover { border-color: var(--faq-primary-strong); background: var(--faq-primary-strong); }
.button.secondary { border-color: var(--faq-line); background: white; color: var(--faq-soft); }
.button.secondary:hover { border-color: #c9c6eb; color: var(--faq-primary); }
.button.large { min-height: 44px; padding: 11px 18px; }
.text-link { color: var(--faq-primary); font-weight: 750; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 4px; transition: transform .15s ease; }
.text-link:hover span { transform: translateX(3px); }
.hero { display: grid; max-width: 1440px; grid-template-columns: minmax(360px, .78fr) minmax(600px, 1.22fr); align-items: center; gap: 48px; margin: 0 auto; padding: 76px 40px 58px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: block; color: var(--faq-primary); font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero h1, .section-heading h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
.hero h1 { max-width: 650px; margin: 12px 0 18px; font-size: clamp(3.2rem, 5.6vw, 5.5rem); line-height: .94; }
.hero-copy > p { max-width: 650px; color: var(--faq-soft); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-top: 36px; border: 1px solid var(--faq-line); border-radius: 12px; background: var(--faq-line); }
.hero-facts span { display: flex; min-height: 86px; flex-direction: column; justify-content: center; background: var(--faq-surface); padding: 13px; }
.hero-facts strong { font-size: 11px; }
.hero-facts small { margin-top: 4px; color: var(--faq-muted); font-size: 10px; line-height: 1.4; }
.product-frame { overflow: hidden; border: 1px solid var(--faq-line); border-radius: 15px; background: white; box-shadow: var(--faq-shadow); }
.hero-frame { width: 118%; }
.frame-bar { display: flex; min-height: 35px; align-items: center; gap: 6px; border-bottom: 1px solid var(--faq-line); background: var(--faq-subtle); padding: 0 12px; }
.frame-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #d6d7df; }
.frame-bar small { margin-left: 5px; color: var(--faq-muted); font-family: 'JetBrains Mono', monospace; font-size: 9px; }
.product-frame img { display: block; width: 100%; height: auto; }
.product-frame figcaption { border-top: 1px solid var(--faq-line); padding: 12px 15px; color: var(--faq-muted); font-size: 11px; }
.section { padding: 76px max(32px, calc((100vw - 1360px) / 2)); }
.section-heading { display: grid; grid-template-columns: minmax(0, .56fr) minmax(300px, .44fr); align-items: end; gap: 40px; margin-bottom: 28px; }
.section-heading h2 { max-width: 760px; margin: 8px 0 0; font-size: clamp(2.6rem, 4vw, 4.2rem); line-height: .98; }
.section-heading > p { max-width: 600px; color: var(--faq-muted); font-size: 14px; line-height: 1.7; }
.workflow-section { border-top: 1px solid var(--faq-line); background: white; }
.workflow-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.workflow-grid article { min-height: 210px; border: 1px solid var(--faq-line); border-radius: 12px; background: var(--faq-surface); padding: 18px; }
.workflow-grid article > span, .score-definitions article > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: var(--faq-primary-soft); color: var(--faq-primary); font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; }
.workflow-grid h3 { margin: 26px 0 8px; font-size: 15px; }
.workflow-grid p, .setup-grid p { color: var(--faq-muted); font-size: 12px; line-height: 1.6; }
.surface-section { background: var(--faq-bg); }
.tour-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tour-card { overflow: hidden; border: 1px solid var(--faq-line); border-radius: 14px; background: white; box-shadow: 0 8px 28px rgba(24, 24, 45, .05); }
.tour-image { display: block; overflow: hidden; border-bottom: 1px solid var(--faq-line); background: #edeef4; }
.tour-image img { display: block; width: 100%; height: auto; transition: transform .25s ease; }
.tour-image:hover img { transform: scale(1.012); }
.tour-copy { padding: 20px; }
.tour-copy > span { color: var(--faq-primary); font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tour-copy h3 { max-width: 560px; margin: 7px 0; font-size: 18px; }
.tour-copy p { color: var(--faq-muted); font-size: 12px; line-height: 1.65; }
.demo-note { margin-top: 13px; color: var(--faq-muted); font-size: 11px; text-align: right; }
.evidence-section { border-top: 1px solid var(--faq-line); border-bottom: 1px solid var(--faq-line); background: white; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.evidence-card { border: 1px solid var(--faq-line); border-top: 4px solid var(--faq-primary); border-radius: 12px; padding: 22px; }
.evidence-card.search { border-top-color: var(--faq-positive); }
.evidence-card.video { border-top-color: var(--faq-warning); }
.evidence-card > span { color: var(--faq-primary); font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.evidence-card.search > span { color: var(--faq-positive); }
.evidence-card.video > span { color: var(--faq-warning); }
.evidence-card h3 { margin: 18px 0 8px; font-size: 17px; }
.evidence-card p { min-height: 68px; color: var(--faq-muted); font-size: 12px; line-height: 1.6; }
.evidence-card small { display: block; margin-top: 18px; color: var(--faq-soft); font-family: 'JetBrains Mono', monospace; font-size: 9px; }
.identity-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; border: 1px solid var(--faq-line); border-radius: 12px; background: var(--faq-subtle); padding: 14px; }
.identity-legend strong { margin-right: auto; font-size: 12px; }
.identity-legend span { border: 1px solid transparent; border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 750; }
.identity-legend .brand { border-color: #c9c6eb; background: var(--faq-primary-soft); color: var(--faq-primary); }
.identity-legend .partner { border-color: #bfe2d5; background: var(--faq-positive-soft); color: var(--faq-positive); }
.identity-legend .competitor { border-color: #efc8ca; background: var(--faq-negative-soft); color: var(--faq-negative); }
.identity-legend .unknown { border-color: var(--faq-line); background: white; color: var(--faq-muted); }
.scoring-section { background: var(--faq-bg); }
.score-layout { display: grid; grid-template-columns: minmax(340px, .4fr) minmax(0, .6fr); align-items: start; gap: 18px; }
.score-example { position: sticky; top: 98px; border: 1px solid #d8d5f4; border-radius: 14px; background: white; padding: 24px; box-shadow: 0 16px 40px rgba(52, 47, 114, .09); }
.score-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.score-top > span { display: flex; flex-direction: column; }
.score-top small { color: var(--faq-muted); font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.score-top strong { margin-top: 7px; font-family: 'Instrument Serif', Georgia, serif; font-size: 76px; font-weight: 400; line-height: .8; }
.score-top b { color: var(--faq-primary); font-size: 18px; }
.score-bars { display: grid; gap: 18px; margin-top: 30px; }
.score-bars span { display: grid; grid-template-columns: minmax(0, 1fr) 74px; align-items: center; gap: 12px; }
.score-bars i { display: block; height: 7px; border-radius: 999px; background: var(--faq-primary); }
.score-bars span:nth-child(2) i { background: var(--faq-positive); }
.score-bars span:nth-child(3) i { background: var(--faq-warning); }
.score-bars small { color: var(--faq-muted); font-size: 10px; font-style: normal; }
.score-example > p { margin-top: 24px; border-top: 1px solid var(--faq-line); padding-top: 16px; color: var(--faq-muted); font-size: 11px; line-height: 1.6; }
.score-definitions { display: grid; gap: 10px; }
.score-definitions article { display: grid; min-height: 116px; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; border: 1px solid var(--faq-line); border-radius: 12px; background: white; padding: 18px; }
.score-definitions h3 { margin: 1px 0 6px; font-size: 15px; }
.score-definitions p { color: var(--faq-muted); font-size: 12px; line-height: 1.6; }
.score-definitions p strong { color: var(--faq-primary); }
.setup-section { border-top: 1px solid var(--faq-line); background: white; }
.setup-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--faq-line); border-radius: 14px; }
.setup-grid article { min-height: 136px; border-left: 1px solid var(--faq-line); padding: 20px; }
.setup-grid article:first-child { border-left: 0; }
.setup-grid strong { display: block; margin-bottom: 10px; }
.pricing-section { background: var(--faq-bg); }
.pricing-panel { border-radius: 20px; background: linear-gradient(155deg, var(--faq-sidebar), var(--faq-sidebar-strong)); padding: 38px; box-shadow: 0 24px 66px rgba(23, 21, 59, .2); }
.section-heading.inverse h2 { color: white; }
.section-heading.inverse p { color: rgba(255, 255, 255, .66); }
.section-heading.inverse .eyebrow { color: #c3bfff; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.price-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid rgba(255, 255, 255, .12); border-top: 4px solid #aaa7bb; border-radius: 13px; background: white; padding: 19px; }
.price-card.featured { border-top-color: var(--faq-warning); box-shadow: 0 16px 36px rgba(0, 0, 0, .24); transform: translateY(-7px); }
.price-card > span { color: var(--faq-primary); font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price-card h3 { margin: 12px 0 5px; font-family: 'Instrument Serif', Georgia, serif; font-size: 39px; font-weight: 400; line-height: 1; }
.price-card h3 small { color: var(--faq-muted); font-family: 'Manrope', sans-serif; font-size: 11px; }
.price-card > p { min-height: 18px; color: var(--faq-muted); font-size: 10px; }
.price-card ul { display: grid; gap: 0; margin: 16px 0 18px; padding: 0; list-style: none; }
.price-card li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--faq-line); padding: 8px 0; color: var(--faq-muted); font-size: 10px; }
.price-card li b { color: var(--faq-text); white-space: nowrap; }
.price-card .button { width: 100%; margin-top: auto; }
.pricing-note { margin-top: 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 11px; background: rgba(255, 255, 255, .06); padding: 14px 16px; color: rgba(255, 255, 255, .68); font-size: 11px; line-height: 1.6; }
.pricing-note strong { color: white; }
.questions-section { border-top: 1px solid var(--faq-line); background: white; }
.questions-layout { display: grid; grid-template-columns: minmax(0, .68fr) minmax(300px, .32fr); align-items: start; gap: 20px; }
.accordion { display: grid; gap: 9px; }
.accordion details { overflow: hidden; border: 1px solid var(--faq-line); border-radius: 11px; background: white; }
.accordion summary { cursor: pointer; list-style: none; padding: 16px 18px; font-size: 13px; font-weight: 750; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; float: right; color: var(--faq-primary); font-family: 'JetBrains Mono', monospace; font-size: 16px; }
.accordion details[open] summary::after { content: '−'; }
.accordion details > div { border-top: 1px solid var(--faq-line); padding: 15px 18px 18px; color: var(--faq-soft); font-size: 12px; line-height: 1.7; }
.faq-cta { position: sticky; top: 98px; border: 1px solid var(--faq-line); border-radius: 15px; background: var(--faq-subtle); padding: 25px; }
.faq-cta img { width: 58px; height: 58px; margin-bottom: 18px; border-radius: 14px; object-fit: cover; }
.faq-cta h3 { margin: 10px 0; font-family: 'Instrument Serif', Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1; }
.faq-cta p { color: var(--faq-muted); font-size: 12px; line-height: 1.65; }
.faq-cta .button { width: 100%; margin-top: 20px; }
.faq-cta .text-link { display: block; margin-top: 14px; font-size: 11px; text-align: center; }
.public-footer { display: grid; max-width: 1360px; min-height: 120px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin: 0 auto; padding: 28px 32px; }
.public-footer > p { color: var(--faq-muted); font-size: 11px; }
.public-footer > div { display: flex; justify-content: flex-end; gap: 18px; }
.public-footer > div a { color: var(--faq-muted); font-size: 11px; font-weight: 700; text-decoration: none; }
.public-footer > div a:hover { color: var(--faq-primary); }

@media (max-width: 1120px) {
  .public-nav { grid-template-columns: 1fr auto; }
  .public-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-frame { width: 100%; }
  .workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card.featured { transform: none; }
}

@media (max-width: 800px) {
  .section, .hero { padding: 54px 20px; }
  .public-nav { padding: 0 18px; }
  .public-actions .secondary { display: none; }
  .section-heading, .score-layout, .questions-layout { grid-template-columns: 1fr; }
  .tour-grid, .evidence-grid { grid-template-columns: 1fr; }
  .workflow-grid, .setup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setup-grid article { border-top: 1px solid var(--faq-line); }
  .setup-grid article:nth-child(odd) { border-left: 0; }
  .setup-grid article:nth-child(-n+2) { border-top: 0; }
  .score-example, .faq-cta { position: static; }
  .public-footer { grid-template-columns: 1fr; text-align: center; }
  .public-footer .public-brand { margin: 0 auto; }
  .public-footer > div { justify-content: center; }
}

@media (max-width: 520px) {
  .public-nav { min-height: 64px; }
  .public-brand small { display: none; }
  .public-actions .button { min-height: 34px; padding: 7px 10px; font-size: 11px; }
  .hero { padding-top: 46px; }
  .hero h1 { font-size: 3.35rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-facts, .workflow-grid, .setup-grid, .pricing-grid { grid-template-columns: 1fr; }
  .workflow-grid article { min-height: 0; }
  .setup-grid article, .setup-grid article:nth-child(-n+2) { border-top: 1px solid var(--faq-line); border-left: 0; }
  .setup-grid article:first-child { border-top: 0; }
  .identity-legend { align-items: flex-start; }
  .identity-legend strong { width: 100%; margin-bottom: 5px; }
  .pricing-panel { padding: 24px 14px; }
  .public-footer > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
