:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #526158;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --line: #d7ded6;
  --field: #f4f7f2;
  --accent: #0f6b57;
  --accent-strong: #0a4b3d;
  --focus: #c28a1d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(15, 107, 87, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(15, 107, 87, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 430px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(23, 33, 28, 0.12);
}

.mark {
  display: block;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.18;
}

.summary {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

label {
  font-size: 0.92rem;
  font-weight: 700;
}

input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 1.35rem;
  letter-spacing: 0;
  padding: 0 14px;
}

input:focus {
  border-color: var(--focus);
  outline: 3px solid rgba(194, 138, 29, 0.24);
}

button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:focus-visible {
  outline: 3px solid rgba(194, 138, 29, 0.36);
  outline-offset: 2px;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 460px) {
  .shell {
    align-items: stretch;
    padding: 16px;
  }

  .panel {
    align-self: center;
    padding: 24px;
  }
}
