/* =========================================
   ARENAFLOW · PRIVACY POLICY
   ========================================= */
:root {
  --orange: #f26a1f;
  --orange-deep: #d8551a;
  --orange-soft: #ffe2d0;
  --orange-tint: #fff4ec;
  --ink: #0d1830;
  --ink-soft: #1c2945;
  --paper: #ffffff;
  --paper-soft: #f7f5f1;
  --paper-warm: #fbf6ee;
  --mute: #5b6680;
  --mute-soft: #8b95ac;
  --line: rgba(13,24,48,0.1);
  --line-soft: rgba(13,24,48,0.06);
  --green: #1aa874;

  --ff-display: "Saira Condensed", "Saira", Impact, sans-serif;
  --ff-body: "Saira", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-mono); font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--orange);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; font-size: 14px; font-weight: 600;
  border-radius: 999px; transition: all 0.22s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: white;
  box-shadow: 0 6px 18px -6px rgba(242,106,31,0.5);
}
.btn-primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--ink); border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: white; }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: var(--maxw); margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center;
  height: 44px;
}
.logo img { height: 44px; width: auto; }
.nav-links {
  display: flex; gap: 30px; font-size: 14px; color: var(--ink);
  font-weight: 500;
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 980px){ .nav-links { display: none; } }

/* ============ HEADER ============ */
.page-header {
  padding: 70px 0 60px;
  background:
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(242,106,31,0.06), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--mute); letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--orange); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }

.page-title {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1; letter-spacing: -0.015em;
  margin: 14px 0 18px; color: var(--ink);
}
.page-title em { font-style: normal; color: var(--orange); }
.page-lede {
  font-size: 18px; color: var(--mute); line-height: 1.6;
  max-width: 720px; margin: 0 0 32px;
}
.page-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 720px;
  font-size: 13px;
}
.page-meta-item {
  display: flex; flex-direction: column;
}
.page-meta-item strong {
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--mute); letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  margin-bottom: 4px;
}
.page-meta-item span {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 18px; color: var(--ink); letter-spacing: -0.005em;
}

/* ============ POLICY LAYOUT ============ */
.policy-section {
  padding: 80px 0 100px;
}
.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 980px){
  .policy-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* TOC sticky sidebar */
.toc {
  position: sticky;
  top: 96px;
  align-self: start;
}
@media (max-width: 980px){
  .toc {
    position: static;
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
  }
}
.toc-label {
  font-family: var(--ff-mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}
.toc-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.toc-list li a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 0 7px 12px;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.4;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.toc-list li a:hover {
  color: var(--orange);
  border-left-color: var(--orange-soft);
  padding-left: 16px;
}
.toc-list li a.active {
  color: var(--ink);
  border-left-color: var(--orange);
  font-weight: 600;
}
.toc-num {
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--orange); font-weight: 700;
  letter-spacing: 0.05em;
  width: 24px; flex-shrink: 0;
}

/* CONTENT */
.policy-content {
  min-width: 0;
}
.policy-section-block {
  scroll-margin-top: 96px;
  padding-bottom: 50px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 50px;
}
.policy-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.policy-section-block h2 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 36px; letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 16px;
}
.policy-section-block h2 .num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 22px;
  color: var(--orange);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  padding: 4px 12px;
  background: var(--orange-tint);
  border: 1.5px solid var(--orange-soft);
  border-radius: 6px;
  line-height: 1.1;
}
.policy-section-block h3 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 28px 0 14px;
  color: var(--ink);
}
.policy-section-block p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  margin: 0 0 16px;
}
.policy-section-block p:last-child { margin-bottom: 0; }
.policy-section-block strong { font-weight: 700; color: var(--ink); }
.policy-section-block a {
  color: var(--orange); font-weight: 600;
  border-bottom: 1.5px solid var(--orange-soft);
  transition: border-color 0.2s;
}
.policy-section-block a:hover { border-bottom-color: var(--orange); }

.policy-section-block ul,
.policy-section-block ol {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.policy-section-block ul li,
.policy-section-block ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.65;
}
.policy-section-block ul li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 12px; height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
.policy-section-block ol {
  counter-reset: olcount;
}
.policy-section-block ol li {
  counter-increment: olcount;
}
.policy-section-block ol li::before {
  content: counter(olcount);
  position: absolute; left: 0; top: 0;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--orange); font-weight: 700;
  letter-spacing: 0.04em;
  width: 18px; text-align: left;
}

/* Tables */
.policy-table-wrap {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-warm);
}
.policy-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.policy-table thead th {
  padding: 14px 18px;
  text-align: left;
  background: var(--ink); color: white;
  font-family: var(--ff-mono); font-size: 11px;
  font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.policy-table thead th:first-child { color: var(--orange); }
.policy-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--ink);
  background: var(--paper);
}
.policy-table tbody tr:last-child td { border-bottom: none; }
.policy-table tbody tr:hover td { background: var(--paper-warm); }
.policy-table td:first-child {
  font-weight: 600;
  width: 25%;
}

@media (max-width: 600px){
  .policy-table-wrap { overflow-x: auto; }
  .policy-table { min-width: 560px; }
}

/* CALLOUT */
.callout {
  margin: 22px 0;
  padding: 22px 24px;
  background: var(--orange-tint);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
}
.callout.green {
  background: rgba(26,168,116,0.08);
  border-left-color: var(--green);
}
.callout.ink {
  background: var(--ink); color: white;
  border-left-color: var(--orange);
}
.callout p {
  font-size: 15px !important;
  margin: 0 !important;
  color: inherit !important;
}
.callout strong { color: inherit !important; }
.callout.ink a { color: var(--orange); border-bottom-color: var(--orange); }

/* CONTACT BOX */
.contact-box {
  margin: 24px 0;
  padding: 28px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-box-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px){ .contact-box-grid { grid-template-columns: 1fr; } }
.contact-box-item strong {
  font-family: var(--ff-mono); font-size: 10px;
  color: var(--mute); letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  display: block; margin-bottom: 4px;
}
.contact-box-item span,
.contact-box-item a {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 16px; color: var(--ink);
  letter-spacing: -0.005em;
  display: block;
  border-bottom: none !important;
}
.contact-box-item a {
  color: var(--orange) !important;
}

/* CLOSING ============ */
.closing {
  padding: 60px 0 80px;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.closing-inner {
  max-width: 680px; margin: 0 auto;
}
.closing h3 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em; line-height: 1.1;
  margin: 16px 0 14px;
  color: var(--ink);
}
.closing h3 em { font-style: normal; color: var(--orange); }
.closing p {
  font-size: 16px; color: var(--mute); line-height: 1.6;
  margin: 0 0 28px;
}
.closing-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
footer {
  padding: 60px 0 28px;
  background: #060c1e;
  color: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 840px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
.footer-about { max-width: 340px; }
.footer-about .logo img { filter: brightness(0) invert(1); height: 40px; }
.footer-about p {
  font-size: 13px; color: rgba(255,255,255,0.55);
  line-height: 1.6; margin: 18px 0 18px;
}
.footer-newsletter {
  display: flex; gap: 8px; max-width: 320px;
}
.footer-newsletter input {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  border-radius: 8px;
  font-size: 13px; outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter input:focus { border-color: var(--orange); }
.footer-newsletter button {
  padding: 10px 16px;
  background: var(--orange); color: white;
  border-radius: 8px; font-size: 13px;
  font-weight: 600;
}
.footer-newsletter button:hover { background: var(--orange-deep); }
.footer-col h6 {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  font-family: var(--ff-mono); letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.55);
  border-bottom: none;
}
.footer-bottom a:hover { color: var(--orange); }

/* WhatsApp floating */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25d366; color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.5);
  z-index: 90;
  transition: all 0.2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* Back-to-top */
.to-top {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 44px; height: 44px;
  background: var(--ink); color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  box-shadow: 0 12px 24px -8px rgba(13,24,48,0.4);
  z-index: 90;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--orange); }

/* Print styles */
@media print {
  .nav, .closing, footer, .wa-float, .to-top, .toc { display: none !important; }
  .policy-layout { grid-template-columns: 1fr; }
  body { background: white; }
  .page-header { padding: 30px 0; }
}