/* Slate & Sage — the public face of RE:Imagined.
 *
 * Scoped to PUBLIC surfaces only (landing, signup, pricing, seller view).
 * The logged-in app is still a dark theme in app.css, and CompanySettings
 * brand colours drive customer-facing collateral. Converting the app itself
 * is a separate, deliberate pass — deriveTheme() generates dark surface steps
 * (lightness 0.06-0.22) and would need rewriting for light.
 */
:root {
  --ink: #232b33;
  --ink-soft: #46525c;
  --muted: #77807a;
  --bg: #f4f6f4;
  --bg-soft: #ecf0ec;
  --bg-card: #fcfdfc;
  --line: #dde4de;
  --sage: #41604f;
  --sage-deep: #2e4739;
  --sage-soft: #e6ede7;
  --sage-mid: #6f8f7c;
  --graphite: #232b33;
  --graphite-deep: #1a2129;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(35,43,51,.07);
  --shadow-lg: 0 28px 80px rgba(35,43,51,.13);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; letter-spacing: -.01em; font-weight: 600; }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
.sub { color: var(--muted); font-size: 18.5px; max-width: 660px; }
section { padding: 104px 0; }
.center { text-align: center; }
.center .sub { margin: 18px auto 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600;
  border-radius: 999px; padding: 15px 30px; font-size: 15.5px; cursor: pointer; border: none;
  transition: .2s; font-family: var(--sans); letter-spacing: .01em; }
.btn-primary { background: var(--sage); color: #eef3ee; }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }
.btn-lg { padding: 18px 38px; font-size: 16.5px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sage-mid); margin-bottom: 20px; }

/* Pricing cards — the marketer's format, driven by the real plan table. */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
/* Tighten the generous desktop section rhythm on phones. */
@media (max-width: 600px) { section { padding: 60px 0; } }
.plan { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; display: flex; flex-direction: column; text-align: left; position: relative; }
.plan.popular { border: 1.5px solid var(--sage); box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--bg-card), var(--sage-soft)); }
.plan .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sage); color: #fff; font-size: 11.5px; font-weight: 700; padding: 6px 16px;
  border-radius: 999px; letter-spacing: .08em; white-space: nowrap; }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan .who { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; min-height: 38px; }
.price { font-family: var(--serif); font-size: 40px; font-weight: 600; letter-spacing: -.01em; }
.price small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin: 24px 0 28px; flex: 1; }
.plan li { padding: 7px 0; font-size: 14.5px; color: var(--ink-soft); display: flex; gap: 10px; }
.plan li::before { content: '\2713'; color: var(--sage-mid); font-weight: 700; }
.plan .btn { width: 100%; }
.plan.current { border: 1.5px solid var(--sage-mid); }
