/* ShootLedger — shared site styles */

:root {
  --bg-base: #001027;
  --bg-raised: #061A38;
  --bg-raised-2: #0A2448;
  --rule: rgba(255,255,255,0.10);
  --rule-strong: rgba(255,255,255,0.18);
  --text-primary: #F3F7FC;
  --text-secondary: #90A6C2;
  --accent-cyan: #35D7FF;
  --accent-blue: #3A82FF;
  --radius: 14px;
}

/* Fixed brand identity (navy/cyan, matching the app icon itself) —
   dark and light modes intentionally resolve to the same tokens
   rather than inverting the palette. */
:root:not([data-theme="light"]) { color-scheme: dark; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-base: #001027;
    --bg-raised: #061A38;
    --bg-raised-2: #0A2448;
    --rule: rgba(255,255,255,0.10);
    --rule-strong: rgba(255,255,255,0.18);
    --text-primary: #F3F7FC;
    --text-secondary: #90A6C2;
    --accent-cyan: #35D7FF;
    --accent-blue: #3A82FF;
  }
}

* { box-sizing: border-box; }

html { scroll-padding-top: 76px; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}

a { color: var(--accent-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.prose {
  max-width: 720px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 16, 39, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--text-primary);
}

.nav-mark:hover { text-decoration: none; }

.nav-mark img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}

.nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary) !important;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  border-color: var(--accent-cyan);
  background: rgba(53, 215, 255, 0.08);
  text-decoration: none;
}

/* ---------- Page header (support / privacy) ---------- */

.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--rule);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.page-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: 14px;
  font-size: 17px;
}

.updated {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-top: 18px;
}

/* ---------- Generic sections ---------- */

section {
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}

section:first-of-type { border-top: none; }

.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 16px;
}

.section-head p.lede {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 16px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

ul, ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--text-primary); }

/* ---------- Contact card ---------- */

.contact-card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.contact-card .label {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-card .value {
  font-size: 18px;
  font-weight: 500;
}

/* ---------- Feature grid (support overview) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-cell {
  background: var(--bg-raised);
  padding: 22px 24px;
}

.feature-cell h3 {
  font-size: 16.5px;
  font-weight: 500;
  margin-bottom: 6px;
}

.feature-cell p {
  color: var(--text-secondary);
  font-size: 14.5px;
}

@media (max-width: 680px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}

.faq-item .a {
  color: var(--text-secondary);
  font-size: 16px;
}

.faq-item .a p { margin-bottom: 12px; }

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.faq-nav a {
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  color: var(--text-secondary);
}

.faq-nav a:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
  text-decoration: none;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 36px 0;
  color: var(--text-secondary);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-mark img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--text-primary); }
