/* Honestats marketing site. One stylesheet for every page; no external fonts or resources. */

:root {
  --accent: #1D4ED8;
  --accent-dark: #1E3A8A;
  --accent-soft: #EFF6FF;
  --text: #0F172A;
  --text-strong: #334155;
  --muted: #475569;
  --muted-light: #64748B;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-input: #CBD5E1;
  --bg: #F6F7F9;
  --bg-subtle: #F8FAFC;
  --white: #FFFFFF;
  --success: #15803D;
  --warm-bg: #FFF7ED;
  --warm-border: #FED7AA;
  --warm-text: #9A3412;
  --dark-muted: #CBD5E1;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Base */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

main { flex: 1 0 auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
summary { cursor: pointer; }
h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.band {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--outline { border: 1.5px solid var(--border-input); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--accent); color: var(--text); }
.btn--dark { background: var(--text); color: var(--white); }
.btn--dark:hover { background: var(--text-strong); color: var(--white); }
.btn--light { background: var(--white); color: var(--text); padding: 0 24px; }
.btn--light:hover { background: var(--accent-soft); color: var(--text); }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

/* Header */

.site-header { background: var(--white); border-bottom: 1px solid var(--border); }

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand__mark { margin-left: 5px; flex-shrink: 0; }

.brand__word {
  position: relative;
  top: -3px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 34px;
}

.brand__stats { position: relative; display: inline-block; line-height: 34px; }
.brand__ats { font-weight: 500; color: var(--muted-light); }

/* Blue line under "stats", just below the height of the x-axis in the icon. */
.brand__line {
  position: absolute;
  left: 1px;
  right: 1px;
  top: calc(50% + 11.5px);
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}

.brand__payoff {
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--border-input);
  font-size: 13px;
  color: var(--muted-light);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}
.site-nav a { color: var(--text-strong); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

.site-nav .site-nav__cta {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
}
.site-nav .site-nav__cta:hover { background: var(--accent-dark); color: var(--white); }

/* Section headings */

.section { padding-top: 72px; padding-bottom: 72px; }

.section-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  text-align: center;
}

.section-lead {
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Grids and cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-min, 260px), 100%), 1fr));
  gap: 24px;
}
.grid--kpi { --grid-min: 180px; gap: 16px; }
.grid--panels { --grid-min: 260px; gap: 16px; margin-top: 20px; }
.grid--audience { --grid-min: 240px; gap: 20px; margin-top: 32px; }
.grid--privacy { --grid-min: 300px; margin-top: 40px; }

.card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.card--plain { background: transparent; }
.card--audience { border-radius: 14px; }

.card__title { margin: 12px 0 6px; font-size: 17px; font-weight: 600; }
.card--audience .card__title { font-size: 18px; }
.card__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card--audience .card__text { line-height: 1.55; }

.icon { display: block; color: var(--accent); }

/* Hero */

.hero { padding-top: 72px; padding-bottom: 32px; text-align: center; }

.hero__title {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero__lead {
  max-width: 700px;
  margin: 22px auto 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero__usps { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Dashboard example */

.demo-section { max-width: 1000px; padding-top: 16px; padding-bottom: 72px; }

.demo {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
}

.demo__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.demo__site { font-size: 15px; font-weight: 600; }

.demo__chip {
  padding: 4px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.demo__body { padding: 24px; }

.demo__caption { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

.panel { padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.panel--chart { margin-top: 20px; }
.panel__title { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.panel--chart .panel__title { margin-bottom: 12px; }
.panel__sub { font-weight: 400; color: var(--muted-light); }
.panel__foot { margin: 12px 0 0; font-size: 13px; color: var(--muted-light); }

.chart { display: block; width: 100%; height: 140px; }

.kpi__label { margin: 0; font-size: 13px; color: var(--muted); }
.kpi__value { margin: 4px 0 0; font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.kpi__delta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.kpi__delta--up { color: var(--success); }

.rows { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.rows--spaced { gap: 10px; }
.rows li { display: flex; justify-content: space-between; gap: 12px; }
.rows__value { color: var(--muted); white-space: nowrap; }
.rows__hint { display: block; font-size: 13px; color: var(--muted-light); }

/* Suppliers (subprocessors) */

.disclosure {
  margin-top: 28px;
  padding: 0 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.disclosure > summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-weight: 600;
}

.disclosure--lg { border-radius: 14px; }
.disclosure--lg > summary { min-height: 0; padding: 18px 0; font-size: 16px; }

.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th { padding: 9px 8px; font-weight: 600; }
.table td { padding: 9px 8px; }
.table thead tr { border-bottom: 1px solid var(--border); }
.table tbody tr { border-bottom: 1px solid var(--border-light); }
.table--suppliers { margin: 4px 0 20px; font-size: 15px; }
.table--suppliers thead tr { color: var(--muted); }
.table--suppliers tbody tr:last-child { border-bottom: none; }
.table--compare { min-width: 640px; font-size: 14px; }
.table--compare th { padding: 10px 8px; }

.table-scroll { overflow-x: auto; padding-bottom: 20px; }
.table-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.steps li { display: flex; align-items: flex-start; gap: 16px; }
.steps h3 { margin: 6px 0 4px; font-size: 18px; font-weight: 600; }
.steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.step-num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 700;
}

.steps--compact { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.steps--compact li { gap: 14px; }
.steps--compact .step-num { width: 32px; height: 32px; font-size: 16px; }
.steps--compact span:last-child { padding-top: 5px; font-size: 15px; line-height: 1.5; }

/* Pricing */

.pricing { padding-top: 72px; padding-bottom: 24px; }

.offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 14px;
}

.offer__body { flex: 1 1 560px; min-width: 0; }

.offer--founding {
  margin: 32px 0 40px;
  padding: 24px;
  background: var(--warm-bg);
  border: 1px solid var(--warm-border);
}

.offer--reserve {
  gap: 16px;
  margin: -24px 0 40px;
  padding: 18px 24px;
  background: var(--white);
  border: 1px solid var(--border);
}

.offer__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-text);
}

.offer__title { margin: 4px 0 0; font-size: 20px; font-weight: 600; line-height: 1.35; }
.offer--reserve .offer__title { margin: 0; font-size: 16px; line-height: 1.45; }
.offer__note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.offer--reserve .offer__note { margin-top: 4px; }

.offer__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 8px 20px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-strong);
}

.checks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.checks--loose { gap: 10px; margin-top: 16px; line-height: 1.5; }
.checks li, .offer__list li { display: flex; gap: 10px; }
.offer__list li { gap: 8px; }

.check { flex: none; margin-top: 1px; color: var(--accent); }
.offer__list .check { margin-top: 2px; color: var(--warm-text); }

.period-toggle { display: flex; justify-content: center; margin: 16px auto 20px; }

.period-toggle__group {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--border);
  border-radius: 10px;
}

.period-toggle button {
  min-height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.period-toggle button[aria-pressed="true"] { background: var(--white); }

.plans { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }

.plan {
  position: relative;
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.plan--featured {
  margin-top: 0;
  border: 2px solid var(--accent);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.plan__head { display: flex; align-items: center; gap: 12px; }
.plan__icon { flex: none; display: block; }
.plan__name { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.plan__tagline { margin: 6px 0 0; font-size: 16px; font-weight: 600; color: var(--text-strong); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; }
.plan__amount { font-family: var(--font-display); font-size: 46px; font-weight: 700; }
.plan__period { font-size: 14px; color: var(--muted); }
.plan__note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.plan__limits {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.pricing__footnote { margin: 20px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* Enterprise */

.enterprise { padding-top: 32px; padding-bottom: 64px; }

.cta-dark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  background: var(--text);
  color: var(--white);
  border-radius: 16px;
}

.cta-dark__body { flex: 1 1 480px; min-width: 0; }
.cta-dark__title { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.cta-dark__text { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--dark-muted); }

/* Feature blocks (AI, Google Analytics import) */

.feature-section { padding-top: 64px; }

.feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.feature__body { flex: 1 1 420px; min-width: 0; }
.feature__aside { flex: 1 1 360px; min-width: 0; }
.feature__title { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.feature__text { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* FAQ */

.faq { max-width: 860px; padding-top: 64px; padding-bottom: 24px; }
.faq .section-title { margin-bottom: 24px; }
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq__item { padding: 20px 24px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.faq__item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.faq__item p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Signup form */

.signup-section { padding-top: 48px; padding-bottom: 72px; }

.signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.signup__intro { flex: 1 1 380px; min-width: 0; }
.signup__title { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.signup__text { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

.form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label, .choices legend { font-size: 14px; font-weight: 600; }
.field__hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

.input {
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border-input);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}
select.input { padding: 0 12px; }
.input:focus { border-color: var(--accent); }

.choices { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: none; }
.choices legend { margin-bottom: 6px; padding: 0; }

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-strong);
  cursor: pointer;
}

.choice input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }

.form__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Honeypot against bots: off-screen for people, still in the DOM for simple bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */

.site-footer { background: var(--white); border-top: 1px solid var(--border); }

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* Content pages (privacy, terms) */

.page { max-width: 760px; padding-top: 64px; padding-bottom: 72px; }
.page__title { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1.15; }
.page__meta { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

.notice {
  margin: 24px 0 0;
  padding: 14px 18px;
  background: var(--warm-bg);
  border: 1px solid var(--warm-border);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-strong);
}

.prose { margin-top: 32px; font-size: 16px; line-height: 1.65; color: var(--text-strong); }
.prose h2 { margin: 36px 0 8px; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .table { margin: 8px 0 16px; font-size: 15px; }

/* Response pages (thanks, confirmed, paid, expired, 404) */

.message { max-width: 640px; padding-top: 72px; padding-bottom: 96px; text-align: center; }

.message__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.message__title { margin-top: 20px; font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1.15; }
.message__text { margin: 14px auto 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.message__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Small screens */

@media (max-width: 720px) {
  .brand__payoff { display: none; }
}

@media (max-width: 640px) {
  .hero__title { font-size: 38px; }
  .section-title { font-size: 28px; }
  .page__title, .message__title { font-size: 30px; }
  .signup, .feature, .cta-dark, .plan { padding: 24px; }
  .site-nav { gap: 16px; }
}
