/* The public pages: landing, pricing, sign-up, terms, welcome.
   Light only, like the app itself — the product has one visual world and the
   front door should look like the house. Every colour is painted explicitly so
   the page holds whatever the browser's own theme is. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-ExtraBold.otf') format('opentype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #FEFDFB; --cream: #EFE8D9; --sand: #F6F1E7;
  --ink: #1F423E; --teal: #225B5B; --rust: #CA4227; --rust-d: #A8371F;
  --blue: #AABEBF; --muted: #6E7E7D; --rule: #E6DFD1; --line: #D9D2C2;
  --ok: #2F7A5B; --ok-bg: #E3F0E8; --wait: #9A6A12; --wait-bg: #FBF0D9;
  --others: #7A7265; --others-bg: #F0EDE6;
  --shadow: 0 1px 2px rgba(31,66,62,.06), 0 12px 32px -12px rgba(31,66,62,.22);
  --display: 'Gilroy', 'Poppins', system-ui, sans-serif;
  --body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.015em; text-wrap: balance; line-height: 1.08; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.muted { color: var(--muted); }

/* ── Header ── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(254,253,251,.9); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.site-logo img { height: 30px; display: block; }
.site-logo span { font-family: var(--display); font-weight: 300; font-size: 17px; color: var(--muted); padding-left: 10px;
  border-left: 1px solid var(--rule); }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); padding: 8px 12px; border-radius: 9px; }
.site-nav a:hover { background: var(--sand); }
.site-nav a.cur { color: var(--rust); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 14px var(--body);
  padding: 11px 20px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn.primary { background: var(--rust); color: #fff; box-shadow: 0 6px 16px -8px rgba(202,66,39,.7); }
.btn.primary:hover { background: var(--rust-d); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--sand); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--teal); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.site-nav .btn { padding: 9px 16px; color: #fff; }
.site-nav .btn.ghost { color: var(--ink); }
@media (max-width: 640px) {
  .site-head .wrap { gap: 10px; }
  .site-logo span { display: none; }
  .site-nav a.hide-sm { display: none; }
  .site-nav .btn { padding: 8px 12px; font-size: 13px; }
}

/* ── Footer ── */
.site-foot { border-top: 1px solid var(--rule); margin-top: 96px; padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
.site-foot .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.site-foot .sp { flex: 1; }

/* ── Status pills, shared with the demo plan ── */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 9px;
  border-radius: 999px; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.approved { color: var(--ok); background: var(--ok-bg); }
.pill.awaiting { color: var(--wait); background: var(--wait-bg); }
.pill.others { color: var(--others); background: var(--others-bg); }

/* ── Form bits, for sign-up and welcome ── */
.card { background: #fff; border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.field input { font: 15px var(--body); color: var(--ink); background: #fff; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 11px; width: 100%; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(34,91,91,.14); }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rust); flex-shrink: 0; }
.msg { border-radius: 11px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
.msg.err { background: #FBEAE6; color: #9E3219; }
.msg.ok { background: var(--ok-bg); color: #1F5A43; }
.msg.info { background: var(--sand); color: var(--ink); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
