/* /store (18 Oct 2026): the Store as marketing + "Start your store". Everything is scoped under .sx because
   styles.css already has .hero, .card, .row, .tile and .pill for other pages. The .sp phone is a faithful copy of the
   in-app shop page (src/mobile/themeStore/StoreFront.tsx): banner, overlapping logo, name + blurb, sections, 2-up tiles. */
.sx { max-width: 1080px; padding-left: 16px; padding-right: 16px; }
.sx section { margin: 0 0 84px; }
.sx h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; margin: 10px 0 16px; }
.sx h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.sx h3 { font-size: 1.2rem; margin: 6px 0 6px; }
.sx h3.sub { margin: 44px 0 14px; font-size: 1.15rem; }
.sx p, .sx li, .sx dd { line-height: 1.7; }
.sx .lede { max-width: 42em; font-size: 1.12rem; color: #d8d4c8; }
.sx .kick { font: 600 .8rem var(--hf); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0; }
.sx .small { color: #8a8a86; font-size: .86rem; }
.sx .center { text-align: center; justify-content: center; }
.sx .row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; padding: 0; background: none; border: 0; }
.sx .row .btn { text-decoration: none; }
.sx code { background: #17191e; padding: 2px 7px; border-radius: 6px; overflow-wrap: anywhere; }
.sx .pill { display: inline-block; font: 700 .72rem var(--hf); padding: 2px 9px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }
.sx .pill.live, .sx .tag.live { background: #F5B800; color: #000; }
.sx .pill.soon, .sx .tag.soon { border: 1px solid #ffffff40; color: #a7adb8; background: none; }

/* Hero */
.sx-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; margin: 0 0 96px; }
.sx-hero .hero-phone { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sx-hero .cap { font-size: .78rem; color: #8a8a86; text-align: center; max-width: 280px; margin: 0; }
.sx-hero .sp { transform: rotate(3deg); animation: sx-float 6s ease-in-out infinite; }
@keyframes sx-float { 50% { transform: rotate(1deg) translateY(-8px); } }
@media (max-width: 820px) { .sx-hero { grid-template-columns: 1fr; gap: 28px; } }

/* Shop phone */
.sp { --acc:#F5B800; --bg:#000; --sf:#111; --ln:#2b2f36; --mu:#a7adb8; --tx:#fff;
  width: 270px; max-width: 100%; aspect-ratio: 9 / 18.5; flex: none; border-radius: 40px; padding: 10px; background: #1c1c1e;
  box-shadow: 0 0 0 1px #ffffff22, 0 30px 70px -20px rgba(0,0,0,.85), 0 0 80px -30px var(--acc); font-family: var(--bf); box-sizing: border-box; }
.sp.big { width: 300px; }
.sp-scr { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: var(--bg); color: var(--tx); display: flex; flex-direction: column; gap: 10px; padding: 30px 12px 12px; box-sizing: border-box; }
.sp-scr::before { content: ''; position: absolute; top: 9px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #000; z-index: 3; }
.sp-top { display: flex; justify-content: space-between; align-items: center; font: 600 11px var(--hf); color: var(--mu); }
.sp-ban { position: relative; height: 92px; flex: none; border-radius: 14px 14px 0 0; background: linear-gradient(120deg, var(--bg) 20%, var(--acc)) center/cover no-repeat; background-size: cover; border: 1px solid var(--ln); border-bottom: 0; }
.sp-head { position: relative; display: flex; gap: 10px; align-items: flex-start; margin-top: -10px; padding: 0 10px 10px; border: 1px solid var(--ln); border-top: 0; border-radius: 0 0 14px 14px; background: var(--sf); }
.sp-head img { width: 48px; height: 48px; flex: none; border-radius: 12px; margin-top: -22px; border: 2px solid var(--ln); background: #000; object-fit: cover; }
.sp-head > div { min-width: 0; padding-top: 6px; }
.sp-head b { display: block; font: 700 14px var(--hf); overflow-wrap: anywhere; }
.sp-head span { display: block; font-size: 10.5px; line-height: 1.35; color: var(--mu); overflow-wrap: anywhere; }
.sp-chips { position: relative; display: flex; gap: 5px; flex-wrap: wrap; }
.sp-chips span { font: 600 10px var(--hf); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--ln); color: var(--mu); }
.sp-chips span.on { background: var(--acc); border-color: var(--acc); color: #000; }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sp-item { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 12px; background: var(--sf); border: 1px solid var(--ln); min-width: 0; }
.sp-item i { display: block; aspect-ratio: 1; border-radius: 8px; margin-bottom: 4px; background: #222; }
.sp-item i.car { background: radial-gradient(ellipse 40% 14% at 50% 70%, rgba(0,0,0,.6), transparent), linear-gradient(160deg, transparent 40%, var(--acc) 41% 58%, transparent 59%), linear-gradient(200deg, #1a0010, #000); }
.sp-item b { font: 600 10.5px var(--hf); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-item span { font-size: 10px; color: var(--acc); font-weight: 600; }
.sp-item.ghost i { background: repeating-linear-gradient(45deg, var(--sf), var(--sf) 6px, var(--ln) 6px, var(--ln) 7px); }
.sp .pin { position: absolute; z-index: 4; width: 22px; height: 22px; border-radius: 50%; background: #F5B800; color: #000; font: 700 12px/22px var(--hf); text-align: center; font-style: normal; box-shadow: 0 0 0 3px rgba(0,0,0,.6); }
.sp-ban .pin { right: 8px; top: 8px; }
.sp-head .pin.p2 { left: 4px; top: -26px; }
.sp-head .pin.p3 { right: 8px; top: 8px; }
.sp-chips .pin { right: 0; top: 0; }
.sp-item .pin { right: 6px; top: 6px; }

/* What it is */
.sx .three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin-top: 22px; }
.sx .three .card, .sx .sell article { background: #101114; border: 1px solid #ffffff14; border-radius: 18px; padding: 20px; min-width: 0; box-shadow: none; }
.sx .three .card b { font: 600 1.05rem var(--hf); display: block; }
.sx .three .card p { margin: 8px 0 0; color: #b8bcc5; font-size: .96rem; }

/* Anatomy */
.sx .anat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 24px; }
.sx .parts { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.sx .parts li { counter-increment: p; position: relative; padding: 12px 0 12px 42px; border-bottom: 1px solid #ffffff10; }
.sx .parts li::before { content: counter(p); position: absolute; left: 0; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: #F5B800; color: #000; font: 700 13px/26px var(--hf); text-align: center; }
@media (max-width: 760px) { .sx .anat { grid-template-columns: 1fr; justify-items: center; } }
.sx .mall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.sx .mall .tile { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 16px; background: #101114; border: 1px solid #ffffff14; min-width: 0; text-align: left; }
.sx .mall .tb { display: block; height: 70px; background: #222; }
.sx .mall .tl { display: flex; gap: 10px; align-items: center; padding: 10px; min-width: 0; }
.sx .mall .tl img, .sx .mall .tl i { width: 32px; height: 32px; border-radius: 9px; flex: none; object-fit: cover; }
.sx .mall .tl > span { min-width: 0; }
.sx .mall b { display: block; font: 600 .95rem var(--hf); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx .mall small { display: block; font-size: .78rem; color: #8a8a86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx .mall .tile.you { border: 1px dashed #F5B80099; background: #F5B8000d; }
.sx .mall .tile.you .tb { background: repeating-linear-gradient(45deg, #F5B80014, #F5B80014 10px, transparent 10px, transparent 20px); }
.sx .mall .tile.you i { display: block; border: 1px dashed #F5B800; }

/* Who / sell */
.sx .who { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; }
.sx .who li { padding: 13px 0; border-bottom: 1px solid #ffffff10; }
.sx .sell { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; margin: 20px 0; }
.sx .sell p { margin: 6px 0 0; color: #b8bcc5; font-size: .96rem; }

/* NPG worked example */
.sx .npg { background: radial-gradient(120% 90% at 100% 0%, #ff2e9333, transparent 60%), #0c0709; border: 1px solid #ff2e9340; border-radius: 26px; padding: 34px clamp(18px, 4vw, 40px); }
.sx .npg .kick { color: #ff6fb5; }
.sx .npg-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; margin-top: 18px; }
.sx .steps { list-style: none; margin: 0; padding: 0; }
.sx .steps li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #ff2e9324; }
.sx .steps .n, .sx .step-h .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #FF2E93; color: #000; font: 700 14px/28px var(--hf); text-align: center; }
.sx .cards { display: flex; }
.sx .cards img { width: 120px; height: auto; border-radius: 10px; box-shadow: 0 18px 40px -12px #000; }
.sx .cards img:nth-child(1) { transform: rotate(-8deg) translateX(24px); }
.sx .cards img:nth-child(2) { position: relative; z-index: 1; transform: translateY(-10px); }
.sx .cards img:nth-child(3) { transform: rotate(8deg) translateX(-24px); }
@media (max-width: 760px) { .sx .npg-in { grid-template-columns: 1fr; justify-items: center; } .sx .cards img { width: 96px; } }

/* Money */
.sx .flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 22px 0; }
.sx .flow > div { flex: 1 1 150px; background: #101114; border: 1px solid #ffffff14; border-radius: 16px; padding: 14px 16px; min-width: 0; }
.sx .flow b { display: block; font: 700 1.05rem var(--hf); }
.sx .flow span { display: block; font-size: .85rem; color: #a7adb8; }
.sx .flow > i { align-self: center; font-style: normal; color: #F5B800; font-size: 1.4rem; }
.sx .flow .split { flex: 1.4 1 220px; display: flex; flex-direction: column; gap: 8px; }
.sx .flow .split p { margin: 0; }
.sx .flow .split .you b { color: var(--gold-hi); }
.sx .plain { padding-left: 1.1em; }
@media (max-width: 640px) { .sx .flow > i { transform: rotate(90deg); flex-basis: 100%; text-align: center; } }

/* Start your store */
.sx .start { background: #0d0e11; border: 1px solid #F5B80055; border-radius: 26px; padding: 34px clamp(16px, 4vw, 40px); scroll-margin-top: 140px; }
.sx .builder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; margin-top: 26px; align-items: start; }
.sx .preview { position: sticky; top: 150px; display: flex; flex-direction: column; align-items: center; }
.sx .pv-cap { font: 600 .8rem var(--hf); letter-spacing: .1em; text-transform: uppercase; color: #8a8a86; margin: 0 0 12px; }
@media (max-width: 860px) { .sx .builder { grid-template-columns: 1fr; } .sx .preview { position: static; } }
.sx .step-h { display: flex; align-items: center; gap: 10px; font: 600 1.05rem var(--hf); margin: 26px 0 12px; }
.sx .step-h:first-child { margin-top: 0; }
.sx .step-h .n { background: #F5B800; }
.sx form label, .sx form .lab { display: flex; flex-direction: column; gap: 6px; font: 600 .92rem var(--hf); margin: 0 0 16px; min-width: 0; }
.sx form label small { font: 400 .8rem var(--bf); color: #8a8a86; }
.sx form input[type=text], .sx form input:not([type]), .sx form textarea { font: 400 1rem var(--bf); color: #fff; background: #17191e; border: 1px solid #ffffff22; border-radius: 12px; padding: 11px 12px; width: 100%; box-sizing: border-box; min-width: 0; }
.sx form textarea { resize: vertical; }
.sx form input:focus, .sx form textarea:focus { outline: 2px solid #F5B800; outline-offset: 1px; }
.sx form input[type=file] { font: 400 .85rem var(--bf); color: #a7adb8; max-width: 100%; }
.sx .addr { display: flex; align-items: center; background: #17191e; border: 1px solid #ffffff22; border-radius: 12px; overflow: hidden; }
.sx .addr > span { padding: 0 2px 0 12px; font: 400 .9rem 'IBM Plex Mono', monospace; color: #8a8a86; white-space: nowrap; }
.sx .addr input { border: 0 !important; background: none !important; padding-left: 2px !important; font-family: 'IBM Plex Mono', monospace !important; }
.sx .addr:focus-within { outline: 2px solid #F5B800; outline-offset: 1px; }
.sx .addr input:focus { outline: none; }
.sx .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .sx .two { grid-template-columns: 1fr; } }
.sx .col { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sx .col input[type=color] { width: 44px; height: 36px; padding: 0; border: 1px solid #ffffff33; border-radius: 10px; background: none; cursor: pointer; }
.sx .sw { display: flex; gap: 6px; }
.sx .sw button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #ffffff44; background: var(--c); cursor: pointer; padding: 0; }
.sx .hint { font: 400 .84rem var(--bf); color: #a7adb8; margin: 0; min-height: 1.3em; }
.sx .hint.bad { color: #ff8a80; }
.sx .hint.good { color: #8be28b; }
.sx .btn.wide { width: 100%; justify-content: center; align-items: center; }
.sx .ok { margin: 0; }
.sx .link { background: none; border: 0; color: var(--gold-hi); text-decoration: underline; cursor: pointer; font: inherit; padding: 0 0 0 6px; }
.sx .qr { background: #fff; border-radius: 14px; padding: 12px; width: max-content; max-width: 100%; }
.sx .qr img, .sx .qr svg { display: block; width: 200px; height: 200px; }
.sx .mono { font: 400 .75rem 'IBM Plex Mono', monospace; color: #8a8a86; overflow-wrap: anywhere; }

/* Status + FAQ */
.sx .feat { list-style: none; padding: 0; margin: 18px 0; }
.sx .feat li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #ffffff10; }
.sx .tag { flex: none; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.sx .faq dt { font: 600 1.05rem var(--hf); margin-top: 22px; }
.sx .faq dd { margin: 6px 0 0; color: #cfcbc0; }
.sx .end { text-align: center; }

@media (prefers-reduced-motion: reduce) { .sx-hero .sp { animation: none; } }
