/* Shared look of the privacy and terms pages. Brand purple, white, no beige. */
:root { --purple: #5B21FF; --ink: #1B1340; --soft: #F1ECFF; --line: #D9CFFF; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #FFFFFF; line-height: 1.6; font-size: 17px; }
header { background: var(--purple); display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.brand { color: #FFFFFF; font-weight: 900; font-size: 24px; text-decoration: none; letter-spacing: 0.5px; }
nav a { color: #FFFFFF; text-decoration: none; margin-left: 18px; font-weight: 600; opacity: 0.85; }
nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 32px; line-height: 1.2; margin: 8px 0 4px; color: var(--purple); }
h2 { font-size: 21px; margin: 32px 0 8px; }
.date { color: #5A5380; margin-top: 0; }
a { color: var(--purple); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
th { background: var(--soft); }
footer { background: var(--soft); text-align: center; padding: 18px 16px; }
@media (max-width: 560px) {
  table, tbody, tr, th, td { display: block; width: 100%; }
  tr:first-child { display: none; }
  tr { border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; overflow: hidden; }
  td { border: 0; padding: 8px 12px; }
  td:first-child { background: var(--soft); font-weight: 600; }
}

/* Contact form */
form { margin-top: 20px; }
label { display: block; font-weight: 600; margin: 18px 0 6px; }
.optional { font-weight: 400; color: #5A5380; }
input[type="text"], input[type="email"], select, textarea { width: 100%; font: inherit; color: var(--ink); background: #FFFFFF; border: 2px solid var(--line); border-radius: 10px; padding: 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); }
textarea { resize: vertical; min-height: 140px; }
.hint { font-size: 15px; color: #5A5380; margin: 6px 0 0; }
.error { background: #FFE3EA; border: 2px solid #E0245E; color: #8A0F37; border-radius: 10px; padding: 10px 12px; margin: 18px 0 0; }
button { margin-top: 22px; width: 100%; min-height: 52px; font: inherit; font-weight: 800; font-size: 18px; color: #FFFFFF; background: var(--purple); border: 0; border-radius: 14px; cursor: pointer; }
button:disabled { opacity: 0.6; cursor: default; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
@media (max-width: 420px) { nav a { margin-left: 12px; font-size: 15px; } }
