:root {
  --paper: #f5f8f6;
  --ink: #183e35;
  --muted: #526b63;
  --accent: #ba3b37;
  --line: #cbd8d0;
  --white: #fff;
  --soft: #e4ede7;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 1200px;
  margin: auto;
  padding: 28px 40px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--ink);
}
.pepper {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  width: 40px;
  height: 45px;
  border-radius: 20px 20px 20px 5px;
  font-family: Georgia, serif;
  font-size: 40px;
  font-style: italic;
}
.small {
  font-size: 10px;
  letter-spacing: 2px;
  margin-left: 12px;
  font-weight: 400;
}
.eyebrow {
  font:
    11px "Courier New",
    monospace;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: bold;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.04;
  margin: 20px 0 30px;
}
h2 {
  font:
    normal 30px Georgia,
    serif;
  letter-spacing: -0.5px;
  margin: 15px 0;
}
p {
  line-height: 1.6;
  max-width: 570px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 24px;
}
.intro aside {
  max-width: 290px;
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.8;
}
nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 10px;
}
nav a {
  color: var(--ink);
  font-size: 14px;
  text-underline-offset: 5px;
}
.panel {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 50px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.panel > div:first-child p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font:
    15px Arial,
    sans-serif;
  margin-top: 8px;
  padding: 11px;
}
textarea {
  resize: vertical;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
  font-weight: 400;
}
.check input {
  width: auto;
  margin: 4px 0 0;
}
button {
  cursor: pointer;
  font:
    600 13px Arial,
    sans-serif;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 17px;
  color: var(--ink);
  background: var(--white);
}
button:hover {
  background: var(--soft);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.primary:hover {
  background: #285b4f;
}
.quiet {
  margin-top: 15px;
  background: transparent;
}
.danger {
  color: var(--accent);
}
.list {
  margin-top: 24px;
}
.list article {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.list article p {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.list small {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
#login {
  padding: 60px 0 100px;
}
#message:not(:empty) {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 24px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  max-width: 90vw;
  box-shadow: 0 6px 30px #183e3526;
  z-index: 2;
}
footer {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 35px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  header,
  main,
  footer {
    padding: 20px;
  }
  .small {
    display: none;
  }
  .intro {
    display: block;
  }
  .intro aside {
    margin-bottom: 24px;
  }
  .panel {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 30px 0;
  }
  nav {
    gap: 16px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  h1 {
    letter-spacing: -1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
