/* ReceiptSheet — clean, functional, no-slop */
:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --muted: #666;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #e5e7eb;
  --card-bg: #fff;
  --radius: 8px;
}
* { box-sizing: border-box; margin: 0; }
body {
  font-family: -apple-system, system-ui, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
header .container { display: flex; justify-content: space-between; align-items: center; }
header h1 { font-size: 20px; font-weight: 700; }
header .accent { color: var(--accent); }
header nav { display: flex; gap: 16px; font-size: 14px; color: var(--muted); }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
}
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.cta:hover { background: var(--accent-hover); text-decoration: none; }
.hero .note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* How it works */
.how { padding: 60px 0; }
.how h3 { font-size: 22px; margin-bottom: 24px; }
.how ol { padding-left: 24px; }
.how li { margin-bottom: 12px; font-size: 16px; }
.how li strong { color: var(--fg); }

/* Pricing */
.pricing { padding: 60px 0; }
.pricing h3 { font-size: 22px; margin-bottom: 24px; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.plan {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.plan.featured { border-color: var(--accent); }
.plan h4 { font-size: 16px; margin-bottom: 8px; }
.plan .price { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.plan .price span { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; }
.plan li { font-size: 14px; color: var(--muted); padding: 4px 0; }
.plan li::before { content: "✓ "; color: var(--accent); }

/* Trust */
.trust { padding: 60px 0; }
.trust h3 { font-size: 22px; margin-bottom: 12px; }
.trust p { color: var(--muted); font-size: 15px; max-width: 600px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 40px;
}
footer p { font-size: 13px; color: var(--muted); }

/* App page */
.app-container { padding: 40px 0; }
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 60px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.upload-zone:hover { border-color: var(--accent); }
.upload-zone.dragging { border-color: var(--accent); background: #f0f7ff; }
.upload-zone input { display: none; }
.preview {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.preview table { width: 100%; border-collapse: collapse; }
.preview td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.preview td:first-child { font-weight: 600; width: 140px; color: var(--muted); }
.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
}
.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.status { margin-top: 12px; font-size: 14px; }
.status.ok { color: #16a34a; }
.status.err { color: #dc2626; }

@media (max-width: 600px) {
  .hero h2 { font-size: 28px; }
  .plans { grid-template-columns: 1fr; }
}
