/* ============================================================
   Up2 — the full pass (Nov 19 2026). Loaded AFTER v2.css.
   The words come from the idea map. New here: the opening
   statement, the kinds lines, the community band, the list
   ideas, the Up2 card, the fact rows, the price block, and the
   quiet movement (sections rise, steps follow each other, the
   list pile fans out, the card turns). Nothing stops under the
   mouse. Reduced motion: everything is simply there.
   ============================================================ */

/* ---------- small things everywhere ---------- */
.btn, .store-badge { transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease; }
.btn:active { transform: scale(0.97); }
.sx-title + .sx-sub { margin-top: 16px; }
.sx-head { display: grid; gap: 0; max-width: 62ch; }
.eyebrow-x { color: var(--text-3); }
.lg-card img, .stp img, .duo-photo, .band img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lg-card:hover img, .stp:hover img { transform: scale(1.04); }
.stp { overflow: visible; }
.stp img { will-change: transform; }
.stp > .ph { display: block; overflow: hidden; border-radius: var(--r1); }
.stp > .ph img { border-radius: 0; }

/* sections rise as they come into view (main.js adds .visible) */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.stps .reveal:nth-child(2), .lg .reveal:nth-child(2), .facts .reveal:nth-child(2), .ideas .reveal:nth-child(2) { transition-delay: 0.12s; }
.stps .reveal:nth-child(3), .lg .reveal:nth-child(3), .ideas .reveal:nth-child(3) { transition-delay: 0.24s; }
.ideas .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ---------- the opening statement ---------- */
.say { padding: clamp(56px, 8vw, 104px) 0 clamp(8px, 2vw, 24px); }
.say-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 6vw, 88px); align-items: end; }
.say h2 { font: 900 clamp(40px, 6.6vw, 88px)/0.96 var(--round); letter-spacing: -0.045em; text-wrap: balance; }
.say h2 span { color: var(--text-3); }
.say p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--text-2); max-width: 36ch; }
.say p b { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .say-in { grid-template-columns: 1fr; align-items: start; } }

/* ---------- the kinds, as one plain line under each card ---------- */
.kinds { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kinds p { font-size: clamp(14px, 1.2vw, 16px); line-height: 1.5; color: var(--text-3); padding: 0 6px; }
.kinds b { color: var(--text); font-weight: 600; }
@media (max-width: 720px) { .kinds { grid-template-columns: 1fr; gap: 10px; } }
.lg-card b { text-wrap: balance; }

/* ---------- a wide photo with words on it ---------- */
.band { position: relative; margin: 0 auto; width: min(1280px, calc(100% - 32px)); border-radius: var(--r1); overflow: hidden; color: #fff; background: #111; min-height: clamp(380px, 46vw, 600px); display: flex; align-items: flex-end; }
.band img { 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,0.72), rgba(0,0,0,0.12) 70%), linear-gradient(0deg, rgba(0,0,0,0.5), transparent 55%); }
.band > div { position: relative; z-index: 1; padding: clamp(24px, 5vw, 64px); max-width: 720px; }
.band .eyebrow-x { color: rgba(255,255,255,0.78); }
.band h2 { font: 900 clamp(32px, 5vw, 64px)/1 var(--round); letter-spacing: -0.04em; text-wrap: balance; }
.band p { margin-top: 16px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; max-width: 44ch; opacity: 0.94; }
.band .btn { margin-top: 24px; background: #fff; color: #000; }

/* ---------- what a list can be ---------- */
.ideas { margin-top: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px) clamp(18px, 3vw, 36px); }
.ideas p { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.45; color: var(--text-2); border-top: 1px solid var(--stroke); padding-top: 14px; }
.ideas b { display: block; margin-bottom: 2px; font: 700 clamp(18px, 1.7vw, 22px)/1.2 var(--round); letter-spacing: -0.01em; color: var(--text); }
@media (max-width: 520px) { .ideas { grid-template-columns: 1fr; } }
/* the pile of covers opens like a hand of cards */
html.js .stack.reveal .cv { transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.js .stack.reveal:not(.visible) .cv { transform: rotate(0deg) scale(0.94); }
html.js .stack.reveal { opacity: 1; transform: none; }

/* ---------- the Up2 card ---------- */
.card-stage { position: relative; display: grid; place-items: center; min-height: clamp(420px, 44vw, 560px); border-radius: var(--r1); overflow: hidden; background: #111; }
.card-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5) saturate(1.05); }
.up2card { position: relative; z-index: 1; width: min(250px, 62vw); aspect-ratio: 260 / 390; perspective: 1200px; border: 0; padding: 0; background: none; cursor: pointer; color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
.up2card i { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 28px; font-style: normal; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 0.7s cubic-bezier(0.3, 0.7, 0.2, 1); box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.up2card .front { background: #0b0b0c; color: #fff; border: 1px solid rgba(255,255,255,0.14); }
.up2card .back { background: #fff; color: #000; transform: rotateY(180deg); }
.up2card.turned .front { transform: rotateY(-180deg); }
.up2card.turned .back { transform: rotateY(0deg); }
.up2card .face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.9); }
.up2card b { font: 700 22px/1.1 var(--round); letter-spacing: -0.01em; }
.up2card small { font: 500 14px/1 var(--round); opacity: 0.65; }
.up2card .mark { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font: 900 15px/1 var(--round); letter-spacing: -0.02em; opacity: 0.9; }
.up2card .hint { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font: 500 12px/1 var(--round); opacity: 0.5; }
.code { width: 150px; height: 150px; border-radius: 10px; position: relative;
  background-image: radial-gradient(#000 38%, transparent 40%); background-size: 10px 10px; }
.code::before, .code::after, .code span { content: ""; position: absolute; width: 42px; height: 42px; border: 9px solid #000; border-radius: 12px; background: #fff; box-shadow: 0 0 0 5px #fff; }
.code::before { left: 0; top: 0; } .code::after { right: 0; top: 0; } .code span { left: 0; bottom: 0; }
.code em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; padding: 6px 7px; border-radius: 9px; font: 900 13px/1 var(--round); font-style: normal; letter-spacing: -0.02em; }

/* ---------- two plain facts under the safety promises ---------- */
.facts { margin-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts p { border-radius: var(--r1); background: var(--bg); padding: clamp(18px, 2.4vw, 28px); font-size: clamp(15px, 1.25vw, 17px); line-height: 1.45; color: var(--text-2); }
.facts b { display: block; margin-bottom: 4px; font: 700 clamp(19px, 1.9vw, 24px)/1.2 var(--round); letter-spacing: -0.01em; color: var(--text); }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }
.proms.two { grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px) clamp(18px, 3vw, 36px); }
@media (max-width: 520px) { .proms.two { grid-template-columns: 1fr; } }

/* ---------- business page ---------- */
.price { text-align: left; }
.price .sx-title { font-size: clamp(38px, 6.4vw, 84px); font-weight: 900; letter-spacing: -0.045em; line-height: 0.98; }
.price .sx-title span { color: var(--text-3); }
.cols3 { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.cols3 p { border-top: 1px solid var(--stroke); padding-top: 16px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.45; color: var(--text-2); }
.cols3 b { display: block; margin-bottom: 4px; font: 700 clamp(19px, 1.9vw, 24px)/1.2 var(--round); letter-spacing: -0.01em; color: var(--text); }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; } }
.lg.three .lg-card p { max-width: 30ch; }
.seen { display: block; margin-top: 10px; font: 600 13px/1.2 var(--round); opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .up2card i, .lg-card img, .stp img, html.js .stack.reveal .cv { transition: none !important; }
  html.js .stack.reveal:not(.visible) .cv { transform: none; }
}

.sx:not(.safe) .facts p { background: var(--bg-2); }
.seen { font-style: normal; }

/* fine tuning after the first look */
.say h2 { font-size: clamp(36px, 5.6vw, 76px); }
.say h2 span { white-space: nowrap; }
.card-stage > img { filter: brightness(0.62) saturate(1.05); }
#safety .duo-photo { object-position: 38% 88%; }

/* the Up2 card, third design (Nov 19, his picks): the SHORT card, drawn like the app's, alone on a plain panel. It turns over slowly, by itself and on a tap. Front: the photo and the name. Back: a real code that opens up2app.com. */
.card-stage { background: var(--bg-2); min-height: clamp(360px, 36vw, 460px); }
.up2card { width: min(240px, 62vw); aspect-ratio: 304 / 360; perspective: 1200px; }
.up2card i { gap: 0; border-radius: 25px; box-shadow: 0 18px 34px rgba(0,0,0,0.22), 0 4px 10px rgba(0,0,0,0.10); transition: transform 1.2s cubic-bezier(0.3, 0.7, 0.2, 1); }
.up2card .front { background: #141414; border: 0; }
.up2card .face { width: 84px; height: 84px; border: 0; margin-bottom: 12px; }
.up2card b { font: 700 22px/28px var(--round); letter-spacing: -0.4px; }
.up2card small { font: 400 14px/18px var(--round); color: #a3a3a3; opacity: 1; margin-top: 3px; }
.up2card .brand { position: absolute; top: 16px; left: 18px; display: flex; align-items: center; gap: 7px; font: 600 12px/1 var(--round); color: #999; }
.up2card .brand img, .up2card .line img { width: 18px; height: 18px; border-radius: 5px; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.25); }
.up2card .qr { position: relative; width: 62%; aspect-ratio: 1; }
.up2card .qr svg { display: block; width: 100%; height: 100%; }
.up2card .qr > img { position: absolute; left: 50%; top: 50%; width: 22.7%; height: auto; transform: translate(-50%, -50%); border-radius: 14%; }
.up2card .line { margin-top: 14px; display: flex; align-items: center; gap: 7px; font: 400 12px/18px var(--round); letter-spacing: 0.3px; color: #666; }
@media (prefers-reduced-motion: reduce) { .up2card i { transition: none; } }

/* the Up2 card floats (Nov 19, his word: nothing behind the card, and its normal height back). No panel: the card sits on the page itself, at the app's own shape (260 by 390), and drifts up and down very slowly. */
.card-stage { background: none; overflow: visible; min-height: 0; padding: clamp(8px, 2vw, 24px) 0; }
.up2card { width: min(240px, 62vw); aspect-ratio: 260 / 390; animation: card-float 7s ease-in-out infinite; }
.up2card i { box-shadow: 0 34px 60px rgba(0,0,0,0.26), 0 8px 18px rgba(0,0,0,0.12); }
.up2card .front { box-shadow: 0 34px 60px rgba(0,0,0,0.26), 0 8px 18px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(255,255,255,0.10); }
.up2card .face { width: 88px; height: 88px; margin-bottom: 14px; }
.up2card .qr { width: 66%; }
@keyframes card-float { 0%, 100% { transform: translateY(-7px); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .up2card { animation: none; } }

/* words on a photo card must read on ANY photo (Nov 19, his screenshot: white words over a bright city from above). A deeper, taller shade behind the words, and a soft shadow on the letters. */
.lg-card::after { inset: 18% 0 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.38) 38%, rgba(0,0,0,0.82) 100%); }
.lg-card > div { text-shadow: 0 1px 10px rgba(0,0,0,0.35); }

/* the fourteen kinds as photo tiles (Nov 19, his word: Up2 is about everything, show it). Two rows, Local and Global; on a phone each row slides sideways. */
.kindrow { margin-top: clamp(18px, 2.4vw, 28px); }
.kindrow .eyebrow-x { margin-bottom: 10px; }
.tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.kt { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #111; color: #fff; }
.kt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.kt:hover img { transform: scale(1.05); }
.kt::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.8)); }
.kt b { position: absolute; left: 12px; right: 8px; bottom: 11px; z-index: 1; font: 700 clamp(13px, 1.25vw, 16px)/1.15 var(--round); letter-spacing: -0.01em; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
@media (max-width: 860px) {
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -24px; padding: 0 24px 4px; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .kt { flex: 0 0 128px; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .kt img { transition: none; } }

/* the fourteen kinds, his pick A (Nov 19): the names as large words, one lit at a time, and one big photo that changes with it. A tap on a name jumps to it. Nothing stops under the mouse. */
.kstage { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(22px, 4vw, 56px); align-items: center; }
.kwords { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kwords .eyebrow-x { margin: 10px 0 0; }
.kwords div { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.kwords button { all: unset; cursor: pointer; font: 800 clamp(24px, 3.3vw, 42px)/1.16 var(--round); letter-spacing: -0.035em; color: var(--text-3); opacity: 0.55; transition: color 0.5s ease, opacity 0.5s ease; }
.kwords button.on { color: var(--text); opacity: 1; }
.kwords button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.kbig { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r1); overflow: hidden; background: #111; }
.kbig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.kbig img.on { opacity: 1; }
@media (max-width: 860px) { .kstage { grid-template-columns: 1fr; } .kbig { order: -1; } }
@media (prefers-reduced-motion: reduce) { .kwords button, .kbig img { transition: none; } }

/* Support page (Nov 19, his word): questions first, picked by kind; one contact, at the end. */
.faq-tabs { display: none; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
html.js .faq-tabs { display: flex; }
.faq-tabs button { all: unset; cursor: pointer; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--stroke); font: 600 15px/1.2 var(--round); color: var(--text-2); transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.faq-tabs button:hover { color: var(--text); border-color: var(--text-3); }
.faq-tabs button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.faq-tabs button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
html.js .faq-list { margin-top: 0; }
html.js .faq-list .faq-group, .faq-list [hidden] { display: none !important; }
.still { padding: clamp(50px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); }
.still p { margin-top: 12px; color: var(--text-2); font-size: 18px; }
.still .mail { display: inline-block; margin-top: 18px; font: 800 clamp(24px, 4.4vw, 44px)/1.1 var(--round); letter-spacing: -0.03em; color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; overflow-wrap: anywhere; }
@media (max-width: 560px) { .faq-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 6px -24px 22px; padding: 0 24px 4px; scrollbar-width: none; } .faq-tabs::-webkit-scrollbar { display: none; } .faq-tabs button { white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .faq-tabs button { transition: none; } }

/* About: a long second line, so the block stacks and the grey line may wrap */
.say.tall .say-in { grid-template-columns: 1fr; gap: 22px; align-items: start; }
.say.tall h2 span { white-space: normal; }
.say.tall p { max-width: 46ch; }

/* the pile of lists, spread wider (Nov 21, his ask): each cover shows more, and no card hides another card's name */
.stack .cv { width: 53%; }
.stack .cv:nth-child(1) { left: 5%; top: 0; }
.stack .cv:nth-child(2) { right: 0; top: 11%; }
.stack .cv:nth-child(3) { left: 0; bottom: 0; }

/* Nov 25 2026 (his screenshot): on a wide screen the small line under the store buttons was centred under the long sentence above them, so it hung out to the right of the buttons. It now starts on the same left edge as the buttons. A phone keeps it centred. */
@media (min-width: 721px) { .tw-cta > span { text-align: left; padding-left: 4px; } }

/* Nov 30: every photo in a frame zooms a little on hover, like the cards (frame stays still) */
.duo-ph { display: block; overflow: hidden; border-radius: var(--r1); }
.duo-ph .duo-photo { display: block; border-radius: 0; }
.cv img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.kbig img { transition: opacity 0.9s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.duo-ph:hover img, .band:hover img, .kbig:hover img, .cv:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .duo-photo, .band img, .cv img, .kbig img { transition: none !important; } }
