/* Styles for the static content pages (rules, strategy, FAQ …). Matches the app's amber-on-dark theme. */
:root {
  --bg: #1a0d06;
  --bg-deep: #0f0804;
  --panel: rgba(69, 26, 3, 0.35);
  --border: rgba(146, 64, 14, 0.35);
  --text: #f3d9a4;
  --muted: #c89a5a;
  --heading: #fcd34d;
  --accent: #d97706;
  --accent-hover: #f59e0b;
  --link: #fbbf24;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 30% 0%, #2a1505 0%, var(--bg) 45%, var(--bg-deep) 100%) fixed;
  background-color: var(--bg);
  color: var(--text);
  font: 16px/1.7 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }
a:hover { color: var(--accent-hover); }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 8, 4, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  max-width: 1040px;
  display: flex; align-items: center; gap: 16px;
  min-height: 56px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--heading); font-weight: 700; text-decoration: none; font-size: 17px;
}
.brand img { display: block; }
.site-nav { display: flex; gap: 18px; margin-left: auto; font-size: 13px; }
.site-nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--heading); }
.lang-switch {
  font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none;
  border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px;
}
.btn {
  display: inline-block; background: var(--accent); color: #1c0d02;
  font-weight: 700; text-decoration: none; border-radius: 10px; padding: 8px 16px; font-size: 14px;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); color: #1c0d02; }
.btn-lg { padding: 13px 26px; font-size: 16px; border-radius: 12px; }

@media (max-width: 820px) {
  .site-nav { display: none; }
  .lang-switch { margin-left: auto; }
}

/* Content */
main { padding: 28px 0 56px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--heading); }

h1 { color: var(--heading); font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 0 0 14px; }
h2 { color: var(--heading); font-size: 23px; line-height: 1.3; margin: 40px 0 12px; }
h3 { color: #fde68a; font-size: 18px; margin: 26px 0 8px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
strong { color: #fde68a; }
.lead { font-size: 18px; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 0 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--heading); background: var(--panel); font-weight: 600; }

.cta-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; margin: 22px 0 8px;
}
.cta-box p { margin: 0; color: var(--muted); font-size: 15px; }

.ad { margin: 32px 0; }
.ad ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

.faq details {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: #fde68a; }
.faq details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.faq details p { color: var(--text); }

.cta-end { text-align: center; margin: 52px 0 12px; }
.cta-end h2 { margin-top: 0; }
.cta-end p { color: var(--muted); }

.more { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 22px; }
.more h2 { font-size: 18px; margin-top: 0; }
.more ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 90px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.site-footer a, .site-footer button { color: var(--muted); text-decoration: none; }
.site-footer button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.site-footer a:hover, .site-footer button:hover { color: var(--heading); }
.site-footer .legal { opacity: .7; font-size: 12px; }

