*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --page-bg:         #f7f6f1;
  --blue:            #1a4db3;
  --blue-dark:       #153d8f;
  --text:            #1a1a1a;
  --muted:           #5a6570;
  --border:          #e2e8f0;
  --footer-bg:       #3b4249;
  --footer-links-bg: #4a5560;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.page { min-height: 100vh; }

.container {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Top Ad Note */
.ad-top-note {
  margin: 0;
  padding: 0.5rem 1rem 0.35rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  background: #f2f2f2;
  border-bottom: 1px solid #e5e5e5;
}

/* Header */
.site-header {
  padding: 0.75rem 0;
  margin-bottom: 1.25rem;
}

.header-inner {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
}

.logo {
  width: auto;
  height: 48px;
  max-width: min(191px, 55vw);
  object-fit: contain;
}

/* Privacy Main */
.privacy-main {
  background: #fff;
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 18px rgba(26,77,179,0.06);
}

/* Back button bar */
.back-bar {
  margin-bottom: 1.25rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-back:hover {
  background: var(--blue-dark);
}


.privacy-main h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.last-updated {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.privacy-main h2 {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
  color: var(--text);
  border-left: 3px solid var(--blue);
  padding-left: 0.65rem;
}

.privacy-main p,
.privacy-main li {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.privacy-main ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}

/* Tables */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.85rem 0 1.25rem;
  font-size: 0.82rem;
}

.privacy-table th {
  background: #eef6fc;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.privacy-table td {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
  line-height: 1.6;
}

.privacy-table td ul {
  margin: 0.4rem 0 0 1rem;
  padding: 0;
}

.privacy-table td li {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
}

.rights-table td:first-child {
  width: 220px;
  font-weight: 600;
  white-space: nowrap;
  background: #f8fbff;
}

/* State sections */
.state-section {
  background: #f8fbff;
  border: 1px solid #d8eaf5;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}

.state-section h2 {
  margin-top: 0.5rem;
}

/* Footer */
.site-footer { margin-top: 0.5rem; }

.footer-main {
  background: var(--footer-bg);
  color: #d1d5db;
  padding: 1.5rem 0 1.25rem;
}

.footer-main p {
  font-size: 0.65rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.footer-main p:last-child { margin-bottom: 0; }
.footer-main a { color: #fff; text-decoration: underline; }
.footer-main strong { color: #fff; }

.footer-links {
  background: var(--footer-links-bg);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.78rem;
}

.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover,
.footer-links a.active { text-decoration: underline; font-weight: 700; }
.footer-links span { color: #9ca3af; margin: 0 0.4rem; }

/* Responsive */
@media (max-width: 768px) {
  .privacy-table { display: block; overflow-x: auto; }
  .rights-table td:first-child { white-space: normal; width: auto; }
}

@media (max-width: 480px) {
  .logo { height: 40px; }
}
