/* Handoro public site. One stylesheet, no external requests: these pages are read by
   people who were contacted out of the blue and are deciding whether to trust us. A
   third-party font or script request is a tracking question we do not want to have to
   answer. */
:root {
  color-scheme: light dark;
  --ink: #14172b;
  --muted: #5b6076;
  --bg: #ffffff;
  --panel: #f6f8fc;
  --line: #dde2ee;
  --brand: #1e2761;
  --on-brand: #ffffff;
  --ok-bg: #e8f5ec;
  --ok-ink: #14562f;
  --err-bg: #fdeceb;
  --err-ink: #97231d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f8;
    --muted: #a3aabf;
    --bg: #101322;
    --panel: #191d30;
    --line: #2b3149;
    --brand: #8fa0ff;
    --on-brand: #0d1020;
    --ok-bg: #14301f;
    --ok-ink: #9fe0b6;
    --err-bg: #3a1a19;
    --err-ink: #ffb4ad;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 32px 20px 64px; }
header.site { display: flex; align-items: baseline; gap: 12px; margin-bottom: 40px; }
header.site .name { font-weight: 700; letter-spacing: -0.01em; font-size: 18px; }
header.site .by { color: var(--muted); font-size: 13px; }
h1 { font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 17px; margin: 32px 0 8px; }
p { margin: 0 0 14px; }
.lede { color: var(--muted); }
a { color: var(--brand); }
label { display: block; font-weight: 600; font-size: 14px; margin: 18px 0 6px; }
input, select, button { font: inherit; }
input[type="tel"], select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg); color: var(--ink);
}
input[type="tel"]:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
button.primary {
  margin-top: 22px; width: 100%; padding: 14px 18px; border: 0; border-radius: 10px;
  background: var(--brand); color: var(--on-brand); font-weight: 650; cursor: pointer;
}
button.primary[disabled] { opacity: 0.55; cursor: default; }
.hint { color: var(--muted); font-size: 13px; margin-top: 8px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.msg { margin-top: 20px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.msg.ok { background: var(--ok-bg); color: var(--ok-ink); }
.msg.err { background: var(--err-bg); color: var(--err-ink); }
.msg[hidden] { display: none; }
.langs { margin-left: auto; font-size: 13px; }
.langs button {
  background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px 6px;
  border-radius: 6px; font-size: 13px;
}
.langs button[aria-current="true"] { color: var(--ink); font-weight: 700; }
footer.site {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
footer.site a { color: var(--muted); }
[lang][hidden] { display: none; }
