:root {
  color-scheme: light;
  --ink: #2c2118;
  --signal: #8c3a2f;
  --soil: var(--ink);
  --soil-hover: #4a3428;
  --cream: #fffaf3;
  --oat: #f4e7d2;
  --wheat: #c4a15a;
  --olive: #3d5c45;
  --fieldstone: #6e5846;
  --body: #3d2e24;
  --line: #e4d3bc;
  --line-soft: #efe2d0;
  --input-line: #d4c0a4;
  --wheat-soft: #f8ecd4;
  --wheat-line: #e2c48a;
  --wheat-fill: #f0ddb4;
  --olive-line: #b7c9b4;
  --badge-text: #6b3a1f;
  --shadow: 0 1px 2px rgba(92, 48, 24, 0.04), 0 12px 40px rgba(92, 48, 24, 0.08);
  --max: 75rem;
  --measure: 42rem;
  --muted: var(--fieldstone);
  --paper: var(--oat);
  --paper-2: var(--cream);
  --orange: var(--wheat);
  --orange-dark: #6e2c22;
  --coral: var(--olive);
  --mark-bg: transparent;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", 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: 22px;
  line-height: 1;
  font-weight: 700;
  font-stretch: normal;
  letter-spacing: -0.03em;
  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: 700;
  font-stretch: normal;
  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: normal; font-weight: 700; 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(40px, 5.5vw, 72px);
  line-height: 0.96;
  font-stretch: normal;
  letter-spacing: -0.03em;
  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: #e6ebf0;
  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(20, 24, 31, 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;
}

@media (min-width: 640px) {
  .prompt-card-top { padding-right: 52px; }
}

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

.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: "IBM Plex 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(--signal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  font-stretch: normal;
  transform: rotate(4deg);
  box-shadow: 0 8px 24px rgba(140, 58, 47, 0.22);
}

.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(--signal);
  color: #fff;
  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: normal;
}

.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 .mark {
  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"],
input[type="datetime-local"],
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 var(--signal);
  outline-offset: 1px;
  border-color: var(--signal);
}

.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: normal; }
.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: 600; }

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(--signal);
  color: #fff;
  font-weight: 700;
  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: 700;
  font-stretch: normal;
}

.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: "IBM Plex 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;
  white-space: nowrap;
}

.status-submitted { background: var(--wheat-fill); color: var(--badge-text); }
.status-accepted { background: #e7f6ee; color: #146c43; }
.status-paid { background: var(--wheat-soft); color: var(--badge-text); }
.status-delivered,
.status-sent { background: #e7f6ee; color: #146c43; }
.status-pending_verification,
.status-verified,
.status-scheduled,
.status-sending { background: var(--wheat-soft); color: var(--badge-text); }
.status-declined,
.status-expired,
.status-failed,
.status-canceled { background: #fbeeee; color: #8a2a26; }

.choices {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.choices legend {
  width: 100%;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

.choices label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.1rem;
}

.admin-tabs a {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--soil);
  font-size: 14px;
  font-weight: 500;
  background: var(--cream);
}

.admin-tabs a.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.admin-tabs a .fine { color: inherit; opacity: 0.75; }

/* Public site: a card on autumn paper. Admin keeps .frame. */
body.site {
  background:
    radial-gradient(900px 420px at 18% -80px, #f8e3c0 0%, transparent 70%),
    radial-gradient(700px 380px at 100% 0, #edd3b4 0%, transparent 62%),
    #f3e6d0;
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
}

body.site h1,
body.site h2,
body.site h3,
body.site .site-wordmark {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 560;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

body.site main {
  padding: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(255, 248, 239, 0.92);
  border-bottom: 1px solid #e6d3b8;
  backdrop-filter: blur(12px);
}

body.site .site-wordmark {
  flex-direction: row;
  align-items: center;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.site .brand-mark { height: 36px; width: 36px; }

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}

.stage {
  display: grid;
  gap: 40px 56px;
}

.stage-copy h1 {
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 12ch;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #7a332c;
}

body.site .lede {
  margin: 22px 0 0;
  max-width: 36ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--body);
}

.composer {
  background: #fffaf4;
  border: 1px solid #e4d0b4;
  border-radius: 18px;
  padding: 28px 26px 24px;
  box-shadow: 0 18px 44px rgba(92, 48, 24, 0.08);
}

body.site .composer.shot-form {
  background: #fff;
  max-width: none;
}

.composer-kicker {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #7a332c;
}

.path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.path li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 14px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.path li:first-child { border-top: 0; padding-top: 0; }

.path .n {
  font-family: Fraunces, Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: #7a332c;
  padding-top: 2px;
}

.path strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.path p {
  margin: 4px 0 0;
  color: var(--fieldstone);
  font-size: 14px;
  line-height: 1.5;
}

.arrival {
  display: grid;
  gap: 28px;
  margin-top: clamp(48px, 8vw, 88px);
  padding-top: clamp(36px, 6vw, 64px);
  border-top: 1px solid var(--line);
}

.arrival h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 16ch;
}

.arrival p {
  max-width: 42ch;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

.letterbox {
  background: #fffaf4;
  border: 1px solid #e4d0b4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(92, 48, 24, 0.07);
}

.letterbox header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: #f8efe2;
}

.letterbox header p {
  margin: 0;
  max-width: none;
  font-size: 14px;
  color: var(--ink);
}

.letterbox header span {
  display: inline-block;
  width: 5.5rem;
  color: var(--fieldstone);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}

.letterbox pre {
  margin: 0;
  padding: 22px 22px 26px;
  white-space: pre-wrap;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--body);
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--fieldstone);
  font-size: 14px;
}

.colophon nav {
  gap: 18px;
}

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

.colophon a:hover { color: var(--ink); }

body.site .btn,
body.site button[type="submit"] {
  background: var(--signal);
  color: #fffaf3;
  border-radius: 12px;
}

body.site .btn:hover,
body.site button[type="submit"]:hover {
  background: #6e2c22;
  color: #fffaf3;
}

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

body.site .btn-ghost:hover {
  background: #fffaf3;
  color: var(--ink);
}

body.site .shot-form {
  background: #fffaf4;
  border: 1px solid #e4d0b4;
  border-radius: 18px;
  max-width: 40rem;
  box-shadow: 0 12px 32px rgba(92, 48, 24, 0.06);
}

body.site h1 {
  line-height: 1.16;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas:
      "copy form"
      "path form";
    align-items: start;
  }
  .stage-copy { grid-area: copy; }
  .composer { grid-area: form; position: sticky; top: 104px; }
  .path { grid-area: path; }
  .arrival { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 720px) {
  body.site .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 12px;
    min-height: 0;
    padding: 18px 18px 16px;
  }
  body.site .topbar nav {
    width: 100%;
    justify-content: flex-start;
    gap: 22px;
  }
  .wrap { width: min(1080px, calc(100% - 32px)); padding-top: 40px; }
  .stage-copy h1 { max-width: none; font-size: clamp(42px, 12vw, 58px); }
}

.mail-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--fieldstone);
}

.mail-meta strong { color: var(--soil); font-weight: 600; }

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

.mono { font-family: "IBM Plex 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;
  }
}
