/* ============================================================
   Porchlight — shared brand system
   Palette lifted directly from the live staff app (index.html)
   so the marketing site and product feel like one thing.
   ============================================================ */

:root {
  --bg-deep: #241C15;
  --bg: #332A20;
  --card: #3D3227;
  --card-raised: #46392C;
  --glow: #EDA85E;
  --glow-soft: #F4C589;
  --cream: #FBF3E7;
  --cream-dim: #C9B79E;
  --line: rgba(251, 243, 231, 0.12);
  --ok: #8FCB8F;
  --available: #8FB4D9;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: 'Karla', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p { color: var(--cream-dim); max-width: 62ch; }

a { color: inherit; text-decoration: none; }

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

/* ---------- Layout ---------- */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 96px 0; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
}

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(36, 28, 21, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 21px;
  flex-shrink: 0;
}

.brand-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 10px 3px rgba(237, 168, 94, 0.55);
}

nav.links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

nav.links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--cream-dim);
  transition: color 0.15s ease, background 0.15s ease;
}

nav.links a:hover { color: var(--cream); background: rgba(251,243,231,0.06); }
nav.links a.current { color: var(--glow-soft); }

.nav-cta {
  background: var(--glow);
  color: #241C15;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15.5px;
  border: none;
  cursor: pointer;
  font-family: 'Karla', sans-serif;
}

.btn-primary { background: var(--glow); color: #241C15; }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }

/* ---------- Eyebrow / kicker (used sparingly, not on every heading) ---------- */
.kicker {
  color: var(--glow-soft);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 14px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 64px;
  color: var(--cream-dim);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer nav.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

footer nav.foot-links a {
  color: var(--cream-dim);
  transition: color 0.15s ease;
}

footer nav.foot-links a:hover { color: var(--cream); }

/* ---------- Reduced motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 2px;
}
