/* MudMeet marketing + policy pages — shared design system */
:root {
  --bg: #100d0a;
  --bg-elevated: #171411;
  --surface: #1f1b16;
  --surface-high: #26211b;
  --text: #efe7d8;
  --text-soft: #c9c1b6;
  --muted: #8a8278;
  --orange: #ff6a1f;
  --orange-soft: rgba(255, 106, 31, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --max: 760px;
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 55% at 12% -8%, rgba(122, 74, 42, 0.18), transparent 58%),
    radial-gradient(ellipse 70% 50% at 92% 8%, rgba(255, 106, 31, 0.08), transparent 52%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(94, 58, 31, 0.14), transparent 55%),
    var(--bg);
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Top navigation ─────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
  padding: 10px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 13, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.site-brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-links a:hover {
  color: var(--text);
}

.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #100d0a !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.site-cta:hover {
  filter: brightness(1.06);
}

/* ── Page shell ─────────────────────────────────────────────── */

.site-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px 88px;
}

.site-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 34px 28px;
  margin-bottom: 28px;
  background:
    linear-gradient(180deg, rgba(16, 13, 10, 0.2), rgba(16, 13, 10, 0.92)),
    url('/hero.jpg') center / cover no-repeat;
  box-shadow: var(--shadow);
}

.site-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 106, 31, 0.12), transparent 42%);
}

.site-hero > * {
  position: relative;
  z-index: 1;
}

.site-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 106, 31, 0.35);
  background: var(--orange-soft);
  color: #ffb37a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.site-lead,
.lead {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  max-width: 58ch;
}

.updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

h2 {
  margin: 34px 0 10px;
  font-size: 20px;
  color: var(--orange);
}

h3 {
  margin: 20px 0 8px;
  font-size: 16px;
}

p {
  margin: 10px 0;
}

ul,
ol {
  margin: 10px 0;
  padding-left: 22px;
}

li {
  margin: 7px 0;
}

/* ── Cards + buttons ────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-top: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feature-card {
  background: rgba(31, 27, 22, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.feature-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.feature-card span {
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--orange);
  color: #100d0a;
  font-weight: 800;
  text-decoration: none !important;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

/* ── Numbered steps ───────────────────────────────────────────── */

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 38px;
  margin: 14px 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #100d0a;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Footer ─────────────────────────────────────────────────── */

.site-footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 12px;
}

.site-footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
}

.site-footer-links a:hover {
  color: var(--text);
}

.site-tagline {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .site-nav {
    padding: 10px 16px;
  }

  .site-links a:not(.site-cta) {
    display: none;
  }

  .site-wrap {
    padding: 28px 16px 72px;
  }

  .site-hero {
    padding: 26px 20px;
  }
}
