:root {
  --blue: #0057ff;
  --blue-dark: #0043c7;
  --blue-soft: #eaf1ff;
  --ink: #0c0d12;
  --muted: #626978;
  --line: #dfe4ee;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --success: #0b8f55;
  --danger: #d93247;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px rgba(22, 46, 92, .10);
  --container: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.app-shell { min-height: 100vh; overflow: clip; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  height: 58px; display: flex; align-items: center;
  padding-inline: max(18px, env(safe-area-inset-left));
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223,228,238,.75);
}
.brand { font-weight: 800; letter-spacing: -.035em; font-size: 1.08rem; }
.hero { padding-bottom: 20px; }
.hero-media { position: relative; height: min(38vh, 360px); min-height: 220px; overflow: hidden; background: #eff3fb; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: fadeIn .55s ease both; }
.hero-sheen { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(255,255,255,.18)); pointer-events: none; }
.hero-copy { padding-top: 28px; }
.eyebrow, .step-label, .small-label { margin: 0 0 8px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; }
h1 { max-width: 12ch; font-size: clamp(2.45rem, 11vw, 4.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.65rem, 7vw, 2.45rem); line-height: 1.12; }
h3 { font-size: 1.35rem; line-height: 1.2; }
.hero-subtitle { max-width: 34ch; margin: 18px 0 24px; color: var(--muted); font-size: 1.08rem; line-height: 1.55; }
.button { border: 0; border-radius: 999px; min-height: 54px; padding: 0 24px; font-weight: 800; cursor: pointer; transition: transform .14s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 28px rgba(0,87,255,.25); }
.button-primary:hover { background: var(--blue-dark); }
.button-full { width: 100%; }
.pressable:active { transform: scale(.975); }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 14px 26px; color: var(--muted); font-size: .77rem; text-align: center; }
.trust-strip div { padding: 10px 5px; border-radius: 14px; background: var(--surface-soft); }
.trust-strip span { color: var(--blue); display: block; font-size: 1.1rem; margin-bottom: 4px; }
.section { padding-block: 48px; }
.section-soft { background: var(--surface-soft); }
.section-heading { margin-bottom: 26px; }
.section-heading > p:not(.step-label) { color: var(--muted); line-height: 1.55; }
.choice-group { border: 0; padding: 0; margin: 0 0 30px; }
.choice-group legend { font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; }
.segmented { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.segmented input, .style-card input, .shipping-option input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { min-height: 52px; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; font-weight: 800; background: white; transition: .18s ease; cursor: pointer; }
.segmented input:checked + span { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 8px 22px rgba(0,87,255,.18); }
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.style-card { display: block; cursor: pointer; }
.style-card-inner { min-height: 136px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; background: white; transition: .2s ease; box-shadow: 0 8px 24px rgba(23,39,78,.04); }
.style-card input:checked + .style-card-inner { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.style-card-color .style-title, .style-card-color .style-price { color: var(--blue); }
.style-card-color input:checked + .style-card-inner { border-color: var(--blue); box-shadow: 0 18px 45px rgba(0,87,255,.16); }
.style-title { font-weight: 850; }
.style-price { margin-top: 8px; font-size: 1.45rem; font-weight: 900; }
.badge { align-self: flex-start; margin-bottom: auto; padding: 6px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: .68rem; font-weight: 850; }
.badge[hidden] { display: none; }
.preview-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: white; box-shadow: var(--shadow); }
.preview-image-wrap { height: 310px; background: #f3f4f8; }
.preview-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease; }
.preview-copy { padding: 24px; }
.preview-copy p { color: #c5cada; line-height: 1.5; }
.preview-copy .small-label { color: #8cb0ff; }
.price-row { margin-top: 22px; display: flex; justify-content: space-between; align-items: baseline; }
.price-row strong { font-size: 1.75rem; }
.upload-grid { display: grid; gap: 12px; }
.upload-card { min-height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; border: 1.5px dashed #b9c3d7; border-radius: var(--radius); background: white; cursor: pointer; transition: .18s ease; }
.upload-card:hover { border-color: var(--blue); box-shadow: 0 14px 36px rgba(0,87,255,.10); }
.upload-primary { background: var(--blue); color: white; border-style: solid; border-color: var(--blue); }
.upload-icon { font-size: 1.6rem; }
.upload-card span:last-child { opacity: .72; font-size: .86rem; }
.photo-preview, .review-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.photo-thumb { position: relative; width: 86px; height: 86px; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 20px rgba(21,40,75,.12); background: #e9edf5; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0,0,0,.72); color: white; cursor: pointer; }
.helper { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-weight: 750; }
.form-grid label span { font-size: .88rem; }
.form-grid em { color: var(--muted); font-weight: 500; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); padding: 15px 16px; outline: none; transition: border-color .16s ease, box-shadow .16s ease; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,87,255,.10); }
.shipping-group { margin-top: 32px; }
.shipping-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; cursor: pointer; transition: .18s ease; }
.shipping-option::before { content: ''; width: 20px; height: 20px; border: 2px solid #aeb8ca; border-radius: 50%; }
.shipping-option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.shipping-option:has(input:checked)::before { border-color: var(--blue); box-shadow: inset 0 0 0 5px white; background: var(--blue); }
.shipping-option span { display: flex; flex-direction: column; }
.shipping-option small { color: var(--muted); margin-top: 3px; }
.review-card { margin-top: 38px; padding: 24px; border-radius: var(--radius-lg); background: var(--blue-soft); box-shadow: 0 18px 48px rgba(0,87,255,.10); }
.review-card dl { margin: 26px 0; }
.review-card dl div, .totals div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(0,87,255,.12); }
.review-card dt, .totals span { color: var(--muted); }
.review-card dd { margin: 0; text-align: right; font-weight: 750; max-width: 60%; }
.total-row { font-size: 1.2rem; border-bottom: 0 !important; padding-top: 18px !important; }
.total-row strong { color: var(--blue); font-size: 1.55rem; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.check-row input { width: 20px; height: 20px; accent-color: var(--blue); }
.save-status { margin: 12px 0 0; text-align: center; color: var(--success); font-size: .78rem; }
.artist-signoff { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 0 72px; color: var(--muted); font-size: .75rem; }
.artist-signoff img { width: 140px; max-height: 58px; object-fit: contain; filter: contrast(1.1); }
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); z-index: 50; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 999px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: .22s ease; box-shadow: var(--shadow); font-weight: 750; font-size: .86rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@keyframes fadeIn { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }
@media (min-width: 700px) {
  .hero-media { height: 440px; }
  .hero-copy { padding-top: 38px; }
  .upload-grid { grid-template-columns: 1.2fr 1fr; }
  .preview-card { display: grid; grid-template-columns: 1.08fr .92fr; }
  .preview-image-wrap { height: 420px; }
  .preview-copy { display: flex; flex-direction: column; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
