/*
 * landing.css — standalone stylesheet for PHP-rendered landing pages
 * under public/landing/. Deliberately independent of the Vite build's
 * hashed CSS output, so these pages keep working no matter when the
 * main site was last rebuilt. Design tokens mirror src/index.css —
 * if you change the palette/type there, update both places.
 */

:root {
  --navy: #0b1d3a;
  --navy-deep: #071429;
  --green: #1f7a4d;
  --green-deep: #17603b;
  --green-pale: #e7f3ec;
  --gray: #3a4048;
  --gray-soft: #6b7280;
  --line: #dfe3e7;
  --bg: #f7f8f7;
  --white: #ffffff;

  --font-display: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --max: 780px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a { color: var(--green-deep); }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Header (mirrors src/components/Header.css) ---- */
.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.site-header__brand img { height: 42px; }
.site-header__brand {
  text-decoration: none;
}
.site-header__brand__fallback {
  /* Shown/hidden by an inline style + inline onerror handler in the
     HTML itself, not by a CSS class — deliberately, so this still
     works correctly even if this stylesheet is stale or fails to
     load, rather than depending on both files being deployed
     together in sync. */
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.site-header__nav { display: flex; gap: 22px; margin-left: auto; }
.site-header__nav a {
  color: #cdd6e2;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.site-header__nav a:hover { color: var(--white); }
.site-header__cta {
  background: var(--green);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 3px;
}
@media (max-width: 760px) { .site-header__nav { display: none; } }

/* ---- Page content ---- */
.page-hero {
  background: var(--navy);
  color: #dfe6ee;
  padding: 48px 0 40px;
}
.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #7fdca6;
  margin-bottom: 14px;
}
.page-hero h1 { color: var(--white); font-size: 2.1rem; }
.page-hero__intro { margin-top: 16px; color: #b7c2d0; max-width: 62ch; }

.page-body { padding: 48px 0 20px; }
.page-body section { margin-bottom: 40px; }
.page-body h2 { font-size: 1.35rem; margin-bottom: 12px; }
.page-body p { margin: 0 0 12px; max-width: 68ch; }
.page-body ul { margin: 0 0 12px; padding-left: 20px; max-width: 66ch; }
.page-body li { margin-bottom: 6px; }

.faq { padding: 8px 0 48px; }
.faq h2 { font-size: 1.35rem; margin-bottom: 20px; }
.faq dl { margin: 0; }
.faq dt {
  font-weight: 600;
  color: var(--navy);
  margin-top: 20px;
  font-size: 15.5px;
}
.faq dd {
  margin: 6px 0 0;
  color: var(--gray-soft);
  max-width: 62ch;
}

/* Rich HTML content from the blog editor (TinyMCE output) */
.prose { max-width: 68ch; }
.prose p { margin: 0 0 14px; }
.prose h2 { font-size: 1.3rem; margin: 28px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose img { max-width: 100%; border-radius: 6px; margin: 16px 0; }
.prose a { color: var(--green-deep); }
.prose blockquote {
  border-left: 3px solid var(--line);
  padding-left: 16px;
  color: var(--gray-soft);
  margin: 16px 0;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0 56px;
}
.btn {
  display: inline-block;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: 3px;
  border: 1px solid transparent;
}
.btn--primary { background: var(--green); color: var(--white) !important; border-color: var(--green); }
.btn--primary:hover { background: var(--green-deep); }
.btn--ghost-dark { color: var(--navy) !important; border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: var(--white) !important; }

/* ---- Footer (mirrors src/components/Footer.css, condensed) ---- */
.site-footer {
  background: var(--navy-deep);
  color: #9aa7ba;
  padding: 40px 0;
  margin-top: 20px;
}
.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}
.site-footer__inner p { font-size: 13px; margin: 0 0 8px; }
.site-footer__inner a { color: #9aa7ba; text-decoration: none; margin-right: 16px; }
.site-footer__inner a:hover { color: var(--white); }
