/* /web/ page only (build.mjs webPageMain, renderPage full; IMPL I7). Ported from the approved mockup docs/web-android/v2/web.html:
   the landing layout (src/index.html), the shared page-hero/section parts and the /web/ block. Tokens, fonts, buttons, header,
   footer, device frames (.frame-web, .frame-android), .plat-row, .qr-pop and .res-card (with the cursor spotlight) come from
   assets/site.css. Loaded after site.css on /web/ only. */
.lp-main { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { overflow-x: clip; }


/* layout (landing) */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 40px; } }
.wrap-narrow { max-width: 840px; }
.sec { padding: 72px 0; }
.sec-top0 { padding-top: 0; }
.sec-tight { padding-bottom: 0; }
@media (min-width: 1024px) { .sec { padding: 120px 0; } .sec-top0 { padding-top: 0; } .sec-tight { padding: 48px 0 0; } }
.h2 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 32px; line-height: 1.08; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
@media (min-width: 1024px) { .h2 { font-size: 48px; line-height: 1.06; } }
.h3 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 26px; line-height: 1.12; letter-spacing: -.03em; color: var(--text); text-wrap: balance; }
@media (min-width: 1024px) { .h3 { font-size: 36px; line-height: 1.1; } }
.lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 620px; }
@media (min-width: 1024px) { .lead { font-size: 20px; } }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 56px; } }
.sec-head .eyebrow { margin: 0; }

/* buttons */
.btn-lg, html .btn-cta.btn-lg { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 16px; font-size: 17px; font-weight: 600; }
.btn-white { background: #fff; color: #15142E; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 24px -12px rgba(0,0,0,.45); transition: transform .12s ease-out, background-color .15s ease; }
.btn-white:hover { background: #F2F2FA; }
.btn-white:active { transform: scale(.97); }
.btn-ghost-ind { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1.5px solid var(--brand-indigo); color: var(--brand-indigo); font-weight: 600; font-size: 16px; transition: background-color .15s ease, color .15s ease, transform .12s ease-out; }
.btn-ghost-ind:hover { background: var(--brand-indigo); color: var(--bg); }
.btn-ghost-ind:active { transform: scale(.97); }


/* hero (landing glow and paddings) */
.hero { position: relative; padding: 88px 0 24px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -200px; top: -160px; width: 820px; height: 820px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--mist) 0%, transparent 70%); pointer-events: none; }
@media (min-width: 640px) { .hero { padding-top: 124px; } }
@media (min-width: 1024px) { .hero { padding: 132px 0 48px; } }

/* motion */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes m-bob { 0%, 84%, 100% { translate: 0 0; } 90% { translate: 0 -5px; } 95% { translate: 0 1px; } }
@keyframes m-wave { 0% { rotate: 0deg; } 30% { rotate: -6deg; } 60% { rotate: 4deg; } 100% { rotate: 0deg; } }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }

/* phone frame */
.frame { box-sizing: border-box; background: #15142E; padding: 9px; border-radius: 40px; }
.theme-dark .frame { background: #2A2950; }
.frame img { display: block; width: 100%; height: auto; border-radius: 31px; }

/* screens gallery */
.gal { display: flex; gap: 28px; overflow-x: auto; padding: 4px max(16px, calc(50vw - 580px)) 16px; scroll-padding: 0 max(16px, calc(50vw - 580px)); }
.gal figure { flex: none; width: 220px; margin: 0; }
.gal .frame img { aspect-ratio: 402 / 874; object-fit: cover; object-position: top; }
.gal figcaption { margin-top: 16px; text-align: center; font-size: 15px; font-weight: 600; color: var(--text); }
@media (min-width: 1024px) { .gal { gap: 36px; } .gal figure { width: 240px; } }
.snapstrip { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.snapstrip > * { scroll-snap-align: start; }

/* reviews */
.rev-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .rev-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .rev-grid { grid-template-columns: 1fr 1fr 1fr; } }
.rev { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.rev-stars { color: var(--sunshine); font-size: 18px; letter-spacing: 2px; }
.rev-t { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--text); }
.rev-x { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.rev footer { margin-top: auto; font-size: 14px; color: var(--text-3); }
.rev-cta { background: transparent; box-shadow: none; border: 1.5px dashed var(--brand-indigo-soft); }
.rev-cta .btn-ghost-ind { margin-top: auto; align-self: flex-start; }
.rev-note { max-width: 760px; margin: 20px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-3); }

/* final CTA */
.final { position: relative; display: grid; gap: 24px; align-items: center; padding: 40px 24px; border-radius: 28px; background: var(--indigo-solid); color: #fff; overflow: hidden; }
.final .h2 { color: #fff; }
.final-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.final-p { margin: 0; font-size: 18px; line-height: 1.55; opacity: .9; max-width: 560px; }
.final-note { margin: 0; font-size: 14px; line-height: 1.55; opacity: .82; max-width: 560px; }
.final img { width: 150px; height: auto; justify-self: center; image-rendering: auto; }
/* victory.webp is 191 px wide (2x file for retina): never shown wider than that */
@media (min-width: 768px) { .final { grid-template-columns: minmax(0, 1fr) 220px; padding: 64px 56px; border-radius: 32px; } .final img { width: 191px; } }
@media (min-width: 1024px) { .final { padding: 72px 80px; grid-template-columns: minmax(0, 1fr) 260px; } .final-p { font-size: 19px; } }

/* FAQ */
.faq-h { margin-bottom: 32px; }
/* FAQ is a ruled list, not a stack of cards */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
details.faq { border-bottom: 1px solid var(--border); }
details.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px 0; font-size: 17px; font-weight: 600; color: var(--text); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .faq-icon { flex: none; width: 20px; height: 20px; color: var(--brand-indigo); transition: transform .3s cubic-bezier(.23,1,.32,1); }
details.faq[open] .faq-icon { transform: rotate(45deg); }
details.faq p { margin: 0; padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 68ch; }

/* page hero (shared by /web/ and /android/): .hero keeps the home glow and paddings */
.ph-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.ph-cta-line { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.ph-txt { display: flex; flex-direction: column; align-items: flex-start; }
.ph-txt .eyebrow { margin: 0 0 10px; font-size: 14px; }
.ph-h1 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1.06; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
.ph-lede { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 560px; }
.ph-cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; margin-top: 24px; }
.ph-cta .btn-lg { min-height: 58px; font-size: 18px; }
.ph-cta .btn-lg .ic { width: 20px; height: 20px; }
.ph-login { display: inline-flex; align-items: center; justify-content: flex-start; align-self: flex-start; gap: 6px; min-height: 44px; font-size: 15px; color: var(--text-2); }
.ph-login b { color: var(--brand-indigo); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .ph-login:hover b { text-decoration: underline; text-underline-offset: 3px; } }
/* hero CTA block, one left alignment at every width: CTA -> microcopy -> .plat-row -> Log in */
.ph-micro { margin: -4px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-3); text-align: left; }
.ph-cta .plat-row { margin-top: 6px; }
@media (min-width: 640px) {
  .ph-txt .eyebrow { font-size: 16px; }
  .ph-h1 { font-size: 48px; }
  .ph-lede { font-size: 19px; }
  .ph-cta { width: auto; align-items: flex-start; }
  .ph-cta-line { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
  .ph-cta .btn-lg, .ph-login { white-space: nowrap; }
}
@media (min-width: 1024px) {
  .ph-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
  .ph-h1 { font-size: 56px; line-height: 1.04; }
  .ph-lede { font-size: 20px; margin-top: 22px; }
  .ph-cta { margin-top: 32px; }
  .ph-cta .btn-lg { min-height: 56px; font-size: 17px; }
}

@media (prefers-reduced-motion: no-preference) {
  .ph-txt > *, .ph-vis { animation: rise .5s cubic-bezier(.23,1,.32,1) both; }
  .ph-txt > :nth-child(2) { animation-delay: 70ms; } .ph-txt > :nth-child(3) { animation-delay: 140ms; } .ph-txt > :nth-child(4) { animation-delay: 210ms; }
  .ph-vis { animation-delay: 300ms; animation-duration: .6s; }
}

/* ===== shared section parts ===== */
.kicker-ic { flex: none !important; align-self: flex-start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--brand-indigo) 12%, transparent); color: var(--brand-indigo); }
.kicker-ic .ic { width: 22px; height: 22px; }
.tiles { display: grid; gap: 16px; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; gap: 20px; } }
.tile { gap: 14px; padding: 28px; }
.tile b { font-size: 20px; }
.tile p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.tile ul { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tile li { padding: 5px 11px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--text-2); }

/* sync row: copied UNCHANGED from the home #anywhere component (d1home/v2.css, lines 217-218, 272-297, 339). Production: one shared partial + one CSS block. */
@media (hover:hover) and (pointer:fine) { .any-panel.res-card:hover, .sync-i.res-card:hover { transform: none; } }
.any-panel.res-card:active, .sync-i.res-card:active { transform: none; }
/* sync row: 1 -> 2 -> 3 */
.sync { position: relative; margin-top: 20px; }
.sync-list { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
@media (min-width: 768px) { .sync-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .sync { margin-top: 24px; } }
.sync-i.res-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-height: 0; padding: 18px 20px; }
@media (min-width: 768px) { .sync-i.res-card { flex-direction: column; align-items: flex-start; padding: 22px 24px; } }
.sync-i .sync-n { color: #fff !important; }
.sync-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--indigo-solid); color: #fff; font: 600 15px/1 var(--f-display) !important; flex: none !important; }
.sync-t { flex: 1; font-family: var(--f-ui); font-size: 17px !important; font-weight: 700; line-height: 1.3; color: var(--text); }
.sync-chip { display: inline-flex !important; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px !important; font-weight: 600; color: var(--text) !important; flex: none !important; }
.sync-chip > span { display: inline-flex; align-items: center; gap: 7px; }
.sync-chip i { font-style: normal; color: var(--text-3); }
.sync-chip .ic { width: 15px; height: 15px; color: var(--brand-indigo); }
@media (max-width: 767px) { .sync-chip { margin-left: 48px; } }
.sync-count { display: inline-block; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; color: #2F9A90 !important; }
.sync-count.tick { animation: pop .35s cubic-bezier(.34,1.56,.64,1); }
.sync-track { display: none; }
@media (min-width: 768px) {
  .sync-track { display: block; position: absolute; z-index: 2; left: calc(16.66% - 30px); right: calc(16.66% + 50px); top: 39px; height: 2px; pointer-events: none; }
  .sync-dot { position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #FF6F61; box-shadow: 0 0 0 4px rgba(255,111,97,.2); opacity: 0; }
  .sync.go .sync-dot { animation: sync-run .6s cubic-bezier(.23,1,.32,1) forwards; }
}
@keyframes sync-run { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.sync-note { display: block; text-wrap: balance; margin: 18px 0 0; font-size: 15px; font-weight: 600; color: var(--text-2); text-align: center; }
.sync-note .ic { display: inline-block; vertical-align: -3px; margin-right: 7px; width: 16px; height: 16px; color: var(--mint); }
@media (prefers-reduced-motion: reduce) { .sync-dot, .sync-count.tick { animation: none !important; } }
@media (max-width: 767px) { .sync-t { flex: 1 1 calc(100% - 48px); } }

/* FAQ links, misc */
.faq-link { color: var(--brand-indigo); font-weight: 600; }
.sec-head .lead a { color: var(--brand-indigo); font-weight: 600; }
.txt-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--brand-indigo); }
.txt-link .ic { width: 17px; height: 17px; transition: translate .2s cubic-bezier(.23,1,.32,1); }
@media (hover: hover) and (pointer: fine) { .txt-link:hover .ic { translate: 3px 0; } }
.final .ph-login { color: rgba(255,255,255,.86); justify-content: flex-start; }
.final .ph-login b { color: #fff; }
.final .btn-white .ic { width: 20px; height: 20px; }
.final-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.iph-only { display: grid; gap: 28px; align-items: center; padding: 32px 24px; border-radius: 28px; background: var(--surface); }
.iph-only .frame { width: 150px; justify-self: center; }
.iph-only .frame img { aspect-ratio: 402 / 874; }
.iph-only ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.iph-only li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--text); }
.iph-only li .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--brand-indigo); }
.iph-only .txt-link { margin-top: 10px; }
.iph-only p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
@media (min-width: 768px) { .iph-only { grid-template-columns: 170px minmax(0, 1fr); gap: 48px; padding: 44px 56px; border-radius: 32px; } .iph-only .frame { width: 170px; } }



/* /web/ page */
.web-vis { position: relative; padding: 0 2% 0 0; }
.web-vis .frame-web { width: 100%; }
.web-mascot { position: absolute; z-index: 3; right: 5%; top: -101px; width: 96px; height: auto; pointer-events: none; }
.kbd-float { position: absolute; z-index: 3; left: -2%; bottom: 8%; display: none; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-pop); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); }
.kbd-float span { display: flex; align-items: center; gap: 4px; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 7px; box-sizing: border-box; border-radius: 7px; border: 1px solid var(--border); border-bottom-width: 2.5px; background: var(--surface); font: 700 13px/1 var(--f-ui); color: var(--text); }
.web-vis { margin-top: 70px; }
@media (min-width: 640px) { .web-mascot { width: 120px; top: -127px; } .web-vis { margin-top: 96px; } .kbd-float { display: flex; } }
@media (min-width: 1024px) { .web-vis { margin: 60px 0 0; } .web-mascot { width: 132px; top: -140px; right: 7%; } .kbd-float { left: -5%; bottom: -26px; } }
/* /web/ hero: wider text column so the H1 sets in 3 lines next to the laptop */
@media (min-width: 1024px) { .hero .ph-in { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
@media (prefers-reduced-motion: no-preference) { .web-mascot { animation: m-bob 6s cubic-bezier(.23,1,.32,1) 2s infinite; } }

.gal-web figure { width: 300px; }
.gal-web figcaption { margin-top: 14px; }
@media (min-width: 640px) { .gal-web figure { width: 460px; } }
@media (min-width: 1024px) { .gal-web figure { width: 560px; } }

.kicker-ic[style] { background: color-mix(in srgb, var(--k) 18%, transparent); color: color-mix(in srgb, var(--k) 70%, var(--text)); }
@media (min-width: 1024px) { .tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.kb { display: grid; gap: 40px; }
.kb-txt .h2 { margin-top: 12px; }
.kb-txt .lead { margin-top: 16px; }
.kb-txt .eyebrow { margin: 0; }
.kb-groups { display: grid; gap: 26px; margin-top: 32px; }
.kb-gl { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.kb-groups ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.kb-groups li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--text-2); }
.kk { display: inline-flex; align-items: center; gap: 4px; min-width: 84px; flex: none; }
.kk i { font-style: normal; color: var(--text-3); }
kbd.on { background: var(--brand-indigo); color: #fff; border-color: var(--brand-indigo); transform: translateY(1px); }
@media (min-width: 640px) { .kb-groups { grid-template-columns: 1fr 1fr; } .kb-groups > div:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .kb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; } .kb-groups { grid-template-columns: 1fr; gap: 22px; } }
.kb-demo { display: flex; flex-direction: column; gap: 16px; padding: 28px 20px; border-radius: 28px; background: var(--mist); }
@media (min-width: 640px) { .kb-demo { padding: 48px; border-radius: 32px; } }
.kbd-card { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 420px; margin: 0 auto; box-sizing: border-box; padding: 18px 20px 20px; border-radius: 26px; background: var(--surface); box-shadow: 0 18px 36px -10px rgba(20,20,50,.18); outline: none; cursor: pointer; transition: box-shadow .2s ease; }
.kbd-card:focus-visible, .kbd-card.armed { box-shadow: 0 0 0 3px var(--brand-indigo-soft), 0 18px 36px -10px rgba(20,20,50,.18); }
.kc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 9px; border-radius: 999px; background: #2F9A90; color: #fff; font-size: 12px; font-weight: 700; }
.kc-chip i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.kc-hint { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.kc-hint kbd { min-width: 0; height: 22px; font-size: 11px; padding: 0 6px; }
.kc-face { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 170px; text-align: center; }
.kc-word { font-weight: 600; font-size: 34px; letter-spacing: -.04em; color: var(--text); }
.kc-tr, .kc-ex { opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .3s cubic-bezier(.23,1,.32,1); }
.kc-tr { font-size: 20px; font-weight: 600; color: var(--text-2); }
.kc-ex { font-size: 14px; font-style: italic; color: var(--text-3); }
.kbd-card.flipped .kc-tr, .kbd-card.flipped .kc-ex { opacity: 1; transform: none; }
.kc-grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.kc-grades button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 4px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--g) 30%, transparent); font-size: 12px; font-weight: 700; color: var(--text); cursor: pointer; text-align: center; }
.kc-grades button:focus-visible { outline: 2px solid var(--brand-indigo); outline-offset: 2px; }
.kc-grades kbd { min-width: 24px; height: 24px; font-size: 12px; }
.kc-grades button:nth-child(1) { --g: #45B4AA; } .kc-grades button:nth-child(2) { --g: #0F4C81; } .kc-grades button:nth-child(3) { --g: #FF6F61; } .kc-grades button:nth-child(4) { --g: #6F70E8; }
.theme-dark .kc-grades button:nth-child(2) { --g: #4F8FD6; }
.kc-grades button.on { background: color-mix(in srgb, var(--g) 14%, var(--surface)); }
.kb-theme { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; width: 100%; max-width: 420px; margin: 0 auto; }
.kb-theme-l { font-size: 14px; font-weight: 700; color: var(--text-2); }
.kb-swatches { display: flex; gap: 6px; }
.sw { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid var(--border); }
.sw .ic { width: 15px; height: 15px; }
.sw-l { background: #fff; color: #1A1A2E; } .sw-d { background: #1D1C3A; color: #EEEDFB; border-color: rgba(255,255,255,.1); } .sw-a { background: var(--surface); color: var(--text); }

.imp .sec-head { margin-bottom: 32px; }
.imp-flow { display: grid; gap: 16px; align-items: center; }
.imp-src { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.imp-src li { flex-direction: row; align-items: center; gap: 10px; padding: 16px 14px; min-height: 0; }
@media (min-width: 640px) { .imp-src li { gap: 12px; padding: 18px; } }
.imp-src li .ic { width: 24px; height: 24px; color: var(--brand-indigo); }
.imp-src li b { font-size: 15px; white-space: nowrap; }
.imp-arrow { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-card); color: var(--brand-coral); transform: rotate(90deg); }
.imp-arrow .ic { width: 22px; height: 22px; }
.imp-deck { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1.5px dashed var(--brand-indigo-soft); --c: #E0A21F; }
.imp-deck .wa-deck-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 8px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.imp-deck .wa-deck-i .ic { width: 22px; height: 22px; }
.imp-deck b { font-size: 19px; color: var(--text); } .imp-deck small { font-size: 14px; color: var(--text-3); }
.imp-deck i { display: block; height: 6px; margin-top: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--c) 30%, var(--border) 0); }
.imp .txt-link { margin-top: 20px; }
@media (min-width: 768px) { .imp-flow { grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr); gap: 28px; } .imp-arrow { transform: none; } }

.acc-notes { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.acc-notes li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.acc-notes .ic { width: 20px; height: 20px; color: var(--brand-indigo); }
@media (min-width: 1024px) { .acc-notes { grid-template-columns: repeat(2, auto); justify-content: center; gap: 12px 40px; } }

.and-blk { display: grid; gap: 32px; align-items: center; padding: 36px 20px 0; border-radius: 28px; background: var(--mist); overflow: hidden; }
.and-txt { order: -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.and-txt .eyebrow { margin: 0; }
.and-txt .lead { margin-top: 0; }
.and-txt > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.and-cta-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.and-micro { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-3); }
.and-txt .qr-card { margin-top: 4px; }
.and-cta .ic { width: 20px; height: 20px; }
.and-vis { display: flex; justify-content: center; height: 330px; overflow: hidden; }
.and-phone { width: 230px; align-self: flex-start; border-radius: 34px 34px 0 0; }
@media (min-width: 1024px) {
  .and-blk { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; padding: 0 72px 0 56px; border-radius: 32px; }
  .and-txt { order: 0; padding: 64px 0; }
  .and-vis { height: auto; align-self: stretch; align-items: flex-end; }
  .and-phone { width: 290px; margin: 72px 0 -150px; align-self: flex-end; }
}
/* review strip with 2 cards (widget review left out): no empty third column */
@media (min-width: 768px) { #reviews .rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; } }
.final-note + .plat-row { margin-top: -4px; }
.final-more { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 14px; }
.final-more a { color: rgba(255,255,255,.86); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.tile-h { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--text); }

.qr-card { display: none; align-items: center; gap: 16px; max-width: 440px; padding: 14px 16px 14px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
html[data-platform=desktop] .qr-card { display: flex; }
.qr-card .qr { flex: none; width: 92px; height: 92px; padding: 6px; box-sizing: border-box; border-radius: 12px; background: #fff; border: 1px solid rgba(20,20,50,.08); }
.qr-card .qr svg { display: block; width: 100%; height: 100%; }
.qr-card b { font-size: 15px; color: var(--text); }
.qr-card p { margin: 2px 0 6px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.copy-link { all: unset; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 14px; font-weight: 700; color: var(--brand-indigo); cursor: pointer; }
.copy-link .ic { width: 16px; height: 16px; }
.copy-link:focus-visible { outline: 2px solid var(--brand-indigo); outline-offset: 3px; border-radius: 6px; }


/* production glue (not in the mockup's CSS): Log in line under the hero row and in the final card, fixed web button, QR card */
.ph-cta .cta-login { margin: 2px 0 0; font-size: 15px; }
.final .cta-login { margin: 0; }
.web-cta .ic { width: 20px; height: 20px; flex: none; }
.final-row .web-cta { white-space: nowrap; }
.qr-card .qr .qr-svg { fill: #000; }
.copy-link.done { color: var(--mint); }
.kbd-float kbd { min-width: 22px; height: 22px; font-size: 12px; }
@media (max-width: 639px) { .ph-cta .web-cta { width: 100%; } }

/* ==== /android/ page (I9, built only at ANDROID_LIVE; ported from the approved mockup docs/web-android/v2/android.html).
   The step phones show the static and-step1-4 screens (scripts/render-mac-shots.mjs), so the mockup's live replica rules
   (.tap, .ph-menu, .ph-sheet, .hs) are not needed here. */
.and-hero-vis { display: flex; justify-content: center; }
.and-stage { position: relative; width: 240px; margin: 8px auto 0; }
.hero-and { width: 240px; }
.and-mascot { position: absolute; z-index: 3; left: -62px; bottom: -6px; width: 88px; height: auto; }
.and-chip { position: absolute; z-index: 3; display: none; align-items: center; gap: 8px; padding: 10px 14px 10px 11px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-pop); font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }
.and-chip .ic { width: 18px; height: 18px; color: var(--brand-indigo); }
.and-chip.c1 { right: -150px; bottom: 24%; } .and-chip.c2 { left: -236px; top: 20%; }
@media (min-width: 640px) { .and-stage, .hero-and { width: 270px; } .and-mascot { width: 120px; left: -110px; } }
@media (min-width: 1024px) { .and-stage, .hero-and { width: 290px; } .and-mascot { width: 132px; left: -118px; bottom: -4px; } }
@media (min-width: 1280px) { .and-chip { display: inline-flex; } }
@media (prefers-reduced-motion: no-preference) { .and-mascot { animation: m-bob 6s cubic-bezier(.23,1,.32,1) 2s infinite; } }
/* device extras (no content change): Android phones get the steps right under the CTA; desktop gets the QR; iPhone gets a note */
@media (max-width: 639px) { html[data-platform=android] .and-hero-vis { display: none; } }
.ph-cta .qr-card { margin-top: 4px; }
.ios-note { display: none; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--text-2); }
.ios-note .ic { flex: none; width: 17px; height: 17px; color: var(--brand-indigo); }
html[data-platform=ios] .ios-note { display: flex; }
.final-row .and-open { white-space: nowrap; }
@media (max-width: 639px) { .ph-cta .and-open { width: 100%; } }

.isteps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.istep { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-card); scroll-margin-top: 112px; }
.istep-vis { width: 140px; text-align: left; }
.istep-txt { display: flex; flex-direction: column; gap: 10px; }
.istep-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-indigo); color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 20px; }
.theme-dark .istep-n { color: #12112A; }
.istep p { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--text); }
@media (min-width: 640px) { .isteps { grid-template-columns: 1fr 1fr; gap: 20px; } .istep { grid-template-columns: 1fr; padding: 24px; justify-items: center; text-align: center; } .istep-vis { width: 200px; } .istep-txt { align-items: center; } }
@media (min-width: 1024px) {
  .isteps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .istep { align-content: start; padding: 28px 22px 26px; }
  .istep-vis { width: 100%; max-width: 210px; }
  .istep p { font-size: 16px; }
}
.isteps .frame-android { box-shadow: 0 16px 30px -18px rgba(21,20,46,.35); }

.get { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.get li { gap: 10px; padding: 24px; }
.get li b { font-size: 18px; color: var(--text); }
.get li > span:last-child { font-size: 15px; line-height: 1.5; color: var(--text-2); }
/* phones: one compact checked list instead of 5 full-width cards */
@media (max-width: 639px) {
  .get { gap: 0; padding: 6px 18px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-card); }
  .get li.res-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 14px 0; border-radius: 0; background: none; box-shadow: none; min-height: 0; }
  .get li.res-card + li { border-top: 1px solid var(--border); }
  .get li .kicker-ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 11px; }
  .get li .kicker-ic .ic { width: 18px; height: 18px; }
  .get li b { font-size: 16px; } .get li > span:last-child { font-size: 14px; line-height: 1.45; }
}
@media (min-width: 640px) { .get { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .get { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Android phones (CONCEPT 5): H2 + top of step 1 above the fold at 390x844. Layout only. */
@media (max-width: 639px) {
  html[data-platform=android] .hero { padding-bottom: 0; }
  html[data-platform=android] #install { padding-top: 32px; }
  html[data-platform=android] #install .sec-head { margin-bottom: 16px; }
  html[data-platform=android] #install .sec-head .lead { font-size: 15px; margin-top: 8px; }
}

.tip { display: grid; gap: 20px; align-items: center; padding: 32px 24px; border-radius: 28px; background: var(--mist); }
.tip img { width: 110px; height: auto; }
.tip p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 60ch; }
.tip .txt-link { margin-top: 8px; }
@media (min-width: 768px) { .tip { grid-template-columns: 150px minmax(0, 1fr); gap: 40px; padding: 40px 56px; border-radius: 32px; } .tip img { width: 150px; } }
