/* The app's palette (android ui/theme/Color.kt, ios UI/Theme.swift). The web
   pages are few, but they are the first thing a person sees after an email,
   so they should look like the product they belong to. */
:root {
  --bg: #0a0f0d;
  --surface: #121815;
  --surface2: #1a2420;
  --border: #22302a;
  --text: #f3f6f4;
  --dim: #93a39a;
  --faint: #5e6e66;
  --green: #34b26e;
  --brown: #d2853f;
  --red: #e5484d;
  --on-green: #08150e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

main { width: 100%; max-width: 420px; }

.mark {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--surface2);
  display: grid; place-items: center;
  font-size: 32px;
  margin: 0 auto 18px;
}

h1 { font-size: 27px; line-height: 1.15; margin: 0 0 8px; text-align: center; }
p.lede { color: var(--dim); margin: 0 0 24px; text-align: center; }

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

input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface2);
  color: var(--text);
  font-size: 16px; /* 16px or iOS zooms on focus */
}

input:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: var(--on-green);
  font-size: 16px; font-weight: 700;
  cursor: pointer;
}

button:disabled { background: var(--surface2); color: var(--faint); cursor: default; }

.hint { font-size: 13px; color: var(--faint); margin-top: 10px; }
.message { margin-top: 16px; font-size: 14px; }
.message.bad { color: var(--brown); }
.message.error { color: var(--red); }
.message.good { color: var(--green); }

article { max-width: 680px; }
article h1, article p.lede { text-align: left; }
article h2 { font-size: 19px; margin: 28px 0 8px; }
article p, article li { color: var(--dim); }
article a { color: var(--green); }
footer { margin-top: 40px; font-size: 13px; color: var(--faint); }
footer a { color: var(--faint); }
