:root {
  --ink: #292628;
  --muted: #6d6669;
  --brand: #752e40;
  --brand-hover: #5b2030;
  --canvas: #faf8f5;
  --line: #e8e2dd;
  --soft: #f3eaed;
  --radius: 14px;
  --shadow: 0 3px 16px rgba(42, 25, 28, 0.035);
  --bs-primary: #752e40;
  --bs-primary-rgb: 117, 46, 64;
  --bs-link-color: #752e40;
  --bs-link-hover-color: #5b2030;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--ink);
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}
h1 {
  font-size: clamp(2rem, 3vw, 3.25rem);
  letter-spacing: -0.04em;
}
h2 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
p {
  margin: 0 0 1rem;
}
hr {
  border-color: var(--line);
  opacity: 1;
  margin: 1.8rem 0;
}
small,
.small {
  font-size: 0.8rem;
}
.text-muted {
  color: var(--muted) !important;
}
.eyebrow {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.8rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.btn {
  font-size: 0.87rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}
.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-hover);
  --bs-btn-hover-border-color: var(--brand-hover);
  --bs-btn-active-bg: var(--brand-hover);
  --bs-btn-active-border-color: var(--brand-hover);
  --bs-btn-disabled-bg: var(--brand);
  --bs-btn-disabled-border-color: var(--brand);
  color: #fff;
}
.btn-outline-primary {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-bg: var(--soft);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: var(--brand);
  --bs-btn-active-bg: var(--soft);
  --bs-btn-active-color: var(--brand);
  --bs-btn-active-border-color: var(--brand);
  background: white;
}
.btn-lg {
  padding: 0.85rem 1.3rem;
  font-size: 0.9rem;
}
.btn-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.76rem;
}
.page-heading + * {
  margin-top: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1.1;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.brand-light {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.quiet-link {
  color: var(--muted);
  font-size: 0.82rem;
}
.page-heading {
  margin: 1.5rem 0 2rem;
}
.page-heading p {
  color: var(--muted);
  margin-bottom: 0;
}
.page-heading .eyebrow {
  color: var(--brand);
  margin-bottom: 0.8rem;
}
.heading-with-actions,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.full {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-control,
.form-select {
  font-size: 0.9rem;
  border-color: #ddd7d5;
  border-radius: 8px;
  padding: 0.75rem 0.8rem;
  background-color: #fdfcfb;
  color: var(--ink);
}
textarea.form-control {
  resize: vertical;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--soft);
}
.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}
.form-grid small,
.checkout-form small {
  display: block;
  color: var(--muted);
  margin-top: 0.35rem;
}
.form-check-label {
  font-weight: 400;
}
.field-validation-error,
.validation-summary-errors {
  color: #a81d37;
  font-size: 0.85rem;
}
.validation-summary-valid,
.field-validation-valid {
  display: none;
}
.input-validation-error {
  border-color: #a81d37;
}
.validation-summary-errors {
  background: #fff1f2;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.validation-summary-errors ul {
  margin-bottom: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid #8c5665;
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  background: white;
  z-index: 2000;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.badge-soft {
  background: var(--soft);
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.5rem 0.8rem;
}
.round-icon {
  background: var(--soft);
  border-radius: 50%;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.3rem;
  font-size: 1.6rem;
  color: var(--brand);
}
.back-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
}
.summary-line {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  margin: 1rem 0;
}
.summary-line span {
  color: var(--muted);
}
.summary-line strong {
  text-align: right;
}
.summary-total {
  font-size: 1.15rem;
}
.summary-total strong {
  color: var(--brand);
}
.detail-list {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 0.8rem 1.2rem;
  font-size: 0.88rem;
  margin-bottom: 0;
}
.detail-list dt {
  font-weight: 400;
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.copy-button {
  border: 0;
  background: transparent;
  color: var(--brand);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 6px;
}
.copy-button:hover {
  background: var(--soft);
}
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
}
.empty-state > i {
  display: block;
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 1rem;
}
.empty-state h2,
.empty-state h3 {
  color: var(--ink);
}
.empty-state p:last-child {
  margin-bottom: 0;
}
.narrow-page {
  max-width: 650px;
  margin: 5rem auto;
  padding: 0 20px;
}
.toast {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.spinner-border {
  vertical-align: middle;
}
.toast-body {
  overflow-wrap: anywhere;
}
.loading-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .heading-with-actions,
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .heading-with-actions > .btn {
    width: 100%;
  }
  .detail-list {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .detail-list dd {
    margin-bottom: 0.85rem;
  }
  .brand {
    font-size: 0.8rem;
  }
  .brand-light {
    font-size: 0.6rem;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .page-heading {
    margin: 1.25rem 0 1.5rem;
  }
  .form-check {
    padding-left: 1.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.brand-logo {
  width: 150px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand > span:last-child {
  overflow-wrap: anywhere;
  min-width: 0;
}
