:root {
  --bg: #fbf6ef;
  --bg-alt: #f3ead9;
  --ink: #2a1a10;
  --muted: #6a5749;
  --accent: #7a1f1f;
  --accent-dark: #5a1414;
  --gold: #c79a3b;
  --line: rgba(122, 31, 31, 0.15);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 26, 16, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--accent-dark);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2rem; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--accent-dark);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
}
.brand-mark { color: var(--gold); font-size: 1.2em; }
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--ink);
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #fbf6ef 0%, #f3ead9 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 56ch;
}
.hero-meta {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-ghost:hover { background: rgba(122, 31, 31, 0.06); text-decoration: none; }

/* Decorative compass */
.hero-art {
  display: flex;
  justify-content: center;
}
.compass {
  position: relative;
  width: 320px;
  height: 320px;
  max-width: 80vw;
  max-height: 80vw;
}
.compass-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(122,31,31,0.05) 0deg 22.5deg, rgba(199,154,59,0.05) 22.5deg 45deg),
    radial-gradient(circle at center, #fff 0%, #f3ead9 70%, #ead6ad 100%);
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 0 6px #fff, 0 14px 40px rgba(42, 26, 16, 0.14);
}
.compass-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 46%;
  background: linear-gradient(to bottom, var(--accent) 0% 50%, var(--gold) 50% 100%);
  transform: translate(-50%, -50%) rotate(35deg);
  transform-origin: center;
  border-radius: 6px;
  animation: spin 14s linear infinite;
}
@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.compass-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--accent-dark);
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.dir {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--accent-dark);
}
.dir.n { top: 8px; left: 50%; transform: translateX(-50%); }
.dir.s { bottom: 8px; left: 50%; transform: translateX(-50%); }
.dir.e { right: 8px; top: 50%; transform: translateY(-50%); }
.dir.w { left: 8px; top: 50%; transform: translateY(-50%); }
.dir.ne { top: 18%; right: 18%; font-size: 0.85em; opacity: 0.7; }
.dir.se { bottom: 18%; right: 18%; font-size: 0.85em; opacity: 0.7; }
.dir.sw { bottom: 18%; left: 18%; font-size: 0.85em; opacity: 0.7; }
.dir.nw { top: 18%; left: 18%; font-size: 0.85em; opacity: 0.7; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 16px;
  box-shadow: var(--shadow);
}
.feature h3 { margin-top: 0; }
.feature p { color: var(--muted); margin-bottom: 0; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  padding: 18px 22px 18px 60px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: 'Cormorant Garamond', serif;
}

.download { text-align: center; }
.download .lead { margin-left: auto; margin-right: auto; }

.site-footer {
  background: #2a1a10;
  color: #ddd;
  padding: 50px 0 20px;
  margin-top: 0;
}
.site-footer a { color: #f3e1c1; }
.site-footer .brand-name { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-grid h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 6px 0; }
.site-footer .muted { color: #b6a89c; font-size: 0.95rem; }
.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #8a7568;
  margin: 30px 0 0;
}

/* Legal pages */
.legal {
  background: #fff;
  padding: 70px 0;
}
.legal .container { max-width: 760px; }
.legal h1 { font-size: 2.4rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; }
.legal p, .legal li { color: var(--ink); }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.95rem;
}
.legal th, .legal td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal th { background: var(--bg-alt); }
.legal .updated { color: var(--muted); font-style: italic; }

@media (max-width: 760px) {
  .hero { padding: 50px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .compass { width: 220px; height: 220px; }
  .nav-links { gap: 14px; font-size: 0.85rem; }
  .nav-links a:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
