/* Seven Stags brand system (Brand Identity System v1.0) — shared by every page */
:root {
  --obsidian: #090B0D;
  --charcoal: #171A1E;
  --stag-gold: #C9A45C;
  --champagne: #E5C980;
  --ivory: #F5F0E6;

  --surface: #101317;
  --surface-2: #1D2126;
  --text: var(--ivory);
  --muted: #AAA497;
  --dim: #716D66;
  --border: rgba(245, 240, 230, .09);
  --border2: rgba(245, 240, 230, .16);
  --border-gold: rgba(201, 164, 92, .38);
  --positive: #5DBB8A;
  --negative: #E06C6C;

  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --shell: 1180px;

  /* aliases kept so existing page markup (inline styles) resolves to brand colours */
  --bg: var(--obsidian); --bg2: #0D1013; --panel: var(--charcoal); --panel2: var(--surface-2);
  --copper: var(--stag-gold); --copper2: #B08C47; --gold: var(--champagne);
  --green: var(--positive); --red: var(--negative);
  --copper-glow: rgba(201, 164, 92, .22); --green-glow: rgba(93, 187, 138, .25);
  --font: var(--font-body); --display: var(--font-display); --mono: var(--font-body);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--obsidian); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, summary, input, select, textarea { font: inherit; }
::selection { background: var(--stag-gold); color: var(--obsidian); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--text); letter-spacing: -.02em; }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.wrap { max-width: calc(var(--shell) + 56px); margin: 0 auto; padding: 0 28px; }
.num, .tabular { font-variant-numeric: tabular-nums; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* labels */
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--stag-gold); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 600; font-family: var(--font-body); }
.eyebrow i { width: 34px; height: 1px; background: var(--stag-gold); }
.kicker { margin-bottom: 16px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--stag-gold); }
.section-head { max-width: 760px; }
.section-head h2 { margin: 18px 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.025em; }
.section-head p { max-width: 650px; color: var(--muted); font-size: 17px; line-height: 1.7; }

/* buttons */
.button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .01em; text-align: center; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.button:hover, .btn:hover { transform: translateY(-1px); }
.button-gold, .btn-primary { background: var(--stag-gold); color: var(--obsidian); }
.button-gold:hover, .btn-primary:hover { background: var(--champagne); }
.button-outline { border-color: var(--stag-gold); color: var(--champagne); background: rgba(9, 11, 13, .4); }
.button-outline:hover { background: rgba(201, 164, 92, .12); }
.button-dark, .btn-ghost { border-color: var(--border2); color: var(--text); background: rgba(9, 11, 13, .35); }
.button-dark:hover, .btn-ghost:hover { border-color: var(--stag-gold); color: var(--champagne); }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 15px; }

/* top chrome: risk warning + header */
.top-chrome { position: sticky; top: 0; z-index: 40; }
.home .top-chrome { position: absolute; left: 0; right: 0; }
.risk-bar { padding: 8px 24px; background: var(--stag-gold); color: var(--obsidian); text-align: center; font-size: 12px; line-height: 1.4; font-weight: 600; }
.site-header { height: 80px; padding: 0 max(24px, calc((100vw - var(--shell)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); background: rgba(9, 11, 13, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s; }
.site-header.scrolled { background: rgba(9, 11, 13, .97); }
.home .site-header { background: linear-gradient(rgba(9, 11, 13, .9), rgba(9, 11, 13, .55)); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; object-fit: contain; }
.brand-mark.small { width: 40px; height: 40px; }
.brand-copy { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.brand-copy strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .2em; color: var(--stag-gold); white-space: nowrap; }
.brand-copy small { font-family: var(--font-display); font-weight: 500; font-size: 9px; letter-spacing: .62em; color: var(--stag-gold); }
.desktop-nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: rgba(245, 240, 230, .78); }
.desktop-nav a, .login-link { transition: color .2s; }
.desktop-nav a:hover, .login-link:hover, .desktop-nav a[aria-current="page"] { color: var(--champagne); }
.header-actions { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 500; }
.mobile-menu { display: none; position: relative; }
.mobile-menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border2); color: var(--text); }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu[open] > summary { border-color: var(--stag-gold); color: var(--champagne); }
.mobile-menu nav { position: absolute; right: 0; top: 52px; width: 250px; padding: 8px; background: rgba(23, 26, 30, .98); border: 1px solid var(--border-gold); display: grid; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.mobile-menu nav a { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu nav a[aria-current="page"] { color: var(--champagne); }

/* footer */
.site-footer { background: #07090B; border-top: 1px solid var(--border); color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-block: 68px; }
.footer-brand p { max-width: 300px; margin-top: 18px; font-size: 14px; line-height: 1.7; }
.footer-brand p + p { margin-top: 8px; }
.footer-brand p a { color: var(--champagne); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 { margin: 6px 0 6px; color: var(--stag-gold); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; font-family: var(--font-body); }
.footer-col a { font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--champagne); }
.risk-copy { padding-block: 28px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.risk-copy p { margin: 8px 0; color: var(--dim); font-size: 12px; line-height: 1.75; max-width: 1040px; }
.risk-copy b, .risk-copy strong { color: var(--stag-gold); font-weight: 600; }
.footer-bottom { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--dim); font-size: 12px; }

/* floating support widget */
.float-support { position: fixed; bottom: 22px; right: 22px; z-index: 60; }
.float-btn { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--charcoal); color: var(--champagne); border: 1px solid var(--border-gold); font-weight: 600; font-size: 13px; cursor: pointer; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); transition: border-color .2s, background .2s; }
.float-btn:hover { background: #20242A; border-color: var(--stag-gold); }
.float-card { position: absolute; bottom: 60px; right: 0; width: 320px; max-width: calc(100vw - 44px); background: rgba(23, 26, 30, .98); border: 1px solid var(--border2); box-shadow: 0 24px 60px rgba(0, 0, 0, .7); padding: 18px; display: none; flex-direction: column; gap: 10px; }
.float-card.open { display: flex; }
.support-opt { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--obsidian); border: 1px solid var(--border); transition: border-color .15s; }
.support-opt:hover { border-color: var(--stag-gold); }
.support-opt span { font-size: 14px; font-weight: 600; color: var(--text); }

@media (max-width: 1240px) { .desktop-nav { gap: 20px; font-size: 13px; } }
@media (max-width: 1140px) {
  .desktop-nav { display: none; } .mobile-menu { display: block; } .login-link { display: none; }
}
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: repeat(4, 1fr); } .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 32px, var(--shell)); } .wrap { padding: 0 16px; }
  .risk-bar { font-size: 10px; padding: 7px 14px; }
  .site-header { height: 68px; padding-inline: 16px; }
  .brand { gap: 8px; } .brand-mark { width: 36px; height: 36px; } .brand-copy strong { font-size: 13px; } .brand-copy small { font-size: 7px; }
  .header-actions .button-outline { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 18px; }
  .float-btn span { display: none; } .float-btn { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .button:hover, .btn:hover { transform: none; }
}
