/* gno.shop holding page. Colors are tokens on :root, redefined for dark mode. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-5.3.0-opsz.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #fbf7ef;
  --paper-2: #f3ecdf;
  --card: #ffffff;
  --field: #fdfbf7;
  --ink: #1d1b16;
  --ink-2: #5d574b;
  --ink-3: #776f60;
  --line: #e7dfcf;
  --line-2: #d6cab3;
  --green: #1e5b3f;
  --green-2: #164631;
  --on-green: #ffffff;
  --green-tint: #e4eee6;
  --seg-track: #f1e9da;
  --seg-on: #ffffff;
  --tomato: #c8442a;
  --danger: #b3261e;
  --focus: #2f7d57;
  --stripe-a: #1e5b3f;
  --stripe-b: #eadfc6;
  --shadow: 0 1px 2px rgba(29, 27, 22, 0.05), 0 18px 40px -18px rgba(29, 27, 22, 0.22);
  --display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #13120e;
    --paper-2: #1b1914;
    --card: #1e1c17;
    --field: #17150f;
    --ink: #f2ede2;
    --ink-2: #bdb4a2;
    --ink-3: #9a917e;
    --line: #2f2c25;
    --line-2: #46413a;
    --green: #58b585;
    --green-2: #6cc797;
    --on-green: #0c1d14;
    --green-tint: #1d2c23;
    --seg-track: #13120e;
    --seg-on: #37332b;
    --tomato: #f0795c;
    --danger: #ff8a80;
    --focus: #7fd3a6;
    --stripe-a: #2a6e4d;
    --stripe-b: #d8cbb0;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 44px -18px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* The shop awning across the top: stripes, then a scalloped edge in the same stripes. */
.awning {
  position: relative;
  height: 26px;
  background: repeating-linear-gradient(90deg, var(--stripe-a) 0 40px, var(--stripe-b) 40px 80px);
  filter: drop-shadow(0 3px 3px rgba(29, 27, 22, 0.12));
}
.awning::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 20px;
  background: inherit;
  -webkit-mask: radial-gradient(20px at 20px 0, #000 97%, transparent 100%) 0 0 / 40px 20px repeat-x;
  mask: radial-gradient(20px at 20px 0, #000 97%, transparent 100%) 0 0 / 40px 20px repeat-x;
}
@media (min-width: 960px) {
  .awning {
    height: 32px;
    background: repeating-linear-gradient(90deg, var(--stripe-a) 0 48px, var(--stripe-b) 48px 96px);
  }
  .awning::after {
    height: 24px;
    -webkit-mask: radial-gradient(24px at 24px 0, #000 97%, transparent 100%) 0 0 / 48px 24px repeat-x;
    mask: radial-gradient(24px at 24px 0, #000 97%, transparent 100%) 0 0 / 48px 24px repeat-x;
  }
}

.top {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mark {
  font-family: var(--display);
  font-weight: 650;
  font-size: 27px;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--ink);
}
.mark .dot { color: var(--tomato); }
.soon {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green);
  background: var(--green-tint);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}

/* Hero: the pitch, the form and the reasons. On wide screens the form sits on the right of both. */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  display: grid;
  gap: 36px;
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas: "pitch card" "why card";
    grid-template-rows: auto 1fr;
    column-gap: 72px;
    row-gap: 56px;
    padding-top: 72px;
    align-items: start;
  }
  .pitch { grid-area: pitch; }
  .card { grid-area: card; position: sticky; top: 24px; }
  .why { grid-area: why; }
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
h1 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(52px, 9.5vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}
h1 .accent { color: var(--green); }
.lede {
  margin: 0;
  max-width: 33ch;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
}

/* The form card. */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 30px 28px 26px;
  scroll-margin-top: 24px;
}
.card-title {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.hint { margin: 0 0 18px; color: var(--ink-2); font-size: 15.5px; }

.roles {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 14px;
  padding: 4px;
  border: 0;
  border-radius: 13px;
  background: var(--seg-track);
}
.roles input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.roles label {
  padding: 10px 8px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.roles label:hover { color: var(--ink); }
.roles input:checked + label {
  background: var(--seg-on);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(29, 27, 22, 0.1), 0 3px 10px -4px rgba(29, 27, 22, 0.2);
}
.roles input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Shopper and seller parts of the form. Without JavaScript :has() switches them; with it, data-role does. */
.signup:has(#role-sell:checked) .for-shop { display: none; }
.signup:not(:has(#role-sell:checked)) .for-sell { display: none; }
.signup[data-role="sell"] .for-shop { display: none; }
.signup[data-role="shop"] .for-sell { display: none; }

.field { margin: 0 0 16px; min-width: 0; }
.field > label, .chips legend {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.opt { margin-left: 4px; font-weight: 400; color: var(--ink-3); }

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 92px; resize: vertical; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 0.85; }
input:hover, textarea:hover, select:hover { border-color: var(--ink-3); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 28%, transparent);
}
[aria-invalid="true"] { border-color: var(--danger) !important; }
.err { margin: 6px 0 0; font-size: 14px; color: var(--danger); }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg);
  pointer-events: none;
}

.pair { display: grid; gap: 0 12px; }
@media (min-width: 480px) { .pair { grid-template-columns: 1fr 1fr; } }

.chips { border: 0; padding: 0; min-width: 0; }
.chips legend { float: left; width: 100%; padding: 0; }
.chip-row { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip span {
  display: inline-block;
  padding: 8px 13px;
  font-size: 14px;
  line-height: 1.25;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip span:hover { border-color: var(--ink-3); }
.chip input:checked + span { color: var(--on-green); background: var(--green); border-color: var(--green); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: -4px 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  cursor: pointer;
}
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }

.more { margin: 2px 0 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.more summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 2px 0 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}
.more[open] summary::before { transform: rotate(45deg); }
.more[open] summary { margin-bottom: 14px; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.go {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  color: var(--on-green);
  background: var(--green);
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.15s, transform 0.06s;
}
.go:hover { background: var(--green-2); }
.go:active { transform: translateY(1px); }
.go:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.go[disabled] { opacity: 0.7; cursor: progress; }
.status { margin: 12px 0 0; font-size: 14.5px; color: var(--danger); }
.status:empty { display: none; }
.fine { margin: 14px 0 0; font-size: 13px; text-align: center; color: var(--ink-3); }

/* After signing up. */
.done { padding: 22px 6px 10px; text-align: center; outline: none; }
.done-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-tint);
}
.done h2 {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.015em;
}
.done p { margin: 0 auto 6px; max-width: 34ch; color: var(--ink-2); }
.done .share-line { margin-top: 22px; max-width: none; font-size: 14.5px; color: var(--ink-3); }
.ghost {
  margin-top: 8px;
  padding: 11px 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  cursor: pointer;
}
.ghost:hover { background: var(--green-tint); }
.ghost:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* For sellers, for shoppers. */
.why { display: grid; gap: 36px; }
@media (min-width: 640px) and (max-width: 959px) { .why { grid-template-columns: 1fr 1fr; } }
.side h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.side ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.side li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 16.5px; }
.side li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 3.5px solid var(--green);
  background: var(--green-tint);
}
.side strong { color: var(--ink); font-weight: 650; }
.cta {
  display: inline-block;
  margin-top: 16px;
  font-weight: 650;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}
.cta:hover { color: var(--green-2); }
.cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.foot {
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
}

/* The thank-you, error and not-found pages. */
.note-page { max-width: 560px; margin: 0 auto; padding: 56px 24px 80px; }
.note-page p { color: var(--ink-2); }
.errs { margin: 0 0 18px; padding-left: 20px; color: var(--danger); }
.errs li { margin: 4px 0; }

@media (max-width: 520px) {
  .top { padding: 32px 16px 0; }
  .hero { padding: 24px 16px 56px; gap: 30px; }
  .card { padding: 24px 18px 22px; border-radius: 18px; }
  .card-title { font-size: 27px; }
  .foot { padding: 22px 16px 36px; }
  .note-page { padding: 40px 16px 64px; }
}

/* The admin pages: sign in with Adena, then the signups. */
.who { display: flex; align-items: center; gap: 10px; margin: 0; }
.ghost.slim { margin: 0; padding: 6px 14px; font-size: 14px; border-radius: 999px; }
.status.info { color: var(--ink-2); }
.get-adena { margin: 14px 0 0; }
.get-adena a, .meta a { color: var(--green); }

.admin { max-width: 1160px; margin: 0 auto; padding: 44px 24px 80px; }
.admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  margin: 0 0 24px;
}
.admin-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.admin-sub { margin: 0; font-size: 14px; color: var(--ink-3); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 30px; }
.stats div { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.stats dt { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.stats dd { margin: 6px 0 0; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tabs {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  margin: 0 0 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--seg-track);
}
.tabs a {
  padding: 9px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] {
  background: var(--seg-on);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(29, 27, 22, 0.1), 0 3px 10px -4px rgba(29, 27, 22, 0.2);
}
.tabs a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.tallies { display: grid; gap: 18px; margin: 0 0 28px; }
@media (min-width: 860px) { .tallies { grid-template-columns: 1fr 1fr; gap: 32px; } }
.tallies h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li {
  padding: 5px 11px;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--green);
  background: var(--green-tint);
  border-radius: 999px;
}
.tags b { margin-left: 3px; font-weight: 700; }

.people { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.person { padding: 18px 22px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.person-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.person h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.person.shopper h2 { font-family: var(--body); font-size: 17px; font-weight: 650; letter-spacing: 0; }
.person.shopper h2 a { color: var(--ink); text-decoration: none; }
.person.shopper h2 a:hover { text-decoration: underline; }
.biz { font-weight: 600; color: var(--ink-2); }
.person time { margin-left: auto; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.person p { margin: 8px 0 0; overflow-wrap: anywhere; }
.sells { white-space: pre-line; }
.person .tags { margin-top: 12px; }
.meta { font-size: 14.5px; color: var(--ink-2); }
.faint { color: var(--ink-3); }
.person blockquote {
  margin: 12px 0 0;
  padding: 2px 0 2px 14px;
  border-left: 3px solid var(--line-2);
  color: var(--ink-2);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.flag { font-size: 13.5px; color: var(--tomato); }
.empty { margin: 0; padding: 48px 0; text-align: center; color: var(--ink-3); }
.downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.downloads .ghost { display: inline-block; margin: 0; text-decoration: none; }
.downloads .cta { margin: 0; }

@media (max-width: 520px) {
  .admin { padding: 30px 16px 64px; }
  .person { padding: 16px 16px 18px; }
  .person time { margin-left: 0; width: 100%; }
  .who .soon { display: none; }
}
