:root {
  --accent: #ffc700;
  --accent-hover: #f0b900;
  --text: #0a0a0a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-focus: #d1d5db;
  --error: #b91c1c;
  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  padding: 56px 24px 72px;
}

.container {
  max-width: 560px;
  margin: 0 auto;
}

.logo {
  display: block;
  margin: 0 auto 28px;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  margin: 0 auto 44px;
  max-width: 460px;
}

.field {
  margin-bottom: 22px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
}

.field-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input[type="file"] {
  padding: 10px 13px;
  cursor: pointer;
}

select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b7280' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.25);
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

button.submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 120ms ease;
}

button.submit:hover { background: var(--accent-hover); }
button.submit:active { transform: translateY(1px); }

.error {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error-border);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.confirm {
  text-align: center;
  padding: 24px 0 0;
}

.confirm h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.confirm .lede {
  color: var(--text);
  font-size: 18px;
  margin: 0 0 28px;
}

.confirm .note {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 6px;
}

.confirm a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

footer {
  margin-top: 56px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--muted); }

@media (max-width: 600px) {
  body { padding: 32px 18px 56px; }
  .logo { max-width: 170px; margin-bottom: 20px; }
  .subtitle { font-size: 16px; margin-bottom: 32px; }
  .confirm h1 { font-size: 26px; }
}
