/* Shared style for Twinstinct text pages (privacy, support). Same tokens as index.html. */
:root {
  --night: #1C1251; --night-2: #2C2072; --pink: #FF3D9A; --pink-deep: #B3186A; --blue: #2F5BEA;
  --text: #fff; --soft: rgba(255,255,255,.84); --dim: rgba(255,255,255,.6); --line: rgba(255,255,255,.12);
  --display: 'Fredoka', system-ui, sans-serif; --body: 'Gabarito', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.6;
  background-color: var(--night);
  background-image: radial-gradient(rgba(255,255,255,.055) 1.3px, transparent 1.6px), radial-gradient(circle at 50% 0, #2C2072 0, #1C1251 520px);
  background-size: 9px 9px, 100% 100%; background-repeat: repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #FF8CC2; }
a:hover { color: #fff; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
nav.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(28,18,81,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: 25px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 18px rgba(255,61,154,.35); }
.back { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 16px; }
main.doc { max-width: 760px; margin: 0 auto; padding: 64px max(20px, env(safe-area-inset-right, 0px)) 80px max(20px, env(safe-area-inset-left, 0px)); }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: #FF8CC2; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 56px); margin: 10px 0 14px; text-shadow: 0 0 22px rgba(255,61,154,.3), 0 2px 12px rgba(0,0,0,.3); }
h2 { font-size: 28px; margin: 52px 0 12px; }
h3 { font-size: 21px; margin: 28px 0 6px; }
p, li { color: var(--soft); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin: 6px 0; }
li::marker { color: var(--pink); }
strong { color: #fff; }
.meta { color: var(--dim); font-size: 16px; }
.summary { margin: 32px 0 8px; padding: 22px 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.summary h2 { margin-top: 0; font-size: 22px; }
.summary ul { margin-bottom: 0; }
.table { overflow-x: auto; margin: 10px 0 18px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--soft); }
th { color: #fff; font-family: var(--display); font-weight: 600; font-size: 15px; background: rgba(255,255,255,.05); }
.mail { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; padding: 14px 20px; border-radius: 18px; background: #fff; color: var(--night); font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration: none; box-shadow: 0 5px 0 rgba(0,0,0,.28); user-select: all; }
.mail:hover { color: var(--night); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--pink); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details > div { padding: 0 0 18px; }
footer { padding: 36px 0 52px; color: var(--dim); font-size: 15px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: #fff; }
:focus-visible { outline: 3px solid #FF8CC2; outline-offset: 3px; border-radius: 6px; }
@media (max-width: 620px) { body { font-size: 17px; } main.doc { padding-top: 44px; } h2 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } summary::after { transition: none; } }
