/* Tablelight: warm lamplight on a dark table. Colours follow the app (gold, felt, teal icon). */
:root {
  --bg: #0d0b09;
  --bg-raised: #17130f;
  --panel: #1d1813;
  --line: rgba(242, 199, 92, 0.16);
  --text: #f3ece0;
  --muted: #b8ad9c;
  --gold: #f2c75c;
  --amber: #ff9f43;
  --teal: #0b3c4d;
  --radius: 18px;
  --max: 1120px;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffd98a; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 11, 9, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 21px/1 var(--display); }
.brand img { width: 22px; height: auto; filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.6)); }
.site-nav { display: flex; gap: 22px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 560px) { .site-nav .optional { display: none; } .site-nav { gap: 16px; } }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-art { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; min-height: 340px; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13, 11, 9, 0) 40%, rgba(13, 11, 9, 0.75) 75%, var(--bg) 100%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; margin-top: -150px; text-align: center; padding-bottom: 24px; }
.hero h1 { font: 900 clamp(48px, 9vw, 92px)/1 var(--display); margin: 0; letter-spacing: -0.02em; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7); }
.subtitle { font: 700 clamp(18px, 2.6vw, 24px)/1.3 var(--display); color: var(--gold); margin: 10px 0 0; letter-spacing: 0.02em; }
.lede { max-width: 640px; margin: 18px auto 0; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font: 700 16px/1 var(--display); text-decoration: none;
  border: 1px solid var(--line); color: var(--text); background: var(--panel);
}
.button.primary { background: var(--gold); color: #1a1206; border-color: transparent; box-shadow: 0 6px 30px rgba(242, 199, 92, 0.25); }
.button.primary:hover { color: #1a1206; background: #ffd98a; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
@media (max-width: 640px) { .hero-copy { margin-top: -70px; } }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.eyebrow { font: 700 13px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
h2 { font: 800 clamp(30px, 4.6vw, 44px)/1.1 var(--display); margin: 0 0 14px; letter-spacing: -0.01em; }
h3 { font: 750 21px/1.25 var(--display); margin: 0 0 8px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pillar p { color: var(--muted); margin: 0; }
.pillar .glyph { font-size: 28px; margin-bottom: 12px; display: block; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list strong { display: block; font: 750 18px/1.3 var(--display); margin-bottom: 4px; color: var(--text); }
.feature-list span { color: var(--muted); }
@media (max-width: 720px) { .feature-list { grid-template-columns: 1fr; } }

.band { background: radial-gradient(ellipse at 50% 0%, rgba(255, 159, 67, 0.10), transparent 60%), var(--bg-raised); border-block: 1px solid var(--line); }

.quote { font: 700 clamp(22px, 3.4vw, 32px)/1.35 var(--display); max-width: 820px; margin: 0 auto; text-align: center; }
.quote span { color: var(--gold); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.tier.featured { border-color: rgba(242, 199, 92, 0.55); box-shadow: 0 0 0 1px rgba(242, 199, 92, 0.2), 0 20px 60px rgba(255, 159, 67, 0.08); }
.tier .price { font: 800 15px/1 var(--display); color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.tier ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.tier li { margin-bottom: 6px; }
.packs { margin-top: 22px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

/* Privacy highlight */
.privacy-card { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.privacy-card img { width: 72px; filter: drop-shadow(0 0 18px rgba(255, 159, 67, 0.55)); }
.privacy-card p { color: var(--muted); margin: 0 0 8px; }
@media (max-width: 600px) { .privacy-card { grid-template-columns: 1fr; text-align: center; } .privacy-card img { margin: 0 auto; } }

/* Long-form pages */
.page { padding: 56px 0 80px; }
.prose { max-width: 720px; }
.prose h1 { font: 900 clamp(36px, 6vw, 54px)/1.05 var(--display); margin: 0 0 10px; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose p, .prose li { color: #ddd3c3; }
.prose .meta { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 10px; border-top: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 700; }
.summary-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0; }
.summary-box ul { margin: 8px 0 0; padding-left: 20px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font: 700 18px/1.4 var(--display); color: var(--text); }
details p { margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.disclaimer { width: 100%; font-size: 13px; opacity: 0.8; margin: 0; }

.center { text-align: center; }
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.lost img { width: 96px; margin: 0 auto 20px; filter: drop-shadow(0 0 22px rgba(255, 159, 67, 0.5)); opacity: 0.85; }
