:root {
    --ink: #3b2458;
    --muted: #6d5b86;
    --paper: #fff8ff;
    --cream: #fffdfb;
    --lilac: #efe7ff;
    --violet: #7c5cff;
    --rose: #ef6fb8;
    --cyan: #3ec8e8;
    --sky: #6ea8ff;
    --gold: #f0b429;
    --ok: #2db37a;
    --bad: #e45b73;
    --line: rgba(124, 92, 255, 0.18);
    --dock: 232px;
    --radius: 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: Outfit, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(720px 420px at 100% 0%, rgba(239, 111, 184, 0.16), transparent 55%),
        radial-gradient(640px 380px at 0% 80%, rgba(62, 200, 232, 0.14), transparent 50%),
        linear-gradient(180deg, #f4edff 0%, #fff8ff 42%, #efe7ff 100%);
    min-height: 100vh;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--rose); }
h1, h2, h3 {
    font-family: Comfortaa, Outfit, sans-serif;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: #2d1848;
}

.sp-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--dock) 1fr;
}

.sp-dock {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,248,255,0.88)),
        repeating-linear-gradient(90deg, transparent 0 10px, rgba(124, 92, 255, 0.05) 10px 11px);
    border-right: 2px dashed var(--line);
    z-index: 30;
}

.sp-dock-home { box-shadow: inset -6px 0 0 #3ec8e8; }
.sp-dock-origin { box-shadow: inset -6px 0 0 #7c5cff; }
.sp-dock-tapestry { box-shadow: inset -6px 0 0 #ef6fb8; }
.sp-dock-contact { box-shadow: inset -6px 0 0 #6ea8ff; }
.sp-dock-shop { box-shadow: inset -6px 0 0 #f0b429; }

.sp-mark {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: var(--ink);
    text-align: center;
}
.sp-mark img {
    width: 118px;
    height: 118px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(124, 92, 255, 0.18));
}
.sp-mark strong {
    font-family: Comfortaa, sans-serif;
    font-size: 15px;
}
.sp-mark:hover { color: var(--violet); }

.sp-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--violet);
    color: #fff;
    cursor: pointer;
}

.sp-menu-label {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.sp-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    position: relative;
}
.sp-menu ul::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: repeating-linear-gradient(#d8c8ff 0 8px, transparent 8px 14px);
    z-index: 0;
}

.sp-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.72);
    color: var(--ink);
    font-weight: 650;
    font-size: 14px;
    border: 1px solid transparent;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.sp-link i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    background: #efe7ff;
    color: var(--violet);
}
.sp-link:hover {
    transform: translateX(4px);
    color: var(--ink);
    box-shadow: 0 8px 18px rgba(124, 92, 255, 0.12);
}
.sp-link.is-now:not(.sp-link-shop) {
    background: #fff;
    border-color: rgba(124, 92, 255, 0.28);
    box-shadow: 0 10px 20px rgba(124, 92, 255, 0.12);
}

.sp-yarn-cyan i { background: #d9f6fc; color: #1496b2; }
.sp-yarn-violet i { background: #ece4ff; color: #6a48e8; }
.sp-yarn-rose i { background: #fde3f2; color: #d94d98; }
.sp-yarn-sky i { background: #dde9ff; color: #3d78d8; }
.sp-yarn-gold i { background: #fff1c8; color: #c48a08; }

.sp-shop-slot {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px dashed var(--line);
}
a.sp-link.sp-link-shop,
a.sp-link.sp-link-shop.is-now {
    margin-top: 0;
    padding: 16px 12px;
    background: linear-gradient(180deg, #ffd56a 0%, #ff8a3d 42%, #ff4eb0 100%);
    color: #fff;
    border: 3px solid #fff;
    box-shadow:
        0 0 0 3px #ff4eb0,
        0 12px 0 #c43a86,
        0 18px 28px rgba(255, 78, 176, 0.4);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    justify-content: center;
    outline: none;
    animation: sp-shop-pulse 1.8s ease-in-out infinite;
}
a.sp-link.sp-link-shop i {
    background: #fff;
    color: #ff4eb0;
    width: 34px;
    height: 34px;
    font-size: 16px;
}
a.sp-link.sp-link-shop:hover,
a.sp-link.sp-link-shop.is-now:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.04);
    animation: none;
}
@keyframes sp-shop-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}

.sp-stage {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.sp-canvas {
    flex: 1;
    padding: 28px 32px 48px;
}

.sp-wrap { width: 100%; max-width: 1080px; }

.sp-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--violet);
    margin-bottom: 8px;
}
.sp-title { font-size: clamp(28px, 4vw, 44px); }
.sp-lead { font-size: 18px; color: var(--muted); margin: 0 0 20px; }

.sp-banner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 36px;
}
.sp-banner-art {
    border-radius: 28px;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 18px 40px rgba(90, 50, 140, 0.14);
    transform: rotate(-1.5deg);
}
.sp-banner-art img { width: 100%; }

.sp-play {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 18px 0;
}
.sp-play img { height: 52px; width: auto; }

.sp-note {
    font-size: 14px;
    color: var(--muted);
}

.sp-panel {
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 10px 28px rgba(90, 50, 140, 0.06);
}

.sp-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}
.sp-tile h3 { font-size: 18px; }
.sp-tile p { margin: 0; color: var(--muted); }

.sp-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    margin-top: 28px;
}

.sp-shot-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.sp-shot-row img,
.sp-tail-shots img {
    width: 100%;
    border-radius: 16px;
    border: 4px solid #fff;
    box-shadow: 0 8px 18px rgba(90, 50, 140, 0.1);
}

.sp-origin {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}
.sp-hoop {
    border-radius: 50%;
    overflow: hidden;
    border: 14px solid #f3e2c4;
    box-shadow: 0 16px 32px rgba(90, 50, 140, 0.14);
    aspect-ratio: 1;
    background: #fff;
}
.sp-hoop img { width: 100%; height: 100%; object-fit: cover; }

.sp-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}
.sp-pillar {
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px dashed var(--line);
}
.sp-pillar h3 { font-size: 16px; margin-bottom: 6px; }
.sp-pillar p { margin: 0; color: var(--muted); font-size: 14px; }

.sp-culture {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.sp-chip {
    background: #efe7ff;
    color: #5a3cc8;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 13px;
}

.sp-magazine {
    display: grid;
    gap: 22px;
}
.sp-magazine-top {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}
.sp-magazine-top img { width: 100%; max-height: 420px; object-fit: cover; }
.sp-magazine-caption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(45, 24, 72, 0.72);
    color: #fff;
    padding: 14px 18px;
    border-radius: 16px;
    max-width: min(520px, 90%);
}
.sp-magazine-caption h1 { color: #fff; margin: 0; font-size: 28px; }

.sp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sp-feature {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.sp-feature img { height: 180px; width: 100%; object-fit: cover; }
.sp-feature div { padding: 16px; }
.sp-feature h3 { font-size: 17px; }

.sp-steps {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}
.sp-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    background: rgba(255,255,255,0.8);
    padding: 14px 16px;
    border-radius: 16px;
}
.sp-step b {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7c5cff, #ef6fb8);
    color: #fff;
    font-family: Comfortaa, sans-serif;
}

.sp-contact-frame {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 22px;
    border: 6px solid #fff;
    box-shadow: 0 14px 30px rgba(90, 50, 140, 0.12);
}
.sp-contact-frame img { width: 100%; max-height: 320px; object-fit: cover; }

.sp-reach {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sp-reach article {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--line);
}
.sp-reach .sp-ico {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #fff;
}
.sp-ico.pin { background: #7c5cff; }
.sp-ico.mail { background: #3ec8e8; }
.sp-ico.phone { background: #ef6fb8; }
.sp-reach h3 { font-size: 16px; }
.sp-reach p { margin: 0; color: var(--muted); }

.sp-help {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.sp-shop-intro { margin-bottom: 20px; }
.sp-shop-notes {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.sp-shop-notes li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255,255,255,0.8);
    padding: 12px 14px;
    border-radius: 14px;
}
.sp-shop-notes i { color: var(--violet); margin-top: 3px; }

.sp-money {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}
.sp-money-btn {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
    color: var(--ink);
}
.sp-money-btn.is-on {
    background: var(--violet);
    color: #fff;
    border-color: var(--violet);
}

.sp-pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.sp-pack {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 8px 18px rgba(90, 50, 140, 0.08);
    transition: transform 0.16s ease, border-color 0.16s ease;
}
.sp-pack img { width: 84px; height: 84px; margin: 0 auto 8px; object-fit: contain; }
.sp-pack-title { font-weight: 800; }
.sp-pack-price { color: var(--rose); font-size: 20px; font-weight: 800; margin-top: 4px; }
.sp-pack.is-on,
.sp-pack:hover {
    border-color: var(--violet);
    transform: translateY(-4px);
}

.sp-ticket {
    background:
        radial-gradient(circle at 0 24px, transparent 10px, #fff 11px) left / 20px 24px repeat-y,
        radial-gradient(circle at 100% 24px, transparent 10px, #fff 11px) right / 20px 24px repeat-y,
        #fff;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 14px 32px rgba(90, 50, 140, 0.1);
}
.sp-ticket h2 { font-size: 22px; }
.sp-field { margin-bottom: 14px; }
.sp-field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.sp-field input[type="text"],
.sp-field input[type="email"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    background: #fffdfb;
}
.sp-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.sp-picked {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #efe7ff;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
}
.sp-pay-list { display: grid; gap: 8px; }
.sp-pay {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    cursor: pointer;
    background: #fff;
}
.sp-pay.is-on { border-color: var(--violet); background: #f4edff; }
.sp-pay input { accent-color: var(--violet); }
.sp-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.sp-err { color: var(--bad); font-size: 13px; min-height: 16px; display: block; }
.sp-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #ffe8ee;
    color: #9c2744;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.sp-load, .sp-empty { padding: 20px; text-align: center; color: var(--muted); }

.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}
.sp-btn-main {
    width: 100%;
    background: linear-gradient(135deg, #7c5cff, #ef6fb8);
    color: #fff;
    box-shadow: 0 10px 22px rgba(124, 92, 255, 0.28);
}
.sp-btn-main:hover { color: #fff; }
.sp-btn-ghost {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.sp-receipt {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 16px 36px rgba(90, 50, 140, 0.12);
}
.sp-table { width: 100%; border-collapse: collapse; }
.sp-table th, .sp-table td { text-align: left; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sp-table th { width: 38%; color: var(--muted); font-weight: 600; }
.sp-total { color: var(--rose); font-size: 20px; font-weight: 800; }
.sp-count {
    font-family: Comfortaa, sans-serif;
    font-size: 42px;
    text-align: center;
    color: var(--violet);
    margin: 12px 0;
}
.sp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.sp-result {
    max-width: 640px;
    margin: 20px auto;
    text-align: center;
    background: #fff;
    border-radius: 28px;
    padding: 36px 24px;
    box-shadow: 0 16px 36px rgba(90, 50, 140, 0.12);
}
.sp-result i { font-size: 48px; margin-bottom: 10px; }
.sp-result.ok i { color: var(--ok); }
.sp-result.bad i { color: var(--bad); }
.sp-result .sp-actions { justify-content: center; }

.sp-more { font-weight: 700; }

.sp-tail {
    padding: 8px 32px 28px;
}
.sp-tail-band,
.sp-tail-quote,
.sp-tail-reach,
.sp-tail-note,
.sp-tail-slim {
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 18px 20px;
    margin-bottom: 16px;
}
.sp-tail-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.sp-tail-icon { width: 84px; height: 84px; border-radius: 20px; }
.sp-tail-quote p {
    font-family: Comfortaa, sans-serif;
    font-size: 20px;
    margin: 0 0 6px;
}
.sp-tail-shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.sp-tail-reach {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.sp-tail-note { display: flex; gap: 10px; align-items: flex-start; }
.sp-tail-base {
    display: grid;
    gap: 12px;
}
.sp-tail-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}
.sp-tail-brand img { width: 64px; height: 64px; object-fit: contain; }
.sp-tail-brand span { display: block; color: var(--muted); font-size: 13px; }
.sp-tail-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 14px;
}
.sp-tail-copy { margin: 0; color: var(--muted); font-size: 13px; }

.sp-pledge {
    margin-top: 36px;
    padding: 24px 22px;
    background: rgba(255,255,255,0.72);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.sp-pledge-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
    position: relative;
}
.sp-pledge-list::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: repeating-linear-gradient(#d8c8ff 0 8px, transparent 8px 14px);
}
.sp-pledge-list li {
    position: relative;
    margin-left: 38px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px 14px 18px;
    border: 1px solid var(--line);
}
.sp-pledge-list li::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5cff, #ef6fb8);
    box-shadow: 0 0 0 4px #fff;
}
.sp-pledge-list h3 {
    font-size: 17px;
    margin-bottom: 6px;
}
.sp-pledge-list p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 980px) {
    .sp-app { grid-template-columns: 1fr; }
    .sp-dock {
        position: relative;
        top: 0;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-right: 0;
        border-bottom: 2px dashed var(--line);
        box-shadow: none;
    }
    .sp-mark { display: flex; align-items: center; gap: 10px; }
    .sp-mark img { width: 52px; height: 52px; }
    .sp-toggle { display: grid; place-items: center; }
    .sp-menu {
        display: none;
        position: absolute;
        left: 12px;
        right: 12px;
        top: 84px;
        background: #fff;
        border-radius: 18px;
        padding: 14px;
        box-shadow: 0 16px 32px rgba(90, 50, 140, 0.16);
    }
    .sp-menu.is-open { display: block; }
    .sp-menu ul::before { display: none; }
    .sp-banner,
    .sp-split,
    .sp-origin,
    .sp-features,
    .sp-reach,
    .sp-help,
    .sp-pillars,
    .sp-mosaic,
    .sp-shot-row,
    .sp-tail-shots { grid-template-columns: 1fr; }
    .sp-pledge-list::before { display: none; }
    .sp-pledge-list li { margin-left: 0; }
    .sp-pledge-list li::before { display: none; }
    .sp-canvas, .sp-tail { padding-left: 16px; padding-right: 16px; }
    .sp-banner-art { transform: none; }
}
