/* The contact and feedback pages (and the server's "press Send" page), in the
   home page's style. No web fonts, cookies or anything from elsewhere. */
:root {
  --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b;
  --line: #d2d2d7; --wash: #f5f5f7; --link: #0066cc;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  letter-spacing: -0.022em; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--link); text-decoration: none; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { a:hover { text-decoration: underline; } nav.top a:hover { text-decoration: none; } }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 664px; }
h1 { text-wrap: balance; }

nav.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
nav.top .wrap { height: 48px; display: flex; align-items: center; justify-content: space-between; }
nav.top .brand { display: flex; align-items: center; color: var(--ink); }
nav.top .brand img { height: 24px; width: auto; display: block; }
nav.top .links a { color: var(--ink); opacity: 0.8; font-size: 12px; margin-left: 28px; letter-spacing: -0.01em; }
nav.top .links a[aria-current] { opacity: 1; font-weight: 600; }
@media (hover: hover) { nav.top .links a:hover { opacity: 1; } }

main.page { flex: 1; padding: 72px 0 96px; }
main.page h1 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.003em; font-weight: 600; margin: 0 0 12px;
}
.intro { font-size: 21px; line-height: 1.38; color: var(--ink-2); margin: 0 0 36px; }
.small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label, .form legend { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form .opt { font-weight: 400; }
.form input:not([type=radio]), .form textarea, .form select {
  font: inherit; font-size: 17px; font-weight: 400; color: var(--ink); background: var(--wash);
  border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; min-height: 9em; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form input:not([type=radio]):focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--link); background-color: #fff; }
.form .choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form .choices legend { margin-bottom: 8px; padding: 0; }
.form .choice {
  display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--wash); border: 1px solid transparent; border-radius: 980px; padding: 9px 16px; cursor: pointer;
}
.form .choice:has(input:checked) { border-color: var(--link); background: #fff; }
.form .choice input { margin: 0; accent-color: var(--link); width: 16px; height: 16px; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pill {
  font: inherit; font-size: 17px; line-height: 1; display: inline-flex; align-items: center;
  background: var(--link); color: #fff; padding: 13px 24px; border-radius: 980px; border: 0; cursor: pointer;
}
@media (hover: hover) { .pill:hover { background: #0077ed; text-decoration: none; } }
.form button { justify-self: start; margin-top: 4px; }
.form button[disabled] { opacity: 0.5; cursor: default; }
.status { margin: 0 0 18px; font-size: 15px; color: var(--ink-2); }
.form .status { margin: 0; min-height: 1.4em; }
.status:empty { display: none; }
.status.err { color: #d70015; }
.status.ok { color: #248a3d; }

.done { text-align: center; padding: 24px 0 8px; }
.done .tick { width: 56px; height: 56px; margin: 0 auto 20px; display: block; }
.done h2, main.page .done h1 { font-size: 28px; line-height: 1.15; margin: 0 0 10px; font-weight: 600; }
.done p { color: var(--ink-2); margin: 0 auto 26px; max-width: 30em; }
.done .links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }

footer { background: var(--wash); color: var(--ink-3); font-size: 12px; line-height: 1.5; padding: 18px 0 28px; }
footer .wrap { border-top: 1px solid var(--line); padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 600px) {
  .form .row { grid-template-columns: 1fr; }
  main.page { padding: 48px 0 72px; }
  .intro { font-size: 19px; }
  nav.top .links a { margin-left: 18px; }
}
@media (max-width: 380px) { nav.top .links a:not([aria-current]):nth-child(-n+1) { display: none; } }
.form .hint { margin-top: -10px; }
