/* HuntLog marketing portal — Ridge redesign palette + typography.
   Mirrors the in-app tokens from lib/presentation/theme/huntlog_tokens.dart. */

:root {
  /* Brand palette (HuntLogTokens) */
  --forest: #1F2A1E;
  --forest-deep: #0F1A0E;
  --moss: #3E5034;
  --sage: #7A8A6B;
  --bone: #EFE7D2;
  --bone-dark: #E2D9BE;
  --paper: #F6F1E0;
  --paper-warm: #F2EBD3;
  --brass: #C89B3C;
  --brass-deep: #9B7726;
  --ink: #13180F;
  --charcoal: #2A2A26;
  --pencil: #5A5A52;

  /* Typography (mirrors huntlog_theme.dart) */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", monospace;

  /* Radii */
  --r-button: 14px;
  --r-card: 18px;
  --r-hero: 22px;
  --r-pill: 100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brass-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Brand lockup ────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.brand-mark.sm { width: 22px; height: 22px; }
.wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.wordmark.sm { font-size: 18px; }
.wordmark em { font-style: italic; font-weight: normal; }
.nav .wordmark, .nav .wordmark em { color: var(--ink); }

/* ── Mono-caps eyebrow ───────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--brass-deep);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-on-dark { color: var(--brass); }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 241, 224, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--bone-dark);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1080px; margin: 0 auto;
}
.nav-cta {
  padding: 10px 18px;
  border-radius: var(--r-button);
  background: var(--forest);
  color: var(--bone) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.1px;
  transition: background 120ms ease;
}
.nav-cta:hover { background: var(--forest-deep); text-decoration: none; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--bone);
  padding: 96px 0 80px;
}
.hero-topo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
/* Soft radial vignette to add edge depth on the hero */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0 0 22px;
  color: var(--bone);
}
.hero h1 em { font-style: italic; font-weight: normal; }
.hero p.lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(239, 231, 210, 0.78);
  margin: 0 0 32px;
  max-width: 640px;
  line-height: 1.6;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-button);
  background: var(--brass);
  color: var(--forest-deep);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 120ms ease;
}
.btn-primary:hover { background: var(--brass-deep); color: var(--bone); text-decoration: none; }
.btn-primary .arrow { font-size: 18px; line-height: 1; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-button);
  border: 1.5px solid rgba(239, 231, 210, 0.35);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  transition: background 120ms ease, border-color 120ms ease;
}
.btn-secondary:hover {
  background: rgba(239, 231, 210, 0.08);
  border-color: rgba(239, 231, 210, 0.6);
  text-decoration: none;
}
.coords {
  margin: 48px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(239, 231, 210, 0.5);
}

/* ── Sections ───────────────────────────────────────────────── */
section.block { padding: 96px 0; background: var(--paper); }
section.block.paper-warm { background: var(--paper-warm); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; font-weight: normal; }
.section-head .tagline {
  font-family: var(--font-body);
  color: var(--charcoal);
  font-size: 16px;
  max-width: 640px;
  margin: 0;
  line-height: 1.6;
}

/* ── Feature grid ───────────────────────────────────────────── */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--bone);
  border: 1px solid var(--bone-dark);
  border-radius: var(--r-card);
  padding: 28px 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(31, 42, 30, 0.08);
}
.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--brass-deep);
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  color: var(--ink);
}
.card p {
  margin: 0;
  color: var(--charcoal);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ── Pricing tiers ──────────────────────────────────────────── */
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--bone);
  border: 1px solid var(--bone-dark);
  border-radius: var(--r-card);
  padding: 32px 28px;
  position: relative;
}
.tier.featured {
  background: var(--forest);
  color: var(--bone);
  border-color: var(--forest);
}
.tier-flag {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--brass);
  color: var(--forest-deep);
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 9px;
  letter-spacing: 2.5px;
  font-weight: 600;
}
.tier-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--brass-deep);
  margin-bottom: 8px;
}
.tier.featured .tier-eyebrow { color: var(--brass); }
.tier-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
  margin: 0 0 22px;
  color: var(--ink);
}
.tier.featured .tier-price { color: var(--bone); }
.tier-price small {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--pencil);
  letter-spacing: 0;
}
.tier.featured .tier-price small { color: rgba(239, 231, 210, 0.6); }
.tier ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
  font-family: var(--font-body);
  color: var(--charcoal);
  font-size: 14.5px;
}
.tier.featured ul { color: rgba(239, 231, 210, 0.85); }
.tier ul li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.tier ul li::before {
  content: "·";
  position: absolute; left: 6px; top: -2px;
  color: var(--brass);
  font-weight: 700;
  font-size: 18px;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  padding: 48px 0;
  background: var(--paper);
  border-top: 1px solid var(--bone-dark);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
}
footer p {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--pencil);
  font-size: 11px;
  letter-spacing: 1px;
}
footer a { color: var(--brass-deep); }

/* ── Invite redemption page ─────────────────────────────────── */
.invite-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.invite-wrap::before {
  /* Subtle topo decoration in the corners */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(31, 42, 30, 0.05), transparent 50%),
              radial-gradient(circle at 10% 90%, rgba(200, 155, 60, 0.05), transparent 50%);
  pointer-events: none;
}
.invite-card {
  background: var(--bone);
  border: 1px solid var(--bone-dark);
  border-radius: var(--r-hero);
  padding: 48px 36px;
  max-width: 560px; width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}
.invite-mark { width: 88px; height: 88px; margin: 0 auto 22px; display: block; }
.invite-card .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 12px;
}
.invite-card h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin: 0 0 8px;
}
.invite-card h1 em { font-style: italic; font-weight: normal; }
.invite-card .sub {
  font-family: var(--font-body);
  color: var(--pencil);
  margin: 0 0 28px;
  font-size: 14.5px;
}
.code-pill {
  display: inline-block;
  padding: 18px 28px;
  border-radius: var(--r-card);
  background: var(--paper-warm);
  border: 1px solid var(--bone-dark);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 3px;
  margin: 0 0 24px;
}
.invite-instructions {
  margin: 0 0 28px;
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.6;
  font-family: var(--font-body);
}
.invite-instructions strong { color: var(--ink); font-weight: 600; }
.store-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-button);
  background: var(--forest);
  color: var(--bone) !important;
  text-decoration: none;
  transition: background 120ms ease;
}
.store-badge:hover { background: var(--forest-deep); text-decoration: none; }
.store-badge .small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  line-height: 1;
  opacity: 0.7;
}
.store-badge .big {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
}
.invite-footnote {
  margin: 32px 0 0;
  color: var(--pencil);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
}
