/* GORGE site: shared nav, footer and the layout for the company pages.
   Palette is the app's "Carbon & Fire" (theme/colors.ts). The older pages
   (privacy, delete-account, reset-password, confirmed) keep their own inline
   styles and only pick up the nav and footer from here. */
:root {
  --charcoal: #1A1A1A;
  --carbon-light: #2C2C2C;
  --fire-orange: #E85D26;
  --forged-gold: #D4A853;
  --off-white: #EFEFED;
  --text-muted: #A8A8A6;
}

/* ---------- Nav (every page) ---------- */
.site-nav {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 16px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.site-nav .brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--fire-orange);
  text-decoration: none;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--off-white); text-decoration: none; font-size: 15px; }
.site-nav ul a { padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a:focus { color: var(--fire-orange); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--fire-orange); }

/* ---------- Footer (every page) ---------- */
.site-footer {
  width: 100%;
  max-width: 960px;
  text-align: center;
  padding: 24px 24px 36px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-top: 1px solid rgba(239, 239, 237, 0.08);
}
.site-footer p { margin: 0; }
.site-footer .footer-links { margin-top: 6px; }
.site-footer a { color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--text-muted); }
.site-footer a:hover, .site-footer a:focus { color: var(--fire-orange); text-decoration-color: var(--fire-orange); }

/* ---------- Company pages (body class "site") ---------- */
body.site {
  margin: 0;
  background: var(--charcoal);
  color: var(--off-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.6;
}
body.site *, body.site *::before, body.site *::after { box-sizing: border-box; }
.site main { flex: 1; width: 100%; max-width: 960px; padding: 8px 24px 40px; }
.site h1 { font-size: 32px; line-height: 1.2; font-weight: 800; color: var(--fire-orange); margin: 0 0 16px; }
.site h2 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.site p { margin: 0 0 14px; color: var(--off-white); }
.site .muted { color: var(--text-muted); }
.site a { color: var(--forged-gold); }
.site a:hover, .site a:focus { color: var(--fire-orange); }

/* Hero */
.hero { display: grid; gap: 28px; align-items: center; padding: 24px 0 40px; text-align: center; justify-items: center; }
.hero img { width: 100%; max-width: 280px; height: auto; border-radius: 24px; }
.wordmark { font-size: 44px; font-weight: 800; letter-spacing: 3px; color: var(--fire-orange); margin: 0 0 6px; }
.tagline { font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.lede { color: var(--text-muted); max-width: 520px; margin: 0 auto 22px; }
.coming-soon {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--forged-gold);
  background: var(--carbon-light);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 999px;
  padding: 9px 20px;
}

/* Feature rows */
.feature { display: grid; gap: 24px; align-items: center; padding: 36px 0; border-top: 1px solid rgba(239, 239, 237, 0.08); justify-items: center; }
.feature .shot { width: 100%; max-width: 260px; }
.feature .shot img { width: 100%; height: auto; display: block; border-radius: 20px; }
.feature .copy { width: 100%; }
.feature .kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--forged-gold); margin: 0 0 6px; }
.feature ul { margin: 0 0 14px; padding-left: 20px; color: var(--off-white); }
.feature li { margin-bottom: 6px; }
.note { font-size: 13px; color: var(--text-muted); }

.panel { background: var(--carbon-light); border-radius: 16px; padding: 24px; margin: 8px 0 24px; }
.panel dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.panel dt { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--forged-gold); }
.panel dd { margin: 2px 0 0; }

.cards { display: grid; gap: 16px; margin: 8px 0 24px; }
.card { background: var(--carbon-light); border-radius: 16px; padding: 22px; }
.card h2 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }

.draft-banner {
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.5);
  color: var(--forged-gold);
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

@media (min-width: 760px) {
  .site main { padding: 16px 32px 56px; }
  .site h1 { font-size: 40px; }
  .hero { grid-template-columns: 1fr 1fr; text-align: left; justify-items: stretch; padding: 48px 0 64px; }
  .hero .lede { margin-left: 0; }
  .hero img { justify-self: center; }
  .feature { grid-template-columns: 280px 1fr; gap: 48px; }
  .feature.flip { grid-template-columns: 1fr 280px; }
  .feature.flip .shot { order: 2; }
  .feature .shot { justify-self: center; }
  .panel dl { grid-template-columns: 220px 1fr; gap: 14px 24px; }
  .cards { grid-template-columns: 1fr 1fr; }
}
