:root { color-scheme: dark; font-family: Inter, sans-serif; background: #0c0c0c; color: #e8e8e8; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: 100%; max-width: 720px; margin: auto; padding: 32px 40px 48px; }
.brand { display: block; width: 240px; margin: 0 auto 34px; }
.brand img { width: 100%; height: auto; display: block; }
header { margin-bottom: 38px; }
.eyebrow { color: #df358e; font-size: 10px; letter-spacing: .16em; font-weight: 700; line-height: 1.4; margin: 0 0 14px; }
.intro { max-width: 650px; font-size: 17px; line-height: 1.4; color: #aaa; margin: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; }
label { display: block; font-size: 14px; line-height: 1.5; font-weight: 500; }
label > span[aria-hidden] { color: #e55ba4; }
input:not([type=checkbox]), select { display: block; width: 100%; min-width: 0; margin-top: 9px; padding: 14px; border: 1px solid #414141; border-radius: 7px; background: #181818; color: #eee; font: inherit; min-height: 50px; }
select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23ccc' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
@supports (appearance: base-select) {
  select, select::picker(select) { appearance: base-select; }
  select { display: flex; align-items: center; justify-content: space-between; gap: 12px; background-image: none; padding-inline-end: 14px; }
  select::picker-icon { content: ''; display: block; width: 12px; height: 8px; margin-inline-start: auto; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23ccc' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  select::picker(select) { background: #181818; color: #eee; border: 1px solid #414141; border-radius: 7px; margin-block-start: 6px; padding: 4px; max-height: min(320px, 50dvh); }
  select option { border-radius: 4px; padding: 10px 12px; }
  select option::checkmark { display: none; }
  select option[value=""]:disabled { display: none; }
  select option:hover, select option:focus, select option:checked { background: #df358e; color: #fff; }
}
select:disabled { color: #888; opacity: .7; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #e55ba4; outline-offset: 4px; }
.wide { grid-column: 1 / -1; }
.consents { margin: 36px 0 48px; display: grid; gap: 18px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; color: #c8c8c8; }
.check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #df358e; }
a { color: inherit; text-underline-offset: 4px; }
#terms-link { text-decoration-style: dotted; }
.contact-note { font-size: 12px; line-height: 1.5; color: #999; text-align: center; margin: 18px 0 0; }
button { font-family: inherit; cursor: pointer; }
.submit { width: 100%; max-width: 320px; min-height: 64px; margin-inline: auto; display: block; padding: 22px 24px; background: #df358e; border: 0; border-radius: 7px; color: white; font-size: 16px; font-weight: 500; }
.submit:hover { filter: brightness(1.15); }
.submit:disabled { cursor: default; opacity: .65; }
#form-status { line-height: 1.6; }
#form-status.error { color: #ffa9b9; }
#form-status.success { color: #98e0bd; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
dialog { width: min(720px, calc(100% - 32px)); max-height: 85dvh; border: 1px solid #444; border-radius: 12px; padding: 28px; background: #181818; color: #ddd; }
dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
h2 { font-size: 24px; margin: 0 0 8px; }
#close-terms { background: transparent; border: 0; color: #ddd; font-size: 28px; line-height: 1; padding: 0 4px; }
.terms-copy { font-size: 14px; line-height: 1.7; }
.terms-copy h3 { color: #eee; font-size: 15px; margin-top: 24px; }
.version { color: #999; font-size: 12px; }
.done { padding: 10px 24px; background: #303030; color: white; border: 1px solid #555; border-radius: 5px; }
@media (max-width: 600px) { .shell { padding: 20px 24px 36px; } .brand { width: 200px; margin-bottom: 22px; } .fields { grid-template-columns: 1fr; } header { margin-bottom: 28px; } dialog { padding: 22px; } }
.terms-page h1 { font-size: 28px; line-height: 1.25; margin: 0; }
.terms-page header { margin-bottom: 24px; }
.terms-page .terms-copy { font-size: 15px; }
.terms-back { margin: 40px 0 0; text-align: center; font-size: 14px; }
