@font-face {
  font-family: Sansita;
  src: url('/fonts/sansita-latin-800.woff2?v=829a6bb3e652') format('woff2');
  font-weight: 800;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/inter-full.woff2?v=2dcd3612039a') format('woff2');
  font-weight: 400 700;
;unicode-range:U+250-254,U+256-27B,U+27E-284,U+286-290,U+292-2A4,U+2A6-304,U+306-30A,U+30C,U+30F,U+313,U+315,U+31B,U+323,U+326-328,U+32C,U+337-338,U+342-343,U+346-36F,U+374-376,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3D7,U+3DC-3DD,U+3F0-3F6,U+3F9-3FA,U+3FC-479,U+480-49D,U+4A0-4FF,U+52F,U+E3F,U+1D00,U+1D0D,U+1D1B,U+1D43,U+1D47-1D49,U+1D4D,U+1D4F-1D50,U+1D52,U+1D56-1D58,U+1D5B,U+1D62-1D65,U+1D9C,U+1DA0,U+1DBB,U+1DBF-1DF5,U+1DFC-1DFF,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2C7C,U+2C7F,U+2DFF,U+2E18,U+A69F,U+A7FF,U+A92E,U+E000,U+E002-E05E,U+E06A-E0BD,U+E0C8-E0CC,U+E0DC-E0E6,U+E0F3-E0F5,U+E106,U+E109-E10A,U+E10C-E10F,U+E111-E113,U+E117-E118,U+E121-E122,U+E124,U+E12A-E15E,U+E163,U+E1C3,U+E1D2-E1DF,U+E1E1-E2DC,U+EE01-EE07,U+EE09-EE0A,U+EE0C-EE12,U+EE14,U+EE17,U+EE1D-EE45,U+EE47-EE84,U+EE87-EED6,U+EED8-EEE1,U+F6C3,U+1F12F-1F149,U+1F16A-1F16B,U+1F850,U+1F852;}
@font-face {
  font-family: Inter;
  src: url('/fonts/inter-latin.woff2?v=2269fab2e6c0') format('woff2');
  font-weight: 400 700;
;unicode-range:U+0000-024F,U+1E00-1EFF,U+2000-2BFF,U+FEFF,U+FFFD;}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-latin-700.woff2?v=28453852ea16') format('woff2');
  font-weight: 700;
}

:root {
  --canvas: #fbf5ee;
  --paper: #fff;
  --text: #352632;
  --muted: #62515d;
  --line: #e7d9de;
  --accent: #512d47;
  --green-text: #743e63;
  --selected: #f5e1e5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 16px/1.5 Inter, Arial, sans-serif; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; }
a { color: inherit; }
.create-header { height: 65px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font: 700 22px/1 'Playfair Display', Georgia, serif; }
.wordmark em { color: var(--accent); }
.flow { width: min(560px, calc(100% - 40px)); margin: 14px auto 0; padding-bottom: 100px; }
.flow:has(.email-screen) { width: min(448px, calc(100% - 40px)); }
.progress { height: 4px; border: 0; width: 100%; display: block; appearance: none; }
.progress::-webkit-progress-bar { background: var(--line); border-radius: 4px; }
.progress::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
.progress::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
.prompt { margin: 48px 0 32px; text-align: center; }
.prompt.left { text-align: left; margin-top: 31px; margin-bottom: 24px; }
h1 { margin: 0; font: 700 32px/1.2 'Playfair Display', Georgia, serif; }
h1:focus { outline: none; }
.prompt p { margin: 12px 0 0; color: var(--muted); }
.prompt.left h1 { font-size: 28px; }
.highlight { color: var(--accent); }
fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
legend, label { display: block; margin-bottom: 12px; font-weight: 600; }
legend span { color: var(--green-text); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option {
  min-height: 48px; padding: 10px 18px; border: 1px solid var(--line);
  border-radius: 26px; background: var(--paper); color: var(--text);
  font-size: 14px; font-weight: 600; box-shadow: 0 1px 3px #00000009;
}
.option[aria-pressed="true"] { outline: 1px solid var(--accent); outline-offset: -2px; background: var(--selected); color: var(--green-text); }
.cards { display: grid; }
.cards .option { min-height: 74px; text-align: left; border-radius: 12px; }
.cards .option small { display: block; color: var(--muted); font-weight: 400; }
.help { color: var(--muted); font-size: 13px; margin: 7px 0 12px; }
input:not([type=file]), textarea, select {
  width: 100%; background: var(--paper); color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; min-height: 54px;
}
textarea { resize: vertical; min-height: 155px; }
.memory-tips, .memory-example, .capacity-note, .emotional-benefits { padding: 16px; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.memory-tips h2, .memory-bridge h2, .emotional-benefits h2, .checkout-extras h2 { font: 700 20px/1.3 'Playfair Display', Georgia, serif; margin: 0 0 8px; color: var(--accent); }
.memory-tips ul, .emotional-benefits ul { padding-left: 20px; margin: 8px 0; }
.memory-tips li, .emotional-benefits li { margin: 6px 0; }
.memory-tips p, .memory-example p, .capacity-note p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.memory-tips small { color: var(--muted); display: block; margin-top: 8px; }
.bridge-photo { margin: 0 0 24px; text-align: center; }
.bridge-photo img { display: block; width: 100%; max-height: 200px; object-fit: cover; border-radius: 12px; }
.bridge-photo p { font: italic 16px Georgia, serif; color: var(--muted); }
.memory-bridge audio { width: 100%; margin-top: 12px; }
.capacity-note { background: var(--selected); border-color: var(--accent); }
.checkout-extras { margin: 24px 0; }
.checkout-extras select { margin-bottom: 12px; }
.payment .addon { display: flex; gap: 10px; align-items: center; padding: 14px 10px; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; cursor: pointer; }
.payment .addon input { width: 20px; height: 20px; min-height: 20px; accent-color: var(--accent); flex: none; }
.addon span { flex: 1; min-width: 0; }
.addon small { display: block; color: var(--muted); font-weight: 400; }
.addon:has(input:checked) { background: var(--selected); border-color: var(--accent); }
.emotional-benefits { margin-top: 0; background: var(--canvas); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.preview-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.preview-option { display: flex; min-width: 0; align-items: stretch; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.preview-option .option { flex: 1; min-width: 0; border: 0; border-radius: 8px; padding: 8px; text-align: left; overflow-wrap: anywhere; }
.mini-preview { display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--accent); flex: none; border: 0; background: var(--selected); border-radius: 8px; padding: 8px; min-height: 44px; font-size: 11px; font-weight: 700; }
.mini-preview[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.preview-status:empty { display: none; }
.memory-chips { margin: 0 0 16px; }
.memory-chip { text-align: left; }
.memory-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--accent); }
.crafting-screen { text-align: center; }
.crafting-note { width: 86px; height: 86px; border-radius: 50%; background: var(--selected); color: var(--accent); display: grid; place-items: center; margin: 30px auto; font-size: 40px; }
.crafting-list { list-style: none; padding: 0; text-align: left; }
.crafting-list li { padding: 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.crafting-list li::before { content: '○'; margin-right: 10px; color: var(--accent); }
.crafting-list li.complete::before { content: '✓'; font-weight: 700; }
.crafting-list li.complete { color: var(--text); }
.delivery-options { margin: 12px 0 24px; }
.payment .delivery-card { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; }
.delivery-card:has(input:checked) { border: 2px solid var(--accent); padding: 11px; background: var(--selected); }
.payment .delivery-card input { width: 18px; height: 18px; min-height: 18px; padding: 0; flex: none; accent-color: var(--accent); }
.delivery-card span { flex: 1; min-width: 0; }
.delivery-card small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.delivery-card b { white-space: nowrap; }
@media(max-width: 420px) { .preview-options { grid-template-columns: 1fr; } }
.file-label {
  position: relative; display: grid; place-items: center; min-height: 92px;
  border: 2px dashed var(--line); border-radius: 14px; background: var(--paper); cursor: pointer;
}
.file-label:focus-within { outline: 2px solid var(--accent); }
.file-label input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.file-preview { max-width: 140px; max-height: 140px; object-fit: cover; border-radius: 10px; display: block; margin: 12px auto; }
.photo-panel { margin-top: 30px; }
.skip { display: block; margin: 28px auto; padding: 12px; border: 0; background: transparent; color: var(--muted); }
.testimonial { border-top: 1px solid var(--line); padding-top: 18px; text-align: center; color: var(--muted); font-size: 13px; font-style: italic; }
.testimonial img { width: 100%; border-radius: 10px; }
.wizard-footer { position: fixed; bottom: 0; inset-inline: 0; z-index: 2; padding: 14px 20px; background: var(--canvas); border-top: 1px solid var(--line); }
.wizard-buttons { width: min(600px, 100%); display: flex; gap: 8px; margin: auto; }
.primary, .back, .secondary {
  background: var(--accent); color: white; border: 0; border-radius: 8px;
  min-height: 56px; padding: 12px 16px; font-weight: 700;
}
.primary { width: 100%; }
.primary:hover:enabled { background: #743e63; }
.back, .secondary { background: var(--paper); color: var(--green-text); border: 1px solid var(--line); }
.email-screen { text-align: center; font-size: 13px; }
.email-screen > small { display: block; margin: 14px 0 2px; }
.email-screen h1 { font-size: 38px; }
.song-specs, .benefits { display: flex; justify-content: space-around; gap: 8px; padding: 8px 0; margin: 6px 0; }
.song-specs { border-block: 1px solid var(--line); }
.song-specs small { display: block; color: var(--muted); }
.priority { background: #e8f3ed; border: 1px solid #b0e0ce; border-radius: 12px; text-align: left; padding: 10px 12px; }
.priority b { color: #087f61; }
.benefits span { flex: 1; padding: 8px 4px; background: white; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; }
.email-screen h2 { margin: 7px 0 4px; font-size: 20px; }
.email-screen input { text-align: center; margin-bottom: 12px; }
.email-screen .primary { background: #cd3a11; }
.checkout-intro { text-align: center; margin: 44px 0 14px; }
.checkout-intro h1 { font-size: 27px; }
.checkout-intro p { margin: 6px 0 18px; color: var(--muted); }
.checkout-intro .checkout-total { margin: 12px 0; font-size: 24px; font-weight: 700; color: var(--accent); }
.checkout-total span { font-size: 13px; font-weight: 400; color: var(--muted); }
.date-pill { display: inline-block; color: white; background: var(--accent); padding: 10px 17px; border-radius: 22px; font-size: 14px; font-weight: 700; }
.payment, .summary, .promise { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.payment label, .payment legend { font-size: 14px; margin: 0 0 5px; }
.payment input { font-size: 15px; }
.card-fields { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin: 12px 0 20px; }
.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.trust { text-align: center; font-size: 12px; color: var(--muted); }
.trust img { display: block; width: min(270px, 100%); margin: 18px auto; }
.summary { padding: 18px; background: #f4f1ed; }
.summary h2 { font-size: 17px; margin: 0; }
.summary dl { margin: 8px 0; padding: 8px 0; border-top: 1px solid var(--line); }
.summary dl div { display: flex; justify-content: space-between; gap: 14px; margin: 7px 0; font-size: 14px; }
.summary dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.summary .total { font-size: 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.edit { width: 100%; margin-top: 10px; min-height: 44px; background: #fff1c7; border: 1px solid #ebb263; border-radius: 8px; color: #973f10; font-weight: 700; }
.guarantee { background: #e8f8ed; color: #16783a; border-radius: 8px; text-align: center; padding: 14px; font-size: 14px; font-weight: 700; }
.promise { margin-top: 12px; background: #fff3cd; color: #8d3b10; font-size: 14px; }
@media (min-width: 900px) {
  .flow:has(.checkout-intro) { width: min(900px, calc(100% - 48px)); }
  .payment { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .checkout-side { position: sticky; top: 24px; }
}
#review { width: min(560px, calc(100% - 32px)); max-height: 87dvh; background: white; color: var(--text); border: 0; border-radius: 14px; padding: 20px; }
#review::backdrop { background: #0009; }
#review h2 { font: 800 21px Sansita, Georgia, serif; margin-top: 0; }
#review .secondary, #review .primary { width: 50%; }
.review-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 600px) {
  .flow { width: calc(100% - 32px); }
  .prompt { margin-top: 36px; }
  h1 { font-size: 27px; }
  .option { min-height: 44px; padding: 9px 13px; }
  .payment { padding: 14px; }
}
.memorial-date-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.memorial-date-fields > div { min-width: 0; }
.memorial-date-fields input { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
.date-error { color: #a3213c; font-size: 14px; margin: 8px 0; }
@media (max-width:600px) { .memorial-date-fields { grid-template-columns: minmax(0,1fr); } }

.create-header.confirmation-header { display: flex; justify-content: space-between; height: 80px; padding-inline: max(24px, calc((100% - 1120px) / 2)); background: var(--paper); }
.confirmation-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.confirmation-nav a { text-decoration: none; padding-block: 12px; }
.confirmation-nav a:hover { text-decoration: underline; }
.flow.confirmation-page { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 32px; }
.confirmation-hero { text-align: center; }
.confirmation-check { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 24px; border-radius: 50%; background: var(--selected); color: var(--accent); }
.confirmation-check svg { width: 24px; height: 24px; }
.confirmation-hero h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; color: var(--accent); }
.confirmation-hero > p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.confirmation-reference { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 100%; margin-top: 24px; padding: 0 4px 0 20px; border: 1px solid var(--line); border-radius: 28px; font-size: 13px; }
.confirmation-reference > span { color: var(--muted); }
.confirmation-reference strong { overflow-wrap: anywhere; }
.confirmation-reference button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--accent); border-radius: 50%; }
.confirmation-reference button:hover { background: var(--selected); }
.confirmation-reference svg { width: 18px; height: 18px; }
.confirmation-hero .confirmation-copy-status { min-height: 20px; margin: 4px 0 0; font-size: 12px; color: var(--accent); }
.confirmation-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 64px; margin-top: 24px; }
.confirmation-next { grid-column: 1; grid-row: 1; }
.confirmation-next > h2 { font: 700 26px/1.3 'Playfair Display', Georgia, serif; margin: 0 0 28px; color: var(--accent); }
.confirmation-next ol { list-style: none; counter-reset: next; padding: 0; margin: 0; }
.confirmation-next li { position: relative; padding: 0 0 28px 52px; counter-increment: next; font-size: 15px; }
.confirmation-next li::before { content: counter(next); position: absolute; top: 0; left: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--selected); color: var(--accent); border-radius: 50%; font-weight: 600; font-size: 13px; z-index: 1; }
.confirmation-next li:not(:last-child)::after { content: ''; position: absolute; top: 36px; bottom: 4px; left: 15px; width: 1px; background: var(--line); }
.confirmation-next li p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.confirmation-email { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 0; }
.confirmation-email svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }
.confirmation-email p { margin: 0; font-size: 13px; line-height: 1.6; }
.confirmation-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 12px 20px; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; border-radius: 6px; border: 1px solid transparent; }
.confirmation-primary { background: var(--accent); color: var(--paper); margin-top: 24px; }
.confirmation-primary:hover { background: var(--green-text); }
.confirmation-save { display: block; border: 0; background: transparent; color: var(--accent); padding: 12px 0; min-height: 44px; font-size: 12px; text-decoration: underline; }
.confirmation-receipt { grid-column: 2; grid-row: 1; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); min-width: 0; }
.confirmation-receipt > h2 { font-size: 19px; margin: 0 0 24px; color: var(--accent); }
.confirmation-song { display: flex; align-items: center; gap: 16px; }
.confirmation-note { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 8px; background: var(--selected); font-size: 25px; color: var(--accent); }
.confirmation-song h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.confirmation-song p { margin: 4px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.confirmation-receipt dl { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.confirmation-receipt dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 13px; margin-bottom: 16px; }
.confirmation-receipt dt { color: var(--muted); }
.confirmation-receipt dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.confirmation-receipt .confirmation-total { border-top: 1px solid var(--line); padding-top: 20px; margin: 24px 0 0; font-weight: 600; font-size: 17px; }
.confirmation-total dt { color: var(--text); }
.confirmation-actions { display: flex; justify-content: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.confirmation-another { background: var(--selected); color: var(--accent); }
.confirmation-home { border-color: var(--accent); color: var(--accent); }
.confirmation-another:hover, .confirmation-home:hover { background: var(--line); }
@media (max-width:760px) {
  .create-header.confirmation-header { height: 64px; padding-inline: 20px; }
  .confirmation-header .wordmark { font-size: 18px; }
  .confirmation-nav { gap: 0; font-size: 12px; }
  .confirmation-nav a:first-child { display: none; }
  .flow.confirmation-page { width: calc(100% - 40px); padding: 32px 0 max(32px, env(safe-area-inset-bottom)); }
  .confirmation-check { width: 40px; height: 40px; margin-bottom: 16px; }
  .confirmation-hero h1 { font-size: 27px; }
  .confirmation-hero > p { font-size: 13px; }
  .confirmation-reference { padding-left: 12px; gap: 8px; font-size: 11px; margin-top: 20px; }
  .confirmation-reference button { width: 44px; }
  .confirmation-layout { grid-template-columns: minmax(0,1fr); gap: 28px; margin-top: 20px; }
  .confirmation-next, .confirmation-receipt { grid-column: auto; grid-row: auto; }
  .confirmation-receipt { padding: 20px; }
  .confirmation-receipt > h2 { font-size: 17px; margin-bottom: 20px; }
  .confirmation-song { gap: 12px; }
  .confirmation-song h3 { font-size: 16px; }
  .confirmation-receipt dl > div { font-size: 12px; gap: 12px; }
  .confirmation-receipt .confirmation-total { font-size: 16px; }
  .confirmation-next > h2 { font-size: 22px; margin-bottom: 24px; }
  .confirmation-next li { padding-left: 44px; padding-bottom: 24px; font-size: 13px; }
  .confirmation-next li p { font-size: 12px; }
  .confirmation-email p { font-size: 12px; }
  .confirmation-primary { width: 100%; }
  .confirmation-actions { flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 16px; border: 0; }
}
