/* SnapTidy product page: cobalt poster. Shared pieces live in poster.css. */

/* Hero */
.st-hero { position: relative; background: var(--main); color: #fff; padding: clamp(28px, 4vw, 56px) 0 clamp(90px, 9vw, 130px); overflow: hidden; }
.st-hero::before { content: ""; position: absolute; width: 900px; aspect-ratio: 1; right: -300px; bottom: -460px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .16), transparent 62%); pointer-events: none; }
.st-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; min-height: min(calc(100svh - 160px), 760px); }
.st-hero h1 { margin: 0; }
.st-words { display: block; font-size: clamp(54px, min(10.2vw, 16svh), 148px); line-height: .9; }
.st-words .w { display: block; overflow: hidden; padding: 0 .06em .04em 0; margin-bottom: -.04em; }
.st-words .w > span { display: inline-block; }
.st-words .dot { color: var(--yellow); }
:lang(en) .st-words, :lang(es) .st-words { text-transform: uppercase; font-size: clamp(50px, min(9.6vw, 15.4svh), 140px); }
:lang(zh-CN) .st-words, :lang(zh-Hant) .st-words, :lang(ja) .st-words { font-family: var(--f-cjk-disp); font-size: clamp(54px, min(9.4vw, 15svh), 136px); line-height: 1.04; letter-spacing: -.04em; }
.st-intro { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgb(255 255 255 / .92); }
.st-intro strong { color: #fff; }
.st-hero .px-meta { color: #fff; }
.st-hero .px-btn { background: #fff; color: var(--ink); }

.st-stage { position: relative; width: 100%; max-width: 500px; aspect-ratio: 5 / 6.4; justify-self: end; container-type: inline-size; }
.st-bg { position: absolute; width: 40cqw; aspect-ratio: 2 / 3; }
.st-bg-1 { left: -6cqw; bottom: 16cqw; rotate: -12deg; }
.st-bg-2 { right: -4cqw; bottom: 8cqw; rotate: 10deg; width: 36cqw; }
.st-deck-hero { position: absolute; left: 16cqw; top: 2cqw; width: 66cqw; aspect-ratio: 2 / 3; }
.st-hcard { position: absolute; inset: 0; transition: transform .6s var(--out), opacity .45s; z-index: 1; }
.st-hcard .px-photo { width: 100%; height: 100%; border-width: 12px; border-radius: 40px; }
.st-hcard .px-photo img { border-radius: 28px; }
.st-hcard:nth-child(1) { z-index: 5; transform: rotate(4deg); }
.st-hcard:nth-child(2) { z-index: 4; transform: translate(-5cqw, 3cqw) rotate(-5deg) scale(.95); }
.st-hcard:nth-child(3) { z-index: 3; transform: translate(4cqw, 5cqw) rotate(8deg) scale(.9); }
.st-hcard:nth-child(n+4) { z-index: 2; transform: translate(0, 6cqw) rotate(-2deg) scale(.86); opacity: 0; }
.st-hcard .px-stamp { top: 9cqw; font-size: clamp(14px, 4.6cqw, 24px); opacity: 0; transition: opacity .2s, scale .35s var(--spring); scale: .6; z-index: 2; }
.st-hcard .st-stamp-keep { left: -5cqw; background: var(--green); rotate: -12deg; }
.st-hcard .st-stamp-mark { right: -5cqw; background: var(--pink); rotate: 10deg; }
.st-hcard:nth-child(1) .st-stamp-keep { opacity: 1; scale: 1; }
.st-hcard.is-out-keep, .st-hcard.is-out-mark { z-index: 6; transition: transform .7s cubic-bezier(.55, 0, .7, .4), opacity .7s ease-in; opacity: 0; }
.st-hcard.is-out-keep { transform: translate(120cqw, -10cqw) rotate(24deg); }
.st-hcard.is-out-mark { transform: translate(-120cqw, -6cqw) rotate(-22deg); }
.st-hcard.is-armed-keep .st-stamp-keep, .st-hcard.is-armed-mark .st-stamp-mark { opacity: 1; scale: 1; }
.st-hcard.is-armed-mark .st-stamp-keep { opacity: 0; }
.st-hcard.is-reset { transition: none !important; }
.st-stage .px-ctl { position: absolute; z-index: 7; width: 19cqw; height: 19cqw; border-width: 1.6cqw; }
.st-stage .px-ctl svg { width: 42%; height: 42%; }
.st-ctl-mark { background: var(--pink); }
.st-ctl-keep { background: var(--green); }
.st-ctl-fav { background: #fff; color: var(--pink); }
.st-stage .st-ctl-mark { left: 14cqw; bottom: 0; rotate: -8deg; }
.st-stage .st-ctl-fav { left: 41cqw; bottom: -4cqw; width: 16cqw; height: 16cqw; }
.st-stage .st-ctl-keep { left: 64cqw; bottom: 0; rotate: 8deg; }
.st-stage .px-ctl.is-press { transform: scale(.82); }
.st-free { position: absolute; width: 34cqw; height: auto; left: -18cqw; top: 46cqw; rotate: -10deg; z-index: 8; }

@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) .st-words .w > span { animation: px-rise 1s var(--out) both; }
  html:not([data-motion="off"]) .st-words .w:nth-child(2) > span { animation-delay: .12s; }
  html:not([data-motion="off"]) .st-words .w:nth-child(3) > span { animation-delay: .24s; }
  html:not([data-motion="off"]) .st-intro { animation: px-fade-up .9s var(--out) both .4s; }
  html:not([data-motion="off"]) .st-bg-1 { animation: px-slap .7s var(--out) both .35s; }
  html:not([data-motion="off"]) .st-bg-2 { animation: px-slap .7s var(--out) both .5s; }
  html:not([data-motion="off"]) .st-deck-hero { animation: px-slap .8s var(--out) both .15s; }
  html:not([data-motion="off"]) .st-stage .px-ctl { animation: px-pop-in .6s var(--spring) both; }
  html:not([data-motion="off"]) .st-stage .st-ctl-mark { animation-delay: .7s; }
  html:not([data-motion="off"]) .st-stage .st-ctl-fav { animation-delay: .8s; }
  html:not([data-motion="off"]) .st-stage .st-ctl-keep { animation-delay: .9s; }
  html:not([data-motion="off"]) .st-free { animation: px-pop-in .7s var(--spring) both 1s, px-float 5.5s ease-in-out infinite 1.7s; }
}

.st-mq { background: var(--yellow); }

/* Numbers */
.st-stats { background: #fff; padding-top: clamp(120px, 12vw, 170px); }
.st-nums { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.st-nums li { padding: 30px 26px 0 0; }
.st-nums li + li { padding-left: 26px; border-left: 1.5px solid var(--line); }
.st-nums .px-num { font-size: clamp(56px, 6.6vw, 96px); }
.st-nums h3 { margin-top: 16px; text-transform: uppercase; }
:lang(zh-CN) .st-nums h3, :lang(zh-Hant) .st-nums h3, :lang(ja) .st-nums h3 { text-transform: none; }
.st-nums p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* Pains */
.st-pains { background: var(--soft); padding-top: clamp(110px, 11vw, 150px); }
.st-pains .px-pains { margin-top: 30px; }

/* How it works + interactive demo */
.st-how { background: #fff; }
.st-how-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.st-how-copy .px-lead { margin-top: 18px; }
.st-legend { margin-top: 32px; display: grid; gap: 12px; }
.st-legend > div { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 22px; background: var(--soft); }
.st-legend dt { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.st-legend dd { color: var(--ink-2); font-size: 15.5px; }
.st-key { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; border: 4px solid #fff; box-shadow: 0 8px 14px -8px rgb(0 0 0 / .5); }
.st-key-keep { background: var(--green); }
.st-key-mark { background: var(--pink); }
.st-key-fav { background: var(--yellow); color: var(--pink); }
.st-key-undo { background: var(--ink); }
.st-demo { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 56px; background: var(--main); color: #fff; border: 10px solid #fff; box-shadow: 0 0 0 1.5px var(--line), 0 50px 80px -40px rgb(11 21 51 / .55); rotate: 1.2deg; }
.st-demo-stage { position: relative; height: clamp(380px, 36vw, 470px); display: grid; place-items: center; }
.st-deck { list-style: none; position: relative; width: min(70%, 300px); aspect-ratio: 2 / 3; }
.st-photo { position: absolute; inset: 0; transform: translateY(calc(var(--depth, 0) * 12px)) rotate(calc(var(--depth, 0) * 2.5deg)) scale(calc(1 - var(--depth, 0) * .04)); transition: transform .4s var(--out), opacity .4s; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.st-photo .px-photo { width: 100%; height: 100%; pointer-events: none; }
.st-photo.is-top { cursor: grab; }
.st-photo.is-dragging { transition: none; cursor: grabbing; }
.st-photo.is-gone { opacity: 0; pointer-events: none; }
.st-photo:focus-visible { outline: 4px solid var(--yellow); outline-offset: 6px; border-radius: 34px; }
.st-photo .px-stamp { top: 26px; font-size: 18px; }
.st-photo .st-stamp-keep { left: -10px; background: var(--green); rotate: -10deg; opacity: var(--keep, 0); }
.st-photo .st-stamp-mark { right: -10px; background: var(--pink); rotate: 10deg; opacity: var(--mark, 0); }
.st-demo-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 20px; }
.st-demo-controls .px-ctl { width: 72px; height: 72px; cursor: pointer; }
.st-demo-controls .px-ctl:hover { transform: scale(1.08) rotate(-4deg); }
.st-demo-controls .px-ctl:active { transform: scale(.92); }
.st-demo-controls .px-ctl:disabled { opacity: .3; cursor: default; transform: none; }
.st-demo.is-reviewing .st-demo-controls .px-ctl { visibility: hidden; }
.st-demo-status { text-align: center; font-family: var(--f-disp); font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.st-demo-hint { margin-top: 16px; font-size: 12.5px; text-align: center; opacity: .8; }
.st-review { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.st-review[hidden] { display: none; }
.st-review h3 { font-size: 24px; }
.st-review-count { margin-top: 6px; font-size: 15px; opacity: .85; }
.st-review-grid { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.st-review-grid button { width: 64px; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; border: 4px solid var(--pink); padding: 0; background: #fff; transition: transform .3s var(--spring); }
.st-review-grid button:hover { transform: scale(1.06); }
.st-review-grid button[aria-pressed="false"] { border-color: #fff; opacity: .5; }
.st-review-grid img { width: 100%; height: 100%; object-fit: cover; }
.st-review-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.st-demo .px-pill { color: #fff; }
.st-demo .px-pill-solid { background: #fff; color: var(--ink); border-color: #fff; }
.st-review-result { margin: 14px auto 0; font-size: 14.5px; line-height: 1.6; max-width: 30em; }
.st-review [data-act="reset"] { margin: 14px auto 0; }

/* Safety */
.st-safety { background: var(--pink); color: #fff; overflow: hidden; }
.st-safety .px-lead { color: rgb(255 255 255 / .92); }
.st-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.st-flow li { padding: 30px 26px 34px; min-height: 330px; border-radius: var(--r-xl); color: var(--ink); border: 8px solid #fff; box-shadow: 0 30px 50px -30px rgb(80 0 30 / .55); transition: transform .45s var(--spring); }
.st-flow li:nth-child(1) { background: #fff; rotate: -3deg; }
.st-flow li:nth-child(2) { background: var(--yellow); rotate: 2deg; margin-top: 28px; }
.st-flow li:nth-child(3) { background: var(--mint); rotate: -1.5deg; margin-top: -8px; }
.st-flow li:nth-child(4) { background: var(--ink); color: #fff; rotate: 3deg; margin-top: 22px; }
.st-flow li:hover { transform: translateY(-8px) scale(1.02); }
.st-flow .px-num { font-size: 88px; color: var(--main); }
.st-flow li:nth-child(4) .px-num { color: var(--yellow); }
.st-flow h3 { margin-top: 20px; font-size: 26px; text-transform: uppercase; }
:lang(zh-CN) .st-flow h3, :lang(zh-Hant) .st-flow h3, :lang(ja) .st-flow h3 { text-transform: none; font-size: 24px; }
.st-flow p { margin-top: 12px; font-size: 15.5px; line-height: 1.55; opacity: .88; }
.st-safety-note { margin-top: 70px; max-width: 52em; padding: 20px 24px; border-radius: 26px; background: rgb(255 255 255 / .16); font-size: 15.5px; }

/* Features bento */
.st-features { background: var(--main); color: #fff; }
.st-features .px-lead { color: rgb(255 255 255 / .9); }
.st-bento { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(280px, auto); gap: 20px; }
.st-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: var(--r-xl); background: #fff; color: var(--ink); border: 8px solid #fff; box-shadow: 0 30px 50px -30px rgb(0 10 60 / .55); transition: transform .45s var(--spring); }
.st-tile:hover { transform: translateY(-6px) rotate(-.6deg); }
.st-tile p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: inherit; opacity: .82; }
.st-tile-copy { position: relative; z-index: 2; max-width: 30em; }
.st-tile-0 { grid-column: span 7; grid-row: span 2; background: var(--yellow); }
.st-tile-1 { grid-column: span 5; grid-row: span 2; background: #fff; }
.st-tile-2 { grid-column: span 4; grid-row: span 2; background: var(--ink); color: #fff; }
.st-tile-3 { grid-column: span 4; grid-row: span 2; background: var(--soft); }
.st-tile-4 { grid-column: span 4; background: var(--mint); }
.st-tile-5 { grid-column: span 4; background: var(--pink); color: #fff; }
.st-tile-6 { grid-column: span 12; background: #fff; flex-direction: row; align-items: center; justify-content: space-between; min-height: 0; }
.st-fv-report { flex: none; margin: 0; min-height: 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; padding-right: 10px; }
.st-fv-report .px-stamp { position: static; font-size: 17px; }
.st-fv-report .px-stamp:nth-child(1) { background: var(--green); rotate: -6deg; }
.st-fv-report .px-stamp:nth-child(2) { background: var(--pink); rotate: 4deg; }
.st-fv-report .px-stamp:nth-child(3) { background: var(--yellow); color: var(--ink); rotate: -3deg; }
.st-fv { position: relative; margin-top: auto; flex: 1; min-height: 200px; }
.st-fv-photos .px-photo { position: absolute; width: 42%; aspect-ratio: 2 / 3; bottom: -60px; }
.st-fv-photos .a { left: 6%; rotate: -9deg; }
.st-fv-photos .b { left: 40%; rotate: 7deg; bottom: -90px; }
.st-fv-photos .px-stamp { left: 52%; top: 10%; background: var(--pink); rotate: 8deg; }
.st-fv-trip .px-photo { width: 44%; bottom: -120px; }
.st-fv-phone { display: flex; justify-content: center; }
.st-fv-phone .px-phone { --w: min(250px, 70%); position: absolute; bottom: -180px; rotate: -4deg; transition: rotate .5s var(--spring), translate .5s var(--spring); }
.st-tile:hover .st-fv-phone .px-phone { rotate: 0deg; translate: 0 -16px; }
.st-tile-3 .st-fv-phone .px-phone { rotate: 5deg; }
.st-fv-art { display: flex; justify-content: flex-end; align-items: flex-end; min-height: 140px; }
.st-fv-art .px-art { width: min(190px, 60%); height: auto; }
.st-tile-4 .st-fv-art .px-art { width: min(150px, 45%); }

/* Scenarios, compare, fit */
.st-scen { background: #fff; }
.st-compare { background: var(--soft); }
.st-fit { background: #fff; }

/* Steps */
.st-steps { background: var(--yellow); }
.st-steps .px-steps > li:nth-child(2) { rotate: 1.5deg; translate: 0 18px; }
.st-steps .px-steps > li:nth-child(odd) { rotate: -1.2deg; }

/* Pricing & facts */
.st-facts { background: #fff; }
.st-plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; margin-bottom: 40px; }
.st-plan { padding: 34px; border-radius: var(--r-xl); border: 8px solid #fff; box-shadow: var(--drop), inset 0 0 0 1.5px var(--line); }
.st-plan-free { background: var(--soft); rotate: -.8deg; }
.st-plan-pro { background: var(--ink); color: #fff; rotate: .8deg; }
.st-plan h3 { font-size: 30px; letter-spacing: -.04em; text-transform: uppercase; }
.st-price { margin-top: 14px; font-size: 64px; color: var(--main); }
.st-prices { margin-top: 18px; display: grid; gap: 8px; }
.st-prices div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-radius: 18px; background: rgb(255 255 255 / .1); }
.st-prices dt { font-weight: 700; }
.st-prices dd { font-family: var(--f-disp); font-weight: 800; color: var(--yellow); letter-spacing: -.02em; }
.st-plan ul { margin-top: 22px; display: grid; gap: 10px; list-style: none; }
.st-plan li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; }
.st-plan li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: var(--main); color: #fff; }
.st-plan-pro li::before { background: var(--yellow); color: var(--ink); }

.st-gloss { background: var(--soft); }
.st-faq { background: #fff; }
.st .guide-strip { background: #fff; }
.st .px-end { background: #fff; }

/* Responsive */
@media (max-width: 1099px) {
  .st-tile-0, .st-tile-1 { grid-column: span 6; }
  .st-tile-2, .st-tile-3 { grid-column: span 6; }
  .st-tile-4, .st-tile-5 { grid-column: span 6; }
  .st-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-flow li { margin-top: 0 !important; min-height: 0; }
  .st-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-nums li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 899px) {
  .st-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .st-stage { justify-self: center; max-width: 380px; margin-top: 30px; }
  .st-free { left: -8cqw; }
  .st-how-grid { grid-template-columns: 1fr; }
  .st-plans { grid-template-columns: 1fr; }
  .st-bento { grid-template-columns: 1fr; }
  .st-tile { grid-column: auto !important; grid-row: auto !important; min-height: 0; }
  .st-tile-6 { flex-direction: column; align-items: flex-start; }
  .st-fv { min-height: 260px; }
  .st-fv-art { min-height: 120px; }
}
@media (max-width: 599px) {
  .st-flow, .st-nums { grid-template-columns: 1fr; }
  .st-nums li { padding-left: 0 !important; border-left: 0 !important; border-bottom: 1.5px solid var(--line); padding-bottom: 24px; }
  .st-legend > div { grid-template-columns: 1fr; gap: 6px; }
  .st-demo { border-radius: 40px; rotate: 0deg; }
  .st-demo-stage { height: 380px; }
  .st-plan h3 { font-size: 24px; }
}

/* Once the loop runs, stamps only show while a card is being decided. */
.st-deck-hero.is-live .st-hcard .px-stamp { opacity: 0; scale: .6; }
.st-deck-hero.is-live .st-hcard.is-armed-keep .st-stamp-keep,
.st-deck-hero.is-live .st-hcard.is-armed-mark .st-stamp-mark { opacity: 1; scale: 1; }
