/* Second half of landing.css: loads right after it, order matters. */

/* Install page (cabinet.css loads after this file, hence the .cab-main prefix) */
.cab-main.install { max-width: 1080px; }
.cab-main .ins-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; text-align: left; padding: 12px 0 36px; }
.cab-main .ins-hero h1 em { text-shadow: none; }
.cab-main .ins-hero .muted { margin: 0 0 24px; }
.cab-main .ins-cta { justify-items: start; }
.cab-main .ins-browsers { justify-content: flex-start; }
.cab-main .ins-browsers button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; box-sizing: border-box; }
.ins-pic { aspect-ratio: 16 / 10; border-radius: 30px; }
.cab-main .ins-steps { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.ins-steps-pic { aspect-ratio: 4 / 5; border-radius: 22px; box-shadow: none; }
.ins-steps-pic img { object-position: 50% 20%; }
.cab-main .ins-faq summary { min-height: 44px; }
.install-foot { max-width: 1080px; margin: 0 auto; padding: 12px 24px 28px; }
@media (max-width: 860px) {
  .cab-main .ins-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cab-main .ins-steps { grid-template-columns: minmax(0, 1fr); }
  .ins-steps-pic { aspect-ratio: 16 / 9; order: -1; }
}
@media (max-width: 560px) { .cab-main .ins-cta .btn { justify-self: stretch; } .install-foot { padding: 8px 16px 20px; } }

/* Live hero model: a transparent canvas in the same box as the picture on every screen. */
.model-live { opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.h-look.is-live .model-live { opacity: 1; }
.h-look.is-live img.model { opacity: 0; transition: opacity .5s ease; }

/* Conversion pass: one rhythm for every block */
.block { padding: 64px 24px; }
.sec-head { margin-bottom: 32px; }
.sec-head > p { max-width: 360px; font-size: 15px; }
.tags { margin: 28px 0 0; }
.cta-note { margin-top: 16px; }
.h-buy { display: grid; margin: 0; padding-top: 16px; border-top: 1px solid rgba(16,20,24,.08); font-size: 14.5px; font-weight: 600; }
.h-buy small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.see { margin-top: 24px; padding: 56px 64px; border-radius: 36px; max-width: 1240px; background: linear-gradient(180deg, #dcefff 0%, #f6f9fc 70%); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; text-align: left; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 14px; color: #fff; font-weight: 800; background: linear-gradient(180deg, #3fb0f5, var(--blue)); box-shadow: 0 8px 18px rgba(30,156,240,.3); }
.steps b { display: block; font-size: 17px; }
.steps span { color: var(--muted); font-size: 14.5px; }
.buy-split { margin-top: 24px; padding: 48px 64px; }
.bs-card { max-width: 380px; justify-self: center; }
.slide img { max-height: 440px; }
.closet { grid-auto-rows: 270px; }
.f-gest i { padding: 16px 12px; }

/* Sharing: six real outputs, each shown as it looks */
.v-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; text-align: left; }
.v-grid > li { border-radius: 26px; padding: 12px 12px 20px; }
.v-grid > li > div:last-child { padding: 0 12px; }
.v-grid h3 { margin: 0 0 4px; }
.v-grid p { margin: 0; color: var(--muted); font-size: 14.5px; }
.v-vis { position: relative; overflow: hidden; height: 190px; margin-bottom: 16px; border-radius: 18px; background: #e6f1fb; }
.v-tag { position: absolute; z-index: 2; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--ink); background: rgba(255,255,255,.9); box-shadow: 0 4px 12px rgba(20,60,110,.14); white-space: nowrap; }
.v-tag.b { left: 50%; bottom: 10px; translate: -50% 0; }
.v-tag.t { left: 50%; top: 10px; translate: -50% 0; }
.v-clip i { position: absolute; top: 0; bottom: 0; width: 50%; background: #dfe9f2 url(/web/img/hero.webp) center 14% / 240% no-repeat; }
.v-clip .b { left: 0; filter: grayscale(1) contrast(.85); }
.v-clip .a { right: 0; border-left: 3px solid #fff; }
.v-clip .l { left: 10px; bottom: 10px; } .v-clip .r { right: 10px; bottom: 10px; color: #fff; background: var(--blue); }
.v-mark { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; background: rgba(16,30,50,.45); }
.v-mark svg { width: 14px; height: 14px; stroke-width: 2.6; }
.v-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; }
.v-compare i { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.v-compare i.c-jacket { background-image: url(/web/img/hero.webp); background-size: 260%; background-position: 50% 26%; }
.v-compare .v-tag { left: 8px; bottom: 8px; }
.v-link { background: url(/web/img/cab/looks.webp) center / cover no-repeat; }
.v-poll { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 44px 12px 12px; }
.v-poll i { border-radius: 12px; background: #fff center 12% / cover no-repeat; }
.v-poll .o1 { background-image: url(/web/img/hero.webp); }
.v-poll .o2 { background-image: url(/web/img/show-2.webp); }
.v-dress { display: grid; align-content: center; gap: 8px; padding: 12px; font-size: 13px; }
.v-dress b { font-size: 14px; }
.v-dress span { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 6px 14px rgba(20,60,110,.08); font-weight: 600; }
.v-dress i { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #eef5fc center / cover no-repeat; }
.v-dress small { margin-left: auto; padding-right: 8px; color: var(--muted); font-weight: 400; }
.inv-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 36px; margin-top: 20px; padding: 16px; border-radius: 32px; text-align: left; scroll-margin-top: 90px;
  background: linear-gradient(135deg, #e3f2fe, #fff); box-shadow: 0 18px 40px rgba(20,60,110,.1); }
.inv-band > img { display: block; width: 100%; height: 100%; min-height: 270px; object-fit: cover; border-radius: 22px; }
.inv-copy { display: grid; justify-items: start; gap: 12px; padding: 12px 24px 12px 0; }
.inv-copy h3 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.inv-copy h3 em { font-style: normal; color: var(--blue); }
.inv-copy > p { margin: 0; color: var(--muted); }
.inv-rules { justify-self: stretch; }
.inv-rules summary { padding: 12px 40px 12px 0; font-size: 14.5px; }
.inv-rules summary::after { right: 0; width: 26px; height: 26px; font-size: 18px; }
.inv-rules ul { margin: 0; padding: 0 0 0 20px; display: grid; gap: 4px; color: var(--muted); font-size: 14px; }

/* Secondary paths: quieter than the plans above */
#install { padding-top: 0; }
.split h3 { font-size: 20px; }
.split p { font-size: 15px; margin: 0 0 16px; }
.ext-card { display: flex; flex-direction: column; align-items: flex-start; }
.ext-card .btn, .shop-cta { margin-top: auto; }
#shops { display: flex; flex-direction: column; }
.code { max-width: 100%; }

@media (max-width: 960px) {
  .see, .buy-split { padding: 40px 28px; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .br-grid { max-width: 58%; }
  .br-mirror { display: block; right: 12px; width: 38%; }
  .v-grid { grid-template-columns: 1fr 1fr; }
  .inv-band { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .inv-band > img { height: auto; min-height: 0; aspect-ratio: 2 / 1; }
  .inv-copy { padding: 4px 12px 8px; }
  .bs-card { margin-top: 8px; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tags { margin-top: 20px; }
}
@media (max-width: 560px) {
  .block { padding: 44px 16px; }
  .see, .buy-split { padding: 32px 16px; }
  .cta .btn { flex: 1 1 100%; }
  .br-body { padding: 12px; min-height: 280px; }
  .br-bar span { padding: 4px 16px; }
  .br-grid { gap: 8px; }
  .br-item b, .br-item em, .brm-card, .brm-drag { display: none; }
  .br-mirror { right: 8px; top: 10px; bottom: 10px; border-radius: 18px; }
  .brm-cam { inset: 4px; border-radius: 14px; }
  .brm-pill { top: 10px; font-size: 9.5px; padding: 3px 8px; }
  .closet .feat { min-height: 230px; }
  .v-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .v-grid > li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 22px; }
  .v-grid > li > div:last-child { padding: 0 4px 0 0; }
  .v-vis { height: 130px; margin: 0; border-radius: 14px; }
  .v-grid p { font-size: 13.5px; line-height: 1.45; }
  .v-tag { padding: 3px 8px; font-size: 10.5px; }
  .v-link .v-tag { display: none; }
  .v-poll { padding: 32px 8px 8px; gap: 4px; }
  .v-poll .v-tag.t { top: 6px; }
  .v-dress { padding: 8px; gap: 4px; }
  .v-dress b, .v-dress small { display: none; }
  .v-dress span { padding: 4px; font-size: 0; }
  .v-dress i { width: 100%; height: 48px; }
  .v-mark { right: 6px; top: 6px; font-size: 10px; padding: 3px 8px; }
}
.v-compare .v-tag { font-style: normal; }
.fin-left .cta-note { font-size: 13px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .closet { grid-auto-rows: auto; } .closet .feat { min-height: 240px; } }
@media (max-width: 760px) { .h-card { display: none; } .hero { padding-bottom: 8px; } }
@media (max-width: 560px) { .grid { gap: 12px; } .closet .feat { min-height: 220px; padding: 16px 16px 0; border-radius: 22px; } .f-vis { margin-left: -16px; margin-right: -16px; } .f-stack i, .f-acc i { width: 62px; height: 62px; border-radius: 16px; } .f-gest { gap: 8px; margin: 12px 16px 16px; } .f-gest i { padding: 12px 8px; } .f-gest b { font-size: 30px; } .f-modes, .f-lock, .f-acc, .f-stack { margin-left: 0; margin-right: 0; } }
@media (max-width: 560px) { .brm-cam { background-size: cover; background-position: center 10%; } .br-bar span { white-space: nowrap; font-size: 10.5px; } }
@media (max-width: 360px) { .grid { grid-template-columns: minmax(0, 1fr); } .grid article.wide { grid-column: auto; } .closet .feat { min-height: 0; padding-bottom: 16px; } .v-grid > li { grid-template-columns: 92px minmax(0, 1fr); } .v-tag { font-size: 9.5px; padding: 3px 8px; } }

/* Onest runs a touch wide: a slight tightening keeps body text calm. */
body { letter-spacing: -.008em; }

/* Emoji are pictures: the same on every system. */
.emo { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.25em; }
.f-gest b .emo { width: 44px; height: 44px; vertical-align: top; }
.fin-stage .fin-chip img.emo { position: static; inset: auto; width: 1.25em; height: 1.25em; max-width: none; margin: 0; transform: none; filter: none; animation: none; }

/* Phones and tablets: 44px targets, inputs that do not trigger zoom on iOS */
@media (pointer: coarse), (max-width: 1024px) {
  .lang { min-width: 44px; min-height: 44px; }
  .top-login, .top-try { min-height: 44px; }
  .price-note a, .tlink, .fd-logo { display: inline-flex; align-items: center; min-height: 44px; }
  html body select, html body .shp-form input { font-size: 16px; min-height: 44px; }
}

[aria-busy="true"] { opacity: .72; cursor: progress; }
