/* stocker-shared.css — shared styles for privacy.html and delete.html */

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

:root {
  --ink: #0D0D0D;
  --ink-muted: #5A5A5A;
  --ink-faint: #A8A8A8;
  --surface: #F7F5F0;
  --white: #FFFFFF;
  --accent: #FF4D00;
  --accent-bg: #FFF2EC;
  --green: #1DB954;
  --card-border: rgba(13,13,13,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(247,245,240,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--ink); }
.nav-back svg { transition: transform 0.2s; }
.nav-back:hover svg { transform: translateX(-3px); }

/* ── HERO ── */
.page-hero {
  padding: 140px 48px 72px;
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -200px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,0,0.05) 0%, transparent 70%);
}
.hero-inner { max-width: 760px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--accent);
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; line-height: 0.97;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero > .hero-inner > p,
.page-hero .hero-inner > p {
  font-size: 17px; font-weight: 300;
  color: var(--ink-muted); max-width: 520px; line-height: 1.7;
  margin-bottom: 32px;
}
.meta-row {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-faint);
}
.meta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 100px; padding: 5px 12px;
  font-size: 12px; color: var(--ink-muted);
}
.meta-pill svg { color: var(--accent); }

/* ── SIDEBAR + MAIN LAYOUT ── */
.content-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 100px;
  align-items: start;
}

/* ── SIDEBAR TOC ── */
.toc {
  position: sticky; top: 96px;
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--card-border);
}
.toc-label {
  font-size: 11px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 16px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  display: block; padding: 7px 10px;
  font-size: 13px; font-weight: 400; color: var(--ink-muted);
  text-decoration: none; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  border-left: 2px solid transparent;
}
.toc-list a:hover { background: var(--surface); color: var(--ink); }
.toc-list a.active {
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 500;
  border-left-color: var(--accent);
}
.toc-contact {
  margin-top: 32px; padding: 16px;
  background: var(--surface);
  border-radius: 12px; border: 1px solid var(--card-border);
}
.toc-contact p { font-size: 12px; color: var(--ink-muted); line-height: 1.6; }
.toc-contact a { color: var(--accent); text-decoration: none; font-weight: 500; }

/* ── MAIN CONTENT AREA ── */
.policy-body {
  padding: 56px 0 0 56px;
}

/* ── SECTION BLOCK ── */
.policy-section {
  margin-bottom: 64px;
  scroll-margin-top: 110px;
}
.section-anchor {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.section-num {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--accent); flex-shrink: 0;
}
.policy-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.3px;
}
.policy-section p {
  font-size: 15px; color: var(--ink-muted);
  line-height: 1.8; margin-bottom: 14px;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section strong { color: var(--ink); font-weight: 500; }

/* ── DATA CARDS GRID ── */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.data-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px; padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.data-card-icon { font-size: 20px; margin-bottom: 10px; }
.data-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 700; margin-bottom: 6px;
}
.data-card p { font-size: 13px; color: var(--ink-muted); line-height: 1.6; margin: 0; }

/* ── RIGHTS GRID ── */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.right-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 12px; padding: 16px;
}
.right-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(29,185,84,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.right-item h4 { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.right-item p { font-size: 12px; color: var(--ink-muted); margin: 0; line-height: 1.5; }

/* ── CALLOUT ── */
.callout {
  background: var(--accent-bg);
  border: 1px solid rgba(255,77,0,0.15);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px; color: var(--ink);
  line-height: 1.7;
}
.callout strong { color: var(--accent); }

/* ── TABLE ── */
.policy-table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  font-size: 14px;
}
.policy-table th {
  text-align: left; padding: 10px 16px;
  background: var(--ink); color: var(--white);
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.policy-table th:first-child { border-radius: 10px 0 0 0; }
.policy-table th:last-child { border-radius: 0 10px 0 0; }
.policy-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--card-border);
  color: var(--ink-muted); vertical-align: top;
}
.policy-table tr:last-child td { border-bottom: none; }
.policy-table tr:nth-child(even) td { background: rgba(247,245,240,0.6); }
.policy-table td strong { color: var(--ink); font-weight: 500; }

/* ── SECTION DIVIDER ── */
.section-divider { border: none; border-top: 1px solid var(--card-border); margin: 0 0 64px; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.35);
  padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
footer .logo { color: rgba(255,255,255,0.6); }
footer a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 13px; transition: color 0.2s; }
footer a:hover { color: rgba(255,255,255,0.7); }
.footer-links { display: flex; gap: 24px; }

/* ── TABLE SCROLL WRAPPER ── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .page-hero { padding: 120px 24px 56px; }
  .content-wrap { grid-template-columns: 1fr; padding: 0 24px 72px; }
  .toc { display: none; }
  .policy-body { padding: 40px 0 0; width: 100%; min-width: 0; }
  footer { padding: 32px 24px; flex-direction: column; text-align: center; }
}
