/* Mirrors the web app's theme: brand teal from its bg-[#16958C] / hover:bg-[#12796f]
   buttons, page background bg-[#FAFAF9], and Tailwind's gray scale for text and borders. */
:root {
  color-scheme: light;
  --ink: #101828;          /* gray-900 */
  --muted: #6a7282;        /* gray-500 */
  --bg: #ffffff;
  --bg-alt: #fafaf9;
  --accent: #16958c;
  --accent-hover: #12796f;
  --accent-soft: #e8f4f3;
  --border: #e5e7eb;       /* gray-200 */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); }

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

.wrap.narrow { max-width: 720px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.site-header nav a.cta { color: #fff; }

/* Buttons */

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 150ms;
}

.cta:hover { background: var(--accent-hover); }

.cta-small { padding: 8px 16px; }

/* Hero */

.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin: 0 0 16px;
}

.lede {
  color: var(--muted);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.fine {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 16px;
}

/* Sections */

.section { padding: 72px 0; }

.section.alt { background: var(--bg-alt); }

.section h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}

.section-lede {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 0 32px;
}

/* Old way vs new way */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.compare-col.new {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.compare-col h3 { margin: 0 0 12px; }

.compare-col ul { margin: 0; padding-left: 20px; }

.compare-col li { margin-bottom: 8px; }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border-top: 3px solid var(--accent);
  padding-top: 16px;
}

.steps li::before {
  content: counter(step);
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Benefits */

.benefit .problem {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}

.benefit p { max-width: 640px; }

.features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.features li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.section:not(.alt) .features li { background: var(--bg-alt); }

/* Pricing */

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-top: 24px;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.price-online { font-size: 1.125rem; }

/* Founder note */

.founder p { font-size: 1.125rem; }

/* FAQ */

details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
}

details p { margin: 12px 0 0; color: var(--muted); }

/* Final CTA */

.final { text-align: center; }

.final h2 { margin-bottom: 24px; }

/* Legal pages */

.legal { padding: 56px 0 72px; }

.legal h1 { font-size: 2.25rem; margin: 0 0 8px; }

.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }

.legal .updated { color: var(--muted); margin: 0 0 32px; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

.site-footer a { color: var(--muted); }

@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 2.25rem; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 1.5rem; }
  .compare, .steps, .features { grid-template-columns: 1fr; }
  .site-header nav a:not(.cta) { display: none; }
  .site-header nav a[href="https://app.travailhq.com"]:not(.cta) { display: inline; }
}
