/* Shared style for legal docs — synced with growix.agency theme */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── CSS variables — dark (default) ── */
:root {
  --bg:    #080808;
  --bg2:   #0a0a0a;
  --card:  #0d0d0d;
  --line:  #1e1e1e;
  --fg:    #f5f4ef;
  --sub:   #8a8f98;
  --dim:   #555555;
  --gold:  #e5c97a;
}

/* ── CSS variables — light ── */
@media (prefers-color-scheme: light) {
  :root {
    --bg:    #ffffff;
    --bg2:   #f5f4ef;
    --card:  #f0efea;
    --line:  #e4e3db;
    --fg:    #0a0a0a;
    --sub:   #555555;
    --dim:   #999999;
    --gold:  #c9a850;
  }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background 0.15s, color 0.15s;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Header */
.doc-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-decoration: none;
}

.logo-text { font-size: 15px; font-weight: 800; color: var(--fg); letter-spacing: -0.02em; }
.logo-sub  { font-size: 9px;  font-weight: 500; color: var(--sub); letter-spacing: 0.15em; text-transform: uppercase; }

h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 10px;
}

.doc-meta {
  font-size: 12px;
  color: var(--sub);
  letter-spacing: 0.04em;
}

/* Sections */
h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 40px;
  margin-bottom: 14px;
}

p { color: var(--sub); margin-bottom: 10px; }

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}

ul li {
  color: var(--sub);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--dim);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}

th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--sub);
  vertical-align: top;
}

td:first-child { color: var(--fg); white-space: nowrap; }

/* Highlight box */
.notice {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  background: var(--card);
  margin: 20px 0;
  color: var(--sub);
  font-size: 13px;
}

/* Print button */
.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--dim);
  font-size: 12px;
  cursor: pointer;
  margin-bottom: 40px;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}

.print-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Footer */
.doc-footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { opacity: 0.7; }

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

@media (max-width: 600px) {
  .page { padding: 32px 16px 60px; }
  table { font-size: 12px; }
  td, th { padding: 8px 10px; }
}

@media print {
  body { background: #fff; color: #1a1a1a; }
  h1 { color: #1a1a1a; }
  h2 { color: #7a6010; }
  p, ul li, td { color: #333; }
  td:first-child { color: #555; }
  .print-btn { display: none; }
  .doc-footer { color: #999; }
}
