/* ==========================================================
   MetaData Builder • Privacy Page (Corporate Theme)
   Works with styles.css + support-form.css
   Add link AFTER those files:
   <link rel="stylesheet" href="styles/privacy.css?v=20250809">
   ========================================================== */

/* Page wrapper */
.policy-wrapper {
    padding: clamp(28px, 5vw, 56px) 0 80px;
}

/* Hero / top card */
.policy-hero .title {
    font-size: clamp(28px, 4.6vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
}

.policy-hero .subtitle {
    color: var(--muted);
}

/* Sections (reuse .card from theme, add spacing) */
.policy-section.card {
    margin-top: 14px;
}

/* Headings */
.policy-section h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
}

.policy-section h2::after {
    content: "";
    display: block;
    height: 3px;
    width: 48px;
    margin-top: 8px;
    background: var(--brand);
    border-radius: 2px;
    opacity: 0.9;
}

.policy-section h3 {
    margin: 14px 0 8px;
    font-size: 1rem;
    color: var(--text);
    opacity: 0.95;
}

/* Paragraphs & lists */
.policy-section p {
    margin: 8px 0 12px;
    color: var(--text);
    opacity: 0.95;
}

.policy-section ul,
.policy-section ol {
    margin: 6px 0 12px 1.25rem;
    padding: 0;
}

.policy-section li {
    margin: 6px 0;
}

.policy-section ul li::marker {
    color: var(--brand);
}

.policy-section ol {
    counter-reset: item;
}

.policy-section ol>li::marker {
    color: var(--brand);
}

/* Definition lists (good for terms/rights) */
.policy-section dl {
    margin: 8px 0 12px;
}

.policy-section dt {
    font-weight: 700;
    margin-top: 10px;
    color: var(--text);
}

.policy-section dd {
    margin: 4px 0 10px 1rem;
    color: var(--text);
    opacity: 0.95;
}

/* Links */
.policy-section a {
    color: var(--brand-2);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: color .15s ease, border-color .15s ease;
}

.policy-section a:hover {
    color: var(--brand);
    border-color: var(--brand);
}

/* Notices (info/warn) */
.policy-notice {
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--brand);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(147, 197, 253, 0.06);
    /* light blue wash */
    color: var(--text);
    margin: 10px 0 12px;
}

.policy-notice.warn {
    border-left-color: #f59e0b;
    /* amber */
    background: rgba(245, 158, 11, 0.08);
}

/* Anchor offset (so in-page links don’t hide under sticky header) */
[id] {
    scroll-margin-top: 90px;
}

/* Table (if you add one later) */
.policy-section table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 8px 0 12px;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
}

.policy-section th,
.policy-section td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--card-border);
}

.policy-section thead th {
    background: rgba(147, 197, 253, 0.08);
    color: var(--text);
}

.policy-section tbody tr:last-child td {
    border-bottom: 0;
}

/* Small meta text */
.meta-muted {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Footer breathing room on this page */
footer.section {
    margin-top: 18px;
}

/* Print-friendly */
@media print {
    :root {
        --bg: #ffffff;
        --text: #000;
        --muted: #555;
        --card: #ffffff;
        --card-border: #ddd;
        --brand: #000;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .site-header,
    .nav-links,
    footer {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    } }
/* ==========================================================
   MetaData Builder • Privacy Page — Corporate Stand‑Alone CSS
   This file styles privacy.html without requiring other CSS files.
   (If you also load styles.css/support-form.css, this will still work.)
   ========================================================== */

/* ---------------- Base Theme Tokens ---------------- */
:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --bg: #f7fafc;            /* light canvas */
  --text: #1f2937;          /* charcoal */
  --muted: #6b7280;         /* secondary */
  --brand: #2563eb;         /* corporate blue */
  --brand-2: #93c5fd;       /* light blue */
  --card: #ffffff;          /* card surface */
  --card-border: rgba(0,0,0,0.10);
  --radius: 10px;
  --shadow-soft: 0 8px 22px rgba(0,0,0,0.08);
}

body[data-theme="dark"] {
  --bg: #0f1216;            /* slate canvas */
  --text: #e5e7eb;          /* light gray text */
  --muted: #9aa4b2;         /* secondary text */
  --brand: #4da3ff;         /* corporate blue (dark mode) */
  --brand-2: #9ecaff;       /* light blue */
  --card: #11161d;          /* card surface */
  --card-border: rgba(255,255,255,0.10);
  --shadow-soft: 0 8px 22px rgba(0,0,0,0.28);
}

/* ---------------- Reset & Base ---------------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }

/* ---------------- Layout Helpers ---------------- */
.container { width: min(1120px, 92%); margin-inline: auto; }
.support-wrapper { padding: clamp(28px, 5vw, 56px) 0 80px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: linear-gradient(180deg, rgba(17,22,29,0.85), rgba(17,22,29,0.65));
  border-bottom: 1px solid var(--card-border);
}
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-logo { height: 64px; width: auto; display: block; }
.brand-name { font-weight: 700; letter-spacing: .2px; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--text); text-decoration: none; opacity: 0.9; transition: opacity .2s ease, color .2s ease; }
.nav-links a:hover { opacity: 1; color: var(--brand-2); }
.nav-links .btn { margin-left: 4px; }

@media (max-width: 640px) {
  .navbar { flex-wrap: wrap; }
  .brand { margin-bottom: 8px; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer;
  border-radius: 8px; padding: 11px 14px; border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .20s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--brand); color: #ffffff; box-shadow: 0 8px 20px rgba(37,99,235,0.25); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--card-border); background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--brand); }

/* ---------------- Cards ---------------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 24px);
  box-shadow: var(--shadow-soft);
}
.divider { height: 1px; background: var(--card-border); margin: 10px 0 12px; }

/* ---------------- Typography ---------------- */
.title { font-size: clamp(28px, 4.6vw, 40px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 6px; }
.subtitle { color: var(--muted); }

/* Section headings */
.card h2 { margin: 0 0 10px; color: var(--text); font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; }
.card h2::after { content: ""; display: block; height: 3px; width: 48px; margin-top: 8px; background: var(--brand); border-radius: 2px; opacity: .9; }
.card h3 { margin: 14px 0 8px; font-size: 1rem; color: var(--text); opacity: .95; }

/* Paragraphs & lists */
.card p { margin: 8px 0 12px; color: var(--text); opacity: .95; }
.card ul, .card ol { margin: 6px 0 12px 1.25rem; padding: 0; }
.card li { margin: 6px 0; }
.card ul li::marker { color: var(--brand); }
.card ol > li::marker { color: var(--brand); }

/* Definition lists */
.card dl { margin: 8px 0 12px; }
.card dt { font-weight: 700; margin-top: 10px; color: var(--text); }
.card dd { margin: 4px 0 10px 1rem; color: var(--text); opacity: .95; }

/* Links */
.card a { color: var(--brand-2); text-decoration: none; border-bottom: 1px dashed transparent; transition: color .15s ease, border-color .15s ease; }
.card a:hover { color: var(--brand); border-color: var(--brand); }

/* Notices */
.policy-notice { border: 1px solid var(--card-border); border-left: 3px solid var(--brand); border-radius: 8px; padding: 10px 12px; background: rgba(147,197,253,0.06); color: var(--text); margin: 10px 0 12px; }
.policy-notice.warn { border-left-color: #f59e0b; background: rgba(245,158,11,0.08); }

/* Anchor offset (for sticky header) */
[id] { scroll-margin-top: 90px; }

/* Tables (if added) */
.card table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 12px; border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; }
.card th, .card td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--card-border); }
.card thead th { background: rgba(147,197,253,0.08); color: var(--text); }
.card tbody tr:last-child td { border-bottom: 0; }

/* Footer */
footer.section { border-top: 1px solid var(--card-border); background: transparent; color: var(--muted); margin-top: 18px; }
footer nav a { color: inherit; text-decoration: none; margin: 0 8px; }
footer nav a:hover { color: var(--brand); }

/* Print-friendly */
@media print {
  :root { --bg: #ffffff; --text: #000; --muted: #555; --card: #ffffff; --card-border: #ddd; --brand: #000; }
  body { background: #fff !important; color: #000 !important; }
  .site-header, .nav-links, footer { display: none !important; }
  .card { box-shadow: none !important; border: 1px solid #ddd; }
  a { color: #000 !important; text-decoration: underline; }
}