:root {
  color-scheme: light;
  --ink: #182a25;
  --muted: #40564f;
  --forest: #142e2b;
  --teal: #1a5647;
  --mist: #bcddd0;
  --paper: #fffdf7;
  --shell: #eeeae0;
  --rule: #b6c3b7;
  font: 1rem/1.5 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--shell); -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .24em; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #216c57; outline-offset: 3px; }
.site-width { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.site-header { background: var(--forest); color: var(--paper); }
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; min-height: 3.5rem; }
.site-header a, .sharing a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header a:focus-visible { outline-color: var(--mist); }
.site-header .wordmark { gap: .32em; font-size: 1.09375rem; font-weight: 750; text-decoration: none; }
.wordmark span { color: var(--mist); }
.site-header nav > :last-child { font-size: .875rem; }
.skip { position: fixed; left: .75rem; top: .75rem; z-index: 1; transform: translateY(-200%); padding: .65rem; background: var(--paper); }
.skip:focus { transform: translateY(0); }

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  margin-top: clamp(1rem, 4vw, 3.25rem);
  border: 1px solid var(--rule);
  border-radius: 1.125rem;
  background: var(--paper);
  box-shadow: 0 1.25rem 3rem #142e2b14;
}
.introduction {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: 1rem 0 0 1rem;
  background:
    linear-gradient(157deg, #112b28 27%, transparent 98%),
    repeating-radial-gradient(ellipse at 90% 138%, #477c6b 0 1px, transparent 2px 27px),
    linear-gradient(147deg, #142e2b, #23574c);
  color: var(--paper);
}
.friday { margin: 0; color: #f1d8a0; font-size: .875rem; font-weight: 750; }
h1, h2 { margin: 0; }
h1 { margin-block: .55rem .85rem; font: 500 clamp(2.8rem, 5.55vw, 5.6rem)/.98 Georgia, serif; letter-spacing: -.055em; }
.lede { max-width: 28ch; margin: 0; color: #e2efe7; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.wave-trace {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 23rem;
  margin: clamp(1.25rem, 5vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.wave-trace::before { content: ""; position: absolute; top: .39rem; left: 17%; right: 17%; height: 1px; background: #aad1be; }
.wave-trace li { position: relative; color: #e6f3eb; text-align: center; font-size: .875rem; }
.wave-trace li::before {
  content: "";
  display: block;
  width: .8125rem;
  height: .8125rem;
  margin: 0 auto .4rem;
  border: 1px solid #b9e0cb;
  border-radius: 50%;
  background: #234d43;
}
.wave-trace [data-complete]::before { background: #c9edda; box-shadow: 0 0 0 3px #c9edda35; }

.desk { min-width: 0; padding: clamp(1.25rem, 3.75vw, 3rem); }
h2 { font: 550 1.55rem/1.15 Georgia, serif; letter-spacing: -.015em; }
.note, .sharing p { margin: .5rem 0 0; color: var(--muted); }
.note { font-size: .9rem; }
.fields { display: grid; gap: .75rem; margin: 1rem 0; }
.fields label { display: block; font-size: .9rem; font-weight: 700; }
.optional { margin-inline-start: .25rem; color: var(--muted); font-size: .8rem; font-weight: 450; }
input, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: .28rem;
  padding: .55rem .65rem;
  border: 1px solid #84988c;
  border-radius: .45rem;
  background: #fff;
  color: var(--ink);
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.3;
}
input::placeholder { color: #52675d; opacity: 1; }
textarea { resize: vertical; }
button {
  min-height: 44px;
  padding: .52rem .95rem;
  border: 1px solid var(--teal);
  border-radius: .48rem;
  cursor: pointer;
  font-weight: 700;
}
button:disabled { opacity: .65; cursor: default; }
.primary { background: var(--teal); color: #fff; }
.primary:not(:disabled):hover { background: #104135; }
.text-button { background: transparent; color: var(--teal); }
.text-button:hover { background: #e3eee4; }
.review { animation: reveal .18s ease-out; }
.review pre {
  margin: 1rem 0 0;
  padding: .9rem;
  border: 1px solid #84988c;
  border-radius: .45rem;
  background: #f6f8f1;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.status { margin: .5rem 0 0; color: var(--teal); font-size: .875rem; }
.status:empty { margin: 0; }
@keyframes reveal { from { opacity: .65; } to { opacity: 1; } }

.sharing {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: .8rem 1.5rem;
  margin-block: 1.25rem 0;
  padding: 1.25rem 0 max(1.5rem, env(safe-area-inset-bottom));
}
.sharing h2 { font-size: 1.35rem; }
.sharing p { font-size: .9rem; }
.sharing-controls { display: flex; align-items: start; flex-wrap: wrap; column-gap: .7rem; }
.sharing-controls .status { flex-basis: 100%; }
.sharing a { font-size: .9rem; }
@media (max-width: 44rem) {
  .workbench { grid-template-columns: minmax(0, 1fr); }
  .introduction { border-radius: 1rem 1rem 0 0; }
  h1 { font-size: clamp(2.5rem, 9.7vw, 4.25rem); }
  .wave-trace { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .review { animation: none; }
}
