@font-face {
  font-family: "Archivo Black";
  src: url("/assets/archivo-black.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f7f6f3;
  --paper: #fffefa;
  --ink: #191b16;
  --muted: #50534a;
  --lime: #c6f33d;
  --accent: #4f670d;
  --line: #d4d5cb;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.masthead {
  max-width: 72rem;
  margin: auto;
  padding: 1.2rem clamp(1.15rem, 5vw, 3rem);
}

.wordmark {
  display: inline-block;
  font: 1.55rem/1 "Archivo Black", system-ui, sans-serif;
  letter-spacing: -.075em;
  text-decoration: none;
}

.wordmark span, h1 span { color: var(--accent); }

.shell {
  width: min(100% - 2.3rem, 35rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 6vw, 4.5rem) 0 3rem;
}

.shell-wide { width: min(100% - 2.3rem, 68rem); }
.intro { margin-bottom: 1.55rem; }

h1, h2 {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8.7vw, 5.8rem);
  line-height: .99;
  letter-spacing: -.08em;
}

h1.crew-title { font-size: clamp(2rem, 7vw, 3.7rem); line-height: 1.04; letter-spacing: -.065em; overflow-wrap: anywhere; }
h2 { margin: 0; font-size: clamp(1.19rem, 4vw, 1.65rem); line-height: 1.17; letter-spacing: -.035em; }
p { margin: .65rem 0 0; }
.intro p { max-width: 34ch; margin-top: 1rem; font-size: clamp(1.02rem, 3vw, 1.25rem); color: var(--muted); }

.card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 1.1rem;
  padding: clamp(1.15rem, 5vw, 1.9rem);
  box-shadow: 4px 4px 0 var(--ink);
}

.signup { display: grid; gap: .4rem; margin-top: 1.15rem; }
label, .progress-label { font-weight: 700; font-size: .88rem; }
.signup input + label { margin-top: .35rem; }

input {
  display: block;
  min-width: 0;
  width: 100%;
  min-height: 3rem;
  padding: .62rem .7rem;
  border: 1px solid #777a6d;
  border-radius: .5rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}

input[readonly] { background: var(--cream); }

.primary, .secondary {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .58rem .95rem;
  border: 1px solid var(--ink);
  border-radius: .5rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
}

.primary { background: var(--lime); }
.secondary { background: var(--paper); }
.primary:hover, .secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.signup .primary { margin-top: .7rem; }
.intro .secondary { margin-top: 1.25rem; }
.fine { font-size: .81rem; color: var(--muted); }
.release { margin-top: 1.4rem; }
.trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.alert { color: #831a17; font-weight: 700; }

.progress-label { display: flex; justify-content: space-between; gap: .6rem; }
progress {
  display: block;
  appearance: none;
  width: 100%;
  height: .8rem;
  margin: .45rem 0 1rem;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 1rem;
  color: var(--accent);
  background: var(--cream);
}
progress::-webkit-progress-bar { background: var(--cream); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.complete { background: #effbd4; padding: .95rem; border-radius: .65rem; margin-bottom: 1rem; }

.share-tools label { display: block; margin-bottom: .4rem; }
.share-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.status:empty { display: none; }

.table-wrap { margin-top: 1.8rem; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; text-align: left; }
caption { font-weight: 800; text-align: left; padding-bottom: .4rem; }
th, td { border-bottom: 1px solid var(--line); padding: .65rem .5rem; }
time { white-space: nowrap; }

@media (min-width: 54rem) {
  .shell-landing { width: min(100% - 6rem, 66rem); }
  .landing-grid { display: grid; grid-template-columns: 1.08fr 1fr; column-gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
  .landing-grid .intro { margin-top: 2.1rem; }
  .release { grid-column: 2; }
}
