/* ───────────────────────────────────────────────────────────────────────
   Anytime Invoice — marketing site styles
   Tokens lifted directly from the Anytime Invoice Design System
   (claude.ai/design project 9eb07b3c-6d69-437f-91e7-3c1ad679ca2a) so this
   transition-period static site matches the real product's brand.
   ─────────────────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-soft: #eff6ff;
  --brand-teal: #0d9488;
  --brand-teal-hover: #0f766e;
  --brand-teal-soft: #f0fdfa;
  --brand-ink: #0f172a;

  /* Neutral ramp */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing / radius / shadow */
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.10), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --container-max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--brand-ink); line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 var(--space-4); }
p { margin: 0 0 var(--space-4); color: var(--slate-600); }
a { color: var(--brand-blue); text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-6); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.nav-logo { height: 2.25rem; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--space-8); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--slate-800); font-weight: 500; font-size: var(--text-sm); }
.nav-links a:hover { color: var(--brand-blue); }
.nav-cta {
  background: var(--brand-blue);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.nav-cta:hover { background: var(--brand-blue-hover); }
.nav-mobile-toggle { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────── */
/* Matches the real, live app.anytimeinvoice.com landing page (F48):
   centered logo above the heading, plain white background, blue accent. */
.hero { padding: var(--space-20) 0; text-align: center; background: var(--white); }
.hero-logo { height: 3.5rem; width: auto; margin: 0 auto var(--space-8); }
.hero h1 { font-size: var(--text-4xl); max-width: 40rem; margin: 0 auto var(--space-6); }
.hero .accent { color: var(--brand-blue); }
.hero .lede { font-size: var(--text-lg); max-width: 34rem; margin: 0 auto var(--space-8); }
.hero-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-md);
  font-weight: 600; font-size: var(--text-base); border: none; cursor: pointer;
}
.btn-primary { background: var(--brand-blue); color: var(--white); }
.btn-primary:hover { background: var(--brand-blue-hover); }
.btn-ghost { background: var(--white); color: var(--brand-ink); border: 1px solid var(--slate-300); }
.btn-ghost:hover { border-color: var(--slate-500); }

/* ── Sections ────────────────────────────────────────────────────────── */
section { padding: var(--space-16) 0; }
.section-eyebrow { text-transform: uppercase; letter-spacing: 0.05em; font-size: var(--text-sm); font-weight: 600; color: var(--brand-teal); margin-bottom: var(--space-2); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto var(--space-12); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); align-items: center; }

.card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); text-align: center; }
.card p { text-align: center; }
.card .icon {
  width: 3rem; height: 3rem; border-radius: 9999px; background: var(--brand-blue-soft); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center; font-size: var(--text-xl);
  margin: 0 auto var(--space-4);
}

/* ── Pricing ─────────────────────────────────────────────────────────── */
/* Matches the real F48 pricing cards: plain bordered Free card, Pro card
   gets a tinted-blue background + blue ring (not a teal border). */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); max-width: 46rem; margin: 0 auto; }
.price-card { border: 1px solid var(--slate-200); border-radius: var(--radius-xl); padding: var(--space-8); background: var(--white); }
.price-card.featured { border: 1px solid var(--brand-blue); background: var(--brand-blue-soft); box-shadow: 0 0 0 1px var(--brand-blue); }
.price-amount { font-size: var(--text-4xl); font-weight: 700; color: var(--brand-ink); margin: var(--space-4) 0; }
.price-amount span { font-size: var(--text-base); font-weight: 500; color: var(--slate-500); }
.price-features { list-style: none; padding: 0; margin: var(--space-6) 0; }
.price-features li { padding: 0.375rem 0; padding-left: 1.5rem; position: relative; color: var(--slate-600); font-size: var(--text-sm); }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: #10b981; font-weight: 700; }

/* ── CTA band ────────────────────────────────────────────────────────── */
.cta-band { background: var(--brand-ink); color: var(--white); text-align: center; border-radius: var(--radius-xl); padding: var(--space-16) var(--space-8); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--slate-300); }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--slate-200); padding: var(--space-12) 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }
footer .foot-logo { height: 1.75rem; }
footer nav { display: flex; gap: var(--space-6); list-style: none; }
footer p { margin: 0; font-size: var(--text-sm); color: var(--slate-500); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: var(--text-3xl); }
  .hero .lede { font-size: var(--text-lg); }
  .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  section { padding: var(--space-12) 0; }
}
