:root {
  --sage: #e3e8dc;
  --paper: #faf8f3;
  --plum: #3a2231;
  --plum-soft: #6b5462;
  --wheat: #b8862f;
  --rose: #ecd3cc;
  --stitch: #b8862f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--sage); color: var(--plum);
  font: 17px/1.6 "Karla", system-ui, sans-serif;
}
img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-family: "Young Serif", Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 60ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; }
.muted { color: var(--plum-soft); font-size: .95rem; }

.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
}
.brand { font-family: "Young Serif", Georgia, serif; font-size: 1.3rem; text-decoration: none; }
.top-link { text-decoration: none; border-bottom: 2px dashed var(--stitch); padding-bottom: 2px; }

main > section { padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 48px); max-width: 1180px; margin: 0 auto; }

.btn {
  display: inline-block; background: var(--plum); color: var(--paper); border: 0;
  font: 700 1rem "Karla", sans-serif; padding: 15px 28px; border-radius: 999px;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #52313f; }
.btn:disabled { background: var(--plum-soft); cursor: not-allowed; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: 12px !important; }
.hero-img { outline: 2px dashed var(--stitch); outline-offset: 10px; }
.price-line { font-size: 1.1rem; }
.price-line strong { font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 1.6rem; margin-right: .3em; }

/* how */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px dashed var(--stitch); padding-top: 18px; }
.steps li::before { content: counter(s); font-family: "Young Serif", Georgia, serif; font-size: 2rem; color: var(--wheat); display: block; margin-bottom: 6px; }

/* made + gift */
.made, .gift-sec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }

/* order */
.order { background: var(--paper); max-width: none !important; }
.order-card { max-width: 1084px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.big-price { font-family: "Young Serif", Georgia, serif; font-size: 2.4rem; margin: 0; }
.field { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; font-weight: 500; }
.field select { font: inherit; padding: 8px 12px; border: 1px solid var(--plum-soft); border-radius: 8px; background: #fff; color: var(--plum); }
.gift { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 2px dashed var(--stitch); border-radius: 12px; cursor: pointer; }
.gift input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--plum); flex: none; }
.field-title { font-weight: 500; margin: 22px 0 8px; }
.relay-box { background: #fff; border: 1px solid var(--rose); border-radius: 12px; padding: 8px; min-height: 64px; overflow: hidden; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--rose); padding-top: 16px; margin: 24px 0 18px; max-width: none; }
.form-msg { min-height: 1.5em; color: #8a2b2b; margin-top: 10px; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 32px clamp(16px, 4vw, 48px); border-top: 2px dashed var(--stitch); font-size: .95rem; }
.foot p { margin: 0; }
.foot a { margin-left: 18px; }

/* legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 32px 16px 80px; }

@media (max-width: 760px) {
  .hero, .made, .gift-sec, .order-card { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gift-sec figure { order: -1; }
  .foot a { margin: 0 18px 0 0; }
  .top { gap: 12px; }
  .brand { font-size: 1rem; }
  .top-link { white-space: nowrap; font-size: .88rem; }
  .hero-img { outline-offset: 6px; margin: 6px; }
}
