/* ClassifyHub marketing pages — light theme */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
  --accent-hover: #4338ca;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --blue: #2563eb;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-size: 20px; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a { color: var(--body); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: 9px;
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---- Hero ---- */
.hero { padding: 88px 0 72px; text-align: center; background:
  radial-gradient(60% 80% at 50% 0%, var(--accent-soft) 0%, transparent 70%); }
.eyebrow {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; max-width: 820px; margin: 0 auto 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 19px; max-width: 640px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero .note { font-size: 13px; color: var(--muted); }

/* ---- Stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin: 48px 0; }
.stat { background: var(--bg); padding: 22px; text-align: center; }
.stat .n { font-size: 26px; font-weight: 800; color: var(--ink); }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---- Sections ---- */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 14px; }
.sec-head p { font-size: 17px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card .icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; }

/* ---- Story numbers ---- */
.story-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 15px;
}

/* ---- Compliance ---- */
.law { border-left: 4px solid var(--accent); }
.law .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }

/* ---- Labels showcase ---- */
.label-chip { display: inline-block; padding: 4px 14px; border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 600; margin: 0 6px 8px 0; }

/* ---- Demo ---- */
.demo-box {
  max-width: 760px; margin: 0 auto; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.demo-box textarea {
  width: 100%; min-height: 130px; padding: 14px; font-size: 14px;
  border: 1px solid var(--border); border-radius: 9px; font-family: inherit;
  color: var(--ink); resize: vertical; margin-bottom: 14px;
}
.demo-box textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.demo-result { margin-top: 18px; padding: 16px 18px; border-radius: 9px; background: var(--bg-alt);
  border: 1px solid var(--border); display: none; }
.demo-result.show { display: block; }
.demo-samples { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip-btn { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 14px; font-size: 12.5px; cursor: pointer; color: var(--body); }
.chip-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Pricing ---- */
.price-card { text-align: center; position: relative; }
.price-card .price { font-size: 40px; font-weight: 800; color: var(--ink); margin: 10px 0 2px; }
.price-card .per { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 14px; }
.price-card li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.price-card li:last-child { border-bottom: none; }
.popular { border-color: var(--accent); border-width: 2px; }
.popular-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 16px; border-radius: 999px; }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); color: #cbd5e1; text-align: center; border-radius: var(--radius);
  padding: 56px 32px; margin: 0 0 72px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.cta-band p { margin-bottom: 26px; }

/* ---- Forms (contact) ---- */
.form-card { max-width: 560px; margin: 0 auto; }
.form-card label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 11px 14px; font-size: 14.5px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 9px; color: var(--ink); margin-bottom: 16px;
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-msg { padding: 12px 16px; border-radius: 9px; font-size: 14px; margin-bottom: 16px; display: none; }
.form-msg.ok { display: block; background: #f0fdf4; color: var(--green); border: 1px solid #bbf7d0; }
.form-msg.err { display: block; background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; font-size: 15.5px; }
.faq details p { margin-top: 12px; font-size: 14.5px; }
.faq details code { background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; font-size: 13px; }

/* ---- Infographics ---- */
.statband {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: var(--ink); border-radius: var(--radius); overflow: hidden; margin-top: 52px;
}
.statband > div { padding: 34px 24px; text-align: center; color: #cbd5e1; font-size: 14px;
  border-left: 1px solid rgba(255,255,255,.08); }
.statband > div:first-child { border-left: none; }
.statband .big { font-size: 40px; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 6px; }
.statband .big em { font-style: normal; color: #818cf8; }
.statband .src { display: block; margin-top: 8px; font-size: 11.5px; color: #64748b; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px; align-items: center; }

.pyramid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pyr { color: #fff; font-weight: 700; text-align: center; padding: 14px 10px;
  border-radius: 10px; font-size: 14px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px; }
.pyr small { font-weight: 500; font-size: 11.5px; opacity: .85; }
.pyr-1 { width: 38%; background: var(--red); }
.pyr-2 { width: 58%; background: var(--amber); }
.pyr-3 { width: 78%; background: var(--blue); }
.pyr-4 { width: 98%; background: var(--green); }

.level-list { list-style: none; padding: 0; margin: 0; }
.level-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--border);
  font-size: 14.5px; align-items: flex-start; }
.level-list li:last-child { border-bottom: none; }
.level-dot { width: 14px; height: 14px; border-radius: 4px; margin-top: 5px; flex-shrink: 0; }
.level-list strong { color: var(--ink); }

.flow { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap;
  gap: 6px; margin: 0 0 56px; }
.flow-node { background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 22px; text-align: center; flex: 1; min-width: 185px; max-width: 240px;
  box-shadow: var(--shadow); }
.flow-node .fn-icon { font-size: 28px; margin-bottom: 8px; }
.flow-node h4 { font-size: 14.5px; margin-bottom: 4px; }
.flow-node p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.flow-arrow { align-self: center; font-size: 24px; color: var(--accent); font-weight: 800; padding: 0 6px; }

.donut-wrap { display: flex; gap: 36px; align-items: center; justify-content: center; flex-wrap: wrap; }
.donut-legend { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.donut-legend li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.donut-legend .pct { margin-left: auto; font-weight: 700; color: var(--ink); padding-left: 18px; }

@media (max-width: 720px) {
  .flow-arrow { transform: rotate(90deg); width: 100%; text-align: center; padding: 4px 0; }
  .flow-node { max-width: none; }
}

/* ---- Footer ---- */
footer { border-top: 1px solid var(--border); padding: 36px 0; background: var(--bg-alt); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13.5px; color: var(--muted); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 48px; }
  section { padding: 52px 0; }
}
