:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2c423b;
  background: #f8f9f5;
  line-height: 1.65;
  font-synthesis: none;
  --green: #2d5044;
  --line: #d6ded4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(1060px, calc(100% - 48px));
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  gap: 20px;
}
.brand {
  font:
    600 30px Georgia,
    serif;
  text-decoration: none;
  color: inherit;
  letter-spacing: -1px;
}
.brand span {
  display: block;
  font:
    12px/2.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  color: #65746b;
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
a {
  color: inherit;
}
nav a {
  font-size: 13px;
  text-decoration: none;
}
.outline,
button.secondary {
  background: transparent;
  border: 1px solid #a8b5aa;
  color: var(--green);
}
.outline {
  padding: 10px 18px;
  border-radius: 4px;
}
main {
  padding: 45px 0 60px;
  min-height: 72vh;
}
h1 {
  font:
    normal clamp(40px, 6vw, 64px)/1.08 Georgia,
    serif;
  letter-spacing: -2px;
  margin: 0 0 22px;
}
h2 {
  font:
    normal 31px/1.2 Georgia,
    serif;
  letter-spacing: -0.6px;
  margin: 0 0 16px;
}
h3 {
  font-size: 15px;
  margin: 0 0 10px;
}
p {
  margin: 0 0 18px;
}
.intro {
  font-size: 17px;
  color: #67776d;
  max-width: 680px;
  margin-bottom: 32px;
}
.join {
  background: var(--green);
  color: #faf9eb;
  padding: 36px 42px;
  border-radius: 6px;
  box-shadow: 7px 7px 0 #e6ebdf;
  max-width: 760px;
}
.join p {
  color: #cbd9ce;
  font-size: 14px;
}
.join h2 {
  font-size: 36px;
}
.join button {
  background: #f1efd9;
  color: #294a3d;
}
.join label {
  color: #eff2e5;
}
.form-row {
  display: flex;
  align-items: end;
  gap: 12px;
}
.field {
  display: grid;
  gap: 7px;
  flex: 1;
  min-width: 0;
}
label {
  font-size: 13px;
  font-weight: 550;
}
input,
textarea,
button {
  font: inherit;
}
input,
textarea {
  background: #fff;
  border: 1px solid #cad5c7;
  border-radius: 4px;
  padding: 12px 14px;
  min-width: 0;
  width: 100%;
  color: #294336;
  font-size: 14px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
button {
  background: var(--green);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.link {
  background: transparent;
  border: 0;
  color: #4e6657;
  padding: 0;
  text-decoration: underline;
  font-weight: 400;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #a5bd72;
  outline-offset: 4px;
}
.fine {
  font-size: 12px;
  color: #75836f;
  margin-top: 14px;
}
.join .fine {
  color: #b9cbbb;
}
.explanation {
  max-width: 720px;
  margin-top: 36px;
}
.explanation p {
  font-size: 14px;
  color: #6d7d6d;
}
.steps {
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: #879480;
  margin: 30px 0 26px;
  padding: 0;
  list-style: none;
}
.steps .active {
  color: #2c553b;
  font-weight: 650;
}
.steps span {
  display: inline-grid;
  place-items: center;
  border: 1px solid #c6d2bf;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin-right: 7px;
  font-weight: 500;
}
.active span {
  background: #e2ecd9;
  border-color: #bcccae;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.workspace {
  max-width: 820px;
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.status {
  font-size: 12px;
  color: #638056;
}
.status:before {
  content: "●";
  margin-right: 8px;
  font-size: 9px;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.row.spread {
  justify-content: space-between;
}
.gap {
  margin-top: 18px;
}
.choice {
  background: #f0f4e9;
  border: 1px dashed #becdb1;
  padding: 24px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.choice p {
  font-size: 13px;
  margin: 0;
  color: #75846e;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.8 ui-monospace,
    SFMono-Regular,
    monospace;
  background: #f5f7f1;
  padding: 17px;
  border: 1px solid #e2e8db;
  border-radius: 4px;
  max-height: 310px;
  overflow: auto;
  margin: 14px 0;
}
summary {
  cursor: pointer;
  font-size: 13px;
  color: #536d49;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  margin: 18px 0;
  color: #5b6f50;
}
.check input {
  width: 16px;
  margin: 5px 0;
  accent-color: var(--green);
}
.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.diff pre {
  margin-top: 6px;
}
.before {
  background: #fcf4ef;
  border-color: #eddbcf;
  color: #805f48;
}
.after {
  background: #edf5e7;
  border-color: #d8e6ca;
  color: #416734;
}
.code-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7d8b74;
}
.notice {
  font-size: 12px;
  border-left: 3px solid #9bb183;
  padding: 8px 15px;
  color: #75816e;
  margin-bottom: 24px;
  max-width: 820px;
}
.error {
  font-size: 13px;
  padding: 12px 16px;
  background: #fff1e5;
  border: 1px solid #e8c4a6;
  color: #975432;
  border-radius: 4px;
  margin-bottom: 18px;
}
.success {
  background: #eef5e6;
  color: #496b38;
  border: 1px solid #d5e4c7;
  padding: 16px;
  border-radius: 4px;
  margin-top: 18px;
  font-size: 14px;
}
.invite {
  background: #edf3e5;
  border: 1px solid #cbdabb;
  padding: 20px;
  margin: 20px 0;
  border-radius: 4px;
}
.invite input {
  font:
    12px ui-monospace,
    monospace;
}
.people {
  margin-top: 30px;
}
.person {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.person p {
  margin: 0;
  font-size: 14px;
}
.person small {
  font-size: 12px;
  color: #7f8b75;
}
.empty {
  font-size: 14px;
  color: #819075;
  padding: 14px 0;
}
.danger {
  color: #9c624d !important;
  border-color: #d9c0b3 !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 30px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8a9680;
  gap: 20px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    width: calc(100% - 36px);
  }
  header {
    padding: 18px 0;
  }
  .brand {
    font-size: 26px;
  }
  .brand span {
    font-size: 10px;
  }
  nav {
    gap: 12px;
  }
  .outline {
    padding: 8px 10px;
  }
  nav > a:first-child {
    display: none;
  }
  main {
    padding-top: 32px;
  }
  h1 {
    letter-spacing: -1.2px;
  }
  .join {
    padding: 27px 22px;
  }
  .form-row {
    align-items: stretch;
    flex-direction: column;
  }
  .form-row button {
    margin-top: 8px;
  }
  .card {
    padding: 20px;
  }
  .choice {
    align-items: flex-start;
    flex-direction: column;
  }
  .diff {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 14px;
  }
  .steps span {
    margin-right: 4px;
  }
  .topline {
    align-items: flex-start;
  }
  .intro {
    font-size: 15px;
  }
  footer {
    flex-direction: column;
    gap: 5px;
  }
}
