:root {
  --terracotta: #c45c26;
  --terracotta-dark: #9a3f14;
  --gold: #c6a15b;
  --forest: #2f5d3a;
  --forest-dark: #1e3d26;
  --ink: #1c1917;
  --muted: #5c534c;
  --cream: #f7f1e8;
  --paper: #fffaf4;
  --line: #e6d9c8;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { color: var(--terracotta); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sans { font-family: "Outfit", system-ui, sans-serif; }

/* Header */
.topbar {
  background: var(--forest-dark);
  color: #f3e7d3;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
  text-align: center;
  padding: 8px 16px;
}
.topbar a { color: var(--gold); }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8,10,22,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(80,120,255,.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 10px; color: inherit; }
.logo img {
  height: 58px; width: 58px; object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(40,140,255,.35);
}
.logo-fallback {
  font-family: "Outfit", sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.03em;
}
.logo-fallback span.d { color: var(--terracotta); }
.logo-fallback span.n { color: var(--gold); }
.logo-fallback span.c { color: var(--forest); }
nav ul { display: flex; gap: 6px; list-style: none; align-items: center; flex-wrap: wrap; }
nav a {
  font-family: "Outfit", sans-serif;
  font-size: 14px; font-weight: 500;
  color: #e8ecff; padding: 8px 12px; border-radius: 999px;
}
nav a:hover, nav a.active { background: rgba(70,120,255,.22); color: #fff; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--white);
  border-radius: 10px; padding: 8px 10px; cursor: pointer;
}
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; z-index: 20;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 72vh; display: grid; place-items: end start;
  color: white;
}
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,8,.25) 0%, rgba(20,12,8,.72) 70%);
}
.hero-copy { position: relative; z-index: 1; padding: 80px 0 56px; max-width: 720px; }
.eyebrow {
  font-family: "Outfit", sans-serif; text-transform: uppercase; letter-spacing: .16em;
  font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px); line-height: 1.08;
  font-weight: 600; margin-bottom: 16px;
}
.hero p { font-size: 18px; max-width: 560px; color: #f4ece2; margin-bottom: 28px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  font-family: "Outfit", sans-serif; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 14px;
  border: 0; cursor: pointer;
}
.btn-primary { background: var(--terracotta); color: white; }
.btn-primary:hover { background: var(--terracotta-dark); color: white; }
.btn-ghost { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.3); }
.btn-outline {
  background: transparent; color: var(--forest-dark);
  border: 1px solid var(--forest); 
}
.btn-outline:hover { background: var(--forest); color: white; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: center; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 8px 24px rgba(28,25,23,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 22px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.tag {
  font-family: "Outfit", sans-serif; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--forest); font-weight: 600;
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--cream); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line);
}
.step .num {
  font-family: "Outfit", sans-serif; color: var(--terracotta); font-weight: 700;
  font-size: 28px; line-height: 1; margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }

/* Article */
.article { padding: 48px 0 80px; }
.article-hero { margin-bottom: 28px; border-radius: 24px; overflow: hidden; }
.article-hero img { width: 100%; height: min(420px, 52vw); object-fit: cover; }
.article h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin: 8px 0 16px; }
.article h2 { font-size: 28px; margin: 36px 0 12px; }
.article h3 { font-size: 20px; margin: 24px 0 8px; }
.article p, .article li { color: #3a342f; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { margin-bottom: 8px; }
.meta { font-family: "Outfit", sans-serif; color: var(--muted); font-size: 14px; }
.pick {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; margin: 16px 0 22px; display: grid; gap: 8px;
}
.pick strong { font-family: "Outfit", sans-serif; }
.aff-note {
  font-family: "Outfit", sans-serif; font-size: 13px; color: var(--muted);
  background: var(--cream); border-radius: 12px; padding: 12px 14px; margin: 18px 0;
}
.callout {
  background: linear-gradient(135deg, #2f5d3a, #1e3d26); color: #f7f1e8;
  border-radius: 22px; padding: 28px; margin-top: 40px;
}
.callout h2 { margin-top: 0; color: white; }
.callout a { color: var(--gold); }

/* Footer */
footer {
  background: #171311; color: #e8dccb; padding: 48px 0 24px;
  font-family: "Outfit", sans-serif;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: white; margin-bottom: 12px; font-size: 15px; }
footer a { color: #d7c8b4; display: block; margin-bottom: 8px; font-size: 14px; }
footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #2a2420; color: white; margin: 0;
}
.copy { border-top: 1px solid #2c2622; margin-top: 32px; padding-top: 16px; font-size: 13px; color: #b6a894; }

.page-hero {
  background: var(--cream); padding: 56px 0 28px; border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .grid-3, .steps, .foot-grid, .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding-left: 12px; display: block; }
  .logo img { height: 46px; width: 46px; }
}
