/* Shared styles for guide / landing pages (non-deck, article layout).
   Reuses the design tokens from the homepage. */

:root {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --muted: #a0a0a0;
  --accent: #FFD23F;
  --accent-2: #FF6B6B;
  --panel: #141414;
  --line: #262626;
  --max-w: 820px;
  --font-display: "Unbounded", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 17px;
}

.skip-link {
  position: absolute; top: -100px; left: 8px; z-index: 9999;
  background: var(--accent); color: #0a0a0a; padding: 12px 16px;
  border-radius: 6px; font: 600 14px/1 var(--font-body); text-decoration: none;
  transition: top .15s ease-out;
}
.skip-link:focus, .skip-link:focus-visible { top: 8px; outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
}
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  letter-spacing: -.02em; color: var(--fg); text-decoration: none;
}
.brand span { color: var(--accent); }
.lang-switch { display: flex; gap: 10px; flex-wrap: wrap; }
.lang-switch a {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); text-decoration: none;
}
.lang-switch a:hover, .lang-switch a.active { color: var(--accent); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

.hero-guide { padding: 56px 0 8px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 6vw, 48px); line-height: 1.08;
  letter-spacing: -.03em; margin-bottom: 18px;
}
.lede { font-size: clamp(18px, 2.4vw, 21px); color: #e6e6e6; }
.lede strong { color: var(--fg); }

h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(23px, 3.6vw, 30px); line-height: 1.15;
  letter-spacing: -.02em; margin: 52px 0 16px;
}
h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: -.01em; margin: 30px 0 10px;
}
p { margin-bottom: 16px; color: #d6d6d6; }
p strong, li strong { color: var(--fg); }
a { color: var(--accent); }

ul, ol { margin: 0 0 18px 22px; }
li { margin-bottom: 9px; color: #d6d6d6; }

/* ---------- Fact box ---------- */
.facts {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 24px; margin: 28px 0;
}
.facts h2 { margin: 0 0 14px; font-size: 18px; }
.facts dl { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 10px 20px; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { color: var(--fg); font-weight: 600; font-size: 15px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--accent); }
td { color: #d6d6d6; }
tbody tr.us td { background: rgba(255,210,63,.06); color: var(--fg); }

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(160deg, #1a1608, var(--panel));
  border: 1px solid rgba(255,210,63,.28);
  border-radius: 16px; padding: 28px 26px; margin: 40px 0; text-align: center;
}
.cta-box h2 { margin: 0 0 8px; font-size: 24px; }
.cta-box p { margin-bottom: 20px; }
.price-line {
  font-family: var(--font-display); font-weight: 800; font-size: 28px;
  margin-bottom: 6px;
}
.price-line small { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); }
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #0a0a0a; text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,210,63,.24); }
.cta-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- FAQ ---------- */
details {
  border-bottom: 1px solid var(--line); padding: 16px 0;
}
summary {
  cursor: pointer; font-weight: 600; font-size: 16px; color: var(--fg);
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 40px 0 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.footer-grid h4 {
  font-family: var(--font-display); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.footer-grid p, .footer-grid a { font-size: 14px; color: var(--muted); }
.footer-grid a { display: block; text-decoration: none; margin-bottom: 6px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between;
  align-items: center; margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

.breadcrumb { font-size: 13px; color: var(--muted); padding-top: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.updated { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,10,10,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-cta .price { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.sticky-cta .price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; color: var(--muted); }
.sticky-cta .cta { padding: 11px 20px; font-size: 14px; }
body { padding-bottom: 84px; }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
