/* ============================================================
   inpik — legal / policy pages (dark + gold theme)
   Re-skins the finalised legal pages to match the inpik site.
   Same class + CSS-variable names as the source pages, so all
   page content renders unchanged — only the look changes.
   ============================================================ */

:root {
  --ink: #f5f5f7;          /* headings / strong text */
  --body: #c5c9d3;         /* body text */
  --muted: #9398a5;        /* secondary text */
  --accent: #ff5a2a;       /* links / accent (brand red-orange, readable on dark) */
  --accent-strong: #ff7a4d;
  --accent-soft: rgba(231, 54, 4, 0.13);
  --line: rgba(255, 255, 255, 0.10);
  --bg: #121215;           /* card / surface */
  --page: #050507;         /* page background */
  --hl: rgba(231, 54, 4, 0.18);
  --radius: 14px;
  --maxw: 80rem; /* 1280px — site frame width; header/footer live in site.css. Reading column (.wrap) stays narrower for legibility. */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* warm ambient glow at the top, like the homepage */
body::before {
  content: "";
  position: fixed;
  top: -12%;
  left: 50%;
  width: 40rem;
  height: 30rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(231, 54, 4, 0.16), transparent 65%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* header & footer span the full site frame (--maxw, 1024px, like the homepage);
   the reading column stays centred at a comfortable width for legibility. */
.wrap { max-width: 50rem; margin: 0 auto; padding: 0 20px 96px; position: relative; z-index: 1; }

/* header + footer live in the shared css/site.css (identical on every page) */

/* page title block (moved out of the old masthead) */
.page-head { margin-bottom: 6px; }

/* headings */
h1 {
  font-family: "Ultra", "Plus Jakarta Sans", Georgia, serif;
  color: #fff;
  font-size: 32px;
  line-height: 1.18;
  margin: 18px 0 10px;
  letter-spacing: -0.01em;
  font-weight: 400; /* Ultra ships a single heavy weight */
}
.updated { color: var(--muted); font-size: 14.5px; margin: 0; }
h2 {
  font-family: "Plus Jakarta Sans", Roboto, sans-serif;
  color: #fff;
  font-size: 23px;
  line-height: 1.3;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
  font-weight: 700;
  scroll-margin-top: 24px;
}
h3 { font-family: "Plus Jakarta Sans", Roboto, sans-serif; color: var(--ink); font-size: 18px; margin: 26px 0 8px; font-weight: 700; }

p { margin: 0 0 14px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); text-decoration: underline; }
strong { color: var(--ink); }
.lead { font-size: 17.5px; color: #d6dae2; }
.caps { text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; font-weight: 700; color: var(--muted); }

/* highlighted placeholder text */
.ph { background: var(--hl); padding: 1px 6px; border-radius: 5px; font-weight: 600; color: #ffc4a3; }

/* lists */
ul, ol { margin: 0 0 14px; padding-left: 1.4rem; }
li { margin: 0 0 8px; }

/* horizontal rule */
hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }

/* info cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card .k { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-weight: 700; }
.card .v { font-size: 16px; color: var(--ink); margin: 0; }
.card .v a { font-weight: 600; }

/* tables */
table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
th { background: rgba(255, 255, 255, 0.05); color: var(--ink); font-weight: 700; }

/* table of contents */
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px 18px; margin: 8px 0 28px; }
.toc h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 18px 0 10px; font-family: Roboto, sans-serif; font-weight: 700; }
.toc ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.2rem; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc li { margin: 0 0 7px; }

/* numbered step list with badges */
ol.steps { list-style: none; counter-reset: step; padding-left: 0; margin: 14px 0; }
ol.steps li { counter-increment: step; position: relative; padding-left: 46px; margin: 0 0 16px; min-height: 30px; }
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #e73604, #d92400);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

/* contact form */
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; margin-top: 10px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin: 14px 0 6px; }
input, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font: inherit;
  font-size: 15.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
input::placeholder, textarea::placeholder { color: #6c7280; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }

/* primary button — gold gradient, dark text */
.btn {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(135deg, #e73604, #d92400);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  font-size: 15.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255, 84, 11, 0.6); }
.hint { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }

/* callout note */
.note { background: var(--accent-soft); border: 1px solid rgba(231, 54, 4, 0.30); border-radius: 12px; padding: 14px 18px; margin: 24px 0; font-size: 15px; color: #e7d6b4; }
.note strong { color: #ffc4a3; }

/* site footer lives in the shared css/site.css (identical on every page) */

/* back-to-top */
.totop { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; }

@media print {
  body { background: #fff; color: #000; }
  body::before { display: none; }
  header.masthead { background: #fff; }
  h1, h2, h3, strong, .card .v { color: #000; }
  .form, .btn { display: none; }
  a { color: inherit; text-decoration: none; }
}
