:root {
  --paper: #fdfcf9;
  --paper-warm: #fbf5e6;
  --paper-deep: #f7f2e4;
  --ink: #3a352c;
  --ink-strong: #2a2216;
  --brown: #3a2c12;
  --muted: #a09580;
  --muted-strong: #8a7a55;
  --faint: #b8a97f;
  --rule: #ede6d6;
  --rule-strong: #eadfc4;
  --gold: #d9a441;
  --orange: #b8641e;
  --blue: #1a4a8a;
  --green: #58733f;
  --red: #9b3d2f;
  --shell: 680px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover { color: var(--orange); }
button, input { font: inherit; }
h1, h2, h3, p { text-wrap: pretty; }
.page-shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  border-radius: 3px;
  background: var(--brown);
  color: #fff;
}

.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.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;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-decoration: none;
}

.brand:hover { color: var(--brown); }

.cookie-mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 -2px 0 rgba(122, 83, 22, 0.25);
}

.cookie-mark i {
  position: absolute;
  border-radius: 50%;
  background: #7a5316;
}

.cookie-mark i:nth-child(1) { width: 4px; height: 4px; top: 6px; left: 7px; }
.cookie-mark i:nth-child(2) { width: 4px; height: 4px; top: 13px; left: 14px; }
.cookie-mark i:nth-child(3) { width: 3px; height: 3px; top: 7px; left: 16px; }

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2px;
  text-align: center;
}

.tab-nav { display: flex; gap: 4px; }

.tab-nav a {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px 10px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
}

.tab-nav a:hover,
.tab-nav a.is-active {
  border-bottom-color: var(--orange);
  color: var(--orange);
}

.tab-nav a.is-active { font-weight: 700; }

.waitlist-shell { margin-top: 20px; }

.waitlist-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--paper-warm);
  color: #6b5a2e;
  font-size: 12px;
}

.oven {
  position: relative;
  width: 40px;
  height: 34px;
  border-radius: 5px 5px 3px 3px;
  background: #8a7355;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.oven-lights {
  position: absolute;
  top: 4px;
  left: 5px;
  right: 5px;
  display: flex;
  gap: 3px;
}

.oven-lights i { width: 5px; height: 3px; border-radius: 2px; background: var(--gold); }
.oven-lights i:last-child { background: #6b5a40; }

.oven-window {
  position: absolute;
  top: 10px;
  right: 6px;
  bottom: 5px;
  left: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--brown);
}

.oven-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 160, 60, 0.9), rgba(255, 120, 30, 0.25) 60%, transparent);
  animation: oven-glow 2s ease-in-out infinite;
}

.oven-window i {
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 15px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--gold);
}

@keyframes oven-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.waitlist-copy { min-width: 0; }
.status-line { margin: 0; color: #6b5a2e; font-size: 12px; }
.status-line strong { color: var(--orange); }
.status-line span { color: var(--muted-strong); }

.waitlist-copy h1 {
  margin: 6px 0 0;
  color: var(--ink-strong);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.4px;
}

.waitlist-copy > p:last-child {
  max-width: 530px;
  margin: 4px 0 0;
  color: var(--muted-strong);
  font-size: 11px;
  line-height: 1.55;
}

.signup-form {
  grid-column: 1 / -1;
  width: min(100%, 520px);
  margin: 14px auto 0;
  text-align: center;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.input-row input {
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d7c9a8;
  border-radius: 3px;
  background: #fffefa;
  color: var(--ink-strong);
  outline: none;
  font-size: 12px;
}

.input-row input::placeholder { color: var(--muted); }
.input-row input:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(184, 100, 30, 0.12); }

.input-row button,
.action-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid #9f571b;
  border-radius: 3px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(90, 42, 8, 0.17);
}

.input-row button:hover,
.action-button:hover { background: #7e3d10; }
.input-row button:disabled { cursor: wait; opacity: 0.65; }

.honey {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-note,
.form-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.form-note a { color: var(--muted-strong); text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 15px; font-weight: 700; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }

.board {
  margin-top: 16px;
  padding-bottom: 40px;
}

.board-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.board-heading h2 {
  margin: 0;
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.board-heading > span { color: var(--muted); font-size: 11px; }
.board-list { margin: 0; padding: 0; list-style: none; }

.board-row {
  display: grid;
  grid-template-columns: 20px 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 10px;
  border-bottom: 1px solid #f0ebe0;
  border-radius: 6px;
  transition: background 150ms ease;
}

.board-row:hover { background: #faf7ef; }
.rank {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.board-row:first-child .rank { color: var(--orange); font-size: 14px; }

.upvote-mark {
  width: 0;
  height: 0;
  justify-self: center;
  border-right: 7px solid transparent;
  border-bottom: 10px solid #cfc6b2;
  border-left: 7px solid transparent;
}

.row-copy { min-width: 0; }
.row-copy h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.row-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.tag {
  padding: 3px 9px;
  border-radius: 10px;
  background: var(--paper-deep);
  color: var(--faint);
  font-size: 10px;
  white-space: nowrap;
}

.recipe-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.recipe-note span { text-decoration: line-through; text-decoration-thickness: 1px; }
.recipe-note strong { color: var(--muted-strong); }

.site-footer { border-top: 1px solid var(--rule); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 11px;
}

.footer-inner nav { display: flex; gap: 18px; }
.footer-inner nav a { color: var(--muted); }
.footer-inner p { margin: 0; }

/* Secondary pages use the same compact handoff language. */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }

.masthead-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  color: var(--brown);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.masthead-inner > p { margin: 0; color: var(--muted); font-size: 10px; }

.text-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 700;
}

.error-page {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 42px;
  padding-block: 55px 70px;
}

.label { color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.error-page h1 { margin: 0; color: var(--ink-strong); font-size: clamp(28px, 6vw, 40px); line-height: 1.15; letter-spacing: -1px; }
.error-page h1 em { color: var(--orange); font-style: normal; }

.error-page { min-height: calc(100vh - 76px); align-items: center; }
.error-page > .wordmark { align-self: start; }
.error-page > div > p:not(.label) { max-width: 420px; color: var(--muted-strong); }
.action-page > div > p:not(.label) { margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 620px) {
  .tab-nav a { padding-inline: 10px; }
  .input-row { grid-template-columns: 1fr; }
  .input-row button { width: 100%; }
  .board-heading { align-items: flex-start; }
  .board-heading > span { text-align: right; }
  .board-row {
    grid-template-columns: 18px 24px minmax(0, 1fr);
    gap: 9px;
    padding-inline: 4px;
  }
  .board-row .tag { grid-column: 3; justify-self: start; margin-top: 1px; }
  .footer-inner { flex-direction: column; justify-content: center; gap: 8px; padding: 18px 0; text-align: center; }
  .masthead-inner { grid-template-columns: 1fr auto; }
  .masthead-inner > p { display: none; }
  .error-page { grid-template-columns: 1fr; gap: 24px; padding-block: 38px 55px; }
}

@media (max-width: 355px) {
  .brand { font-size: 15px; }
  .tab-nav a { padding-inline: 7px; font-size: 11px; }
  .status-line span { display: none; }
}
