/* ============================================================
   PRIVACY POLICY — Page Styles
   HtmlColor.Codes · privacy-policy.css
   ============================================================ */

:root {
  --brand: #e8400a;
  --brand-bg: rgba(232,64,10,.09);
  --brand-border: rgba(232,64,10,.22);
  --bg: #ffffff;
  --bg2: #f7f7f7;
  --bg3: #efefef;
  --border: #e0e0e0;
  --text: #111111;
  --text2: #444444;
  --muted: #777777;
  --card: #ffffff;
  --nav-bg: rgba(255,255,255,.96);
  --shadow: 0 2px 14px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 36px rgba(0,0,0,.13);
  --radius: 12px;
  --radius-lg: 18px;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', sans-serif;
  --fs-nav: 16px;
  --fs-body: 20px;
  --fs-small: 16px;
  --fs-h1: 48px;
  --fs-h2: 32px;
  --fs-h3: 22px;
}

html.dark {
  --bg: #111111; --bg2: #1a1a1a; --bg3: #252525;
  --border: #333333; --text: #eeeeee; --text2: #cccccc; --muted: #888888;
  --card: #1a1a1a; --nav-bg: rgba(17,17,17,.96);
  --shadow: 0 2px 14px rgba(0,0,0,.4); --shadow-lg: 0 8px 36px rgba(0,0,0,.6);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--text);
  font-size: var(--fs-body); line-height: 1.7; overflow-x: hidden;
  transition: background .25s, color .25s;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--sans); font-weight: 900;
  letter-spacing: -.03em; line-height: 1.2;
  -webkit-font-smoothing: antialiased; color: var(--text);
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 62px; box-shadow: var(--shadow); gap: 12px;
}
.nav-logo { font-weight: 900; font-size: 1.1rem; letter-spacing: -.5px; display: flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--text); text-decoration: none; }
.nav-logo .hash { color: var(--brand); font-size: 1.35rem; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { display: flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 8px; font-size: var(--fs-nav); font-weight: 600; color: var(--text2); transition: background .15s, color .15s; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { background: var(--bg3); color: var(--brand); }
.nav-links svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.theme-toggle { display: flex; align-items: center; background: var(--bg3); border: 1.5px solid var(--border); border-radius: 50px; padding: 3px; gap: 2px; }
.tbtn { width: 30px; height: 30px; border-radius: 50px; border: none; background: transparent; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: background .2s; color: var(--muted); }
.tbtn.act { background: var(--brand); color: #fff; }

/* BREADCRUMB */
.breadcrumb { max-width: 900px; margin: 0 auto; padding: 14px 24px 0; font-size: var(--fs-small); color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--brand); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* PAGE WRAPPER */
.page-wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* HERO — full width, no grid involvement */
.policy-hero { padding: 52px 0 40px; border-bottom: 1px solid var(--border); position: relative; z-index: 1; }
.policy-hero .badge { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-bg); color: var(--brand); border: 1px solid var(--brand-border); border-radius: 50px; padding: 4px 14px; font-size: var(--fs-small); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 18px; }
.policy-hero h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -.04em; margin-bottom: 18px; line-height: 1.1; }
.policy-hero .lead { font-size: var(--fs-body); color: var(--text2); line-height: 1.75; margin-bottom: 22px; max-width: 680px; }
.policy-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: var(--fs-small); color: var(--muted); }
.policy-meta span { display: flex; align-items: center; gap: 5px; font-weight: 600; }
.updated-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--bg3); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); margin-top: 14px; }
.updated-pill b { color: var(--brand); }

/* LAYOUT — single column, no sidebar */
.policy-layout { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; }

/* no TOC styles needed */

/* SECTIONS */
.policy-content { min-width: 0; }
.policy-section { margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--border); }
.policy-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.section-tag { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.section-num { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: white; font-size: .7rem; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); flex-shrink: 0; }
.section-label { font-size: .7rem; font-weight: 700; color: var(--brand); letter-spacing: .1em; text-transform: uppercase; }
.policy-section h2 { font-size: var(--fs-h2); font-weight: 900; letter-spacing: -.03em; margin-bottom: 18px; }
.policy-section h3 { font-size: var(--fs-h3); font-weight: 900; margin: 28px 0 10px; }
.policy-section p { font-size: var(--fs-body); color: var(--text2); margin-bottom: 16px; line-height: 1.78; }
.policy-section ul,.policy-section ol { font-size: var(--fs-body); color: var(--text2); padding-left: 22px; line-height: 1.82; margin-bottom: 16px; }
.policy-section li { margin-bottom: 8px; }
.policy-section strong { color: var(--text); font-weight: 700; }

/* highlight boxes */
.info-box { border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; font-size: var(--fs-body); color: var(--text2); line-height: 1.72; }
.info-box.neutral { background: var(--bg2); border: 1px solid var(--border); }
.info-box.brand { background: var(--brand-bg); border: 1px solid var(--brand-border); }
.info-box.brand strong { color: var(--brand); }
.info-box.green { background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.22); }
.info-box.green strong { color: #15803d; }
.info-box-title { font-size: var(--fs-small); font-weight: 900; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }

/* table */
.data-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); margin: 20px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.data-table thead tr { background: var(--bg2); }
.data-table th { padding: 11px 16px; text-align: left; font-size: var(--fs-small); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.data-table tbody tr { border-top: 1px solid var(--border); }
.data-table tbody tr:hover { background: var(--bg2); }
.data-table td { padding: 11px 16px; color: var(--text2); vertical-align: top; }
.data-table td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }

/* contact card */
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; margin-top: 20px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow); }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }
.contact-body h4 { font-size: var(--fs-nav); font-weight: 900; margin-bottom: 4px; }
.contact-body p { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; margin: 0; }
.contact-body a { color: var(--brand); font-weight: 700; }

/* FOOTER */
.hr { border: none; border-top: 1px solid var(--border); margin: 0; }
.ft-wrap { border-top: 1px solid var(--border); background: var(--bg2); }
footer { padding: 44px 24px 28px; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
footer h4 { font-size: var(--fs-small); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 7px; }
footer ul li a { font-size: var(--fs-small); color: var(--muted); transition: color .15s; font-weight: 500; text-decoration: none; }
footer ul li a:hover { color: var(--brand); }
.ft-brand p { font-size: var(--fs-small); color: var(--muted); margin-top: 7px; max-width: 210px; line-height: 1.55; }
.ft-bottom { border-top: 1px solid var(--border); padding: 16px 24px; text-align: center; font-size: var(--fs-small); color: var(--muted); max-width: 1100px; margin: 0 auto; }

/* RESPONSIVE */
@media (max-width: 780px) {
  .nav-links { display: none; }
  :root { --fs-h1: 34px; --fs-h2: 26px; --fs-body: 18px; }
}
@media (max-width: 560px) {
  nav { padding: 0 16px; }
  .page-wrap { padding: 0 16px; }
  .policy-hero { padding: 36px 0 30px; }
  .policy-layout { padding: 30px 0 60px; }
  :root { --fs-h1: 28px; --fs-h2: 22px; }
}