:root {
  --ink: #1c1915;
  --ink-soft: #3f3a34;
  --muted: #5e584f;
  --paper: #f3efe6;
  --paper-deep: #e6dfd3;
  --card: #fffcf8;
  --line: #d4cdc0;
  --line-strong: #7d756b;
  --copper: #9c4224;
  --focus: #1d4e89;
  --danger: #8d2b2b;
  --ok: #1e6b42;
  --shadow: 0 24px 50px rgba(48, 34, 18, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --brand: var(--copper);
  --brand-bg: var(--copper);
  --brand-ink: #fff;
  --on-brand: #fff;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -10%, #fff 0%, transparent 55%),
    var(--paper);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--copper);
}

a:hover {
  color: #7d3018;
}

:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 30;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.55rem;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding-block: 1.75rem 1rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--copper);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
.sheet-title,
.price {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 4.5rem);
  text-wrap: balance;
}

.lede {
  margin: 1rem 0 0;
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.hero-actions,
.report-actions,
.pair-tools,
.slot-actions,
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-actions {
  margin-top: 1.25rem;
}

.privacy-line {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 40px rgba(48, 34, 18, 0.16));
}

.hero-figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.benefits {
  padding-block: 1.5rem 0.5rem;
}

.benefits ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.benefits li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1rem 1rem 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--copper);
}

.benefits h3,
.price-card h3,
.tool-intro h2,
.prose h2 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.benefits p,
.price-card p,
.faq p {
  margin: 0;
  color: var(--ink-soft);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.pricing,
.faq,
.tool {
  padding-block: 2.2rem;
}

.price-grid {
  display: grid;
  gap: 0.9rem;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.15rem 1.15rem 1.25rem;
}

.price-card.featured {
  border-color: var(--copper);
  box-shadow: var(--shadow);
}

.price {
  margin: 0.2rem 0 0.6rem;
  font-size: 2.4rem;
}

.price span {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.price-card ul {
  margin: 0.8rem 0 1rem;
  padding-left: 1.1rem;
}

.price-card li + li {
  margin-top: 0.3rem;
}

.competitor-note,
.hint,
.field .hint {
  color: var(--muted);
  font-size: 0.98rem;
}

.competitor-note {
  margin: 1rem 0 0;
  max-width: 40rem;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.35rem 0.95rem;
}

.faq details + details {
  margin-top: 0.55rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq summary::after {
  content: "+";
  color: var(--copper);
  font-size: 1.3rem;
  margin-left: 1rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 0.85rem;
}

.tool {
  scroll-margin-top: 4.5rem;
}

.tool-intro p {
  margin: 0.4rem 0 1rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin: 0 0 0.8rem;
  padding: 0;
}

.steps button {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 600 0.92rem/1.1 var(--sans);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  cursor: pointer;
}

.steps button[aria-current="step"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.step-index {
  font-family: var(--serif);
  font-size: 0.95rem;
}

#status:empty {
  margin: 0;
}

#status {
  min-height: 1.4rem;
  margin: 0.2rem 0 0.8rem;
  color: var(--ok);
  font-weight: 600;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
}

.panel h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.field {
  margin-block: 0.85rem 0;
}

.field label,
.check-add label,
.compare-label,
.slot-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input,
textarea,
select {
  width: 100%;
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  min-height: 48px;
  accent-color: var(--brand);
}

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

.color-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.55rem;
}

input[type="color"] {
  padding: 0.25rem;
  min-height: 48px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

#logo-preview {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper-deep);
  display: grid;
  place-items: center;
  flex: none;
}

#logo-preview img,
.monogram,
.sheet-monogram,
.sheet-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.monogram,
.sheet-monogram {
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--serif);
  font-weight: 700;
  border-radius: 16px;
}

.btn,
.file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: #fff;
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary,
#tool .btn-primary {
  background: var(--brand-bg);
  color: var(--brand-ink);
}

.btn-ghost,
.file-btn {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-soon,
.btn:disabled,
.file-btn:disabled {
  background: var(--paper-deep);
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
}

.btn-danger {
  color: var(--danger);
  border-color: #e3c4c4;
}

.file-btn:focus-within,
.choice:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.checklist input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
}

.checklist label {
  margin: 0;
  font-weight: 400;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.95rem/1 var(--sans);
  min-height: 48px;
  cursor: pointer;
}

.check-add {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
  margin-top: 0.8rem;
}

.check-add label {
  grid-column: 1 / -1;
}

.errors {
  background: #f8ece8;
  border: 1px solid #e3c4c4;
  color: var(--danger);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin: 0 0 0.8rem;
}

.errors p {
  margin: 0 0 0.3rem;
  font-weight: 700;
}

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

#pairs {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pair {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.8rem;
  background: #fff;
}

.pair.is-dragged {
  box-shadow: var(--shadow);
}

.pair-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.pair-title {
  margin: 0;
  font-size: 1.15rem;
}

.drag-handle {
  touch-action: none;
  user-select: none;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  min-height: 48px;
  padding-inline: 0.9rem;
  font: 600 0.95rem/1 var(--sans);
  cursor: grab;
}

.slots {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.slot {
  border-radius: 14px;
  background: var(--paper);
  padding: 0.7rem;
}

.slot.is-drop {
  outline: 3px solid var(--focus);
}

.slot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  background: #ddd;
}

.slot-empty {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.slot-label {
  margin: 0 0 0.35rem;
}

.compare {
  margin-top: 0.8rem;
}

.compare-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
}

.compare-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-before {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  transform: translateX(-1px);
}

.chip {
  position: absolute;
  top: 0.5rem;
  background: #fffcf8;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip-left { left: 0.5rem; }
.chip-right { right: 0.5rem; }

.compare-label input {
  margin-top: 0.35rem;
}

.choices {
  display: grid;
  gap: 0.5rem;
  border: 0;
  margin: 0 0 0.8rem;
  padding: 0;
}

.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.7rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem 0.75rem;
  min-height: 48px;
  background: #fff;
}

.choice input {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 0;
}

.choice span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.92rem;
}

.choice:has(input:checked) {
  border-color: var(--ink);
}

.choice[data-locked="true"] {
  opacity: 0.62;
}

.report-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.report-preview {
  order: 2;
}

.page-count {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-weight: 600;
}

.sheet-frame {
  width: 100%;
  aspect-ratio: 612 / 792;
  position: relative;
  margin-bottom: 0.9rem;
}

.sheet {
  width: 612px;
  height: 792px;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  background: #fff;
  color: #1c1915;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 36px 40px 46px;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
}

.sheet-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.sheet-logo,
.sheet-monogram {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex: none;
}

.sheet-biz {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.05;
}

.sheet-tag,
.sheet-url,
.sheet-notes {
  margin: 4px 0 0;
  color: #5e584f;
  font-size: 14px;
}

.sheet-title {
  margin: 8px 0 0;
  font-size: 40px;
}

.sheet-work {
  margin: 14px 0 4px;
  font-family: var(--serif);
  font-size: 20px;
}

.sheet-service {
  margin: 6px 0 12px;
  color: var(--brand);
  font-weight: 700;
}

.sheet-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.sheet-meta div {
  background: #f6f3ee;
  border: 1px solid #e4ddd2;
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 78px;
}

.sheet-meta dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f685f;
  font-weight: 700;
}

.sheet-meta dd {
  margin: 4px 0 0;
  white-space: pre-wrap;
}

.sheet-thanks {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}

.sheet-review {
  margin: 8px 0 0;
  font-weight: 700;
}

.sheet-review a {
  color: inherit;
}

.sheet-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e4ddd2;
  padding-top: 8px;
}

.sheet-contact,
.watermark {
  margin: 0;
  font-size: 12px;
  color: #6f685f;
}

.sheet-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.sheet-list li {
  margin: 0 0 8px;
  padding-left: 18px;
  position: relative;
}

.sheet-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: 0.45em;
}

.sheet-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.sheet-photo {
  margin: 0;
  position: relative;
  background: #f3efe8;
  min-height: 280px;
}

.sheet-photo img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  background: #f3efe8;
}

.sheet-photo figcaption {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #fffcf8;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sheet-caption {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  margin: 14px 0 0;
}

.sheet-pair-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.sheet-pair .sheet-biz {
  font-size: 20px;
}

.sheet-bold {
  background: var(--brand);
  color: var(--on-brand);
}

.sheet-bold .sheet-card {
  background: #fffcf8;
  color: #1c1915;
  border-radius: 16px;
  padding: 22px 20px 16px;
  margin-top: 8px;
}

.sheet-bold .sheet-tag,
.sheet-bold .sheet-biz {
  color: var(--on-brand);
}

.sheet-bold .sheet-foot {
  border-top-color: color-mix(in srgb, var(--on-brand) 35%, transparent);
}

.sheet-bold .sheet-contact,
.sheet-bold .watermark {
  color: var(--on-brand);
}

.sheet-pair.sheet-bold {
  background: #fff;
  color: #1c1915;
  padding: 0 0 28px;
}

.sheet-pair.sheet-bold .sheet-pair-head {
  background: var(--brand);
  color: var(--on-brand);
  padding: 18px 28px 14px;
}

.sheet-pair.sheet-bold .sheet-biz,
.sheet-pair.sheet-bold .sheet-pair-num {
  color: var(--on-brand);
  margin: 0;
}

.sheet-pair.sheet-bold .sheet-photos,
.sheet-pair.sheet-bold .sheet-caption,
.sheet-pair.sheet-bold .sheet-foot {
  margin-inline: 28px;
}

.sheet-pair.sheet-bold .sheet-foot .sheet-contact,
.sheet-pair.sheet-bold .watermark {
  color: #6f685f;
}

.sheet-minimal {
  padding: 54px 56px 46px;
}

.sheet-minimal .sheet-title {
  font-size: 32px;
}

.sheet-minimal .sheet-meta div {
  background: transparent;
  border: 0;
  border-top: 1px solid #e4ddd2;
  border-radius: 0;
  min-height: 0;
  padding: 8px 0;
}

.sheet-minimal .sheet-photos {
  gap: 22px;
}

.sheet-minimal .sheet-photo,
.sheet-minimal .sheet-photo img {
  background: transparent;
}

dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.15rem 1.2rem;
  max-width: min(440px, calc(100% - 2rem));
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(28, 25, 21, 0.46);
}

dialog p {
  margin: 0 0 1rem;
}

legend {
  font-weight: 600;
  padding: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 600;
}

.prose {
  padding-block: 1.5rem 2rem;
}

.prose h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 0.6rem;
}

.legal-flag {
  background: #f8ece8;
  border: 1px solid #e3c4c4;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: var(--ink);
}

.prose h2 {
  margin-top: 1.6rem;
}

.prose ul {
  padding-left: 1.2rem;
}

noscript p {
  background: #f8ece8;
  margin: 0;
  padding: 0.8rem 1rem;
}

@media (min-width: 720px) {
  .slots {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-block: 2.5rem 1rem;
  }

  .benefits ol {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
  }

  .price-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .report-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: start;
  }

  .report-preview {
    order: 0;
  }

  .panel {
    padding: 1.25rem 1.35rem 1.4rem;
  }
}

@media (max-width: 420px) {
  .site-nav a {
    padding-inline: 0.35rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
