:root {
  color-scheme: light;
  --ink: #14191f;
  --muted: #59636d;
  --paper: #f6f8f7;
  --signal: #00a878;
  --line: #cfd8d4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(20, 25, 31, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 25, 31, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

main {
  width: min(760px, calc(100% - 40px));
  padding: clamp(32px, 7vw, 72px) 0;
}

.identity {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
  animation: arrive .65s ease-out both;
}

.logo { width: min(100%, 660px); height: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.identity p { max-width: 520px; margin: 0 0 0 clamp(10px, 4vw, 40px); color: var(--muted); font-size: clamp(17px, 3vw, 22px); line-height: 1.45; }

.contact { margin-top: clamp(50px, 10vw, 92px); padding-top: 22px; border-top: 1px solid var(--line); animation: arrive .65s .12s ease-out both; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
button, input { min-height: 44px; border: 1px solid var(--ink); font: inherit; }
button { padding: 0 18px; color: white; background: var(--ink); cursor: pointer; }
button:hover, button:focus-visible { background: var(--signal); border-color: var(--signal); }
form { max-width: 380px; }
label { display: block; margin-bottom: 10px; }
.answer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
input { width: 100%; padding: 0 12px; border-right: 0; background: white; }
.result { min-height: 28px; margin: 16px 0 0; }
.result a { color: var(--ink); font-size: 18px; font-weight: 700; text-underline-offset: 4px; }

@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 520px) {
  .identity p { margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) { .identity, .contact { animation: none; } }