/* Shared styles for the Terms and Support pages (matches index.html). */
:root {
  --bg: #0a0a0a; --panel: #141414; --panel-hover: #1a1a1a; --line: #2a2a2a;
  --text: #d1d1d1; --muted: #a0a0a0; --head: #ffffff;
  --orange: #f26722; --orange-hover: #ff8a4c; --green: #69f0ae;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', -apple-system, sans-serif; font-size: 16px; line-height: 1.7; }
a { color: var(--orange); }
a:hover { color: var(--orange-hover); }
b, strong { color: #f0f0f0; font-weight: 600; }
img { display: block; max-width: 100%; height: auto; }

.topbar { position: sticky; top: 0; z-index: 10; background: rgba(10,10,10,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1040px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none; font-family: 'Anton', Impact, sans-serif; font-size: 20px; letter-spacing: .5px; }
.brand img { width: 30px; height: 30px; border-radius: 6px; }
.brand span { color: var(--orange); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #9a9a9a; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--head); }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; background: var(--orange); color: #000;
  font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .3px; padding: 14px 26px; border-radius: 4px;
  text-decoration: none; transition: all .2s ease; box-shadow: 0 4px 15px rgba(242,103,34,.3); }
.btn:hover { background: var(--orange-hover); color: #000; transform: translateY(-2px); }
.btn-small { font-size: 13px; padding: 10px 18px; box-shadow: none; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--head); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 13px 22px; border: 1px solid #3a3a3a; border-radius: 4px; transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn:focus-visible, .btn-ghost:focus-visible, .nav a:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.page { max-width: 820px; margin: 0 auto; padding: 0 20px 80px; }
.page.wide { max-width: 1040px; }
.page-head { padding: 72px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.kicker { color: var(--green); font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; display: block; width: 20px; height: 2px; background: var(--green); }
h1, h2, h3 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; text-transform: uppercase; color: var(--head); letter-spacing: .5px; line-height: 1.12; }
h1 { font-size: clamp(36px, 6vw, 56px); }
h1 .acc, h2 .acc { color: var(--orange); }
.lead { font-size: 17px; color: var(--muted); margin-top: 16px; max-width: 680px; }
.updated { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #777; margin-top: 18px; }

/* Long-form text (terms) */
.doc h2 { font-size: 26px; margin: 44px 0 14px; scroll-margin-top: 80px; }
.doc h2 .n { color: var(--orange); margin-right: 10px; }
.doc p, .doc li { color: #c6c6c6; }
.doc p { margin-bottom: 14px; }
.doc ul { list-style: none; margin: 0 0 16px; }
.doc li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.doc li::before { content: "\2192"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.doc ul.no li::before { content: "\2715"; color: var(--orange); }
.summary { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0;
  padding: 20px 24px; margin-bottom: 8px; }
.summary h3 { font-size: 20px; margin-bottom: 10px; color: var(--green); }
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.toc a { font-size: 13px; color: #bdbdbd; text-decoration: none; border: 1px solid var(--line); border-radius: 4px; padding: 5px 11px; background: var(--panel); }
.toc a:hover { border-color: var(--orange); color: var(--head); }
.caps { text-transform: uppercase; font-size: 14px; letter-spacing: .2px; }

/* Cards (support) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; display: flex; flex-direction: column; }
.card .ico { width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(242,103,34,.12); color: var(--orange); margin-bottom: 16px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; flex: 1; }
.card .btn, .card .btn-ghost { align-self: flex-start; }
.section { margin-top: 64px; }
.section > h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 8px; }
.section > .sub { color: var(--muted); margin-bottom: 24px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; list-style: none; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px; }
.checklist li { position: relative; padding-left: 28px; color: #c8c8c8; font-size: 15px; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.fixes details { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); margin-bottom: 10px; }
.fixes summary { cursor: pointer; list-style: none; padding: 16px 22px; font-weight: 600; color: var(--head);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fixes summary::-webkit-details-marker { display: none; }
.fixes summary::after { content: "+"; font-family: 'JetBrains Mono', monospace; color: var(--orange); font-size: 20px; transition: transform .2s; }
.fixes details[open] summary::after { transform: rotate(45deg); }
.fixes .answer { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }
.fixes .answer p { margin-bottom: 10px; }
.fixes .answer p:last-child { margin-bottom: 0; }
code { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #ffb98a; background: #1d1d1d; padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }

footer { text-align: center; padding: 40px 20px; border-top: 1px solid var(--line); font-size: 13px; color: #666; font-family: 'JetBrains Mono', monospace; }
footer a { color: #888; text-decoration: none; }
footer a:hover { color: var(--orange); }

@media (max-width: 860px) {
  .nav { display: none; }
  .cards, .checklist { grid-template-columns: 1fr; }
  .page-head { padding: 48px 0 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .btn-ghost { transition: none; } .btn:hover { transform: none; } }
