/* ProductMarketIntel.com — AI Narada design system v1.2 */
:root {
  /* Shared foundation */
  --navy: #0E1B2C;
  --slate: #3A4A60;
  --mist: #E2E6EC;
  --cloud: #F7F8FA;
  --white: #FFFFFF;
  --muted-on-navy: #C3CCD8;
  --border-on-navy: #2E4058;
  --input-border: #B9C2CE;

  /* Product accent: ProductMarketIntel.com — Cornflower Blue */
  --accent: #5B8DEF;
  --accent-hover: #4A80EA;
  --accent-tint: #ECF1FD;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --radius-btn: 8px;
  --radius-card: 14px;
  --radius-panel: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 40px rgba(14, 27, 44, 0.08);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cloud); color: var(--navy); font-family: var(--font-body); font-size: 16px; line-height: 1.6; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0; }
p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--slate); }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
img, svg { max-width: 100%; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }
.section { padding: 96px 0; }
.section-tight-top { padding-top: 24px; }
.white-band { background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); padding: 88px 0; }
.band { background: var(--navy); color: var(--white); }
.band h2, .band h3 { color: var(--white); }
.band .lead, .band p { color: var(--muted-on-navy); }

.eyebrow { font-weight: 600; font-size: 14px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.eyebrow.on-navy { color: var(--muted-on-navy); }
h1 { font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.3; }
.lead { font-size: 19px; line-height: 1.55; color: var(--slate); }
.small { font-size: 14px; color: var(--slate); }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 44px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 15px 24px; border-radius: var(--radius-btn); font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-hover); color: var(--navy); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--cloud); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--mist); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--navy); }
.wm-accent { color: var(--accent-hover); }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn) { text-decoration: none; }
.site-nav .btn { min-height: 44px; padding: 12px 22px; }
.menu-btn { display: none; background: none; border: 1px solid var(--mist); border-radius: var(--radius-btn); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--mist); }
.hero-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-copy .lead { max-width: 560px; }
.motto { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.trust { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--slate); }
.trust li::before { content: "✓ "; color: var(--navy); font-weight: 600; }

.hero-card { flex: 1 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius-panel); padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-card); }
.mock-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mock-input { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; background: var(--cloud); border: 1px solid var(--input-border); border-radius: var(--radius-btn); padding: 12px 14px; color: var(--slate); font-size: 14px; }
.mock-tabs { display: flex; gap: 6px; }
.pill { font-size: 13px; border: 1px solid var(--mist); border-radius: var(--radius-pill); padding: 8px 12px; }
.pill-on { background: var(--accent); border-color: var(--accent); font-weight: 600; }
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mock-item { border: 1px solid var(--mist); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mock-img { height: 92px; border-radius: 6px; background: var(--cloud) url("/chandelier.svg") center / 58px 64px no-repeat; }
.mi-name { font-size: 12px; line-height: 1.3; }
.mi-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--slate); }
.mi-meta b { color: var(--navy); }
.mock-foot { display: flex; flex-wrap: wrap; gap: 12px; }
.mock-collection { flex: 1 1 200px; background: var(--cloud); border: 1px solid var(--mist); border-radius: 10px; padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.mock-collection small, .mock-price small { display: block; font-size: 12px; color: var(--slate); }
.mock-collection strong { font-size: 15px; }
.mock-price { flex: 1 1 200px; background: var(--navy); border-radius: 10px; padding: 14px; }
.mock-price small { color: var(--muted-on-navy); }
.mock-price strong { font-family: var(--font-display); font-size: 22px; color: var(--accent); }

/* Stats */
.stats { padding: 64px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.stat-n { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.1; color: var(--accent); margin-bottom: 8px; }
.stats p { font-size: 15px; line-height: 1.5; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card p { color: var(--slate); }
.icon { width: 48px; height: 48px; border-radius: 10px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; }
.kicker { font-weight: 600; font-size: 13px; letter-spacing: 0.08em; color: var(--slate); }
.card-foot { border-top: 1px solid var(--mist); padding-top: 14px; font-size: 14px; font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.steps .card { padding: 24px; gap: 10px; }
.steps h3 { font-size: 20px; }
.steps p { font-size: 15px; line-height: 1.55; }
.step-n { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 16px; background: var(--accent-tint); border-radius: var(--radius-pill); padding: 4px 12px; }

/* Compare + predict */
.split { display: flex; flex-wrap: wrap; gap: 20px; }
.panel { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius-panel); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.compare { flex: 1.4 1 520px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
thead tr { border-bottom: 2px solid var(--navy); text-align: left; }
th { padding: 12px 14px; font-weight: 600; }
td { padding: 11px 14px; border-bottom: 1px solid var(--mist); }
td:first-child { color: var(--slate); }
.own { background: var(--accent-tint); font-weight: 600; }
.panel-navy { flex: 1 1 320px; background: var(--navy); border-color: var(--navy); color: var(--white); }
.panel-navy h3 { color: var(--white); font-size: 24px; line-height: 1.2; }
.panel-navy p { color: var(--muted-on-navy); }
.predict { margin-top: auto; border: 1px solid var(--border-on-navy); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.predict small { font-size: 13px; color: var(--muted-on-navy); }
.predict strong { font-family: var(--font-display); font-size: 28px; color: var(--accent); }
.range { height: 8px; border-radius: 4px; background: var(--border-on-navy); position: relative; }
.range span { position: absolute; left: 38%; width: 26%; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); }

/* MySAMM */
.mysamm-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.mysamm-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.arrows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--muted-on-navy); }
.arrows li { display: flex; gap: 12px; }
.arrows li::before { content: "→"; color: var(--accent); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 14px; border: 1px solid var(--border-on-navy); border-radius: var(--radius-pill); padding: 8px 14px; }
.report { flex: 1.3 1 560px; min-width: 0; background: var(--cloud); color: var(--navy); border-radius: var(--radius-panel); overflow: hidden; border: 1px solid var(--border-on-navy); }
.report-head { padding: 18px 20px; background: var(--white); border-bottom: 1px solid var(--mist); display: flex; flex-direction: column; gap: 4px; }
.report-head strong { font-family: var(--font-display); font-size: 17px; }
.report-head span { font-size: 13px; color: var(--slate); }
.report-filters { padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--mist); background: var(--white); }
.report-filters span { font-size: 12px; border: 1px solid var(--input-border); border-radius: var(--radius-pill); padding: 5px 10px; color: var(--slate); }
.report-body { display: flex; flex-wrap: wrap; }
.report-table { flex: 1 1 260px; min-width: 0; padding: 14px 16px; border-right: 1px solid var(--mist); }
.rt-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 12px; padding: 10px 6px; align-items: center; line-height: 1.4; }
.rt-row span:not(:first-child) { text-align: right; }
.rt-head { font-size: 11px; font-weight: 600; color: var(--slate); padding-top: 0; border-bottom: 2px solid var(--navy); }
.rt-sel { background: var(--accent-tint); }
.rt-sel span:first-child { color: var(--navy); }
.rt-ph { border-top: 1px solid var(--mist); color: var(--slate); }
.report-detail { flex: 1.3 1 280px; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.rd-name { font-size: 13px; }
.rd-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rd-metrics div { background: var(--white); border: 1px solid var(--mist); border-radius: 10px; padding: 8px; }
.rd-metrics small { display: block; font-size: 10px; color: var(--slate); }
.rd-metrics b { font-size: 13px; }
.rd-chart { background: var(--white); border: 1px solid var(--mist); border-radius: 10px; padding: 10px; }
.rd-chart text { font-family: var(--font-body); }

/* Founder */
.founder-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.founder-id { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.founder-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.founder-quote { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }

/* FAQ */
.faq-item { border-top: 1px solid var(--mist); padding: 22px 0; display: flex; flex-direction: column; gap: 8px; }
.faq-item h3 { font-weight: 600; font-size: 20px; }
.faq-item p { color: var(--slate); }

/* Demo */
.demo-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.demo-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.link-on-navy { color: var(--white); font-weight: 600; }
.link-on-navy:hover { color: var(--muted-on-navy); }
.form-card { flex: 1 1 440px; min-width: 0; background: var(--white); color: var(--navy); border-radius: var(--radius-panel); padding: 28px; box-shadow: var(--shadow-card); }
.demo-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.demo-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.demo-form .full { grid-column: 1 / -1; }
.demo-form input, .demo-form select, .demo-form textarea { font: inherit; font-weight: 400; color: var(--navy); background: var(--white); border: 1px solid var(--input-border); border-radius: var(--radius-btn); padding: 12px; min-height: 46px; }
.demo-form textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--slate) !important; }
.thanks { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.thanks p { color: var(--slate) !important; }
.thanks a { color: var(--navy); font-weight: 600; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--mist); padding: 40px 0; font-size: 14px; color: var(--slate); }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 500; }
.site-footer p a { font-weight: 600; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 16px; }
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal p { color: var(--slate); margin-bottom: 12px; max-width: 760px; }

/* Responsive */
@media (max-width: 991px) {
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--mist); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--mist); }
  .site-nav .btn { margin-top: 16px; }
  .header-row { position: relative; }
}
@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .white-band { padding: 60px 0; }
  .hero-row { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .section-tight-top { padding-top: 8px; }
  .lead { font-size: 17px; }
  .stat-n { font-size: 36px; }
}
@media (max-width: 478px) {
  .mock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-form { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px; }
  .form-card { padding: 22px; }
}
