/* Tindra marketing site — palette drawn from the app icon:
   flame #ffd47a → #f2933a → #cf4a1c, dark brown #241c14/#140f0a,
   teal accent #2f6b6b, cream #fff6d0, butter #ffb347 */

:root {
  --bg: #140f0a;
  --bg-raised: #241c14;
  --bg-card: #2c2218;
  --text: #f3e9d6;
  --text-muted: #c9b99d;
  --flame-light: #ffd47a;
  --flame-mid: #f2933a;
  --flame-deep: #cf4a1c;
  --butter: #ffb347;
  --cream: #fff6d0;
  --teal: #2f6b6b;
  --teal-light: #7fc2c2;
  --border: #4a3a28;
  --radius: 12px;
  --max-width: 68rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", "Iowan Old Style", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, .button, .nav-list, .eyebrow, .badge, .fine-print {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container.narrow { max-width: 46rem; }
.center { text-align: center; }

a { color: var(--teal-light); }
a:hover { color: var(--cream); }

:focus-visible {
  outline: 3px solid var(--butter);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--butter);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ---------- header ---------- */
.site-header {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-name {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
}
.nav-list a:not(.button) {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.nav-list a:not(.button):hover { color: var(--flame-light); }

/* ---------- buttons ---------- */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}
.button-primary {
  background: linear-gradient(180deg, var(--flame-mid), var(--flame-deep));
  color: #fff8ec;
}
.button-primary:hover {
  background: linear-gradient(180deg, var(--flame-light), var(--flame-mid));
  color: var(--bg);
}
.button-ghost {
  border-color: var(--teal);
  color: var(--teal-light);
}
.button-ghost:hover {
  border-color: var(--teal-light);
  color: var(--cream);
}
.button-small { padding: 0.4rem 1rem; font-size: 0.95rem; }
.button-large { padding: 1rem 2.25rem; font-size: 1.15rem; }

/* ---------- hero ---------- */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 110%, rgba(232, 115, 43, 0.22), transparent),
    var(--bg);
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--butter);
  margin: 0 0 1rem;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--cream);
}
.accent {
  background: linear-gradient(90deg, var(--flame-light), var(--flame-mid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  color: var(--text-muted);
}
.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.fine-print {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- screenshot tour ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  gap: 2.5rem 2rem;
}
.shot-grid figure {
  margin: 0;
}
.shot-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.shot-grid figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- download list ---------- */
.download-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.download-list .fine-print { margin: 0.5rem 0 0; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-raised); }
.section h2 {
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--cream);
  margin: 0 0 0.75rem;
}
.section-lede {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 2.5rem;
  max-width: 44rem;
}

/* ---------- pipeline steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--flame-mid), var(--flame-deep));
  color: #fff8ec;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.steps h3, .card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--flame-light);
}
.steps p, .card p { margin: 0; color: var(--text-muted); }

/* ---------- cards / feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  max-width: 46rem;
  margin: 0 auto 1.5rem;
}
.price-card { text-align: center; padding: 2rem 1.5rem; }
.price-card h3 { color: var(--cream); font-size: 1.3rem; }
.price-featured {
  border: 2px solid var(--flame-mid);
  position: relative;
}
.badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--flame-light), var(--flame-mid));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  margin: 0;
}
.price { font-size: 1.1rem; color: var(--text-muted); margin: 0.5rem 0 1.25rem; }
.amount {
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--cream);
}
.check-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  text-align: left;
}
.check-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-light);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 0.75rem;
  padding: 0;
}
summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  list-style-position: inside;
}
summary:hover { color: var(--flame-light); }
details[open] summary { border-bottom: 1px solid var(--border); }
details p { padding: 1rem 1.25rem; margin: 0; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.section-cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(232, 115, 43, 0.18), transparent),
    var(--bg-raised);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-row p { margin: 0; }

/* ---------- legal pages ---------- */
.legal { padding: 3rem 0 4rem; }
.legal h1 {
  font-family: Georgia, serif;
  color: var(--cream);
  font-size: 2rem;
}
.legal h2 {
  font-family: Georgia, serif;
  color: var(--flame-light);
  font-size: 1.3rem;
  margin-top: 2rem;
}
.legal p, .legal li { color: var(--text-muted); }
