/* Product screens share the landing demo's spacing, controls and contrast. */
:root { --muted: #B8B8B2; --line: #4B4B4E; --warn: #F2A6A6; }
body { font-family: var(--ui-font); color: var(--paper); line-height: 1.7; }
.card { width: 480px; }
.card, .card.door, .card.msg { border-radius: var(--ui-card-radius); }
.card.door, .card.msg, body.product-flow > .card { padding: 36px; background: var(--graphite-2); border: 1px solid var(--line); box-shadow: 0 24px 64px #0003; }
.head { margin-bottom: 24px; gap: 16px; }
.head .t, .card.msg .head .t { font-size: 29px; letter-spacing: -.04em; line-height: 1.2; }
.head svg { flex: none; width: 36px; height: 36px; }
p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.card.msg p { font-size: 15px; line-height: 1.8; }
.quiet, .sub, .note, .foot { color: #A8A8A6; font-size: 12px; line-height: 1.75; }
.quiet a, .sub a, .foot a { color: #C5C5BE; }
button.main, button.copy { font-size: 15px; font-weight: 800; min-height: 49px; border-radius: var(--ui-radius); padding: 13px 18px; }
button.ghost, .kv button { min-height: 42px; border-radius: var(--ui-radius); }
input.paste, .paste { font-size: 16px; border: 1px solid #626265; border-radius: var(--ui-radius); padding: 13px 15px; color: var(--paper); }
input.paste::placeholder, .paste::placeholder { color: #A8A8A6; }
.paste:focus { border-color: var(--voltage); outline: 2px solid var(--voltage); outline-offset: 3px; }
:focus-visible { outline-color: var(--voltage); }
label, legend { font-size: 14px; color: #D4D4CD; }
.ask { padding: 20px; margin: 22px 0; border-radius: 13px; background: var(--graphite); }
.ask .app { font-size: 21px; letter-spacing: -.025em; }
.ask .irow { font-size: 14px; line-height: 1.65; }
.ask .ic { border: 0; background: transparent; width: 26px; height: 26px; }
.ask .ic svg { width: 21px; height: 21px; }
.steps { margin: 20px 0; }
.steps li { font-size: 14px; line-height: 1.7; margin-top: 20px; }
.steps li b { white-space: normal; }
/* Functional steps keep their ordering without decorative numbered badges. */
.steps .n { background: transparent; color: #C5C5BE; border-radius: 0; }
.pill { background: var(--paper); border-radius: 9px; padding: 10px 14px; font-size: 13px; max-width: 100%; white-space: normal; }
.foot { margin-top: 24px; }
.card.msg { min-height: 320px; }
.card.msg .head { gap: 20px; }
.card.msg .head svg { width: 48px; height: 48px; }
.product-account .top { max-width: 1000px; padding-top: 26px; }
.product-account .top .tm svg { width: 34px; height: 34px; }
.product-account .mid { padding: 50px 24px; }
.product-account .card:not(.door):not(.msg) { width: 760px; }
.product-account .card:not(.door):not(.msg) .head .t { font-size: 34px; }
.product-account .who { font-size: 13px; margin-top: 8px; margin-bottom: 32px; }
.product-account .prov { margin-top: 30px; margin-bottom: 13px; }
.product-account .kt { font-size: 17px; }
.product-account .km, .product-account .km button { color: #B8B8B2; font-size: 12px; }
.product-account .conn { background: #232326; border: 1px solid #4B4B4E; border-radius: 13px; padding: 20px; margin-bottom: 12px; }
.product-account .conn .app { font-size: 17px; }
.product-account .capline { font-size: 14px; color: #B8B8B2; margin-top: 12px; }
.product-account .bar { height: 4px; background: #48484B; margin-top: 16px; }
.product-account .det { padding-top: 20px; line-height: 1.8; }
.product-account .rev { min-height: 38px; padding: 7px 12px; border: 1px solid #626265; border-radius: 8px; }
.product-account .danger { margin-top: 32px; padding-top: 22px; border-top: 1px solid #4B4B4E; }
.product-account .door .dt { font-size: 29px; letter-spacing: -.04em; line-height: 1.25; }
.product-account .door .ds { font-size: 15px; line-height: 1.8; }
.product-account .door .irow { font-size: 14px; }
.product-invite .head { align-items: flex-start; text-align: left; }
.product-invite .markwrap { margin: 0 0 8px; width: 38px; height: 38px; }
.product-invite .markwrap svg.mark { width: 38px; height: 38px; }
.product-invite .burst { display: none; }
.product-invite .top { text-align: left; }
.product-invite .top .lead, .product-invite .top p { margin-left: 0; max-width: none; }
.product-invite .card.msg .head { align-items: center; text-align: center; }
.product-invite .card.msg .markwrap { margin-inline: auto; }
.product-invite .sect { font-size: 13px; text-transform: none; letter-spacing: 0; color: #D4D4CD; }
.product-invite .block { font-size: 12px; line-height: 1.85; padding: 18px; }
.product-invite .check input:focus-visible + .box { outline: 2px solid var(--voltage); outline-offset: 4px; }
@media (max-width: 540px) {
  .card.door, .card.msg, body.product-flow > .card { padding: 28px 23px; }
  .head .t, .card.msg .head .t { font-size: 26px; }
  .product-account .mid { padding: 32px 18px; }
  .product-account .top .tl { gap: 12px; }
  .product-account .top .tl a { font-size: 11px; }
  .product-account .conn { padding: 17px; }
}
.who #signout { border: 0; background: transparent; color: var(--voltage); padding: 0; margin-left: 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.product-account button.chev { display: grid; place-items: center; border: 0; background: transparent; color: #C5C5BE; cursor: pointer; width: 38px; height: 38px; padding: 10px; flex: none; }

/* Approval and registration keep the account surface's quieter frame. */
body.product-flow { min-height:100dvh; padding:32px 18px; }
body.product-flow > .card { flex-shrink:0; border-color:#3b3b3e; box-shadow:0 8px 24px #00000014; }
.product-flow .ask { background:transparent; border:0; border-bottom:1px solid #3b3b3e; border-radius:0; padding:0 0 24px; margin:24px 0; }
.product-flow .head .t { overflow-wrap:anywhere; }
.product-flow .card.msg .head { margin-bottom:20px; }
.product-flow .card.msg .quiet { color:#A8A8A6; }
.product-flow #stage { min-width:0; width:100%; }
.product-flow #stage a:not(.pill):not(.quiet-link) { color:#C5C5BE; text-decoration:underline; text-underline-offset:3px; }
.product-flow #stage a:hover { color:var(--paper); }
.product-flow .pill:hover { color:var(--ink); }
.product-flow .foot { flex-shrink:0; margin-top:20px; }
.product-invite .ask .irow { display:block; position:relative; padding-left:36px; }
.product-invite .ask .ic { position:absolute; left:0; top:0; }
.product-invite .ask .capv { color:var(--paper); }
.product-invite .iconrow { flex-wrap:wrap; }
.product-invite .unfold { min-height:44px; }
.product-invite .block.folded { max-height:100px; }
.product-invite .check { min-height:44px; }
@media(max-width:540px) {
  body.product-flow { padding:24px 18px; }
  .product-grant .card:not(.msg) .head { align-items:flex-start; }
  .product-grant .card:not(.msg) .head .t { font-size:25px; }
  .product-invite .kv .v, .product-invite .secret { flex-wrap:wrap; }
}
