@font-face {
  font-family: "Kawalis Body";
  src: url("/kawalis/assets/body.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --surface: #FFFFFF;
  --paper: #F7F7F7;
  --ink: #101010;
  --muted: #626870;
  --line: #E5E5E5;
  --gold: #C48622;
  font-family: "Kawalis Body", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.9; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
.shell { width: min(100% - 40px, 820px); margin-inline: auto; }
.legal-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); }
.legal-header .shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.home-link img { width: 46px; height: 46px; object-fit: contain; }
.back-link { color: var(--muted); font-size: 14px; }
.legal-main { padding-block: 64px 80px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font-size: 13px; font-weight: 800; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 54px); line-height: 1.45; }
.summary { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.updated { display: inline-block; margin-top: 20px; padding: 7px 12px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12px; }
.legal-content { margin-top: 52px; }
section { padding-block: 27px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.6; }
p { margin: 0; color: var(--muted); }
p + p { margin-top: 12px; }
ul { margin: 12px 0 0; padding: 0 22px 0 0; color: var(--muted); }
li + li { margin-top: 7px; }
.notice { margin-top: 28px; padding: 20px; border-inline-start: 4px solid var(--gold); background: var(--paper); border-radius: 8px; }
.notice strong { color: var(--ink); }
.request-form { margin-top: 30px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.field { display: grid; gap: 8px; }
.field label, .consent { font-weight: 800; }
.field input { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--surface); color: var(--ink); font: inherit; direction: ltr; text-align: left; }
.field input:focus { border-color: var(--gold); outline: 3px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.field small { color: var(--muted); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.consent input { width: 19px; height: 19px; margin-top: 5px; accent-color: var(--gold); flex: 0 0 auto; }
.submit-button { min-height: 52px; margin-top: 22px; border: 0; border-radius: 8px; padding: 12px 24px; background: var(--ink); color: var(--surface); font: inherit; font-weight: 900; cursor: pointer; }
.submit-button:hover { background: var(--gold); color: #101010; }
.submit-button:disabled { cursor: wait; opacity: .58; }
.form-status { min-height: 30px; margin-top: 16px; color: var(--muted); }
.form-status.is-success { color: #247A48; }
.form-status.is-error { color: #B42318; }
.honeypot { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.support-slate { position: relative; overflow: hidden; margin-top: 30px; padding: 30px; border-radius: 12px; background: #101010; color: #F7F4EE; }
.support-slate::before { content: ''; position: absolute; inset: 0 0 auto; height: 9px; background: repeating-linear-gradient(135deg, var(--gold) 0 28px, #F7F4EE 28px 56px, #101010 56px 84px); }
.support-slate small { color: #C7C2BA; font-size: 11px; letter-spacing: 1.8px; }
.support-slate h2 { margin: 15px 0 8px; font-size: clamp(23px, 4vw, 32px); }
.support-slate p { color: #C7C2BA; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.help-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.help-card .card-label { display: block; margin-bottom: 8px; color: var(--gold); font-size: 12px; font-weight: 900; }
.help-card h2 { margin-bottom: 8px; font-size: 20px; }
.help-card p { font-size: 15px; }
.help-faq { margin-top: 52px; }
.help-faq > h2 { font-size: 26px; }
.help-faq details { border-top: 1px solid var(--line); }
.help-faq details:last-child { border-bottom: 1px solid var(--line); }
.help-faq summary { position: relative; cursor: pointer; list-style: none; padding-block: 20px; padding-inline: 34px 0; color: var(--ink); font-weight: 900; }
.help-faq summary::-webkit-details-marker { display: none; }
.help-faq summary::before { content: '+'; position: absolute; inset-inline-start: 0; color: var(--gold); font-size: 24px; font-weight: 400; }
.help-faq details[open] summary::before { content: '−'; }
.help-faq details p { padding: 0 0 20px; }
.contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; margin-top: 52px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; }
.contact-panel h2 { margin-bottom: 9px; }
.contact-actions { display: grid; gap: 10px; }
.contact-button { display: flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 18px; border-radius: 8px; background: var(--gold); color: #101010; font-weight: 900; text-decoration: none; }
.contact-button:hover { color: #101010; filter: brightness(1.06); }
.contact-meta { text-align: center; color: var(--muted); font-size: 12px; }
.legal-footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 13px; }
.legal-footer .shell { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.legal-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (prefers-color-scheme: dark) {
  :root { --surface: #131313; --paper: #1B1B1B; --ink: #F7F4EE; --muted: #B2AEA7; --line: #303030; --gold: #E2B04F; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 32px, 820px); }
  .legal-header .shell { min-height: 74px; }
  .home-link img { width: 40px; height: 40px; }
  .legal-main { padding-block: 42px 60px; }
  .summary { font-size: 16px; }
  .legal-content { margin-top: 38px; }
  h2 { font-size: 20px; }
  .support-slate { padding: 26px 20px 22px; }
  .help-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
