/* Send a shout-out (MAKERS-50): dark Radio Eshgh glass, green #64edaa, Unbounded headings, phone first. Brand greens and
   cream only, plus the soft red for errors (owner rule; audit P6-01, October 31, 2026).
   Motion: springy entrances, the live preview, a heart burst after paying. Reduce Motion: fades only. */
.so-page { --so-green: #64edaa; --so-ink: #002312; --so-card: rgba(255, 255, 255, .055); --so-line: rgba(255, 255, 255, .1); --so-soft: var(--ink-2, #a1a1a6); --so-spring: cubic-bezier(.34, 1.56, .64, 1); --so-ease: cubic-bezier(.16, 1, .3, 1); padding-bottom: 56px; color: var(--ink, #f5f5f7); }
.so-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.so-masthead { padding-top: clamp(96px, 11vw, 150px); padding-bottom: 10px; }
.so-masthead .eyebrow { justify-content: flex-start; }
.so-masthead h1 { font-family: Unbounded, system-ui, sans-serif; font-weight: 500; font-size: clamp(36px, 6vw, 72px); letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.so-lead { max-width: 640px; margin: 16px 0 0; color: var(--so-soft); font-size: 18px; line-height: 1.5; }
.so-body { margin-top: 24px; }

/* Loading: a calm shimmer. */
.so-skeleton { display: grid; gap: 14px; }
.so-page [hidden] { display: none !important; }
.so-skel { display: block; border-radius: 18px; background: linear-gradient(100deg, rgba(255,255,255,.05) 30%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.05) 70%); background-size: 300% 100%; animation: so-shimmer 1.4s ease-in-out infinite; }
.so-skel-stage { height: 200px; border-radius: 28px; }
.so-skel-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.so-skel-row .so-skel { height: 96px; }
.so-skel-line { height: 52px; }
.so-skel-line.short { width: 60%; }
@keyframes so-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Layout: the form, and the preview beside it (above it on phones). */
.so-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 28px; align-items: start; }
.so-aside { position: sticky; top: 96px; order: 2; }
.so-form { order: 1; display: grid; gap: 18px; min-width: 0; }
.so-step, .so-stage-card, .so-pay, .so-mine, .so-done { padding: 20px 18px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px var(--so-line), 0 20px 50px rgba(0,0,0,.25); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); }
.so-step { animation: so-rise .7s var(--so-spring) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes so-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.so-step-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: Unbounded, system-ui, sans-serif; font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.so-step-number { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(100,237,170,.16); color: var(--so-green); font: 700 13px/1 -apple-system, system-ui, sans-serif; }

/* Preview stage. */
.so-stage-card { animation: so-rise .8s var(--so-spring) both; }
.so-stage-label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--so-green); }
.so-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; background: radial-gradient(120% 90% at 20% 10%, rgba(100,237,170,.22), transparent 55%), radial-gradient(90% 80% at 90% 90%, rgba(0,244,123,.12), transparent 60%), #04140c; box-shadow: inset 0 0 0 1px var(--so-line); }
.so-stage-art { position: absolute; top: 12%; left: 50%; width: 34%; transform: translateX(-50%); filter: drop-shadow(0 12px 30px rgba(0,0,0,.45)); animation: so-float 6s ease-in-out infinite; }
.so-stage-art svg { width: 100%; height: auto; display: block; }
.so-stage-art.is-new { animation: so-pop .6s var(--so-spring), so-float 6s ease-in-out .6s infinite; }
.so-stage-player { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); }
.so-stage-note { margin: 10px 0 0; font-size: 13px; color: var(--so-soft); }
@keyframes so-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
@keyframes so-pop { from { transform: translate(-50%, 0) scale(.6); opacity: 0; } to { transform: translate(-50%, 0) scale(1); opacity: 1; } }

/* Occasions: drawn cards. */
.so-occasions { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.so-occasion { position: relative; display: grid; justify-items: center; gap: 8px; padding: 14px 8px 12px; border-radius: 20px; background: var(--so-card); box-shadow: inset 0 0 0 1px var(--so-line); cursor: pointer; transition: transform .35s var(--so-spring), box-shadow .2s, background .2s; }
.so-occasion:hover { background: rgba(255,255,255,.09); }
.so-occasion:active { transform: scale(.96); }
.so-occasion input, .so-tier input, .so-seg input, .so-addon input { position: absolute; opacity: 0; pointer-events: none; }
.so-occasion.is-on { background: rgba(100,237,170,.1); box-shadow: inset 0 0 0 2px var(--so-green); transform: translateY(-2px); }
.so-occasion:focus-within { outline: 3px solid var(--so-green); outline-offset: 2px; }
.so-occasion-art { width: 56px; height: 56px; transition: transform .45s var(--so-spring); }
.so-occasion-art svg { width: 100%; height: 100%; }
.so-occasion.is-on .so-occasion-art { transform: scale(1.12) rotate(-4deg); }
.so-occasion-title { font-size: 14px; font-weight: 600; }
.so-occasion-tag { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 99px; background: rgba(143,245,192,.16); color: #8ff5c0; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.so-flicker { transform-origin: 32px 12px; animation: so-flicker 1.6s ease-in-out infinite; }
.so-twinkle { transform-box: fill-box; transform-origin: center; animation: so-twinkle 2.4s ease-in-out infinite; }
.so-twinkle-late { animation-delay: 1.2s; }
.so-pop { transform-box: fill-box; transform-origin: 0 100%; animation: so-burst-art 2.8s var(--so-spring) infinite; }
.so-sway { transform-origin: 32px 40px; animation: so-sway 4s ease-in-out infinite; }
.so-waves { animation: so-twinkle 1.8s ease-in-out infinite; }
@keyframes so-flicker { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.85); opacity: .8; } }
@keyframes so-twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
@keyframes so-burst-art { 0%, 60%, 100% { transform: scale(1); } 75% { transform: scale(1.12); } }
@keyframes so-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

/* Fields. */
.so-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.so-field { position: relative; display: grid; gap: 6px; min-width: 0; }
.so-wide { grid-column: 1 / -1; }
.so-label { font-size: 13px; font-weight: 600; color: var(--so-soft); }
.so-input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 0; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--so-line); color: var(--ink, #f5f5f7); font: inherit; font-size: 16px; transition: box-shadow .2s, background .2s; }
textarea.so-input { resize: vertical; min-height: 92px; line-height: 1.45; }
.so-input:focus { outline: none; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px var(--so-green); }
.so-input::placeholder { color: var(--ink-3, #6e6e73); }
select.so-input { appearance: none; -webkit-appearance: none; }
.so-count { justify-self: end; font-size: 12px; color: var(--ink-3, #6e6e73); font-variant-numeric: tabular-nums; }
.so-count.is-near { color: #f4eee5; font-weight: 700; }
.so-hint { font-size: 13px; color: var(--ink-3, #8e8e93); }

/* When. */
.so-segment { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--so-line); }
.so-seg { position: relative; padding: 10px 18px; border-radius: 99px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .3s var(--so-ease), color .3s; }
.so-seg.is-on { background: var(--so-green); color: var(--so-ink); }
.so-seg:focus-within { outline: 3px solid var(--so-green); outline-offset: 2px; }
.so-date { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; animation: so-rise .5s var(--so-spring) both; }
.so-date[hidden] { display: none; }

/* Tiers and the add-on. */
.so-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.so-tier { position: relative; display: grid; gap: 6px; padding: 16px; border-radius: 20px; background: var(--so-card); box-shadow: inset 0 0 0 1px var(--so-line); cursor: pointer; overflow: hidden; transition: transform .35s var(--so-spring), box-shadow .2s, background .2s; }
.so-tier.is-on { background: rgba(100,237,170,.1); box-shadow: inset 0 0 0 2px var(--so-green); }
.so-tier:active { transform: scale(.97); }
.so-tier:focus-within { outline: 3px solid var(--so-green); outline-offset: 2px; }
.so-tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.so-tier-title { font-weight: 700; font-size: 15px; }
.so-tier-price { font-family: Unbounded, system-ui, sans-serif; font-size: 17px; color: var(--so-green); white-space: nowrap; }
.so-tier-summary { font-size: 13px; color: var(--so-soft); line-height: 1.4; }
.so-tier-sparkle { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(4px 4px at 20% 30%, #f4eee5, transparent), radial-gradient(3px 3px at 70% 20%, #8ff5c0, transparent), radial-gradient(3px 3px at 85% 70%, #64edaa, transparent), radial-gradient(4px 4px at 40% 80%, #00f47b, transparent); opacity: .55; animation: so-twinkle 3s ease-in-out infinite; }
.so-addon { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 18px; background: var(--so-card); box-shadow: inset 0 0 0 1px var(--so-line); cursor: pointer; }
.so-addon:focus-within { outline: 3px solid var(--so-green); outline-offset: 2px; }
.so-switch { flex: none; position: relative; width: 50px; height: 30px; border-radius: 99px; background: rgba(255,255,255,.16); transition: background .25s; }
.so-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #f4eee5; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .4s var(--so-spring); }
.so-addon input:checked + .so-switch { background: var(--so-green); }
.so-addon input:checked + .so-switch::after { transform: translateX(20px); }
.so-addon-text { display: flex; flex: 1; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.so-addon-price { color: var(--so-green); font-weight: 700; }

/* Pay. */
.so-pay { display: grid; gap: 10px; animation: so-rise .7s var(--so-spring) both; animation-delay: 360ms; }
.so-total-line { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 16px; color: var(--so-soft); }
.so-total { font-family: Unbounded, system-ui, sans-serif; font-weight: 500; font-size: 28px; color: var(--ink, #f5f5f7); }
.so-pay-button { min-height: 56px; border-radius: 18px; font-size: 18px; font-weight: 700; background: var(--so-green); color: var(--so-ink); border: 0; cursor: pointer; transition: transform .2s var(--so-spring), opacity .2s; }
.so-pay-button:active { transform: scale(.97); }
.so-pay-button:disabled { opacity: .6; cursor: default; }
/* Pay with Points (owner's note, October 29, 2026), beside the card payment. Greens only. */
.so-points { display: grid; gap: 8px; padding: 14px; border-radius: 20px; background: rgba(100, 237, 170, .07); box-shadow: inset 0 0 0 1px rgba(100, 237, 170, .22); }
.so-points[hidden], .so-page .so-total-line[hidden], .so-page .so-pay-button[hidden] { display: none !important; }
.so-points-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; font-size: 15px; color: var(--so-soft); }
.so-points-price strong { font-family: Unbounded, system-ui, sans-serif; font-weight: 500; font-size: 20px; color: var(--so-green); }
.so-points-button { min-height: 52px; border-radius: 18px; font-size: 17px; font-weight: 700; color: var(--so-green); background: rgba(100, 237, 170, .1); border: 1.5px solid rgba(100, 237, 170, .55); cursor: pointer; transition: transform .2s var(--so-spring), background-color .2s ease, opacity .2s; }
.so-points-button:hover:not(:disabled) { background: rgba(100, 237, 170, .18); }
.so-points-button:active:not(:disabled) { transform: scale(.97); }
.so-points-button:disabled { opacity: .6; cursor: default; }
.so-points-button:focus-visible { outline: 3px solid var(--so-green); outline-offset: 3px; }
.so-points-balance { margin: 0; font-size: 13.5px; color: var(--so-soft); }
.so-points.is-short .so-points-balance { color: #8ff5c0; }
.so-error { min-height: 1.2em; margin: 0; color: #ff8a8a; font-size: 14px; }
.so-error:empty { display: none; }
/* A calm word under Pay ("Checkout was canceled. Your shout-out is still here."). */
.so-note { margin: 0; color: var(--so-green); font-size: 14px; }
.so-note:empty { display: none; }
.so-fine { margin: 0; font-size: 13px; color: var(--ink-3, #8e8e93); }

/* Done, mine, coming soon. */
.so-done { position: relative; margin-bottom: 20px; text-align: center; overflow: visible; animation: so-rise .8s var(--so-spring) both; }
.so-done h2 { font-family: Unbounded, system-ui, sans-serif; font-weight: 500; font-size: clamp(20px, 3vw, 28px); margin: 8px 0; }
.so-done-heart, .so-soon-heart { display: inline-block; width: 64px; height: 56px; color: var(--so-green); animation: so-beat 1.4s ease-in-out infinite; }
.so-done-heart svg, .so-soon-heart svg, .so-bit-svg svg { width: 100%; height: 100%; }
@keyframes so-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.so-burst { position: absolute; left: 50%; top: 40px; width: 0; height: 0; pointer-events: none; }
.so-bit { position: absolute; width: 9px; height: 9px; border-radius: 2px; opacity: 0; animation: so-fly 1.4s var(--so-ease) var(--d, 0s) forwards; }
.so-bit-heart { width: 16px; height: 14px; color: var(--so-green); }
.so-bit-svg { display: block; width: 100%; height: 100%; }
@keyframes so-fly { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 60px)) rotate(var(--r)) scale(1); } }
.so-mine { margin-top: 22px; animation: so-rise .7s var(--so-spring) both; }
.so-mine-title { margin: 0 0 12px; font-family: Unbounded, system-ui, sans-serif; font-weight: 500; font-size: 18px; }
.so-mine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.so-mine-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--so-card); animation: so-rise .5s var(--so-spring) both; animation-delay: calc(var(--i, 0) * 50ms); }
.so-mine-art { flex: none; width: 40px; height: 40px; }
.so-mine-art svg { width: 100%; height: 100%; }
.so-mine-text { display: grid; flex: 1; min-width: 0; gap: 2px; font-size: 14px; overflow-wrap: anywhere; }
/* Paid in the app with Apple and not aired: the link to ask Apple for a refund. */
.so-mine-link { justify-self: start; padding: 6px 0; color: var(--so-green); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.so-status { flex: none; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.1); }
.so-status-ok, .so-status-live { background: rgba(100,237,170,.16); color: var(--so-green); }
.so-status-refund { background: rgba(244,238,229,.12); color: #f4eee5; }
.so-soon { padding: 48px 18px; text-align: center; border-radius: 28px; background: var(--so-card); box-shadow: inset 0 0 0 1px var(--so-line); animation: so-rise .7s var(--so-spring) both; }
.so-soon h2 { font-family: Unbounded, system-ui, sans-serif; font-weight: 500; margin: 14px 0 8px; }

@media (max-width: 860px) {
	.so-layout { grid-template-columns: 1fr; }
	.so-aside { position: relative; top: 0; order: 0; }
	.so-form { order: 1; }
}
@media (max-width: 560px) {
	.so-grid, .so-tiers, .so-date { grid-template-columns: 1fr; }
	.so-occasions { grid-template-columns: repeat(2, 1fr); }
	.so-step, .so-stage-card, .so-pay { padding: 16px 14px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.so-page *, .so-page *::before, .so-page *::after { animation-duration: .2s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .15s !important; }
	.so-step, .so-pay, .so-stage-card, .so-done, .so-mine, .so-mine-item, .so-soon, .so-date { animation-name: so-fade !important; }
	.so-stage-art, .so-flicker, .so-twinkle, .so-pop, .so-sway, .so-waves, .so-tier-sparkle, .so-done-heart, .so-soon-heart, .so-skel { animation: none !important; }
	.so-occasion.is-on .so-occasion-art { transform: none; }
}
@keyframes so-fade { from { opacity: 0; } to { opacity: 1; } }
