/* ============================================================
   passwordless.css — TOTAL Passwordless page
   Built on the shared product-page system (idv.css). Page-only
   bits live here; everything structural is inherited.
   ============================================================ */

/* ---- Platform coverage strip (lives in Act 3, left-aligned) ---- */
.pw-coverage { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; gap: 8px 0; margin: 32px 0 0; }
.pw-coverage span { font-family: "Inter Tight", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); line-height: 1; padding: 2px 0; }
@media (max-width: 600px) { .pw-coverage span { font-size: 11px; } }

/* ---- Built-on spec groups (Act 2 security foundation) ---- */
.pw-specs { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 0 72px; margin: 38px 0 0; }
.pw-spec-col { display: flex; flex-direction: column; }
.pw-spec-col span { font-family: "Inter", sans-serif; font-size: 14px; letter-spacing: .01em; color: var(--text-2); line-height: 1.95; }
.pw-spec-k { font-family: "Inter Tight", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
@media (max-width: 640px) { .pw-specs { grid-template-columns: 1fr 1fr; gap: 26px 36px; } }

/* ---- Security section: lede left, spec groups pinned to the right edge ---- */
.pw-sec-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 72px; align-items: start; margin-top: 40px; }
.pw-sec-split .idv-lede { max-width: 560px; margin: 0; }
.pw-sec-split .pw-specs { margin: 0; gap: 0 56px; justify-self: end; }
@media (max-width: 900px) { .pw-sec-split { grid-template-columns: 1fr; gap: 34px; } .pw-sec-split .idv-lede { max-width: none; } .pw-sec-split .pw-specs { justify-self: start; gap: 0 48px; } }

/* ---- Privacy guarantees grid (biometric consent proof points) ---- */
.pw-guarantees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 54px; background: var(--border); border: .5px solid var(--border); border-radius: 14px; overflow: hidden; }
.pw-g { background: var(--surface); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 9px; }
.pw-g-k { font-family: "Inter Tight", sans-serif; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.pw-g-v { font-family: "Inter", sans-serif; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 900px) { .pw-guarantees { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pw-guarantees { grid-template-columns: 1fr; } }

/* ---- "How it works" signature graphic (the leap / counter-position) ---- */
.pw-how { margin-top: 50px; border: .5px solid var(--border); border-radius: 16px; background: var(--surface); padding: 40px 44px 32px; }
.pw-howflow { display: flex; align-items: flex-start; justify-content: space-between; }
.pw-howstage { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.pw-howic { width: 60px; height: 60px; border-radius: 14px; background: #1c1c1d; border: 1px solid var(--border-hover); display: grid; place-items: center; margin-bottom: 16px; }
.pw-howic .material-symbols-outlined { font-size: 27px; color: var(--text-2); }
.pw-howic.ok { border-color: rgba(53,192,138,.45); background: rgba(53,192,138,.08); }
.pw-howic.ok .material-symbols-outlined { color: #35c08a; }
.pw-howstage-t { font-family: "Inter Tight", sans-serif; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.pw-howstage-s { font-family: "Inter", sans-serif; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.pw-howconn { flex: 0 0 56px; height: 1px; background: var(--border-hover); margin-top: 30px; position: relative; }
.pw-howconn::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid #4a4a4a; border-right: 1px solid #4a4a4a; transform: rotate(45deg); }
.pw-howconn.ok { background: linear-gradient(90deg, var(--border-hover), rgba(53,192,138,.55)); }
.pw-howconn.ok::after { border-color: #35c08a; }
.pw-howtags { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 34px; border-top: 1px solid var(--border); padding-top: 20px; }
.pw-howtags span { font-family: "Inter Tight", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); padding: 0 18px; border-right: 1px solid var(--border); line-height: 1; }
.pw-howtags span:last-child { border-right: 0; }
@media (max-width: 720px){ .pw-howflow { flex-direction: column; gap: 22px; } .pw-howconn { display: none; } .pw-howstage { flex-direction: row; text-align: left; gap: 15px; align-items: center; } .pw-howic { margin-bottom: 0; flex: 0 0 auto; } }

/* ---- Counter-position pillars (the three key titles) ---- */
.pw-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 48px; }
.pw-pillar { border-top: 2px solid var(--border-hover); padding-top: 22px; }
.pw-pillar h3 { font-family: "Inter Tight", sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--text); margin: 0 0 10px; line-height: 1.28; }
.pw-pillar p { font-family: "Inter", sans-serif; font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 0; }
@media (max-width: 720px){ .pw-pillars { grid-template-columns: 1fr; gap: 26px; } }
.pw-sub { margin-top: 46px; }

/* ---- Product screenshot placeholders (one per act) ---- */
.pw-shot { margin-top: 38px; border: 1px dashed var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.006)); aspect-ratio: 16 / 7; display: grid; place-items: center; text-align: center; padding: 24px; }
.pw-shot > span { font-family: "Inter Tight", sans-serif; font-size: 13px; line-height: 1.55; letter-spacing: .01em; color: var(--text-2); max-width: 420px; }
.pw-shot .pw-shot-k { display: block; font-family: "Inter Tight", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
/* ---- Problem: the statement, centered, as the whole moment ---- */
.pw-problem { text-align: center; max-width: 960px; margin: 0 auto; padding: 40px 0; }
.pw-problem .idv-eyebrow { margin: 0 0 26px; }
.pw-statement { font-size: clamp(32px, 4.8vw, 60px); line-height: 1.08; letter-spacing: -.02em; max-width: none; margin: 0; }
.pw-statement .dim { display: block; font-style: italic; margin-top: 4px; }

/* ---- Hero product screenshot (full-bleed, spills up under the CTA, fades out) ---- */
.pw-hero-shot { position: relative; margin-top: 16px; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; aspect-ratio: 2.4; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,.8) 66%, rgba(0,0,0,.4) 78%, rgba(0,0,0,.12) 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,.8) 66%, rgba(0,0,0,.4) 78%, rgba(0,0,0,.12) 90%, transparent 100%); }
.pw-hero-shot img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 640px) {
  .pw-hero-shot { margin-top: -34px; aspect-ratio: 2.8; }
}

/* ---- Act 1 product screenshot (fills the placeholder frame) ---- */
.pw-shot-img { position: relative; border: none; background: none; padding: 0; overflow: hidden; aspect-ratio: 2139 / 1324; border-radius: 0; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%); }
.pw-shot-img img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
[data-page="passwordless"] #experience { padding-bottom: 0; }
/* The ecosystem shot always fits full-width with no crop: natural height, no fixed box/mask. */
#reach .pw-shot-img { aspect-ratio: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
#reach .pw-shot-img img { position: static; width: 100%; height: auto; object-fit: fill; }

/* ---- Visual cleanup: tighter hero + section rhythm (desktop only; mobile keeps its own scale) ---- */
@media (min-width: 861px) {
  [data-page="passwordless"] .idv-hero { padding: 140px 0 0; }
  [data-page="passwordless"] .idv-sec { padding: 80px 0; }
  [data-page="passwordless"] .pw-problem-sec { padding: 40px 0; }
  [data-page="passwordless"] .idv-final { padding: 96px 0 104px; }
  [data-page="passwordless"] .idv-cards { margin-top: 40px; }
  [data-page="passwordless"] .idv-uc .idv-card { padding: 26px 26px 28px; }
  [data-page="passwordless"] .idv-uc-ic { margin-bottom: 18px; }
}
@media (max-width: 860px) {
  [data-page="passwordless"] .idv-hero { padding-bottom: 0; }
  [data-page="passwordless"] .pw-problem-sec { padding: 38px 0; }
}
@media (max-width: 760px) {
  [data-page="passwordless"] .idv-hero { padding-bottom: 0; }
  [data-page="passwordless"] .pw-problem-sec { padding: 30px 0; }
}
