/* apply.heyzilive.com. The app's own light palette: lavender ground, white cards, purple actions. No inline style
   anywhere, so the nginx CSP stays default-src 'self'. */
:root {
  --ink: #241b3a;
  --ink-soft: #6b6286;
  --line: #e5def5;
  --ground: #f6f3fd;
  --card: #ffffff;
  --purple: #7a4ddb;
  --purple-dark: #5f35bb;
  --bad: #c0392b;
  --good: #1f8a53;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 16px 48px;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
header, main { max-width: 560px; margin: 0 auto; }
header { padding: 32px 0 8px; }
.brand { margin: 0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--purple); }
h1 { margin: 6px 0 10px; font-size: 27px; line-height: 1.2; }
h2 { margin: 0 0 10px; font-size: 17px; }
.lede { margin: 0; color: var(--ink-soft); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 18px 0;
}
.steps ol { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 6px; }
.note { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--ground); color: var(--ink-soft); font-size: 14px; }
label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 14px; }
.card > label:first-of-type, #fields > label:first-child { margin-top: 0; }
input, select {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
input:focus, select:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
input[type="file"] { padding: 9px; background: var(--ground); font-size: 15px; }
/* the browser's own button, in the app's colours rather than grey system chrome */
input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  color: var(--purple-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.hint { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); }
button {
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--purple);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
button:hover { background: var(--purple-dark); }
button[disabled] { opacity: .55; cursor: default; }
.msg { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 15px; background: var(--ground); }
.msg.bad { color: var(--bad); background: #fdecea; }
.msg.good { color: var(--good); background: #e8f6ee; }
.foot { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); text-align: center; }
a { color: var(--purple); }
