:root {
  color-scheme: light dark;
  --surface: #f5f4f0;
  --card: #fff;
  --ink: #1d1d19;
  --muted: #605e52;
  --line: #d9d5c8;
  --link: #6e5100;
  --error: #971e1e;
  font: 16px/1.45 system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #191919;
    --card: #222220;
    --ink: #f5f3ec;
    --muted: #c4c1b4;
    --line: #4c4940;
    --link: #ffe632;
    --error: #ffaca3;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); }
a { color: var(--link); text-underline-offset: 0.16em; }
main { width: min(100% - 2rem, 34rem); margin: 2rem auto; }
.brand { display: inline-flex; gap: .65rem; align-items: center; margin-bottom: 1rem; color: var(--ink); font-weight: 700; text-decoration: none; }
.brand img { border-radius: 8px; }
.support-card { padding: clamp(1rem, 4vw, 1.6rem); border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
h1 { margin: 0 0 1.3rem; font-size: clamp(1.4rem, 5vw, 1.85rem); line-height: 1.2; }
form { display: grid; gap: .5rem; }
label { font-weight: 650; }
label:not(:first-of-type) { margin-top: .35rem; }
input, select, textarea, button { width: 100%; min-height: 44px; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); font: inherit; }
textarea { resize: vertical; }
button { margin-top: .55rem; border-color: #e4c814; color: #15140e; background: #ffe632; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .64; cursor: wait; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.hint, .privacy { color: var(--muted); font-size: .88rem; }
.hint, .message { margin: 0; }
.message:empty { display: none; }
.message { margin-top: .3rem; font-weight: 600; }
.message[data-error] { color: var(--error); }
.direct-contact { margin: .95rem 0 .4rem; }
