/* PDF2CSV marketing site.
   Palette and type deliberately mirror the app (Tailwind gray/blue defaults)
   so site and app feel like one product. No framework — plain CSS. */

:root {
  --bg: #f3f4f6;          /* gray-100 — same canvas as the app */
  --surface: #ffffff;
  --text: #111827;         /* gray-900 */
  --text-2: #4b5563;       /* gray-600 */
  --text-3: #6b7280;       /* gray-500 */
  --border: #e5e7eb;       /* gray-200 */
  --accent: #2563eb;       /* blue-600 — the app's action colour */
  --accent-hover: #1d4ed8; /* blue-700 */
  --accent-soft: #eff6ff;  /* blue-50 */
  --green: #16a34a;
  --radius: 0.75rem;       /* rounded-xl */
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 14px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- header ---------- */

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

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand svg { width: 1.6rem; height: 1.6rem; flex: none; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a:not(.btn) { color: var(--text-2); font-weight: 500; font-size: 0.95rem; }
.site-nav a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.65rem 1.3rem;
  transition: background-color 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid #d1d5db;
}
.btn-secondary:hover { background: var(--bg); }

.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.9rem; }
.btn-lg { padding: 0.8rem 1.7rem; font-size: 1.05rem; }

/* ---------- hero ---------- */

.hero { padding: 4.5rem 0 3rem; text-align: center; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 auto 1.1rem;
  max-width: 46rem;
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--text-2);
  max-width: 40rem;
  margin: 0 auto 1.8rem;
}

.hero-ctas { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.hero .fine-print { color: var(--text-3); font-size: 0.9rem; margin-top: 1rem; }

.pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 1.2rem;
}

/* ---------- shared blocks ---------- */

.section { padding: 3rem 0; }
.section-tight { padding: 2rem 0; }

.section h2 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 0.6rem;
}
.section .section-sub {
  text-align: center;
  color: var(--text-2);
  max-width: 40rem;
  margin: 0 auto 2.2rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.screenshot-frame {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(17, 24, 39, 0.12);
  padding: 0.6rem;
  margin: 2.5rem auto 0;
  max-width: 62rem;
}
.screenshot-frame img { display: block; border-radius: 0.5rem; width: 100%; }
.screenshot-caption {
  text-align: center;
  color: var(--text-3);
  font-size: 0.9rem;
  margin-top: 0.9rem;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 46rem) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

/* ---------- privacy diagram ---------- */

.privacy-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.privacy-diagram { margin: 2rem auto 0; max-width: 44rem; display: block; }

/* ---------- pricing ---------- */

.price-card {
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.2rem 2rem;
}
.price-figure { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; }
.price-figure .cur { font-size: 1.3rem; font-weight: 600; vertical-align: super; }
.price-per { color: var(--text-3); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  text-align: left;
}
.price-card li {
  padding: 0.45rem 0 0.45rem 1.8rem;
  position: relative;
  color: var(--text-2);
}
.price-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  position: absolute;
  left: 0.3rem;
}

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

.faq { max-width: 44rem; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border-radius: 0.6rem;
  box-shadow: var(--shadow);
  margin-bottom: 0.7rem;
  padding: 0.9rem 1.2rem;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { color: var(--text-2); margin: 0.7rem 0 0.2rem; }

/* ---------- prose pages (about / legal) ---------- */

.prose {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 46rem;
  margin: 2.5rem auto;
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
}
.prose h1 { font-size: 1.9rem; letter-spacing: -0.01em; margin-top: 0; }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--text-2); }
.prose .updated { color: var(--text-3); font-size: 0.85rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); }
.prose .callout {
  background: var(--accent-soft);
  border-radius: 0.6rem;
  padding: 0.9rem 1.2rem;
  color: var(--text);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 46rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { margin: 0 0 0.6rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--text-2); }
.footer-blurb { color: var(--text-3); max-width: 20rem; }
.footer-fine {
  color: var(--text-3);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.2rem;
}
