/* BarndoCheck — shared styles */
:root {
  --ground: #F5F3EE;
  --surface: #FFFFFF;
  --ink: #1B1E21;
  --muted: #4D545B;
  --line: #D9D5CC;
  --line-soft: #EEEAE3;
  --accent: #A8431A;
  --accent-dark: #7E3112;
  --accent-on-dark: #E07A4A;
  --dark-2: #262A2E;
  --dark-line: #3A3F44;
  --muted-on-dark: #B9BEC3;
  --miss-bg: #FBE9E1; --miss-fg: #8F3612;
  --vague-bg: #FFF1CC; --vague-fg: #6B4A00;
  --inc-bg: #E4EEF8; --inc-fg: #1D4F80;
  --tag-bg: #EDEAE4; --tag-fg: #3A4046;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
svg { display: block; }
h1, h2, h3 { font-family: Archivo, Inter, sans-serif; margin: 0; line-height: 1.1; }
h1 { font-weight: 800; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.01em; }
h3 { font-weight: 700; font-size: 21px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--inc-fg); outline-offset: 2px; }
section[id] { scroll-margin-top: 80px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.white { background: var(--surface); }
.section.dark { background: var(--ink); color: var(--ground); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.lead { font-size: 19px; color: var(--muted); }
.dark .lead { color: var(--muted-on-dark); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-white:hover { background: var(--ground); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo svg { color: var(--accent); }
.logo span { font-family: Archivo, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 80px 0 96px; }
.hero .copy { display: flex; flex-direction: column; gap: 24px; }
.hero .lead { font-size: 20px; max-width: 580px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { color: var(--accent); flex: none; margin-top: 3px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card.soft { background: var(--ground); border-color: transparent; }
.card p { color: var(--muted); }
.icon { color: var(--accent); }
.hero-card { border-radius: 18px; gap: 18px; box-shadow: 0 18px 40px rgba(27, 30, 33, 0.08); }
.hero-card .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hero-card .head strong { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.quote-row { border: 1px solid #E6E2DA; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.quote-row .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-weight: 700; }
.quote-row p { font-size: 14px; }
.price { font-family: Archivo, sans-serif; font-weight: 800; font-size: 22px; }
.callout-dark { background: var(--ink); color: var(--ground); border-radius: 12px; padding: 16px; font-size: 15px; font-weight: 500; }
.step-num { font-family: Archivo, sans-serif; font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.chip.tag { background: var(--tag-bg); color: var(--tag-fg); }
.chip.miss { background: var(--miss-bg); color: var(--miss-fg); }
.chip.vague { background: var(--vague-bg); color: var(--vague-fg); }
.chip.inc { background: var(--inc-bg); color: var(--inc-fg); }
.chip.accent { background: var(--accent); color: #FFFFFF; }

/* Checklist (dark section) */
.check-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.check-card .num { font-family: Archivo, sans-serif; font-weight: 800; font-size: 15px; color: var(--accent-on-dark); }
.check-card h3 { font-family: Inter, sans-serif; font-size: 18px; }
.check-card p { font-size: 15px; color: var(--muted-on-dark); }

/* Tables */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 16px 18px 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
th, td { text-align: left; padding: 12px 10px; }
th:first-child { padding-left: 18px; }
thead tr { border-bottom: 1px solid var(--line); }
thead th { font-weight: 600; color: var(--muted); }
tbody tr + tr { border-top: 1px solid var(--line-soft); }
tbody th { font-weight: 600; }

/* Pricing */
.price-card { border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); }
.price-card.soft { background: var(--ground); }
.price-card.featured { border: 2px solid var(--accent); }
.price-card .head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-card .amount { font-family: Archivo, sans-serif; font-weight: 800; font-size: 44px; line-height: 1; }
.price-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.price-card .btn { margin-top: auto; min-height: 48px; }

/* Upload */
.upload-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.upload-grid .side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.upload-grid .form-box { flex: 1 1 560px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.next-steps h3 { font-family: Inter, sans-serif; font-size: 17px; }
.next-steps ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.privacy-note { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.privacy-note svg { flex: none; color: var(--ink); margin-top: 1px; }
.form-fallback { display: none; flex-direction: column; gap: 14px; padding: 8px; }
.form-fallback.show { display: flex; }
.form-fallback ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq h2 { margin-bottom: 32px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--accent); flex: none; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--accent); color: #FFFFFF; padding: 80px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 720px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--ground); padding: 56px 0; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 28px; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer .logo { color: var(--ground); }
.site-footer .logo svg { color: var(--accent-on-dark); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.site-footer a { color: var(--ground); }
.site-footer a:hover { color: var(--accent-on-dark); }
.site-footer p { font-size: 14px; line-height: 1.6; color: var(--muted-on-dark); max-width: 900px; }

/* Document pages (report, privacy, thanks) */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: 960px; display: flex; flex-direction: column; gap: 28px; }
.doc.narrow .wrap { max-width: 820px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.panel.dark { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.panel.dark p { color: #E4E6E8; }
.panel.dark strong { color: #FFFFFF; }
.panel.dark a { color: #F2A27D; }
.panel h2 { font-size: 26px; }
.panel ol, .panel ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--muted); }
.meta strong { color: var(--ink); }
.sample-badge { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.doc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.glance .card { gap: 10px; }
.glance .total { font-family: Archivo, sans-serif; font-weight: 800; font-size: 34px; line-height: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.check-rows { display: flex; flex-direction: column; gap: 10px; }
.check-row { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-wrap: wrap; gap: 14px 20px; }
.check-row .item { flex: 1 1 200px; min-width: 0; display: flex; gap: 10px; align-items: baseline; font-weight: 700; }
.check-row .n { font-family: Archivo, sans-serif; font-weight: 800; font-size: 14px; color: var(--accent); }
.check-row .cells { flex: 3 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.cell { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.cell .who { font-size: 13px; font-weight: 600; color: var(--muted); }
.cell .note { font-size: 14px; color: var(--muted); }
.price-note { background: var(--ground); border-radius: 12px; padding: 16px 18px; }
.legal .panel { gap: 22px; }
.legal .block { display: flex; flex-direction: column; gap: 8px; }
.legal h3 { font-family: Inter, sans-serif; font-size: 19px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps-list li { display: flex; gap: 16px; align-items: flex-start; }
.steps-list .dot { flex: none; width: 36px; height: 36px; border-radius: 999px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps-list .txt { display: flex; flex-direction: column; gap: 2px; }
.success-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--accent); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .panel, .card, .price-card { padding: 22px; }
  .upload-grid .form-box { padding: 16px; }
}
