/* groceryfolks.com: the app's runtime palette (src/theme.tsx) and type. */
@font-face {
  font-family: "Instrument Serif";
  src: url(/fonts/instrument-serif.woff2) format("woff2");
  font-display: swap;
}
:root {
  --paper: #f5f4eb;
  --surface: #fffefa;
  --ink: #30352e;
  --muted: #5e6257;
  --green: #365747;
  --on-green: #fffefa;
  --pale: #e5ebd9;
  --line: #d7dacb;
  --orange: #a45c2c;
  --forest: #365747;
  --forest-ink: #fffef2;
  --forest-muted: #dfe6d6;
  --forest-line: #5b7a69;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181d19;
    --surface: #252e26;
    --ink: #eeefe5;
    --muted: #bbc2b4;
    --green: #a8c6ae;
    --on-green: #18261c;
    --pale: #303e31;
    --line: #465146;
    --orange: #d9a06f;
    --forest: #233a2d;
    --forest-line: #3f5a4a;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  caret-color: var(--green);
}
::selection {
  background: var(--green);
  color: var(--on-green);
}
a {
  color: var(--green);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}
p,
li {
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-left));
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font: 28px/1 var(--serif);
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 24%;
}
.site-header {
  padding-top: 14px;
  padding-bottom: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: var(--on-green);
  font: 600 17px/1.3 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.1s ease-out,
    filter 0.18s ease-out;
}
.button:hover {
  filter: brightness(1.08);
}
.button:active {
  transform: scale(0.96);
}
.button.secondary {
  background: var(--pale);
  color: var(--green);
}
.button svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.muted {
  color: var(--muted);
}

/* Home */
.hero {
  background: var(--forest);
  color: var(--forest-ink);
}
.site-header.on-forest {
  background: var(--forest);
  color: var(--forest-ink);
  border-bottom: 1px solid var(--forest-line);
}
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px 40px;
  padding-top: 48px;
  padding-bottom: 56px;
}
.hero h1 {
  font-size: clamp(52px, 8.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 span {
  color: #f3b37a;
}
.lede {
  max-width: 34em;
  margin: 24px 0 0;
  font-size: 19px;
  color: var(--forest-muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--forest-line);
  border-radius: 24px;
  font-size: 15px;
  color: var(--forest-ink);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f3b37a;
}
.hero picture {
  justify-self: center;
}
.hero picture img {
  display: block;
  width: min(100%, 400px);
  height: auto;
  animation: settle 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes settle {
  from {
    transform: translateY(14px) rotate(-3deg);
  }
}
.list-section {
  padding-top: 56px;
  padding-bottom: 40px;
}
.list-section h2 {
  font-size: clamp(40px, 5vw, 52px);
  line-height: 1.05;
}
.list-section h2 span {
  color: var(--orange);
}
.list-intro {
  max-width: 36em;
  margin: 10px 0 16px;
  color: var(--muted);
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
}
.rows li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.rows li:first-child {
  border-top: 1px solid var(--line);
}
.rows img {
  width: 66px;
  height: 66px;
  flex: none;
}
.rows strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}
.rows .meta {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: var(--muted);
}
.rows .text {
  flex: 1;
  min-width: 0;
}
.rows .end {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--pale);
  color: var(--green);
  font: 600 17px/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.rows .end.done {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-green);
}
.rows .end svg {
  width: 20px;
  height: 20px;
}
.site-footer {
  margin-top: 32px;
  padding-top: 20px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.site-footer a {
  display: inline-block;
  padding: 10px 0;
}
.site-footer p {
  margin: 8px 0 0;
}

/* Join and open pages */
.page {
  max-width: 560px;
}
main.page {
  padding-bottom: 32px;
}
.page picture img {
  display: block;
  width: 132px;
  height: auto;
  margin: 0 0 8px -8px;
}
.page h1 {
  font-size: clamp(40px, 9vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.page h2 {
  margin-top: 40px;
  font-size: 30px;
  line-height: 1.15;
}
.page p {
  margin: 14px 0 0;
}
.code {
  display: block;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font:
    600 clamp(24px, 7vw, 32px) / 1.2 ui-monospace,
    "SF Mono",
    "Roboto Mono",
    Menlo,
    monospace;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  text-align: center;
  user-select: all;
}
.actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.copied {
  min-height: 1.55em;
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.steps {
  margin: 14px 0 0;
  padding-left: 24px;
}
.steps li {
  margin: 8px 0;
  padding-left: 4px;
}
.steps li::marker {
  color: var(--orange);
  font-weight: 600;
}
[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .hero-body {
    grid-template-columns: 1fr;
    padding-top: 20px;
    padding-bottom: 44px;
  }
  .hero picture {
    order: -1;
  }
  .hero picture img {
    width: 200px;
  }
  .lede {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero picture img {
    animation: none;
  }
  .button {
    transition: none;
  }
}
