/* TightNumbers, tightnumbers.com
   Tokens per Decision #17: charcoal #232320, persimmon #EC5800, white, off-white body.
   Layout pattern: charcoal nav + footer + callout bands on an off-white page. */

:root {
  --charcoal: #232320;
  --charcoal-2: #2c2c28;
  --persimmon: #EC5800;
  --persimmon-dark: #c94b00;
  --offwhite: #F6F4F0;
  --white: #ffffff;
  --ink: #232320;
  --ink-soft: #55534d;
  --line-light: #e4e0d8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text-on-dark: rgba(255, 255, 255, 0.78);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--offwhite);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--persimmon-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--persimmon);
  outline-offset: 2px;
}

/* ---------- Nav ---------- */

.nav {
  background: var(--charcoal);
  color: var(--white);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 16px;
}
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup svg { display: block; }
.lockup-text { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--white);
}
.wordmark span { color: var(--persimmon); }
.tagline {
  font-size: 12px;
  color: var(--text-on-dark);
  letter-spacing: 0.2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--persimmon);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 6px;
  border: 2px solid var(--persimmon);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--persimmon-dark); border-color: var(--persimmon-dark); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn-small { padding: 9px 16px; font-size: 15px; }

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
.section-dark {
  background: var(--charcoal);
  color: var(--text-on-dark);
}
.section-dark h2 { color: var(--white); }

h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -1.2px;
  font-weight: 800;
  color: var(--ink);
}
h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.6px;
  font-weight: 800;
  margin-bottom: 20px;
}
h3 { font-size: 20px; font-weight: 700; }

/* ---------- Hero ---------- */

.hero { padding: 84px 0 72px; }
.hero .sub {
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 700;
  margin: 22px 0 14px;
  max-width: 780px;
}
.hero p.body { max-width: 720px; color: var(--ink-soft); margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-note { font-size: 15px; color: var(--ink-soft); }
.hero .secondary { display: inline-block; margin-top: 16px; font-weight: 600; }

/* ---------- Stat chips ---------- */

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.chip {
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 24px 20px;
  background: var(--charcoal-2);
}
.chip .big {
  font-size: 30px;
  font-weight: 800;
  color: var(--persimmon);
  letter-spacing: -0.5px;
  display: block;
}
.chip .small { color: var(--text-on-dark); font-size: 15px; }

/* ---------- Demo sheet mock ---------- */

.sheet-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(35, 35, 32, 0.08);
}
.sheet-banner {
  background: #fdeee3;
  color: #8a3400;
  border-bottom: 1px solid #f3cdb2;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
}
.sheet-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sheet-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
  background: #faf8f5;
  border-bottom: 1px solid var(--line-light);
  padding: 10px 16px;
}
.sheet-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #efece6;
}
.sheet-table .num { font-family: var(--mono); font-size: 14px; }
.row-stale td { background: #fff4ec; }
.status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 99px;
}
.status-ok { background: #eef2ea; color: #3c5b34; }
.status-stale { background: var(--persimmon); color: var(--white); }
.demo-caption {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 14px;
  text-align: center;
}

/* ---------- Checklist ---------- */

.check-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 34px 36px;
  max-width: 640px;
}
.check-card h3 { margin-bottom: 16px; }
.check-list { list-style: none; }
.check-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--persimmon);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 2.5px solid var(--white);
  border-bottom: 2.5px solid var(--white);
  transform: rotate(-45deg);
}

/* ---------- Quick check ---------- */

.qc-item { max-width: 720px; margin-bottom: 26px; }
.qc-item h3 { margin-bottom: 6px; }
.qc-item p { color: var(--ink-soft); }
.qc-close { font-weight: 700; margin: 6px 0 26px; }

/* ---------- Founder ---------- */

.founder-card {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 34px 36px;
  max-width: 760px;
}
.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
}
.founder-name { font-weight: 800; font-size: 19px; }
.founder-role { color: var(--ink-soft); font-size: 15px; margin-bottom: 12px; }

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}
.price-card {
  background: var(--charcoal-2);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 32px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--persimmon); }
.badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--persimmon);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}
.price-name { color: var(--white); font-size: 18px; font-weight: 700; }
.price-amount {
  color: var(--white);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 6px 0 2px;
}
.price-meta { font-size: 15px; margin-bottom: 18px; }
.price-list { list-style: none; margin-bottom: 26px; }
.price-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  font-size: 15.5px;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 2.5px solid var(--persimmon);
  border-bottom: 2.5px solid var(--persimmon);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; text-align: center; }
.price-note {
  max-width: 780px;
  margin: 26px auto 0;
  font-size: 15px;
  text-align: center;
}

/* ---------- Before / After ---------- */

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.ba-card {
  background: var(--charcoal-2);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 30px;
}
.ba-card h3 { color: var(--white); margin-bottom: 12px; }
.ba-card.after { border-left: 4px solid var(--persimmon); }
.ba-card p { margin-bottom: 12px; }
.ba-close {
  text-align: center;
  color: var(--white);
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 22px);
  margin-top: 34px;
}

/* ---------- FAQ ---------- */

.faq-item {
  max-width: 760px;
  border-bottom: 1px solid var(--line-light);
  padding: 22px 0;
}
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); }

/* ---------- Final CTA ---------- */

.final { text-align: center; }
.final p.lead {
  max-width: 640px;
  margin: 0 auto 30px;
}
.final-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.final .sub-line { font-size: 15px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--charcoal);
  color: var(--text-on-dark);
  padding: 44px 0;
  font-size: 15px;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer a { color: var(--text-on-dark); }
.footer a:hover { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ---------- Legal pages ---------- */

.doc { padding: 64px 0 80px; }
.doc-inner { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 6px; }
.doc .doc-meta { color: var(--ink-soft); margin-bottom: 34px; }
.doc h2 {
  font-size: 24px;
  margin: 38px 0 12px;
  letter-spacing: -0.3px;
}
.doc p, .doc li { color: #3a3833; margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
  .chips { grid-template-columns: 1fr; }
  .price-grid, .ba-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; }
  .sheet-table th:nth-child(2), .sheet-table td:nth-child(2) { display: none; }
  .nav .tagline { display: none; }
}
