:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fafafa;
  background: #0a0a0a;
  color-scheme: dark;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --brand: #facc15;
  --brand-medium: #fde047;
  --brand-stroke: #eab308;
  --surface: #171717;
  --surface-raised: #262626;
  --stroke: #404040;
  --text-secondary: #d4d4d4;
  --text-muted: #868686;
  --error: #f43f5e;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #0a0a0a;
}

.site-header {
  height: 54px;
  border-bottom: 1px solid #212121;
  background: #0a0a0a;
}

.site-header-inner {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.wordmark { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wordmark img { width: 30px; height: 26px; }
.wordmark-name { color: #fafafa; font-size: 16px; font-weight: 600; line-height: 20px; }
.wordmark-product {
  margin-left: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--stroke);
  color: #d4d4d4;
  font-size: 13px;
  font-weight: 400;
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.secure-label { color: #a3a3a3; font-size: 13px; }
.secure-label > span[aria-hidden] { margin-right: 7px; color: #6ee7b7; font-size: 10px; }

.language-switcher {
  display: flex;
  width: fit-content;
  padding: 4px;
  border-radius: 8px;
  background: var(--surface);
}

.language-switcher > button {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fafafa;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  transform: none;
}

.language-switcher > button.active { background: var(--surface-raised); }
.site-header .language-switcher > button:hover:not(:disabled) { background: var(--surface-raised); transform: none; }
.site-header .language-switcher > button:active:not(:disabled) { transform: none; }
.language-switcher > button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

.shell {
  min-height: calc(100vh - 54px);
  display: grid;
  place-items: center;
  padding: 52px 16px 72px;
}

.card {
  width: min(100%, 600px);
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid #2f2f2f;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.intro { text-align: center; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 { margin: 0; color: #fafafa; font-size: clamp(28px, 6vw, 38px); letter-spacing: -.035em; line-height: 1.15; }
h2 { margin-bottom: 8px; }
.lead { max-width: 500px; margin: 16px auto 24px; color: var(--text-secondary); line-height: 1.55; }

.warning {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 14px 15px;
  border: 1px solid rgba(234, 179, 8, .45);
  border-radius: 10px;
  color: #fef08a;
  background: #2f280c;
  font-size: 13px;
  line-height: 1.45;
}

.warning strong { display: block; margin-bottom: 2px; color: #fef9c3; }
.warning-icon {
  flex: 0 0 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0a0a0a;
  background: var(--brand);
  font-weight: 800;
}

form { display: grid; gap: 18px; }
.optional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; color: #fafafa; font-size: 14px; font-weight: 500; }
label small { color: var(--text-muted); font-weight: 400; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 12px 13px;
  color: #fafafa;
  background: var(--surface-raised);
  font: inherit;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

input::placeholder, textarea::placeholder { color: #737373; }
textarea { min-height: 124px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-medium);
  background: #2d2d2d;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .11);
}

.counter { justify-self: end; margin-top: -4px; color: var(--text-muted); font-size: 12px; font-weight: 400; }
.consent { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; color: var(--text-secondary); font-weight: 400; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); }

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  color: #0a0a0a;
  background: var(--brand);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  cursor: pointer;
  transition: background .15s, transform .15s, opacity .15s;
}

button:hover:not(:disabled) { background: #fde047; transform: translateY(-1px); }
button:active:not(:disabled) { transform: translateY(0); }
button:disabled { cursor: not-allowed; opacity: .45; }
.status { min-height: 20px; margin: -7px 0 0; color: var(--text-muted); text-align: center; font-size: 13px; }
.status.error { color: var(--error); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.success { padding: 18px 0 4px; text-align: center; }
.check { display: grid; place-items: center; width: 58px; height: 58px; margin: auto; border-radius: 50%; color: #0a0a0a; background: #6ee7b7; font-size: 30px; font-weight: 800; }
.success output { display: inline-block; margin: 8px 0 6px; padding: 10px 16px; border-radius: 8px; background: #2f280c; color: var(--brand); font: 750 20px ui-monospace, SFMono-Regular, Menlo, monospace; }
.muted, footer { color: var(--text-muted); font-size: 13px; }
footer { margin-top: 26px; padding-top: 18px; border-top: 1px solid #303030; text-align: center; line-height: 1.45; }
footer .footer-icon { margin-right: 7px; color: var(--brand); font-size: 9px; }

@media (max-width: 580px) {
  .site-header { height: 54px; }
  .site-header-inner { padding: 0 16px; }
  .wordmark-product, .secure-label { display: none; }
  .header-actions { gap: 8px; }
  .shell { min-height: calc(100vh - 54px); padding: 28px 12px 44px; align-items: start; }
  .optional-grid { grid-template-columns: 1fr; }
  .card { border-radius: 16px; }
}
