/* RUN4IT — shared site styles (index, privacy, support) */
:root {
  --gold: #FECB00;
  --amber: #D68D02;
  --charcoal: #32373C;
  --charcoal-deep: #1B1E20;
  --navy: #1E3A5F;
  --cream: #F7F5F2;
  --ink: #1A1A1A;
  --muted: #7A7A7A;
  --line: rgba(0, 0, 0, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Baloo 2", system-ui, sans-serif; line-height: 1.15; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1100px, 92vw); margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--charcoal);
  font-family: "Baloo 2", sans-serif; font-weight: 800;
  padding: .8rem 1.4rem; border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .35); }

/* ---------- header + nav menu ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(27, 30, 32, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 0;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: "Baloo 2"; font-weight: 800; color: #fff;
  font-size: 1.15rem; letter-spacing: .5px; text-decoration: none; flex: none;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { color: var(--gold); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; cursor: pointer; color: #fff;
}
.nav-btn svg { width: 24px; height: 24px; fill: currentColor; display: block; }

nav.menu {
  display: flex; align-items: center; gap: 1.6rem; margin-left: auto;
}
nav.menu a {
  color: #d9dbdd; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .15s ease;
}
nav.menu a:hover, nav.menu a[aria-current="page"] { color: var(--gold); }
nav.menu .btn { color: var(--charcoal); border: 0; }
nav.menu .btn:hover { color: var(--charcoal); }

@media (max-width: 820px) {
  .nav-btn { display: inline-flex; }
  nav.menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--charcoal-deep); border-bottom: 1px solid rgba(255, 255, 255, .1);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  nav.menu a { padding: .95rem 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  nav.menu .btn { margin: .8rem 1.2rem; text-align: center; justify-content: center; }
  .nav-toggle:checked ~ nav.menu { max-height: 420px; }
}

/* ---------- footer + footer menu ---------- */
footer.site { background: var(--charcoal); color: #cfd2d4; padding: 3.5rem 0 2rem; font-size: .93rem; }
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
}
footer.site .brand { font-size: 1.05rem; margin-bottom: .6rem; }
footer.site .tag { color: #9a9ea1; max-width: 30ch; }
footer.site h4 {
  color: #fff; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: .9rem; font-weight: 800;
}
footer.site ul { list-style: none; }
footer.site li { margin-bottom: .55rem; }
footer.site a { text-decoration: none; color: #cfd2d4; }
footer.site a:hover { color: var(--gold); }
footer.site .fineprint {
  margin-top: 2.4rem; padding-top: 1.4rem; color: #7f8386; font-size: .8rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
@media (max-width: 700px) {
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > div:first-child { grid-column: 1 / -1; }
}

/* ---------- doc pages (privacy / support) ---------- */
.doc { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem); }
.doc .wrap { width: min(760px, 92vw); }
.doc h1 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; }
.doc .updated { color: var(--muted); margin-top: .5rem; font-size: .95rem; }
.doc h2 {
  font-size: 1.3rem; font-weight: 700; margin: 2.4rem 0 .8rem;
  padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.doc h3 { font-size: 1.05rem; font-weight: 700; margin: 1.4rem 0 .5rem; }
.doc p, .doc li { color: #2c2c2c; }
.doc p { margin: .7rem 0; }
.doc ul, .doc ol { margin: .6rem 0 .6rem 1.3rem; }
.doc li { margin: .35rem 0; }
.doc a { color: var(--amber); font-weight: 700; }
.doc .lead { font-size: 1.1rem; color: #444; }
.doc .callout {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 1rem 1.2rem; margin: 1.4rem 0;
}
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-family: "Baloo 2"; }

/* support FAQ accordion */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.3rem; margin-bottom: .7rem;
}
.faq summary {
  font-family: "Baloo 2"; font-weight: 700; font-size: 1.02rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p, .faq details > ul { margin-top: .7rem; color: #3a3a3a; }
.faq h2 { margin-top: 2.6rem; }
