:root {
  color-scheme: light;
  --soil: #2b2118;
  --soil-hover: #3a2f24;
  --cream: #fffdf8;
  --oat: #f4efe5;
  --wheat: #d6a243;
  --olive: #55612f;
  --fieldstone: #6a5b47;
  --body: #4a3f31;
  --line: #e4daca;
  --line-soft: #ece4d6;
  --input-line: #d3c6ae;
  --wheat-soft: #fbf4e4;
  --wheat-line: #e8d6ae;
  --wheat-fill: #f3e6c6;
  --olive-line: #e3c98a;
  --badge-text: #5a4317;
  --shadow: 0 1px 2px rgba(43, 33, 24, 0.04), 0 12px 40px rgba(43, 33, 24, 0.06);
  --max: 75rem;
  --measure: 42rem;
  --ink: var(--soil);
  --muted: var(--fieldstone);
  --paper: var(--oat);
  --paper-2: var(--cream);
  --orange: var(--wheat);
  --orange-dark: #c49238;
  --coral: var(--olive);
  --mark-bg: transparent;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 400;
  background: var(--oat);
  color: var(--soil);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--soil);
  text-underline-offset: 4px;
}

a:hover { color: var(--olive); }

input, textarea, button, select { font-family: inherit; }

.frame {
  width: calc(100% - 2 * clamp(12px, 3vw, 24px));
  max-width: var(--max);
  margin: 24px auto 64px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
  background: var(--cream);
}

.header-inner {
  display: contents;
}

.site-brand,
a.site-title {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--soil);
}

.site-brand:hover,
a.site-title:hover { color: var(--soil); }

.brand-mark {
  height: 36px;
  width: auto;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
}

.site-wordmark,
.site-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 26px;
  line-height: 1;
  font-weight: 850;
  font-stretch: 68%;
  letter-spacing: -0.01em;
  color: var(--soil);
}

.site-wordmark .bar,
.site-title .bar {
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--wheat);
}

.site-title span { color: inherit; font-stretch: inherit; }

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 15px;
  flex-wrap: wrap;
}

nav a {
  color: var(--soil);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover { color: var(--olive); }

nav .btn {
  margin-top: 0;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 15px;
}

main {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 56px) clamp(40px, 5vw, 64px);
}

.home-main { padding: 0; }

h1, h2, h3 {
  font-weight: 850;
  font-stretch: 66%;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; font-stretch: 72%; font-weight: 800; line-height: 1.05; }

.kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  background: var(--wheat-soft);
  color: var(--badge-text);
  border: 1px solid var(--wheat-line);
  padding: 6px 12px;
  border-radius: 999px;
}

.lead,
.muted,
.tagline,
.fine { color: var(--fieldstone); }

.tagline {
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
  color: var(--body);
}

.fine { font-size: 0.88rem; }

.rule {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--wheat);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(20px, 4vw, 56px);
  background: var(--cream);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy h1 {
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.88;
  font-stretch: 66%;
  text-wrap: balance;
}

.hero-copy h1 .accent {
  color: var(--olive);
  text-decoration: underline;
  text-decoration-color: var(--olive-line);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.14em;
}

.hero-copy .lede {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--body);
  max-width: 480px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  margin-top: 0;
  padding: 17px 26px;
  border-radius: 12px;
  font-size: 17px;
}

.hero-actions .text-link {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.hero-actions .text-link:hover { color: var(--olive); }

.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 36px clamp(8px, 2vw, 20px) 20px;
}

.hero-preview .sheet-shadow {
  position: absolute;
  width: 78%;
  height: 80%;
  top: 16%;
  left: 14%;
  background: #efe7d8;
  border: 1px solid var(--line);
  border-radius: 16px;
  transform: rotate(2deg);
}

.prompt-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(43, 33, 24, 0.08);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: rotate(-0.75deg);
}

.prompt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prompt-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 850;
  font-stretch: 68%;
}

.prompt-card-brand img { height: 26px; width: auto; }

.pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--badge-text);
  background: var(--wheat-fill);
  padding: 4px 10px;
  border-radius: 999px;
}

.prompt-sample {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.7;
  color: var(--soil-hover);
  background: var(--oat);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 18px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Home-page sample is HTML with <br> breaks. Source wrapping must not
   become extra lines the way it does inside the guide <pre> samples. */
.prompt-card .prompt-sample {
  white-space: normal;
}

.prompt-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fieldstone);
}

.price-badge {
  position: absolute;
  top: 0;
  right: 2%;
  width: clamp(72px, 9vw, 96px);
  height: clamp(72px, 9vw, 96px);
  border-radius: 50%;
  background: var(--wheat);
  color: var(--soil);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 850;
  font-stretch: 66%;
  transform: rotate(4deg);
  box-shadow: 0 8px 24px rgba(140, 100, 40, 0.18);
}

.band {
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.band-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.band-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fieldstone);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  counter-reset: shot;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--oat);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps li::before {
  counter-increment: shot;
  content: counter(shot);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wheat);
  color: var(--soil);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  font-stretch: 72%;
}

.steps p, .steps li { color: var(--fieldstone); font-size: 15px; line-height: 1.55; }
.spin {
  border-top: 1px solid var(--line-soft);
  background: var(--oat);
  padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spin-turns {
  list-style: none;
  margin: 4px 0 6px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 40rem;
}
.spin-turns li {
  margin: 0;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--soil);
  font-size: 16px;
  line-height: 1.45;
}
.spin p {
  margin: 0;
  max-width: 40rem;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}
.lede a,
.steps a,
.spin a,
.field-help a { font-weight: 500; }
.steps li { color: var(--soil); }
.steps li p { margin: 0; color: var(--fieldstone); }

.request {
  border-top: 1px solid var(--line-soft);
  background: var(--oat);
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.request-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.request-copy .deer {
  height: 80px;
  width: auto;
  align-self: flex-start;
}

.request-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 420px;
}

.promises {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--soil-hover);
  margin: 0;
  padding: 0;
  list-style: none;
}

.promises li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promises li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--wheat-fill);
  color: var(--badge-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.shot-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--oat);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  max-width: none;
}

.request .shot-form {
  background: var(--cream);
}

.request .shot-form input,
.request .shot-form textarea,
.request .shot-form select {
  background: var(--oat);
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.field-help {
  font-size: 13px;
  font-weight: 400;
  color: var(--fieldstone);
  line-height: 1.45;
}

.optional {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fieldstone);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 14px;
  border: 1px solid var(--input-line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--soil);
}

select {
  min-height: 3.25rem;
  cursor: pointer;
}

textarea { min-height: 6rem; resize: vertical; }

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #6b7a3a;
  outline-offset: 1px;
  border-color: #6b7a3a;
}

.hint {
  font-size: 13px;
  color: var(--fieldstone);
  margin: 0;
  text-align: center;
}

.btn,
button[type="submit"] {
  display: inline-block;
  margin-top: 0;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--soil);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn:hover,
button[type="submit"]:hover {
  background: var(--soil-hover);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--soil);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--oat);
  color: var(--soil);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.flash {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  background: var(--cream);
}

.flash-ok {
  background: #eef3e6;
  color: #3a4620;
  border-color: #c9d4b0;
}

.flash-err,
.flash-bad {
  background: #fbeeee;
  color: #8a2a26;
  border-color: #edc8c6;
}

.flash-warn {
  background: var(--wheat-soft);
  color: var(--badge-text);
  border-color: var(--wheat-line);
}

.prose { max-width: var(--measure); }
body.guide .prose { max-width: none; }
.prose p, .prose li { margin: 0.7rem 0; color: var(--body); }
.prose ul { padding-left: 1.2rem; }
.prose h1, .prose h2, .prose h3 { margin: 1.4rem 0 0.6rem; }
.prose h1 {
  margin-top: 0;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: 1.05;
  text-wrap: balance;
}
.prose h2 { font-size: 1.55rem; font-stretch: 72%; }
.prose .btn { margin-top: 8px; }
.prose .prompt-sample { margin: 1rem 0; }
.prose .crumbs {
  font-size: 14px;
  margin: 0 0 1.1rem;
  color: var(--fieldstone);
}
.prose .crumbs a { color: var(--fieldstone); text-decoration: none; }
.prose .crumbs a:hover { color: var(--olive); }

.guide-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 1.4rem;
}

.guide-list li {
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line-soft);
}

.guide-list a { font-weight: 650; }

ol.guide-path {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.2rem 0 1.4rem;
}
ol.guide-path li {
  position: relative;
  margin: 0;
  padding: 0.95rem 0 0.95rem 2.7rem;
  border-top: 1px solid var(--line-soft);
  counter-increment: step;
}
ol.guide-path p {
  margin: 0.3rem 0 0;
  color: var(--fieldstone);
}
ol.guide-path li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--wheat);
  color: var(--soil);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-kicker {
  margin: 0 0 0.35rem;
  font-size: 14px;
  color: var(--fieldstone);
}
.guide-form {
  margin: 1.15rem 0;
  padding: 0.95rem 1rem;
  background: var(--oat);
  border-radius: 12px;
}
.guide-form p { margin: 0.4rem 0; }
.guide-form p:first-child { margin-top: 0; }
.guide-next {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem 1.5rem;
  margin: 1.6rem 0 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
.guide-next p { margin: 0; }

.shot-form > button[type="submit"] { width: 100%; }

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
  color: var(--fieldstone);
  font-size: 14px;
}

.footer-inner {
  padding: 24px clamp(20px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soil);
  font-size: 19px;
  font-weight: 850;
  font-stretch: 68%;
}

.footer-brand img { height: 26px; width: auto; }

.footer-tag { margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: var(--fieldstone);
  text-decoration: none;
}

.footer-links a:hover { color: var(--soil); }

.logo-lockup {
  display: block;
  height: 80px;
  width: auto;
  margin: 0 0 1.25rem;
  background: transparent;
  border-radius: 0;
}

.checkout-mount {
  min-height: 8rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.prompt-box {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--oat);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 18px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.7;
  color: var(--soil-hover);
}

.order-card {
  background: var(--oat);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 1rem;
}

table.admin,
table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--cream);
}

table.admin th,
table.admin td,
table.admin-table th,
table.admin-table td {
  text-align: left;
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.admin th,
table.admin-table th { color: var(--fieldstone); font-weight: 600; }

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.status-submitted { background: var(--wheat-fill); color: var(--badge-text); }
.status-accepted { background: #eef3e6; color: #3a4620; }
.status-paid { background: var(--wheat-soft); color: var(--badge-text); }
.status-delivered { background: var(--wheat-fill); color: var(--badge-text); }
.status-declined,
.status-expired,
.status-canceled { background: #fbeeee; color: #8a2a26; }

.dl { display: grid; grid-template-columns: 8rem 1fr; gap: 0.35rem 1rem; }
.dl dt { color: var(--fieldstone); }

.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.85em; }

.panel {
  background: var(--oat);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
}

@media (max-width: 639px) {
  .frame { width: calc(100% - 24px); margin: 12px auto 32px; border-radius: 16px; }
  nav { width: 100%; }
  .hero-copy h1 { font-size: clamp(40px, 12vw, 64px); }
  .price-badge { right: 0; }
  .dl { grid-template-columns: 1fr; }
  table.admin,
  table.admin-table {
    display: block;
    overflow-x: auto;
  }
}
