/* Interface Studio Store — a gallery-quiet, light store where the tools are the product photography.
   Black, orange, white. Space Grotesk / Source Serif 4 italic / Instrument Sans / IBM Plex Mono.
   Light store pages; the tools themselves (demo + paid app) run in the dark theme (.dark). */
:root {
  --bg: #fff; --fg: #0b0b0b; --panel: #fff; --tile: #f2f2f2; --tile2: #e9e9e9;
  --line: rgba(0,0,0,.08); --line2: rgba(0,0,0,.16); --mute: rgba(0,0,0,.62); --dim: rgba(0,0,0,.42);
  --orange: #E8622A; --orange-deep: #E8622A; --good: #16a34a; --bad: #dc2626; --brand: #E8622A;
  --h: "Space Grotesk", system-ui, sans-serif; --s: "Source Serif 4", Georgia, serif; --b: "Instrument Sans", system-ui, sans-serif; --m: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(18px, 4vw, 56px); --max: 1440px; --ease: cubic-bezier(.2,.7,.1,1);
}
.dark {
  --bg: #000; --fg: #fff; --panel: #0d0d0c; --tile: #0d0d0c;
  --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.16); --mute: rgba(255,255,255,.62); --dim: rgba(255,255,255,.4);
  --orange: #EE7440; --good: #6fd39a; --bad: #ff7a6b; --brand: #EE7440;
  background: var(--bg); color: var(--fg);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font: 400 16px/1.55 var(--b); min-height: 100vh; overflow-x: clip; background: var(--bg); color: var(--fg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font: 500 11px/1.4 var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.serif { font-family: var(--s); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.o { color: var(--orange); }
h1, h2, h3 { font-family: var(--h); font-weight: 700; letter-spacing: -.045em; line-height: .96; }
.small { font-size: 13.5px; color: var(--dim); }

/* ── store chrome ── */
.announce { background: #000; color: #fff; font: 500 12px/1 var(--b); letter-spacing: .02em; text-align: center; padding: 11px 12px; }
.announce .sep { opacity: .35; margin: 0 12px; }
.announce .tm { color: #EE7440; font: 600 10.5px var(--m); letter-spacing: .14em; text-transform: uppercase; margin-left: 12px; }
@media (max-width: 700px) { .announce .hide-sm { display: none; } }
.store-h { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border-bottom: 1px solid var(--line); }
.store-h .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; gap: 16px; }
.store-h .cats { display: flex; gap: 26px; font-size: 14px; color: var(--mute); }
.store-h .cats a:hover, .store-h .cats a.on { color: var(--fg); }
.store-h .right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; font-size: 14px; color: var(--mute); }
.store-h .right a:hover { color: var(--fg); }
.logo-lock { display: inline-flex; align-items: center; gap: 12px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 4px; font: 700 20px/1 var(--h); letter-spacing: -.04em; color: var(--fg); }
.wordmark .serif { font-size: 20px; }
.wordmark .cur { width: 8px; height: 16px; background: var(--orange); align-self: center; margin-left: 2px; }
.logo-lock .div { width: 1px; height: 18px; background: var(--line2); }
.logo-lock .store { font: 400 19px var(--s); font-style: italic; color: var(--fg); }
.bagbtn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: var(--fg); font-size: 14px; }
.bagbtn svg { width: 20px; height: 20px; }
.bagbtn .n { min-width: 20px; height: 20px; border-radius: 99px; background: var(--fg); color: var(--bg); font: 600 11px/20px var(--b); text-align: center; padding: 0 6px; }
@media (max-width: 860px) {
  .store-h .wrap { grid-template-columns: auto 1fr; height: 60px; }
  .store-h .cats { display: none; }
  .store-h .right { gap: 14px; }
  .store-h .right .hide-sm { display: none; }
}
.catbar { display: none; }
@media (max-width: 860px) { .catbar { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--pad); border-bottom: 1px solid var(--line); scrollbar-width: none; } .catbar::-webkit-scrollbar { display: none; } }
.chip { flex: none; height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line2); background: none; font-size: 13.5px; cursor: pointer; color: var(--fg); display: inline-flex; align-items: center; }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 99px; font: 600 15px var(--b); border: 0; cursor: pointer; transition: transform .25s var(--ease), background .2s, box-shadow .3s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--fg); color: var(--bg); }
.btn.primary:hover { opacity: .86; }
.dark .btn.primary, .btn.orange { background: var(--orange-deep); color: #000; }
.dark .btn.primary:hover, .btn.orange:hover { opacity: 1; background: #EE7440; box-shadow: 0 10px 40px -10px rgba(238,116,64,.6); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line2); }
.btn.ghost:hover { border-color: var(--fg); }
.btn.white { background: #fff; color: #000; }
.btn.block { width: 100%; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.rv { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ── home: hero ── */
.s-hero { padding: 12px var(--pad) 0; }
.s-hero .stage { max-width: var(--max); margin: 0 auto; background: var(--tile); border-radius: 28px; min-height: min(86vh, 860px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; overflow: hidden; position: relative; }
.s-hero .copy { padding: clamp(32px, 5vw, 80px); position: relative; z-index: 2; }
.s-hero .tag { display: inline-flex; gap: 8px; align-items: center; font: 600 11px var(--m); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.s-hero h1 { font-size: clamp(48px, 6.2vw, 96px); margin: 20px 0 18px; }
.s-hero p { color: var(--mute); font-size: clamp(17px, 1.4vw, 20px); max-width: 26em; }
.s-hero .pr { font: 600 22px var(--h); letter-spacing: -.02em; margin-top: 26px; }
.s-hero .pr small { font: 400 14px var(--b); color: var(--dim); margin-left: 10px; letter-spacing: 0; }
.s-hero .ctas { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.s-hero .art { position: relative; height: 100%; min-height: 560px; display: grid; place-items: center; }
.s-hero .art .ps-sheet { position: absolute; width: 300px; right: 3%; top: 50%; transform: translateY(-44%) rotate(5deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.35); }
.s-hero .art .ps-phone { position: relative; z-index: 2; transform: translateX(-30%) rotate(-3deg); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateX(-30%) translateY(-12px) rotate(-3deg); } }
.s-hero .caption { position: absolute; left: clamp(32px, 5vw, 80px); bottom: 26px; font: 500 11px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 960px) {
  .s-hero .stage { grid-template-columns: 1fr; min-height: 0; }
  .s-hero .copy { padding: 36px 24px 8px; }
  .s-hero .art { min-height: 520px; }
  .s-hero .art .ps-sheet { width: 220px; right: 4%; top: 46%; }
  .s-hero .art .ps-phone { transform: translateX(-16%) rotate(-3deg) scale(.86); }
  @keyframes float { 50% { transform: translateX(-16%) translateY(-10px) rotate(-3deg) scale(.86); } }
  .s-hero .caption { position: static; padding: 0 24px 22px; }
}

/* ── home: collection ── */
.s-sec { padding: clamp(72px, 9vw, 130px) 0 0; }
.s-sec-h { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.s-sec-h h2 { font-size: clamp(36px, 4.4vw, 64px); }
.s-sec-h p { color: var(--mute); max-width: 28em; }
.s-sec-h .filters { display: flex; gap: 8px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile { grid-column: span 4; display: block; cursor: pointer; }
.tile.wide { grid-column: span 8; }
.tile .stage { background: var(--tile); border-radius: 22px; height: clamp(460px, 38vw, 580px); position: relative; overflow: hidden; display: grid; place-items: center; transition: background .4s; }

.tile:hover .stage { background: var(--tile2); }
.tile .stage > .ps-phone { transform: scale(.66); transition: transform .9s var(--ease); }
.tile:hover .stage > .ps-phone { transform: scale(.68) translateY(-8px); }
.tile.wide .stage .ps-trio { transform: scale(.74); transition: transform .9s var(--ease); }
.tile.wide:hover .stage .ps-trio { transform: scale(.76) translateY(-6px); }
.tile .badge { position: absolute; left: 16px; top: 16px; font: 600 10.5px var(--m); letter-spacing: .14em; text-transform: uppercase; background: #fff; color: var(--fg); border-radius: 99px; padding: 7px 11px; z-index: 3; }
.tile .badge.new { background: var(--orange); color: #000; }
.tile .quick { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 10px); opacity: 0; transition: all .4s var(--ease); z-index: 3; }
.tile:hover .quick { opacity: 1; transform: translate(-50%, 0); }
.tile .meta { display: flex; justify-content: space-between; gap: 14px; padding: 16px 4px 0; }
.tile .meta h3 { font: 600 17px/1.25 var(--h); letter-spacing: -.02em; }
.tile .meta p { color: var(--mute); font-size: 14px; margin-top: 2px; }
.tile .meta .p { font: 600 17px var(--h); letter-spacing: -.02em; white-space: nowrap; }
.tile .meta .p small { display: block; font: 500 12px var(--b); color: var(--dim); text-align: right; letter-spacing: 0; }
.tile.soon .stage .ps-phone { opacity: .92; }
.notify { display: flex; gap: 6px; margin-top: 12px; }
.notify input { flex: 1; min-width: 0; height: 40px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; padding: 0 14px; font-size: 14px; }
.notify input:focus { outline: none; border-color: var(--fg); }
@media (max-width: 1100px) { .tile { grid-column: span 6; } .tile.wide { grid-column: span 12; } }
@media (max-width: 640px) {
  .grid { gap: 10px; } .tile { grid-column: span 12; } .tile .stage { height: 470px; }
  .tile .stage > .ps-phone, .tile:hover .stage > .ps-phone { transform: scale(.66); } .tile.wide .stage .ps-trio, .tile.wide:hover .stage .ps-trio { transform: scale(.56); }
}

/* ── home: editorial band ── */
.band { position: relative; border-radius: 28px; overflow: hidden; min-height: 620px; display: grid; align-items: end; color: #fff; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1)), linear-gradient(0deg, rgba(0,0,0,.5), transparent 45%); }
.band .in { position: relative; z-index: 2; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; width: 100%; }
.band h2 { font-size: clamp(40px, 5.6vw, 88px); max-width: 10em; }
.band p { color: rgba(255,255,255,.75); margin-top: 18px; max-width: 30em; font-size: 18px; }
.band .ps-phone { transform: scale(.78); transform-origin: bottom right; margin: -80px -10px -40px 0; }
@media (max-width: 860px) { .band .in { grid-template-columns: 1fr; } .band .ps-phone { display: none; } .band { min-height: 520px; } }

/* ── home: make it yours ── */
.yours { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; align-items: stretch; }
.yours .copy { background: var(--tile); border-radius: 28px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.yours h2 { font-size: clamp(36px, 4.4vw, 64px); margin: 14px 0 16px; }
.yours p { color: var(--mute); max-width: 26em; }
.yours .sw { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.yours .sw button { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: 0 0 0 1px var(--line2); transition: transform .2s; }
.yours .sw button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--fg); }
.yours .sw button:hover { transform: scale(1.08); }
.yours .namefield { margin-top: 18px; height: 50px; border-radius: 14px; border: 1px solid var(--line2); background: #fff; padding: 0 16px; font-size: 16px; max-width: 320px; outline: none; }
.yours .namefield:focus { border-color: var(--fg); }
.yours .stage { background: #0b0b0b; border-radius: 28px; display: grid; place-items: center; min-height: 640px; overflow: hidden; }
@media (max-width: 960px) { .yours { grid-template-columns: 1fr; } .yours .stage { min-height: 560px; } .yours .stage .ps-phone { transform: scale(.86); } }

/* ── promise row ── */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.promise > div { border-top: 1px solid var(--fg); padding-top: 18px; }
.promise h4 { font: 600 17px var(--h); letter-spacing: -.02em; margin-bottom: 6px; }
.promise p { color: var(--mute); font-size: 14.5px; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr 1fr; gap: 26px 14px; } }

.custom-band { background: #000; color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 96px); position: relative; overflow: hidden; }
.custom-band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(232,98,42,.25), transparent); pointer-events: none; }
.custom-band > * { position: relative; z-index: 1; }
.custom-band h2 { font-size: clamp(38px, 5.6vw, 86px); max-width: 12em; }
.custom-band p { margin-top: 20px; color: rgba(255,255,255,.7); max-width: 34em; font-size: 18px; }
.custom-band .btn { margin-top: 30px; }

/* ── footer ── */
.s-foot { margin-top: clamp(72px, 9vw, 130px); border-top: 1px solid var(--line); padding: 56px 0 44px; }
.s-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.s-foot h5 { font: 600 12px var(--m); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.s-foot ul { list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.s-foot a:hover { color: var(--orange); }
.s-foot .legal { margin-top: 44px; color: var(--dim); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .s-foot .cols { grid-template-columns: 1fr 1fr; } }

/* ── product page ── */
.crumbs { padding: 18px 0; font-size: 13px; color: var(--dim); }
.crumbs a:hover { color: var(--fg); }
.pdp { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3.5vw, 56px); align-items: start; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; } }
.gallery .main { background: var(--tile); border-radius: 26px; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; position: relative; }
.gallery .main .view { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.gallery .main .view.on { opacity: 1; pointer-events: auto; }
.gallery .main .view .ps-window { transform: scale(.82); }
.gallery .main .view .ps-sheet { transform: rotate(-2deg) scale(1.05); box-shadow: 0 40px 80px -30px rgba(0,0,0,.35); }
.gallery .main .view.photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main .view.photo .ps-phone { position: absolute; right: 8%; bottom: -12%; transform: scale(.8) rotate(-4deg); }
.gallery .main .cap { position: absolute; left: 20px; bottom: 18px; font: 500 10.5px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); z-index: 2; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery .thumbs [data-thumb] { aspect-ratio: 1; border-radius: 14px; border: 0; background: var(--tile); cursor: pointer; overflow: hidden; position: relative; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s; display: grid; place-items: center; }
.gallery .thumbs [data-thumb].on { outline-color: var(--fg); }
.gallery .thumbs [data-thumb] > span { font: 600 10px var(--m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; }
.gallery .thumbs [data-thumb] .mini { transform: scale(.17); transform-origin: center; position: absolute; top: 44%; left: 50%; translate: -50% -50%; }
.gallery .thumbs [data-thumb] img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .gallery .main .view .ps-window { transform: scale(.5); } .gallery .main .view .ps-phone { transform: scale(.76); } .gallery .main .view .ps-trio { transform: scale(.62); } .gallery .main .view .ps-sheet { transform: rotate(-2deg) scale(.82); } .gallery .main .view.photo .ps-phone { transform: scale(.55) rotate(-4deg); right: 0; bottom: -22%; } }

.buy { position: sticky; top: 90px; }
.buy .tag { font: 600 11px var(--m); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.buy h1 { font-size: clamp(40px, 4.2vw, 62px); margin: 14px 0 14px; }
.buy .price { font: 600 26px var(--h); letter-spacing: -.02em; }
.buy .price small { font: 400 14px var(--b); color: var(--dim); margin-left: 8px; letter-spacing: 0; }
.buy .lead { color: var(--mute); font-size: 17px; margin: 18px 0 24px; }
.buy .actions { display: grid; gap: 10px; }
.buy .facts { list-style: none; margin: 22px 0 6px; display: grid; gap: 10px; font-size: 14.5px; }
.buy .facts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.buy .facts svg { width: 18px; height: 18px; margin-top: 2px; }
.acc { border-top: 1px solid var(--line); margin-top: 24px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 600 16px var(--h); letter-spacing: -.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.acc .body { padding: 0 0 20px; color: var(--mute); font-size: 15px; }
.acc .body ul { list-style: none; display: grid; gap: 8px; }
.acc .body li { padding-left: 18px; position: relative; }
.acc .body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.mbuy { display: none; }
@media (max-width: 960px) {
  .buy { position: static; }
  .mbuy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; transition: transform .4s var(--ease); }
  .mbuy.hide { transform: translateY(110%); }
  .mbuy b { font: 600 17px var(--h); letter-spacing: -.02em; display: block; }
  .mbuy small { color: var(--dim); font-size: 12px; }
}

.demo-band { margin-top: clamp(64px, 8vw, 120px); padding: clamp(56px, 7vw, 100px) 0; }
.demo-band .head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.demo-band h2 { font-size: clamp(36px, 4.6vw, 68px); }
.demo-band .head p { color: var(--mute); max-width: 28em; }

.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.included > div { background: var(--tile); border-radius: 22px; padding: 26px; }
.included h4 { font: 600 18px var(--h); letter-spacing: -.02em; margin: 10px 0 6px; }
.included p { color: var(--mute); font-size: 14.5px; }
@media (max-width: 860px) { .included { grid-template-columns: 1fr; } }

/* ── packshots ── */
.ps-phone { width: 300px; height: 620px; border-radius: 52px; background: #0b0b0b; padding: 11px; box-shadow: 0 0 0 1.5px #2a2a2a inset, 0 0 0 3px #111, 0 50px 90px -30px rgba(0,0,0,.45), 0 20px 40px -20px rgba(0,0,0,.3); position: relative; flex: none; }
.ps-island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.ps-screen { width: 100%; height: 100%; border-radius: 42px; background: #000; color: #fff; overflow: hidden; padding: 58px 18px 18px; font: 400 12px/1.4 var(--b); display: flex; flex-direction: column; gap: 9px; }
.ps-head { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.ps-head b { font: 700 13.5px var(--h); letter-spacing: -.02em; display: block; }
.ps-head small { color: rgba(255,255,255,.45); font: 500 9px var(--m); letter-spacing: .1em; text-transform: uppercase; }
.ps-logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 700 14px var(--h); color: #000; flex: none; }
.ps-label { font: 500 9px var(--m); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 6px; }
.ps-big { font: 700 44px/1 var(--h); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ps-mid { font: 600 15px var(--h); letter-spacing: -.02em; }
.ps-pill { align-self: flex-start; font: 600 10.5px var(--b); padding: 5px 9px; border-radius: 99px; }
.ps-pill.g { background: rgba(111,211,154,.14); color: #6fd39a; }
.ps-pill.r { background: rgba(255,122,107,.14); color: #ff7a6b; }
.ps-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.09); border-radius: 12px; overflow: hidden; }
.ps-kpis.k4 { grid-template-columns: repeat(4, 1fr); }
.ps-kpis > div { background: #0e0e0d; padding: 9px 10px; }
.ps-kpis span { font: 500 8px var(--m); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.ps-kpis b { display: block; font: 700 16px/1.1 var(--h); letter-spacing: -.03em; margin-top: 3px; }
.ps-card { background: #0e0e0d; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 10px 12px; display: grid; gap: 5px; }
.ps-ct { font: 600 11px var(--h); letter-spacing: -.01em; margin-bottom: 2px; }
.ps-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: rgba(255,255,255,.72); }
.ps-row b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.ps-row b.neg { color: #ff7a6b; }
.ps-row.big { font-size: 14px; } .ps-row.big b { font: 700 18px var(--h); }
.ps-wf { display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: center; font-size: 9.5px; color: rgba(255,255,255,.6); }
.ps-wf i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); }
.ps-wf:last-child i { background: var(--bc); }
.ps-job { display: grid; gap: 4px; } .ps-job i { display: block; height: 5px; border-radius: 3px; }
.ps-btn { margin-top: auto; height: 38px; border-radius: 99px; display: grid; place-items: center; font: 600 12px var(--b); color: #000; }
.ps-window { width: 860px; border-radius: 16px; background: #000; box-shadow: 0 0 0 1px rgba(0,0,0,.2), 0 60px 100px -40px rgba(0,0,0,.5); overflow: hidden; color: #fff; flex: none; }
.ps-bar { height: 36px; background: #141413; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.ps-bar i { width: 11px; height: 11px; border-radius: 50%; background: #333; }
.ps-bar span { margin-left: 16px; font: 500 11px var(--m); color: rgba(255,255,255,.4); background: #0a0a0a; padding: 5px 14px; border-radius: 6px; }
.ps-desk { padding: 22px; font: 400 12px/1.4 var(--b); display: grid; gap: 12px; }
.ps-cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; }
.ps-cols > div { display: grid; gap: 10px; align-content: start; }
.ps-desk .ps-big { font-size: 56px; }
.ps-sheet { width: 340px; background: #fff; color: #111; border-radius: 6px; padding: 26px 24px; font: 400 10.5px/1.45 var(--b); flex: none; }
.ps-sh-h { display: flex; gap: 10px; align-items: center; border-bottom: 2.5px solid; padding-bottom: 12px; margin-bottom: 14px; }
.ps-sh-h b { font: 700 15px var(--h); letter-spacing: -.02em; display: block; } .ps-sh-h small { color: #777; }
.ps-sh-big { font: 700 36px/1 var(--h); letter-spacing: -.04em; margin-bottom: 12px; }
.ps-sh-big small { display: block; font: 400 10.5px var(--b); color: #666; letter-spacing: 0; margin-top: 6px; }
.ps-sheet table { width: 100%; border-collapse: collapse; }
.ps-sheet td { padding: 5px 0; border-bottom: 1px solid #eee; } .ps-sheet td:last-child { text-align: right; }
.ps-sh-f { margin-top: 14px; color: #999; font-size: 9px; }
.ps-trio { display: flex; align-items: center; justify-content: center; }
.ps-trio .ps-phone.back { transform: scale(.86); opacity: .95; }
.ps-trio .ps-phone.l { margin-right: -120px; transform: scale(.86) rotate(-6deg); }
.ps-trio .ps-phone.r { margin-left: -120px; transform: scale(.86) rotate(6deg); }
.ps-trio .ps-phone.front { z-index: 2; }

/* ── the calculator (always dark) ── */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
@media (max-width: 980px) { .calc { grid-template-columns: 1fr; } }
.calc .inputs { display: grid; gap: 12px; }
.grp { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); overflow: hidden; }
.grp > button.gh { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left; }
.grp > button.gh span { font: 700 19px var(--h); letter-spacing: -.025em; }
.grp > button.gh em { font: 500 12.5px var(--m); color: var(--dim); font-style: normal; }
.grp .gb { padding: 0 22px 22px; display: grid; gap: 18px; }
.grp.closed .gb { display: none; }
.grp.locked .gb { opacity: .5; pointer-events: none; }
.grp .lockmsg { margin: -6px 22px 18px; font-size: 14px; color: var(--orange); }
.fld label { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--mute); margin-bottom: 8px; gap: 10px; }
.fld .val { flex: none; width: 150px; display: flex; align-items: center; gap: 2px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 10px; height: 34px; background: #000; justify-content: flex-end; }
.fld .val:focus-within { border-color: var(--brand); }
.fld .val input { background: none; border: 0; width: 100%; text-align: right; font: 600 15px var(--b); font-variant-numeric: tabular-nums; outline: none; color: var(--fg); }
.fld .val i { font-style: normal; color: var(--dim); font-size: 14px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--p, 50%), rgba(255,255,255,.12) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.5); cursor: grab; border: 0; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; cursor: grab; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #000; border: 1px solid var(--line2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { height: 38px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-size: 14.5px; color: var(--mute); }
.seg button.on { background: #fff; color: #000; font-weight: 600; }
.lines { display: grid; gap: 8px; }
.calc .line { display: grid; grid-template-columns: 1fr 150px 28px; gap: 8px; align-items: center; }
.calc .line input.lbl { background: none; border: 0; border-bottom: 1px dashed transparent; font-size: 15px; color: var(--fg); padding: 6px 0; outline: none; min-width: 0; }
.calc .line input.lbl:focus { border-bottom-color: var(--line2); }
.line input.lbl[readonly] { pointer-events: none; }
.line .x { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--dim); cursor: pointer; }
.line .x:hover { color: var(--bad); border-color: var(--bad); }
.presets { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.dark .chip { color: var(--mute); }
.dark .chip:hover { color: var(--fg); border-color: var(--fg); }
.addline { justify-self: start; background: none; border: 0; color: var(--brand); cursor: pointer; font-weight: 600; font-size: 14.5px; padding: 4px 0; }
.results { position: sticky; top: 90px; display: grid; gap: 12px; }
@media (max-width: 980px) { .results { position: static; } }
.res-main { border-radius: 26px; padding: 28px; background: linear-gradient(170deg, #151514, #070707); border: 1px solid var(--line2); position: relative; overflow: hidden; }
.res-main::after { content: ""; position: absolute; right: -30%; top: -60%; width: 80%; height: 160%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); pointer-events: none; }
.res-main .profit { font: 700 clamp(56px, 7vw, 96px)/1 var(--h); letter-spacing: -.055em; margin: 14px 0 12px; font-variant-numeric: tabular-nums; transition: color .3s; }
.res-main .profit.neg { color: var(--bad); }
.res-main .verdict { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 99px; font: 600 13px var(--b); }
.pill.good { background: rgba(111,211,154,.12); color: var(--good); }
.pill.bad { background: rgba(255,122,107,.12); color: var(--bad); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.kpis > div { background: var(--panel); padding: 16px 16px 18px; }
.kpis b { display: block; font: 700 24px/1.1 var(--h); letter-spacing: -.035em; margin-top: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr 1fr; } }
.panel { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 22px; }
.panel .ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 10px; }
.panel .ph h4 { font: 700 18px var(--h); letter-spacing: -.02em; }
.wf { display: grid; gap: 9px; }
.wf .r { display: grid; grid-template-columns: 150px 1fr 96px; gap: 12px; align-items: center; font-size: 14px; }
.wf .r span:first-child { color: var(--mute); }
.wf .bar { height: 12px; position: relative; }
.wf .bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: rgba(255,255,255,.18); transition: left .6s var(--ease), width .6s var(--ease); }
.wf .r.start .bar i { background: rgba(255,255,255,.85); }
.wf .r.end .bar i { background: var(--brand); }
.wf .r.end.neg .bar i { background: var(--bad); }
.wf .r b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .wf .r { grid-template-columns: 104px 1fr 82px; font-size: 13px; } }
.stress { display: grid; gap: 2px; }
.stress .r { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.stress .r:last-child { border: 0; }
.stress .r b { font-variant-numeric: tabular-nums; }
.stress .r b.neg { color: var(--bad); }
.stress .r b.pos { color: var(--good); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mbar { display: none; }
@media (max-width: 980px) {
  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(10,10,10,.9); color: #fff; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8); transition: transform .4s var(--ease), opacity .4s; }
  .mbar.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .mbar b { font: 700 26px/1 var(--h); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
  .mbar b.neg { color: #ff7a6b; }
  .mbar .pill { font-size: 12px; padding: 6px 10px; }
  .mbar .mono { color: rgba(255,255,255,.45); }
}
@media (max-width: 600px) {
  .fld .val { width: 128px; } .line { grid-template-columns: 1fr 118px 28px; } .line .fld .val { width: 118px; }
}

/* ── the paid app (dark) ── */
.app-top { border-bottom: 1px solid var(--line); background: #000; }
.app-top .wrap { display: flex; align-items: center; gap: 14px; height: 70px; }
.app-top .logo { height: 38px; width: 38px; border-radius: 10px; object-fit: contain; background: #fff; flex: none; }
.app-top .bn { font: 700 19px var(--h); letter-spacing: -.03em; min-width: 0; }
.app-top .bn small { display: block; font: 500 10.5px var(--m); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.app-top .r { margin-left: auto; display: flex; gap: 8px; }
.app-grid { display: grid; grid-template-columns: 260px 1fr; gap: 16px; padding: 24px 0 80px; }
@media (max-width: 1100px) { .app-grid { grid-template-columns: 1fr; } }
.deals { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 16px; align-self: start; position: sticky; top: 16px; }
@media (max-width: 1100px) { .deals { position: static; } }
.deals h4 { font: 700 16px var(--h); margin-bottom: 10px; }
.deals ul { list-style: none; display: grid; gap: 4px; max-height: 50vh; overflow: auto; }
.deals li button { width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.deals li button:hover, .deals li button.on { background: rgba(255,255,255,.06); }
.deals li small { display: block; color: var(--dim); font-size: 12.5px; }
.dealname { background: none; border: 0; font: 700 clamp(26px, 3vw, 36px) var(--h); letter-spacing: -.035em; width: 100%; outline: none; margin-bottom: 16px; border-bottom: 1px dashed transparent; color: var(--fg); }
.dealname:focus { border-bottom-color: var(--line2); }
.poweredby { text-align: center; color: var(--dim); font-size: 13px; padding: 30px 0 50px; }
.poweredby a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .app-top .wrap { height: 64px; gap: 10px; }
  .app-top .bn { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .app-top .bn small { font-size: 9.5px; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; }
  .app-top .logo { width: 32px; height: 32px; }
  .app-top .r .btn { height: 34px; padding: 0 12px; font-size: 13px; }
}

/* ── store pages: forms, checkout, library ── */
.page { padding: clamp(40px, 6vw, 84px) 0 0; }
.page h1 { font-size: clamp(42px, 5.4vw, 78px); margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.box { border-radius: 24px; padding: clamp(24px, 3vw, 36px); background: var(--tile); }
.box h3 { font-size: 28px; margin: 10px 0 16px; }
.box.sticky { position: sticky; top: 90px; }
@media (max-width: 900px) { .box.sticky { position: static; } }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--mute); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select { height: 54px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg); padding: 0 16px; font-size: 16px; color: var(--fg); outline: none; }
.form textarea { height: 130px; padding: 14px 16px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--fg); }
.form .agree { display: flex; gap: 12px; align-items: flex-start; color: var(--mute); font-size: 14.5px; }
.form .agree input { margin-top: 4px; accent-color: #000; width: 18px; height: 18px; flex: none; }
.fakecard { border: 1px dashed var(--line2); border-radius: 14px; padding: 18px; color: var(--dim); font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.final { border-radius: 14px; background: #fff4ee; border: 1px solid rgba(232,98,42,.35); padding: 14px 16px; font-size: 14px; color: #7a3412; }
.final b { color: #000; }
.sum { display: grid; gap: 12px; }
.sum .item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.sum .thumb { width: 64px; height: 64px; border-radius: 12px; background: #fff; overflow: hidden; position: relative; }

.sum .r { display: flex; justify-content: space-between; color: var(--mute); }
.sum .r.t { color: var(--fg); font: 700 24px var(--h); letter-spacing: -.03em; padding-top: 14px; border-top: 1px solid var(--line2); }
.err { color: var(--bad); font-size: 14px; min-height: 1em; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: 0 0 0 1px var(--line2); }
.swatches button.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }
.swatches input[type=color] { width: 38px; height: 38px; border: 0; background: none; padding: 0; cursor: pointer; }
.drop { border: 1px dashed var(--line2); border-radius: 16px; padding: 18px; display: flex; gap: 16px; align-items: center; cursor: pointer; background: var(--bg); }
.drop img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.drop .ph { width: 56px; height: 56px; border-radius: 12px; background: var(--tile2); display: grid; place-items: center; color: var(--dim); font-size: 24px; }
.setup-stage { background: #0b0b0b; border-radius: 24px; display: grid; place-items: center; min-height: 660px; }
@media (max-width: 900px) { .setup-stage { min-height: 560px; } .setup-stage .ps-phone { transform: scale(.86); } }
.email { max-width: 640px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); background: #fff; color: #111; }
.email .eh { padding: 14px 20px; border-bottom: 1px solid #eee; font: 500 12px var(--m); color: #777; display: grid; gap: 4px; background: #fafafa; }
.email .eb { padding: 34px 32px; }
.email h3 { font: 700 30px/1.05 var(--h); letter-spacing: -.035em; margin-bottom: 14px; }
.email p { color: #444; margin-bottom: 14px; font-size: 15.5px; }
.email .key { font: 600 15px var(--m); background: #f3f3f3; padding: 12px 14px; border-radius: 10px; letter-spacing: .06em; margin: 8px 0 18px; }
.email .eb a.btn { margin: 6px 0 16px; }
.lib { display: grid; gap: 12px; }
.lib .item { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; border-radius: 22px; padding: 18px; background: var(--tile); }
.lib .item .thumb { width: 90px; height: 90px; border-radius: 14px; background: #fff; position: relative; overflow: hidden; }

.lib .item h4 { font: 700 22px var(--h); letter-spacing: -.03em; margin: 4px 0; }
@media (max-width: 640px) { .lib .item { grid-template-columns: 70px 1fr; } .lib .item .thumb { width: 70px; height: 70px; } .lib .item > div:last-child { grid-column: 1 / -1; } }
.legal { max-width: 820px; }
.legal h2 { font-size: 28px; margin: 40px 0 12px; letter-spacing: -.03em; }
.legal p, .legal li { color: var(--mute); margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 20px; }
.flag { border: 1px solid rgba(232,98,42,.45); background: #fff4ee; color: #7a3412; border-radius: 16px; padding: 16px 18px; font-size: 14.5px; margin: 18px 0; }

/* ── bag drawer ── */
.bag-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .4s; }
.bag-scrim.on { opacity: 1; pointer-events: auto; }
.bag { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; color: #0b0b0b; z-index: 91; transform: translateX(100%); transition: transform .55s var(--ease); display: flex; flex-direction: column; box-shadow: -30px 0 80px -30px rgba(0,0,0,.3); }
.bag.on { transform: none; }
.bag .bh { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid rgba(0,0,0,.08); }
.bag .bh h3 { font: 700 22px var(--h); letter-spacing: -.03em; }
.bag .x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); background: none; cursor: pointer; font-size: 18px; }
.bag .bl { flex: 1; overflow: auto; padding: 18px 24px; display: grid; gap: 14px; align-content: start; }
.bag .bi { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.bag .bi .thumb { width: 84px; height: 84px; border-radius: 14px; background: #f2f2f2; position: relative; overflow: hidden; }

.bag .bi b { font: 600 16px var(--h); letter-spacing: -.02em; display: block; }
.bag .bi small { color: rgba(0,0,0,.5); font-size: 13px; display: block; }
.bag .bi .rm { background: none; border: 0; color: rgba(0,0,0,.5); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; margin-top: 6px; }
.bag .bf { border-top: 1px solid rgba(0,0,0,.08); padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.bag .bf .tot { display: flex; justify-content: space-between; font: 700 20px var(--h); letter-spacing: -.02em; }
.bag .empty { color: rgba(0,0,0,.5); text-align: center; padding: 60px 0; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; background: #0b0b0b; color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 600; font-size: 14.5px; transition: all .4s var(--ease); z-index: 120; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 980px) { .toast { bottom: 104px; } }

/* ── print: the one-page deal summary ── */
#print { display: none; }
@media print {
  @page { size: letter; margin: 0.5in; }
  html, body { background: #fff !important; color: #111 !important; }
  body > *:not(#print) { display: none !important; }
  #print { display: block !important; font: 400 11pt/1.45 var(--b); color: #111; }
  #print .ph { display: flex; align-items: center; gap: 12px; border-bottom: 3px solid var(--brand); padding-bottom: 12px; margin-bottom: 18px; }
  #print .ph img { height: 44px; width: 44px; object-fit: contain; }
  #print h1 { font: 700 24pt/1 var(--h); letter-spacing: -.03em; }
  #print h2 { font: 700 13pt var(--h); margin: 16px 0 6px; }
  #print .big { font: 700 34pt/1 var(--h); letter-spacing: -.04em; }
  #print table { width: 100%; border-collapse: collapse; }
  #print td { padding: 5px 0; border-bottom: 1px solid #e6e6e6; }
  #print td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
  #print .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  #print .foot { margin-top: 22px; font-size: 8.5pt; color: #777; display: flex; justify-content: space-between; }
}

/* centering for oversized packshots (layout box can be wider than the stage) */
.gallery .main .view:not(.photo) > * { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.gallery .main .view .ps-window { transform: scale(.8); }
.gallery .main .view .ps-trio { transform: scale(.78); }
.gallery .main .view > .ps-phone { transform: scale(.92); }
.tile .stage > .ps-phone, .tile .stage > .ps-trio { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
@media (max-width: 960px) {
  .gallery .main .view .ps-window { transform: scale(.4); }
  .gallery .main .view .ps-trio { transform: scale(.5); }
  .gallery .main .view > .ps-phone { transform: scale(.6); }
  .gallery .main .view .ps-sheet { transform: rotate(-2deg) scale(.8); }
}
.tile.release .stage { background: #000; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: clamp(24px, 3vw, 44px); }
.tile.release h3 { font-size: clamp(32px, 3.4vw, 52px); margin: 12px 0 12px; max-width: 12em; }
.tile.release p { color: rgba(255,255,255,.65); max-width: 30em; }
.tile.release .notify { width: min(440px, 100%); margin-top: 22px; }
.tile.release .notify input { border-color: rgba(255,255,255,.25); color: #fff; }
.tile.release .notify input::placeholder { color: rgba(255,255,255,.45); }
.tile.release .cal { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.tile.release .cal span { font: 500 11px var(--m); letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 7px 11px; color: rgba(255,255,255,.75); }
@media (max-width: 1100px) { .tile.release { grid-column: span 12; } }
.tile .meta > div:first-child { min-width: 0; flex: 1; }
.tile .meta .p { flex: none; }
.notify .btn { flex: none; }

.sum .thumb .ps-phone, .lib .item .thumb .ps-phone, .bag .bi .thumb .ps-phone { position: absolute; left: 50%; top: 50%; translate: -50% -43%; }
.sum .thumb .ps-phone { transform: scale(.2); }
.bag .bi .thumb .ps-phone { transform: scale(.26); }
.lib .item .thumb .ps-phone { transform: scale(.28); }
@media (max-width: 640px) { .lib .item .thumb .ps-phone { transform: scale(.22); } }
@media (max-width: 960px) {
  .gallery .main .view > .ps-phone { transform: scale(.5); }
  .gallery .main .cap { display: none; }
  .gallery .thumbs [data-thumb] .mini { display: none; }
  .gallery .thumbs [data-thumb] > span { position: static; color: var(--fg); font-size: 9px; letter-spacing: .06em; }
  .gallery .thumbs [data-thumb] { aspect-ratio: auto; height: 48px; border-radius: 12px; }
  .gallery .thumbs [data-thumb][data-thumb=photo] img { display: none; }
}

/* ── product page: live demo of the real app ── */
.demo-band { background: var(--tile); }
.demo-grid { display: grid; grid-template-columns: 1fr 440px; gap: clamp(28px, 5vw, 80px); align-items: center; }
.demo-copy h2 { font-size: clamp(36px, 4.6vw, 68px); }
.demo-copy > p { color: var(--mute); max-width: 30em; margin-top: 16px; font-size: 17px; }
.demo-how { list-style: none; display: grid; gap: 12px; margin-top: 24px; max-width: 30em; }
.demo-how li { padding-left: 22px; position: relative; color: var(--mute); }
.demo-how li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.demo-how b { color: var(--fg); font-weight: 600; }
.demo-device { display: grid; place-items: center; padding-top: 52px; }
.demo-frame { position: relative; width: 410px; height: 840px; border-radius: 54px; background: #0b0b0b; padding: 12px; box-shadow: 0 0 0 1.5px #2a2a2a inset, 0 50px 100px -40px rgba(0,0,0,.5); }
.demo-frame > div[data-rx] { width: 100%; height: 100%; border-radius: 43px; overflow: hidden; transform: translateZ(0); }
.demo-frame .rx { --rx-h: 816px; }
.demo-fs { position: absolute; top: -48px; right: 0; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--fg); color: var(--bg); font: 600 13px var(--b); border: 0; cursor: pointer; }
.demo-x { display: none; }
.demo-frame.fs { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; padding: 0; z-index: 200; background: #fff; box-shadow: none; }
.demo-frame.fs > div[data-rx] { border-radius: 0; }
.demo-frame.fs .rx { --rx-h: 100dvh; }
.demo-frame.fs .demo-fs { display: none; }
.demo-frame.fs .demo-x { display: grid; place-items: center; position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 210; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; font-size: 22px; border: 0; cursor: pointer; }
@media (max-width: 960px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-device { order: -1; }
  .demo-frame { width: 100%; max-width: 420px; height: 78vh; min-height: 620px; border-radius: 28px; padding: 6px; }
  .demo-frame > div[data-rx] { border-radius: 23px; }
  .demo-frame .rx { --rx-h: calc(78vh - 12px); }
}
@media (max-width: 960px) and (min-height: 1px) { .demo-copy .demo-how { display: none; } }
.app-shell { height: 100dvh; }
.app-shell .rx { --rx-h: 100dvh; }

/* ── rehab packshots (the real app's design) ── */
.ps-screen.psr { background: #fff; color: #0b0b0b; padding: 0; gap: 0; position: relative; }
.psr-hero { position: relative; height: 262px; flex: none; }
.psr-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.psr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 34%, transparent 50%, rgba(0,0,0,.66)); }
.psr-brand { position: absolute; top: 48px; left: 14px; z-index: 2; display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.92); border-radius: 99px; padding: 4px 10px 4px 4px; font: 600 10.5px var(--b); }
.psr-brand .ps-logo { width: 20px; height: 20px; border-radius: 6px; font-size: 10px; }
.psr-cap { position: absolute; left: 14px; right: 14px; bottom: 24px; z-index: 2; color: #fff; }
.psr-cap b { font: 700 19px/1 var(--h); letter-spacing: -.035em; display: block; }
.psr-cap small { opacity: .85; font-size: 10.5px; }
.psr-chips { display: flex; gap: 4px; margin-top: 7px; }
.psr-chips span { background: rgba(255,255,255,.22); border-radius: 99px; padding: 3px 7px; font-size: 9px; font-weight: 500; }
.psr-body { position: relative; z-index: 3; margin-top: -14px; background: #fff; border-radius: 16px 16px 0 0; padding: 14px 14px 0; flex: 1; display: flex; flex-direction: column; }
.psr-k { font: 500 8px var(--m); letter-spacing: .14em; text-transform: uppercase; }
.psr-big { font: 700 34px/1 var(--h); letter-spacing: -.055em; margin: 4px 0 3px; font-variant-numeric: tabular-nums; }
.psr-sub { color: rgba(0,0,0,.55); font-size: 9.5px; }
.psr-led { margin-top: 9px; border-top: 1px solid rgba(0,0,0,.08); }
.psr-led div { display: flex; justify-content: space-between; align-items: center; padding: 6.5px 0; border-bottom: 1px solid rgba(0,0,0,.08); font-size: 10.5px; }
.psr-led div span { display: flex; align-items: center; gap: 7px; }
.psr-led i { width: 18px; height: 18px; border-radius: 6px; background: #f2f2f2; display: inline-block; }
.psr-led b { font: 600 11.5px var(--h); letter-spacing: -.02em; }
.psr-offer { margin-top: 9px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); padding: 10px 11px 11px; }
.psr-offer .p { font: 700 20px var(--h); letter-spacing: -.04em; margin-top: 2px; }
.psr-track { position: relative; height: 4px; border-radius: 4px; background: #e8e8e8; margin: 18px 0 9px; }
.psr-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #0b0b0b; }
.psr-track em { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.psr-track u { position: absolute; top: -14px; transform: translateX(-50%); font: 500 6.5px var(--m); letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.psr-track u::after { content: ""; position: absolute; left: 50%; top: 9px; width: 1.5px; height: 10px; background: currentColor; }
.psr-v { font-size: 9.5px; line-height: 1.4; color: rgba(0,0,0,.75); }
.psr-v b { font-weight: 600; color: #0b0b0b; }
.psr-pill { display: inline-block; border-radius: 99px; padding: 2px 7px; font: 600 8.5px var(--b); margin-bottom: 4px; }
.psr-pill.g { background: #e9f7ee; color: #15803d; } .psr-pill.r { background: #fdeee6; color: #c2410c; }
.psr-dock { margin-top: auto; display: flex; gap: 6px; padding: 10px 0 12px; }
.psr-dock span { height: 32px; border-radius: 99px; display: grid; place-items: center; font: 600 10.5px var(--b); padding: 0 14px; }
.psr-dock .l { box-shadow: 0 0 0 1px rgba(0,0,0,.16); }
.psr-dock .d { background: #0b0b0b; color: #fff; flex: 1; }
/* desktop window, rehab */
.ps-window.psrw { background: #fff; color: #0b0b0b; }
.psrw-grid { display: grid; grid-template-columns: 1.1fr 1fr; height: 520px; }
.psrw-grid .psr-hero { height: 100%; }
.psrw-grid .psr-cap { bottom: 26px; left: 24px; }
.psrw-grid .psr-cap b { font-size: 34px; }
.psrw-grid .psr-brand { top: 16px; left: 16px; }
.psrw-side { padding: 24px 26px; display: flex; flex-direction: column; }
.psrw-side .psr-big { font-size: 52px; }
.psrw-side .psr-sub { font-size: 12px; }
.psrw-side .psr-led div { font-size: 12.5px; padding: 9px 0; }
.psrw-side .psr-led b { font-size: 14px; }
.psrw-side .psr-offer .p { font-size: 26px; }
.psrw-side .psr-v { font-size: 12px; }
/* report sheet */
.ps-sheet.psrs { padding: 0; overflow: hidden; width: 330px; }
.psrs-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 2.5px solid; }
.psrs-bar b { font: 700 12px var(--h); display: block; } .psrs-bar small { color: #888; font-size: 9px; }
.psrs-bar .ps-logo { width: 24px; height: 24px; font-size: 11px; border-radius: 7px; }
.psrs img { width: 100%; height: 120px; object-fit: cover; display: block; }
.psrs-in { padding: 14px 16px 16px; }
.psrs-in h5 { font: 700 17px var(--h); letter-spacing: -.03em; }
.psrs-in .st { font: 400 11px/1.45 var(--s); font-style: italic; color: #333; margin-top: 7px; }
.psrs-in .st b { font-family: var(--h); font-style: normal; }
.psrs-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #eee; border-radius: 8px; overflow: hidden; margin-top: 10px; }
.psrs-nums div { background: #fafafa; padding: 7px 8px; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; color: #888; font-family: var(--m); }
.psrs-nums b { display: block; font: 700 15px var(--h); letter-spacing: -.03em; color: #111; text-transform: none; margin-top: 2px; }
.psrs table { margin-top: 8px; font-size: 9.5px; }
.psrs-f { color: #aaa; font-size: 7.5px; margin-top: 10px; }

/* ───────── Live product shots: the real app, rendered inside the device it's used on ───────── */
.ps-live { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; text-align: left; }
.ps-live .ak { height: 100%; }
.ps-live.ph .ak-scr { padding-top: 46px; }
.ps-live .ak-scr { overflow: hidden; }
.ps-live .ak-dock { position: absolute; left: 0; right: 0; bottom: 0; }
.ps-screen.live { padding: 0; position: relative; background: #fff; display: block; }
.ps-tablet { width: 720px; height: 520px; border-radius: 34px; background: #0b0b0b; padding: 14px; flex: none; box-shadow: 0 0 0 1.5px #2a2a2a inset, 0 60px 100px -40px rgba(0,0,0,.5); }
.ps-tscreen { width: 692px; height: 492px; border-radius: 20px; overflow: hidden; position: relative; background: #111; }
.ps-wscreen { width: 860px; height: 540px; position: relative; overflow: hidden; background: #fff; }
.ps-piece { height: auto !important; overflow: visible !important; container-type: inline-size; }
.ps-paper { flex: none; max-height: 880px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.35); border-radius: 4px; background: #fff; position: relative; }
.ps-paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fff); }
.ps-card-live { flex: none; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.ps-card-live .ak { background: transparent; }
/* combos: the tool shown in its two real forms at once */
.ps-combo { position: relative; flex: none; }
.ps-combo.paper { width: 760px; height: 820px; }
.ps-combo.paper .ps-paper { position: absolute; left: 0; top: 0; transform: rotate(-3deg); }
.ps-combo.paper .ps-phone { position: absolute; right: 0; bottom: 0; transform: rotate(4deg); }
.ps-combo.tab { width: 860px; height: 640px; }
.ps-combo.tab .ps-tablet { position: absolute; left: 0; top: 0; }
.ps-combo.tab .ps-phone { position: absolute; right: 0; bottom: -40px; transform: scale(.82); transform-origin: bottom right; }
.ps-combo.card { width: 640px; height: 680px; }
.ps-combo.card .ps-phone { position: absolute; left: 0; top: 30px; transform: rotate(-3deg); }
.ps-combo.card .ps-card-live { position: absolute; right: 0; top: 140px; transform: rotate(4deg); }
.ps-trio.papers { position: relative; width: 980px; height: 900px; }
.ps-trio.papers .pp { position: absolute; top: 40px; }
.ps-trio.papers .p0 { left: 0; transform: rotate(-7deg) scale(.9); }
.ps-trio.papers .p2 { right: 0; transform: rotate(7deg) scale(.9); }
.ps-trio.papers .p1 { left: 50%; translate: -50% 0; z-index: 2; top: 10px; }
.tile .stage > .ps-combo, .tile .stage > .ps-tablet { position: absolute; left: 50%; top: 50%; translate: -50% -50%; transition: transform .9s var(--ease); }
.tile .stage > .ps-combo { transform: scale(.52); } .tile:hover .stage > .ps-combo { transform: scale(.54) translateY(-8px); }
.gallery .main .view > .ps-tablet { transform: scale(.78); }
.gallery .main .view > .ps-paper { transform: rotate(-2deg) scale(.7); }
.gallery .main .view > .ps-card-live { transform: rotate(-2deg) scale(var(--cs, 1.1)); }
.gallery .main .view > .ps-trio.papers { transform: scale(.56); }
.gallery .thumbs [data-thumb] .mini { transform: scale(var(--ts, .17)); }
@media (max-width: 960px) {
  .tile .stage > .ps-combo, .tile:hover .stage > .ps-combo { transform: scale(.46); }
  .gallery .main .view > .ps-tablet { transform: scale(.48); }
  .gallery .main .view > .ps-paper { transform: rotate(-2deg) scale(.42); }
  .gallery .main .view > .ps-card-live { transform: rotate(-2deg) scale(calc(var(--cs, 1.1) * .72)); }
  .gallery .main .view > .ps-trio.papers { transform: scale(.36); }
}
/* the shared app shell in the demo phone and the paid app */
.demo-frame .ak { --ak-h: 816px; }
.demo-frame.fs .ak { --ak-h: 100dvh; }
@media (max-width: 960px) { .demo-frame .ak { --ak-h: calc(78vh - 12px); } }
.app-shell .ak { --ak-h: 100dvh; }

/* ───────── live account pages ───────── */
.boot { min-height: 70vh; display: grid; place-items: center; }
.boot::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid rgba(0,0,0,.12); border-top-color: var(--fg); animation: spin .8s linear infinite; }
.app-shell.boot { min-height: 100dvh; }
@keyframes spin { to { transform: rotate(360deg); } }
.fakecard.prelaunch { background: #111; color: #fff; }
.fakecard.prelaunch .o { color: #EE7440; }
.lib-biz { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.lib-biz:first-of-type { border-top: 0; padding-top: 0; }
.lib-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.lib-h h3 { font: 700 26px var(--h); letter-spacing: -.03em; margin-top: 6px; }
.team { margin-top: 18px; background: var(--tile); border-radius: 20px; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.team ul { list-style: none; display: grid; gap: 6px; }
.team li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 14.5px; min-width: 0; }
.team li span:first-child { overflow: hidden; text-overflow: ellipsis; }
.team .tm { display: flex; gap: 8px; }
.team .tm input { flex: 1; min-width: 0; height: 44px; border-radius: 99px; border: 1px solid var(--line); padding: 0 16px; font: inherit; background: #fff; }

/* ───────── Bag + checkout + thank you (Apple Store pattern: quiet white, big type, hairlines, one strong button) ───────── */
:root { --hair: rgba(0,0,0,.12); --gray: #6e6e73; --soft: #f5f5f7; }
.ab-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 30px; border-radius: 12px; background: #0b0b0b; color: #fff; font: 600 16px var(--b); transition: background .2s, transform .2s var(--ease); white-space: nowrap; }
.ab-btn:hover { background: #2a2a2a; } .ab-btn:active { transform: scale(.98); }
.ab-btn.wide { width: 100%; height: 56px; font-size: 17px; }
.ab { padding: clamp(28px, 6vw, 72px) 0 80px; }
.ab-wrap { max-width: 980px; margin: 0 auto; padding: 0 var(--pad); }
.ab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 34px; border-bottom: 1px solid var(--hair); }
.ab-head h1, .ab-empty h1 { font: 700 clamp(32px, 5vw, 48px)/1.06 var(--h); letter-spacing: -.035em; }
.ab-head p, .ab-empty p { color: var(--gray); font-size: 17px; margin-top: 10px; }
.ab-item { display: grid; grid-template-columns: 200px 1fr; gap: 36px; padding: 38px 0; border-bottom: 1px solid var(--hair); }
.ab-art { position: relative; height: 220px; background: var(--soft); border-radius: 18px; overflow: hidden; }
.ab-art .ps-phone { position: absolute; left: 50%; top: 18px; translate: -50% 0; scale: .5; transform-origin: top center; }
.ab-info { min-width: 0; }
.ab-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.ab-row h2 { font: 700 26px/1.15 var(--h); letter-spacing: -.03em; }
.ab-row b { font: 600 22px var(--h); }
.ab-info > p { color: var(--gray); font-size: 15.5px; margin-top: 8px; max-width: 34em; }
.ab-acts { display: flex; gap: 22px; margin-top: 14px; font-size: 15px; }
.ab-acts button, .ab-acts a { color: var(--orange); background: none; border: 0; cursor: pointer; padding: 0; }
.ab-acts button:hover, .ab-acts a:hover { text-decoration: underline; }
.ab-more { margin-top: 18px; border-top: 1px solid var(--hair); padding-top: 14px; }
.ab-more summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.ab-more summary::-webkit-details-marker { display: none; }
.ab-more summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--gray); }
.ab-more[open] summary::after { content: "−"; }
.ab-more ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.ab-more li, .co-ok { display: flex; gap: 10px; font-size: 14.5px; color: var(--gray); }
.ab-more li svg { width: 18px; height: 18px; color: var(--fg); flex: none; margin-top: 2px; }
.ab-sum { margin-left: auto; max-width: 460px; padding-top: 30px; }
.ab-rows, .co-rows { display: grid; gap: 10px; font-size: 16px; }
.ab-rows div, .co-rows div { display: flex; justify-content: space-between; gap: 12px; }
.ab-rows div span:last-child, .co-rows div span:last-child { color: var(--gray); }
.ab-total, .co-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--hair); margin: 18px 0 22px; padding-top: 18px; font: 700 24px var(--h); letter-spacing: -.02em; }
.ab-note { color: var(--gray); font-size: 13.5px; text-align: center; margin-top: 14px; }
.ab-note a, .co-foot a, .co-agree a { color: var(--orange); }
.ab-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.ab-help > div { background: var(--soft); border-radius: 18px; padding: 22px; display: grid; gap: 6px; }
.ab-help svg { width: 26px; height: 26px; margin-bottom: 6px; }
.ab-help b { font: 600 16px var(--h); } .ab-help span { color: var(--gray); font-size: 14px; }
.ab-empty { text-align: center; padding: 60px 0; display: grid; justify-items: center; gap: 4px; } .ab-empty .ab-btn { margin-top: 24px; }
@media (max-width: 760px) {
  .ab-head { flex-direction: column; align-items: stretch; } .ab-head .ab-btn { width: 100%; }
  .ab-item { grid-template-columns: 112px 1fr; gap: 18px; padding: 26px 0; }
  .ab-art { height: 150px; border-radius: 14px; } .ab-art .ps-phone { scale: .34; top: 10px; }
  .ab-row { flex-direction: column; gap: 4px; } .ab-row h2 { font-size: 20px; } .ab-row b { font-size: 18px; }
  .ab-info > p { font-size: 14px; }
  .ab-sum { max-width: none; }
  .ab-help { grid-template-columns: 1fr; margin-top: 36px; }
}
/* checkout chrome: store nav removed, just the brand, a lock and the bag */
.co-top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.co-topin { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.co-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; } .co-brand .serif { color: var(--gray); font-size: 17px; }
.co-secure { display: flex; align-items: center; gap: 6px; color: var(--gray); font-size: 13px; } .co-secure svg { width: 15px; height: 15px; }
.co-bag { justify-self: end; width: 40px; height: 40px; display: grid; place-items: center; } .co-bag svg { width: 22px; height: 22px; }
.co-sumbar { display: none; background: var(--soft); border-bottom: 1px solid var(--hair); }
.co-sumbar > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--pad); background: none; border: 0; font-size: 15px; color: var(--orange); cursor: pointer; }
.co-sumbar > button > span { display: flex; align-items: center; gap: 8px; } .co-sumbar svg { width: 18px; height: 18px; }
.co-sumbar > button b { color: var(--fg); font: 700 18px var(--h); }
.co-sumpanel { padding: 4px var(--pad) 8px; }
.co { max-width: 1120px; margin: 0 auto; padding: 44px var(--pad) 70px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.co-h { font: 700 clamp(34px, 5vw, 48px)/1 var(--h); letter-spacing: -.04em; margin-bottom: 26px; }
.co-step { border-top: 1px solid var(--hair); padding: 26px 0; }
.co-sh { display: flex; align-items: center; gap: 14px; }
.co-sh .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--h); background: #0b0b0b; color: #fff; flex: none; transition: background .3s; }
.co-sh h2 { font: 700 22px/1.2 var(--h); letter-spacing: -.025em; flex: 1; }
.co-edit { display: none; background: none; border: 0; color: var(--orange); font-size: 15px; cursor: pointer; }
.co-sv { display: none; color: var(--gray); font-size: 15.5px; margin: 6px 0 0 44px; overflow-wrap: anywhere; }
.co-body { display: grid; gap: 16px; margin: 18px 0 0 44px; animation: coIn .45s var(--ease); }
.co-step.done .co-body, .co-step.todo .co-body { display: none; }
.co-step.done .co-edit, .co-step.done .co-sv { display: block; }
.co-step.done .co-sh .n { background: var(--good); font-size: 0; }
.co-step.done .co-sh .n::after { content: "✓"; font-size: 14px; }
.co-step.todo { opacity: .45; } .co-step.todo .co-sh .n { background: #c7c7cc; }
@keyframes coIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.co-p { color: var(--gray); font-size: 15.5px; max-width: 36em; }
.fl { position: relative; display: block; }
.fl input { width: 100%; height: 58px; border-radius: 12px; border: 1px solid #86868b; padding: 22px 16px 6px; font-size: 17px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.fl input:focus { border-color: #0b0b0b; box-shadow: 0 0 0 4px rgba(232,98,42,.18); }
.fl span { position: absolute; left: 17px; top: 18px; color: var(--gray); font-size: 17px; pointer-events: none; transition: all .18s var(--ease); }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span { top: 8px; font-size: 12px; }
.co-btn { height: 54px; border-radius: 12px; background: #0b0b0b; color: #fff; border: 0; font: 600 17px var(--b); cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.co-btn:hover { background: #2a2a2a; } .co-btn:disabled { opacity: .5; cursor: progress; }
.co-btn.ghost { background: #fff; color: var(--fg); box-shadow: inset 0 0 0 1px var(--hair); }
.co-chip { display: flex; gap: 12px; align-items: center; background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.co-chip .lg { width: 40px; height: 40px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; font: 700 18px var(--h); flex: none; }
.co-chip b { font: 700 16px var(--h); display: block; } .co-chip small { color: var(--gray); font-size: 12.5px; }
.co-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--gray); cursor: pointer; padding: 14px; border-radius: 12px; background: var(--soft); }
.co-agree input { width: 20px; height: 20px; accent-color: #0b0b0b; flex: none; margin-top: 1px; }
.co-agree b { color: var(--fg); }
.co-agree.shake { animation: shake .4s; } @keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.co-stripe:empty { display: none; } .co-stripe { min-height: 420px; }
.co-ok { align-items: center; background: #ecfdf3; border-radius: 14px; padding: 16px; color: #14532d; }
.co-ok svg { width: 26px; height: 26px; flex: none; } .co-ok b { display: block; font: 700 16px var(--h); } .co-ok span { font-size: 14px; }
.co-side { position: sticky; top: 84px; }
.co-sum { background: var(--soft); border-radius: 22px; padding: 24px; }
.co-sum h3 { font: 700 20px var(--h); letter-spacing: -.02em; margin-bottom: 14px; }
.co-items { display: grid; gap: 12px; margin-bottom: 18px; }
.co-it { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 15px; }
.co-it b { font: 600 15px var(--h); display: block; } .co-it small { color: var(--gray); font-size: 12.5px; }
.co-art { position: relative; width: 56px; height: 64px; border-radius: 12px; background: #fff; overflow: hidden; }
.co-art .ps-phone { position: absolute; left: 50%; top: 6px; translate: -50% 0; scale: .17; transform-origin: top center; }
.co-total { margin-bottom: 0; }
.co-perks { list-style: none; display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--gray); }
.co-perks li { display: flex; gap: 10px; align-items: center; } .co-perks svg { width: 18px; height: 18px; color: var(--fg); }
.co-foot { max-width: 1120px; margin: 0 auto; padding: 22px var(--pad) 40px; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--gray); font-size: 13px; }
@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; padding-top: 28px; gap: 0; }
  .co-side { display: none; } .co-sumbar { display: block; }
  .co-body, .co-sv { margin-left: 0; } .co-sv { margin-top: 8px; }
  .co-secure { visibility: hidden; }
}
/* thank you */
.ty { padding: clamp(36px, 7vw, 84px) var(--pad) 70px; }
.ty-in { max-width: 680px; margin: 0 auto; text-align: center; }
.ty-ck { width: 64px; height: 64px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center; margin: 0 auto 26px; animation: tyPop .6s var(--ease); }
.ty-ck svg { width: 32px; height: 32px; }
@keyframes tyPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
.ty h1 { font: 700 clamp(36px, 6vw, 56px)/1.04 var(--h); letter-spacing: -.045em; }
.ty-p { color: var(--gray); font-size: 18px; margin-top: 16px; } .ty-p b { color: var(--fg); }
.ty-order { color: var(--gray); font-size: 15px; margin-top: 8px; } .ty-order b { color: var(--fg); font-family: var(--m); font-weight: 500; }
.ty-cta { display: flex; gap: 22px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.ty-link { color: var(--orange); font-size: 16px; }
.ty-art { position: relative; height: 330px; margin-top: 40px; overflow: hidden; }
.ty-art .ps-phone { position: absolute; left: 50%; top: 0; translate: -50% 0; scale: .62; transform-origin: top center; }
.ty-next { text-align: left; background: var(--soft); border-radius: 22px; padding: 26px; margin-top: 8px; }
.ty-next h2 { font: 700 22px var(--h); letter-spacing: -.025em; margin-bottom: 14px; }
.ty-next ol { list-style: none; display: grid; gap: 16px; }
.ty-next li { display: flex; gap: 14px; } .ty-next li > span { width: 30px; height: 30px; border-radius: 50%; background: #0b0b0b; color: #fff; display: grid; place-items: center; font: 600 14px var(--h); flex: none; }
.ty-next b { font: 600 16px var(--h); } .ty-next p { color: var(--gray); font-size: 14.5px; }
.ty-mail { text-align: left; margin-top: 22px; } .ty-mail summary { cursor: pointer; color: var(--orange); font-size: 15px; margin-bottom: 14px; }
