/*
  shared-styles.css
  Used by privacy-policy.html, terms.html, help-center.html, contact.html
  Matches the Invenzzle web app aesthetic exactly.
*/

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --green:      #34c759;
  --green-dark: #28a745;
  --green-dim:  rgba(52,199,89,0.15);
  --red:        #ff3b30;
  --bg:         #f2f2f7;
  --card:       #ffffff;
  --surface:    #f2f2f7;
  --border:     #d1d1d6;
  --text:       #1c1c1e;
  --text2:      #6e6e73;
  --font-head:  'Lilita One', cursive;
  --font-body:  'Nunito', sans-serif;
}

[data-theme="dark"] {
  --bg:      #1c1c1e;
  --card:    #2c2c2e;
  --surface: #3a3a3c;
  --border:  #48484a;
  --text:    #f2f2f7;
  --text2:   #aeaeb2;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:      #1c1c1e;
    --card:    #2c2c2e;
    --surface: #3a3a3c;
    --border:  #48484a;
    --text:    #f2f2f7;
    --text2:   #aeaeb2;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.7;
}

/* ── NAV ─────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.header-logo img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: fill;
}

.header-logo-text {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--green);
  letter-spacing: 0;
}

.header-logo-text span { color: var(--text); }

.header-back {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text2);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.header-back:hover { color: var(--green); }

/* ── PAGE HERO ───────────────────────────────────── */
.page-hero {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 48px 20px 36px;
  text-align: center;
}

.page-tag {
  display: inline-block;
  background: var(--green-dim);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 6vw, 44px);
  color: var(--text);
  margin-bottom: 8px;
}

.page-hero h1 .accent { color: var(--green); }

.page-hero p {
  color: var(--text2);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ── CONTENT ─────────────────────────────────────── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  flex: 1;
}

.section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.section:last-child { border-bottom: none; }

.section-number {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.section h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 14px;
}

p {
  color: var(--text2);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

ul {
  list-style: none;
  margin: 12px 0;
}

ul li {
  color: var(--text2);
  font-size: 0.9rem;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

ul li:last-child { border-bottom: none; }

ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

a:hover { text-decoration: underline; }

.callout {
  background: var(--green-dim);
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
}

.warning {
  background: rgba(255,59,48,0.08);
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 0.88rem;
  color: var(--text);
}

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 28px 20px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }

.footer-copy {
  font-size: 0.72rem;
  color: var(--text2);
  text-align: center;
  line-height: 1.6;
}

/* ── UTILITY ─────────────────────────────────────── */
.btn-green {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-green:hover { background: var(--green-dark); text-decoration: none; }

@media (max-width: 600px) {
  .header { padding: 0 16px; }
  .page-hero { padding: 36px 16px 28px; }
  .page-content { padding: 28px 16px 60px; }
}
