* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fafaf7;
  color: #263b34;
  font:
    16px/1.65 Arial,
    sans-serif;
  letter-spacing: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
header,
footer {
  max-width: 1180px;
  margin: auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header {
  border-bottom: 1px solid #d8dfd7;
}
.brand {
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
}
.brand span {
  color: #be594c;
}
main {
  max-width: 1080px;
  margin: 56px auto 80px;
  padding: 0 32px;
  min-height: 65vh;
}
h1 {
  font:
    400 46px/1.15 Georgia,
    serif;
  margin: 12px 0 24px;
  max-width: 760px;
}
h2,
legend {
  font:
    400 29px/1.25 Georgia,
    serif;
}
h3 {
  font-size: 16px;
  margin: 0 0 12px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #68776e;
}
.intro {
  font-size: 19px;
  max-width: 650px;
}
.hint {
  font-size: 14px;
  color: #66726b;
}
button,
.upload {
  font: inherit;
  background: #244b3e;
  color: white;
  border: 1px solid #244b3e;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  min-height: 48px;
  text-align: center;
}
button:hover,
.upload:hover {
  background: #173e31;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: #244b3e;
}
.secondary:hover {
  background: #e7ece6;
}
.text-button {
  background: transparent;
  color: #244b3e;
  border: none;
  padding: 6px;
  font-size: 14px;
}
.text-button:hover {
  background: #e7ece6;
}
label {
  display: block;
  font-weight: 600;
  margin: 18px 0;
}
input:not([type="checkbox"]):not([type="file"]),
textarea,
select {
  font: inherit;
  color: #263b34;
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #a8b7ae;
  background: #fff;
  border-radius: 4px;
  margin-top: 8px;
  min-height: 48px;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #244b3e;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ba7f47;
  outline-offset: 3px;
}
.check,
.choices label {
  font-weight: 400;
}
.check input {
  vertical-align: middle;
  margin-right: 8px;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.choices label {
  margin: 8px 0;
}
.field-label {
  font-weight: 600;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #c7d4ca;
  margin: 32px 0;
}
.steps button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #63736a;
  padding: 16px 8px;
  font-size: 14px;
}
.steps [aria-current] {
  color: #244b3e;
  border-bottom: 3px solid #244b3e;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  padding: 12px 0;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0;
  padding-top: 24px;
  border-top: 1px solid #d8dfd7;
}
#next {
  margin-left: auto;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0;
}
.photo-slot {
  border: 1px solid #ced8cf;
  border-radius: 4px;
  padding: 16px;
  min-width: 0;
}
.photo-slot img,
figure img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #e8ede7;
}
.upload {
  display: block;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.photo-status {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.photo-slot:focus-within {
  outline: 2px solid #ba7f47;
}
#status {
  padding: 12px 0;
  min-height: 48px;
  color: #315647;
}
#status.error {
  color: #aa352d;
}
#privacy-actions {
  border-top: 1px solid #d8dfd7;
  padding-top: 24px;
  margin-top: 48px;
}
.review-section {
  border-top: 1px solid #d8dfd7;
  margin-top: 28px;
  padding-top: 24px;
}
.review-section h3 {
  font-size: 20px;
}
.review-section dl {
  margin-top: 0;
}
.review-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.review-photos img {
  height: 180px;
}
.review-photos figcaption {
  font-size: 14px;
  overflow-wrap: anywhere;
}
summary {
  cursor: pointer;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
}
.checkout-layout section + section {
  border-left: 1px solid #d8dfd7;
  padding-left: 40px;
}
.checkout-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.price {
  font:
    44px Georgia,
    serif;
}
.price small {
  display: block;
  font:
    14px Arial,
    sans-serif;
  margin-top: 8px;
}
footer {
  justify-content: flex-start;
  flex-wrap: wrap;
  border-top: 1px solid #d8dfd7;
  font-size: 13px;
}
dt {
  font-weight: 700;
  margin-top: 24px;
}
dd {
  margin: 4px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
figure {
  margin: 0;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #d8dfd7;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  header,
  footer {
    padding: 20px;
  }
  main {
    padding: 0 20px;
    margin-top: 32px;
  }
  h1 {
    font-size: 36px;
  }
  .two-columns,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .checkout-layout section + section {
    border: 0;
    border-top: 1px solid #d8dfd7;
    padding: 24px 0;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .photo-slot {
    padding: 12px;
  }
  .photo-slot img {
    height: 210px;
  }
  .steps button {
    font-size: 12px;
    padding: 12px 4px;
  }
  .form-actions button {
    padding: 10px 12px;
    font-size: 14px;
  }
}
@media (max-width: 380px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
.withdrawal-link { font-weight:700; text-decoration:underline; text-underline-offset:3px; }
#withdrawal, #withdrawal-confirmation { max-width:720px; }
#withdrawal-confirmation p { overflow-wrap:anywhere; }
