/* Unified styles for policy pages (Terms & Privacy)
   - Dark background set to #161616 as requested
   - Shared typography and card visuals
   - Logo slightly larger and aligned with page content
*/

:root {
  --bg: #161616; /* unified dark background */
  --text: #e5e7eb;      /* zinc-200 */
  --muted: #9aa3b2;     /* slate-400 */
  --card: #0f172a;      /* slate-900 */
  --border: #1f2a44;    /* slate-800 */
  --accent: #22d3ee;    /* cyan-400 */
  --accent-weak: rgba(34, 211, 238, .15);
}

/* Optional light scheme – background stays #161616 per request, but we still improve contrast if user forces light mode */
@media (prefers-color-scheme: light) {
  :root {
    --text: #0f172a;
    --muted: #475569;
    --card: #ffffff;
    --border: #e2e8f0;
    --accent: #0891b2;
    --accent-weak: rgba(8, 145, 178, .08);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Constrain header to the same width as content for better placement */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 24px 0; /* align with content padding */
}

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

.brand { display: flex; align-items: center; gap: 12px; }
/* Slightly bigger logo */
.brand-logo {
  height: 150px;
  width: auto;
  display: block;
    /*margin: 0 auto;*/
}



.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)) padding-box, var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .25);
  overflow: hidden;
}

.content { padding: 28px; }

h1 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.2; margin: 0 0 8px 0; }
.updated { display: inline-block; font-size: .9rem; color: var(--muted); margin-bottom: 24px; }

h2 { font-size: 1.2rem; margin: 28px 0 10px; }
h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--muted); }

p { margin: 10px 0; }
ul { margin: 10px 0 10px 1.2rem; padding: 0; }
li { margin: 6px 0; }

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

.note { background: var(--accent-weak); border: 1px solid rgba(34, 211, 238, .35); padding: 12px 14px; border-radius: 10px; color: var(--text); margin: 16px 0; }

.summary-table { width: 100%; border-collapse: collapse; margin-top: 8px; overflow: hidden; border-radius: 10px; }
.summary-table th, .summary-table td { font-size: .95rem; border-bottom: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
.summary-table thead th { background: rgba(148, 163, 184, .07); color: var(--muted); font-weight: 600; }
.summary-table tbody tr:hover { background: rgba(148, 163, 184, .05); }

footer.site { color: var(--muted); font-size: .92rem; padding: 18px 24px 40px; text-align: center; }

.hr { height: 1px; background: var(--border); margin: 24px 0; border: 0; }

@media print {
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border-color: #ddd; }
  a { color: #000; text-decoration: underline; }
  header.site, footer.site { display: none; }
  .wrap { max-width: 100%; padding: 0; }
  .content { padding: 16px; }
}
