/* Public pages: landing, privacy, terms. Same tokens as the dashboard. */
:root {
  --bg: #161A23; --panel: #1E2330; --panel-2: #242A3B; --border: #2C3244;
  --text: #EDE6D6; --muted: #9AA1B4; --brass: #C9A24B; --brass-soft: #E2C98A; --head: #F4EEDD;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: var(--head); margin: 0; line-height: 1.15; }
a { color: var(--brass); }
code { background: var(--panel-2); padding: 1px 6px; border-radius: 3px; font-size: 0.9em; color: var(--brass-soft); }
.hidden { display: none !important; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1100px; margin: 0 auto; padding: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--head); font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 20px; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.site-nav a:not(.btn):hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: 4px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--brass); color: #161A23; }
.btn-primary:hover { background: #D6B05A; }
.btn-ghost { background: transparent; border-color: #3A4259; color: var(--text); }
.btn-ghost:hover { border-color: var(--brass); }
.btn-lg { padding: 13px 26px; font-size: 16px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* hero */
.hero { text-align: center; max-width: 780px; margin: 0 auto; padding: 56px 16px 64px; }
.eyebrow { margin: 0 0 14px; color: var(--brass-soft); font-size: 14px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); }
.hero h1 em { color: var(--brass); font-style: italic; }
.hero-sub { margin: 20px auto 28px; max-width: 60ch; color: #C4C0B3; font-size: 17.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { margin: 16px 0 0; color: #7E869A; font-size: 13.5px; }
.live { display: flex; justify-content: center; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.live div { display: flex; flex-direction: column; align-items: center; }
.live b { font-family: 'Fraunces', Georgia, serif; font-size: 30px; color: var(--head); line-height: 1.1; }
.live span { color: var(--muted); font-size: 13px; }

/* sections */
section.wrap, .band .wrap { padding-top: 64px; padding-bottom: 64px; }
.band { background: #1A1E29; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section h2 { font-size: clamp(26px, 4vw, 34px); text-align: center; }
.section-sub { margin: 12px auto 36px; max-width: 62ch; text-align: center; color: var(--muted); }
.section-sub.left { text-align: left; margin-left: 0; }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 24px 22px; }
.tier.featured { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass) inset; }
.tier .flag { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 10px; background: rgba(201,162,75,.2); color: #E0BC68; }
.tier-icon { font-size: 28px; line-height: 1; margin-bottom: 8px; }
.tier h3 { font-size: 24px; }
.tier-tag { margin: 4px 0 14px; color: var(--brass-soft); font-weight: 600; font-size: 14.5px; }
.tier ul { list-style: none; margin: 0; padding: 0; }
.tier li { position: relative; padding: 4px 0 4px 22px; color: #CFC9B8; font-size: 15px; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: #6B8F71; font-weight: 700; }

/* features */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 20px 22px; }
.feat h3 { font-size: 20px; margin-bottom: 6px; }
.feat p { margin: 0; color: #B7BCCB; font-size: 15px; }

.two { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.two h2 { text-align: left; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 28px; color: #CFC9B8; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--brass); font-weight: 700; }
.ticks b { color: var(--head); }

/* faq */
details { border-bottom: 1px solid var(--border); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brass); font-size: 20px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: #B7BCCB; }
section.narrow h2 { margin-bottom: 20px; }

.final { text-align: center; padding: 64px 16px 72px; background: radial-gradient(ellipse 700px 300px at 50% 100%, #232a3d 0%, transparent 70%); }
.final p { color: var(--muted); margin: 12px 0 24px; }

.site-foot { border-top: 1px solid var(--border); padding: 22px 0; color: #7E869A; font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-row nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-row a { color: var(--muted); text-decoration: none; }
.foot-row a:hover { color: var(--text); }

/* legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 16px 72px; }
.doc h1 { font-size: 36px; margin-bottom: 4px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; font-size: 14px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; text-align: left; }
.doc p, .doc li { color: #C4C0B3; }
.doc ul { padding-left: 22px; }

@media (max-width: 860px) {
  .tiers, .grid, .two { grid-template-columns: 1fr; }
  .two { gap: 8px; }
  .site-nav a:not(.btn) { display: none; }
  .hero { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* paladin art */
.brand-mark { display: block; flex: none; }
.btn-invite img { width: 26px; height: 26px; border-radius: 50%; margin-right: 10px; box-shadow: 0 0 0 1.5px rgba(22,26,35,.55); }
.hero-band { background: linear-gradient(180deg, rgba(22,26,35,.15) 0%, rgba(22,26,35,.55) 70%, var(--bg) 100%), url(/img/hero-bg.jpg) center top / cover no-repeat; border-bottom: 1px solid var(--border); }
.hero-band .hero-sub { color: #D3CFC2; }
