/* Connectry onboarding, A Cinematic (design canvas 2026-10-20): a full-bleed city photograph per step, one glass card
   on the left, the brain talking on the right. Values follow the design canvas; brand colors come from tokens.css. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); }

:root {
  --g-ink: #fff;
  --g-body: rgba(255,255,255,.88);
  --g-muted: rgba(255,255,255,.72);
  --g-faint: rgba(255,255,255,.58);
  --g-line: rgba(255,255,255,.14);
  --g-field: rgba(255,255,255,.08);
  --g-field-line: rgba(255,255,255,.18);
  --ok: #9fd3a8;
  --night: #0e0f11;
  --arrive: cubic-bezier(.2,.7,.2,1);
  --spring: cubic-bezier(.16,.8,.24,1);
  --card-w: 600px; /* 520 in the canvas; wider so the screens feel less empty (Fabian, 2026-10-22) */
  --pad-x: clamp(16px, 6.67vw, 96px);
  --shade: 0 1px 2px rgba(0,0,0,.35), 0 0 18px rgba(0,0,0,.35);
  --glass: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)), rgba(14,15,17,.68);
  --glass-shadow: inset 0 1px 0 rgba(255,255,255,.26), inset 0 -1px 0 rgba(0,0,0,.2), 0 2px 5px rgba(0,0,0,.22), 0 10px 24px rgba(0,0,0,.28), 0 26px 60px rgba(0,0,0,.22);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; height: 100%; background: var(--night); }
body { margin: 0; min-height: 100%; background: var(--night); color: var(--g-body); font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01", "tnum"; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
button { font-family: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Scene: two photo layers that cross-fade, plus the quick cuts before the brain wakes up */
.scene { position: fixed; inset: 0; overflow: hidden; background: var(--night); }
.photo, .cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 0% 50%); }
.photo { opacity: 0; transition: opacity 1.1s var(--arrive); transform-origin: var(--origin, right center); }
.photo.on { opacity: 1; animation: settle 2.6s var(--arrive) both; }
.returning .photo.on:not(.swap) { animation: none; }
.photo.dim { filter: brightness(.85) saturate(.95); }
.photo.dimmer { filter: brightness(.8) saturate(.95); }
.photo.zoom { --origin: left top; scale: 1.16; }
.cut { opacity: 0; filter: brightness(.5) saturate(.8); }
.flip { transform: scaleX(-1); }
.cutting .k1 { animation: blip 0s linear 0s forwards, blop 0s linear .5s forwards; }
.cutting .k2 { animation: blip 0s linear .5s forwards, blop 0s linear 1s forwards; }
.cutting .k3 { animation: blip 0s linear 1s forwards, blop 0s linear 1.5s forwards; }
.cutting .k4 { animation: blip 0s linear 1.5s forwards, blop 0s linear 2s forwards; }
.cutting .photo.on { animation: wake 4s var(--arrive) 2s both; }
@keyframes blip { to { opacity: 1; } }
@keyframes blop { to { opacity: 0; } }
@keyframes settle { from { transform: scale(1.06); filter: brightness(.5); } to { transform: none; } }
@keyframes wake { from { opacity: 0; filter: brightness(.36) saturate(.7); transform: scale(1.04); } 1% { opacity: 1; } to { opacity: 1; filter: brightness(.92); transform: none; } }

/* Frame */
.shell { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); padding: 48px var(--pad-x) 36px; }
.top { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.logo { width: 148px; height: 32px; margin-left: -8px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)) drop-shadow(0 0 16px rgba(0,0,0,.45)); }
.who { display: flex; gap: 20px; align-items: center; font-size: 14px; font-weight: 500; color: var(--g-ink); text-shadow: var(--shade); }
.toplink, .footlink { background: none; border: 0; padding: 0; font: 500 14px "Inter", sans-serif; color: var(--g-ink); cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; text-shadow: var(--shade); }
.footlink { font-size: 12px; font-weight: 400; }
/* Half and half (2026-10-23): card and frame side by side, the same height, filling the space between header and footer */
.stagebox { min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 32px 0; }
.credit { position: absolute; z-index: 3; right: 28px; bottom: 30px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: var(--shade); transition: opacity .6s ease; }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; min-height: 24px; font-size: 13px; color: rgba(255,255,255,.62); }
.legal { display: flex; gap: 22px; }
.legal a { color: inherit; text-decoration: none; transition: color .2s; }
.legal a:hover { color: #fff; }
.foot .social { justify-self: end; }
.foot-l { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.social { display: flex; gap: 12px; }
.social a { color: inherit; display: grid; place-items: center; width: 24px; height: 24px; }
.social svg { width: 15px; height: 15px; fill: currentColor; }
.social .o { fill: none; stroke: currentColor; stroke-width: 1.8; }

.notice { position: fixed; z-index: 30; top: 92px; left: 50%; translate: -50% 0; max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px;
  font-size: 14px; line-height: 1.45; color: #fff; background: var(--glass); -webkit-backdrop-filter: blur(12px) saturate(1.6); backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: var(--glass-shadow); animation: arrive .6s var(--arrive) both; }

/* The card */
.card { position: relative; min-width: 0; min-height: 640px; border-radius: 24px; padding: 40px 56px; display: flex; flex-direction: column; color: #fff;
  background: var(--glass); -webkit-backdrop-filter: blur(12px) saturate(1.6) brightness(.94); backdrop-filter: blur(12px) saturate(1.6) brightness(.94); box-shadow: var(--glass-shadow); }
/* The card arrives once; after that it stays put and only its content changes, so steps never feel like a reload */
.card.enter { animation: arrive 1.1s var(--arrive) .15s both; }
.card { transition: min-height .5s var(--arrive); }
.card.leaving { animation: leave .38s var(--arrive) forwards; }
@keyframes leave { to { opacity: 0; transform: translateY(-8px); filter: blur(8px); } }
.view { flex: 1; display: flex; flex-direction: column; gap: 24px; min-height: 0; }
.view, .pane { animation: swap .45s var(--arrive) both; }
.view--creating, .view--done { animation-duration: .7s; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pane { flex: 1; display: flex; flex-direction: column; gap: 24px; min-height: 0; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

.slot { height: 44px; flex: none; display: flex; align-items: center; gap: 20px; }
.slot--split { justify-content: space-between; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; }
.steps li { height: 2px; border-radius: 999px; flex: 1; background: rgba(255,255,255,.2); transition: background .6s ease; }
.steps li.on { background: var(--blue-light); }
.head { display: flex; flex-direction: column; gap: 14px; }
.head--tight { gap: 12px; }
.h { font-size: 48px; line-height: 1.03; font-weight: 500; letter-spacing: -.033em; color: #fff; text-wrap: balance; }
.h--pay { font-size: 44px; }
.acc { color: var(--blue-light); }
.lead { font-size: 16px; line-height: 1.5; color: var(--g-body); }
.fine { font-size: 13px; line-height: 1.45; color: var(--g-muted); }
.small { font-size: 12px; }
.center { text-align: center; }
.t { font-size: 15px; font-weight: 500; color: #fff; }
.b { color: #fff; font-weight: 500; }
.lbl { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); }
.err { color: #fff; font-weight: 500; }
.push { margin-top: auto; }
.end { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.end--tight { margin-top: 0; }
.end--split { justify-content: space-between; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 500 15px/1 "Inter", sans-serif; letter-spacing: -.005em; cursor: pointer; white-space: nowrap; transition: filter .2s ease, opacity .2s ease, transform .2s var(--spring); }
.primary { justify-content: space-between; padding: 0 8px 0 24px; background: linear-gradient(180deg, #5a80b9, var(--blue)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.18), 0 10px 28px rgba(12,28,60,.38); }
.primary:hover:not(:disabled) { filter: brightness(1.08); }
.primary:active:not(:disabled) { transform: translateY(1px); }
.pill:disabled { opacity: .45; cursor: default; }
.pill.busy .go { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.86); } }
.go { width: 36px; height: 36px; border-radius: 999px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.go svg { width: 14px; height: 14px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.full { width: 100%; min-height: 56px; font-size: 16px; }
.link { background: none; border: 0; padding: 6px 0; font: 400 14px/1.2 "Inter", sans-serif; color: #fff; text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; cursor: pointer; white-space: nowrap; }
.link:hover { text-decoration-color: #fff; }
.link.small { padding: 0; font-size: 13px; }
.link.inline { padding: 0; font-size: 14px; }
.inlink { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; cursor: pointer; }
.qbtn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.18); color: #fff; font: 500 14px "Inter", sans-serif; cursor: pointer; white-space: nowrap; }
.qbtn:hover { background: rgba(255,255,255,.16); }

/* Brackets mark */
.mark { width: 44px; height: 44px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; flex: none; }
.mark svg { width: 18px; height: 18px; fill: #fff; overflow: visible; }
.mark--sm { width: 32px; height: 32px; border-radius: 9px; }
.mark--sm svg { width: 14px; height: 14px; }
.mark--tile { width: 40px; height: 40px; }
.mark--tile svg { width: 16px; height: 16px; }
.mark--in .bTL { animation: inTL .9s var(--spring) .4s both; }
.mark--in .bBR { animation: inBR .9s var(--spring) .4s both; }
.mark--busy .bTL { animation: breatheTL 1.6s ease-in-out infinite; }
.mark--busy .bBR { animation: breatheBR 1.6s ease-in-out infinite; }
@keyframes inTL { from { opacity: 0; transform: translate(-22px,-22px); } to { opacity: 1; transform: none; } }
@keyframes inBR { from { opacity: 0; transform: translate(22px,22px); } to { opacity: 1; transform: none; } }
@keyframes breatheTL { 50% { transform: translate(-7px,-7px); } }
@keyframes breatheBR { 50% { transform: translate(7px,7px); } }

/* Start */
.view--start { gap: 0; padding: 12px 8px 8px; }
.faces { display: flex; align-items: center; }
.stack { display: flex; }
.stack img { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.92); margin-right: -12px; }
.plus { margin-left: 28px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9); }
.wh { margin-top: 56px; font-size: 80px; line-height: .94; font-weight: 500; letter-spacing: -.045em; color: #fff; }
.wsub { margin-top: 22px; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; color: rgba(255,255,255,.92); }
.wrule { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--g-line); }
.wrule .lbl { color: rgba(255,255,255,.9); }
.wend { margin-top: auto; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.view--start .center { margin-top: 20px; }
.view--start .a1 { animation-delay: .4s; } .view--start .a2 { animation-delay: .7s; } .view--start .a3 { animation-delay: 1s; } .view--start .a4 { animation-delay: 1.3s; }

/* Loading */
.view--loading .h { margin-top: 8px; }

/* You */
.me { display: flex; align-items: center; gap: 20px; }
.me-text { display: grid; gap: 2px; }
.avatar { position: relative; width: 64px; height: 64px; border-radius: 999px; flex: none; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(255,255,255,.9);
  background: linear-gradient(180deg, #5a80b9, var(--blue)); }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; display: block; }
.avatar--edit { cursor: pointer; }
.initials { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.cam { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 999px; background: var(--blue); display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(14,15,17,.9); }
.cam svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.avatar--sm { width: 44px; height: 44px; }
.avatar--sm .initials { font-size: 16px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.fl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
.fl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.flbl { font-size: 13px; font-weight: 500; color: var(--g-body); }
/* "I'm 18 or older" on the You step (Relay hardening DP-17): a plain native check in the brand blue. */
.adult { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--g-body); cursor: pointer; }
.adult input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.field { width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--g-field-line); background: var(--g-field); font: 400 16px "Inter", sans-serif; color: #fff; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field::placeholder, .phone-input::placeholder, .suffixed input::placeholder { color: rgba(255,255,255,.4); }
.field:focus, .phone:focus-within, .suffixed:focus-within { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(127,163,214,.18); }
.field[readonly] { background: transparent; border-color: rgba(255,255,255,.12); }
.with-action { position: relative; display: block; }
.with-action .edit { position: absolute; right: 16px; top: 8px; }
.phone { position: relative; display: flex; align-items: stretch; height: 48px; border-radius: 12px; border: 1px solid var(--g-field-line); background: var(--g-field); transition: border-color .2s ease, box-shadow .2s ease; }
.phone-country { display: flex; align-items: center; gap: 8px; padding: 0 14px 0 16px; background: none; border: 0; border-right: 1px solid var(--g-line); color: #fff; font: 500 15px "Inter", sans-serif; cursor: pointer; white-space: nowrap; }
.phone-country svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.phone-input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 16px; color: #fff; font: 400 16px "Inter", sans-serif; outline: none; }
.country-pop { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; display: grid; gap: 8px; padding: 8px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)), rgba(22,23,27,.94); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: var(--glass-shadow); animation: arrive .35s var(--arrive) both; }
.country-search { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--g-field-line); background: var(--g-field); font: 400 16px "Inter", sans-serif; color: #fff; outline: none; }
.country-search:focus { border-color: var(--blue-light); }
.country-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.country-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: #fff; cursor: pointer; }
.country-list li.pinned { margin-bottom: 4px; box-shadow: 0 1px 0 var(--g-line); border-radius: 8px 8px 0 0; }
.country-list li .code { color: var(--g-muted); font-size: 14px; }
.country-list li.active, .country-list li:hover { background: rgba(255,255,255,.08); }
.country-list li[aria-selected="true"] { background: rgba(127,163,214,.18); font-weight: 500; }
.country-none { padding: 10px 12px; }

/* Your brain */
.kv { display: flex; flex-direction: column; border-top: 1px solid var(--g-line); }
.kv-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--g-line); }
.kv-row .link { align-self: flex-start; }
.k { width: 72px; flex: none; font-size: 13px; font-weight: 500; color: var(--g-muted); padding-top: 5px; }
.kv-v { flex: 1; display: grid; gap: 4px; min-width: 0; }
.v { font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: #fff; overflow-wrap: anywhere; }
.v--mail { font-size: 19px; padding-top: 3px; }
.area { display: flex; align-items: center; gap: 10px; }
.field--area { width: 96px; height: 44px; font-weight: 500; letter-spacing: .02em; }
.nlist { display: flex; flex-direction: column; gap: 4px; }
.chip { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: none; color: #fff; font: 500 16px "Inter", sans-serif;
  letter-spacing: -.01em; cursor: pointer; width: 100%; text-align: left; transition: background .2s ease; animation: arrive .6s var(--arrive) both; }
.chip::before { content: ""; width: 18px; height: 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); flex: none; transition: box-shadow .25s var(--spring); }
.chip:hover { background: rgba(255,255,255,.05); }
.chip small { margin-left: auto; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.65); }
.chip[aria-checked="true"] { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--g-line); }
.chip[aria-checked="true"]::before { box-shadow: inset 0 0 0 5px var(--blue-light); }
.nlist .chip:nth-child(2) { animation-delay: .05s; } .nlist .chip:nth-child(3) { animation-delay: .1s; } .nlist .chip:nth-child(4) { animation-delay: .15s; } .nlist .chip:nth-child(n+5) { animation-delay: .2s; }
.suffixed { display: flex; align-items: center; height: 52px; border-radius: 12px; border: 1px solid var(--g-field-line); background: var(--g-field); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.suffixed input { flex: 1; min-width: 0; height: 100%; padding: 0 2px 0 16px; background: none; border: 0; color: #fff; font: 500 17px "Inter", sans-serif; outline: none; text-align: right; }
.suffix { padding: 0 16px 0 0; color: rgba(255,255,255,.6); font: 400 17px "Inter", sans-serif; white-space: nowrap; }
.status { display: flex; align-items: center; gap: 6px; min-height: 19px; }
.status svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ok { color: var(--ok) !important; }
.kv-row--field { flex-direction: column; gap: 8px; }
.kv-row--field .k { padding-top: 0; }
.kv-row--field .kv-v { gap: 8px; }
.suffixed--row { height: 48px; }
.suffixed--row input, .suffixed--row .suffix { font-size: 16px; }

/* Start your free month */
.pay { display: flex; flex-direction: column; gap: 16px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; height: 40px; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.24); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.seg2 button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: none; font: 500 13px "Inter", sans-serif; letter-spacing: -.003em;
  color: var(--g-faint); cursor: pointer; transition: background .3s var(--arrive), color .3s ease, box-shadow .3s ease; }
.seg2 button:disabled { cursor: default; }
.seg2 button.on { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.09)); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 10px rgba(0,0,0,.28); }
.seg2 button.done { color: rgba(255,255,255,.82); }
.seg2 b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.12); color: #fff; }
.seg2 .on b { background: var(--blue); }
.seg2 .done b { font-size: 0; background: var(--blue) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22M5%2010.5l3.2%203.2L15%207%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
.el { min-height: 0; }
/* Our own US address form (Stripe's Billing Address Element cannot be limited to one country) */
.addr { display: flex; flex-direction: column; gap: 10px; }
.arow { display: grid; gap: 10px; }
.arow--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.arow--3 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); }
.addr .fl { gap: 5px; }
.field--sm { height: 40px; padding: 0 14px; font-size: 15px; }
.field--fixed { display: flex; align-items: center; color: rgba(255,255,255,.62); background: transparent; border-color: rgba(255,255,255,.1); white-space: nowrap; overflow: hidden; }
.optl { font-weight: 400; color: var(--g-muted); }
.sel { position: relative; display: block; }
.sel select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; }
.sel select:invalid, .sel select option[value=""] { color: rgba(255,255,255,.4); }
.sel option { color: #111; }
.sel svg { position: absolute; right: 14px; top: 50%; margin-top: -3px; fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.field.bad { border-color: #f2b8b5; }
.loading { display: flex; align-items: center; gap: 10px; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--blue-light); animation: pulse 1s ease-in-out infinite; }
.due-now { font-size: 20px; font-weight: 500; letter-spacing: -.015em; color: #fff; }

/* Creating */
.view--creating { gap: 20px; }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; transition: opacity .5s ease, filter .5s ease, transform .6s var(--arrive); }
#c-h2 { opacity: 0; transform: translateY(12px); filter: blur(10px); }
.awake #c-h1 { opacity: 0; }
.awake #c-h2 { opacity: 1; transform: none; filter: none; }
.kv--rows .crow { display: flex; align-items: center; gap: 16px; height: 44px; border-bottom: 1px solid var(--g-line); }
.crow .k { padding-top: 0; }
.val { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--g-muted); white-space: nowrap; }
.st i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.35); transition: background .4s ease; }
.crow.pend .st i { animation: pulse 1.2s ease-in-out infinite; }
.crow.live .st { color: #fff; }
.crow.live .st i { background: var(--blue-light); }
.msg { margin-top: 0; display: flex; align-items: flex-start; gap: 14px; opacity: 0; padding: 18px 20px 19px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.07); }
.msg-body { display: grid; gap: 12px; flex: 1; }
.msg-hi { font-size: 18px; line-height: 1.4; font-weight: 500; color: #fff; }
.can { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.can li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.86); opacity: 0; }
.can li i { width: 5px; height: 5px; border-radius: 999px; background: var(--blue-light); flex: none; transform: translateY(-2px); }
.msg-end { font-size: 15px; line-height: 1.4; font-weight: 500; color: #fff; opacity: 0; }
.awake .msg { animation: arrive 1.1s var(--arrive) .5s both; }
.awake .c1 { animation: arrive .9s var(--arrive) 1.3s both; }
.awake .c2 { animation: arrive .9s var(--arrive) 1.8s both; }
.awake .c3 { animation: arrive .9s var(--arrive) 2.3s both; }
.awake .c4 { animation: arrive 1s var(--arrive) 3s both; }

/* Ready */
.owner { display: flex; align-items: center; gap: 12px; }
.owner-t { display: grid; gap: 2px; }
.rstate { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--g-muted); }
.rstate::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.35); }
.rstate.on { color: #fff; }
.rstate.on::before { background: var(--blue-light); }
.reach { display: flex; align-items: center; gap: 24px; padding: 20px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.07); }
.qr { width: 140px; height: 140px; border-radius: 16px; background: #fff; padding: 14px; flex: none; display: grid; place-items: center; }
.qr svg { width: 112px; height: 112px; }
.qr.off { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--g-line); }
.qr .mark svg { width: 18px; height: 18px; }
.mark--qr { width: 40px; height: 40px; }
.reach-t { display: grid; gap: 7px; min-width: 0; flex: 1; }
.dnum { font-size: 30px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
#d-email { color: var(--g-body); overflow-wrap: anywhere; }
.tag { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.35); }
.tag.on { color: #fff; }
.tag.on::before { background: var(--blue-light); }
.reach-acts { display: flex; gap: 18px; }
.list { margin-top: auto; display: flex; flex-direction: column; border-top: 1px solid var(--g-line); }
.list--top { margin-top: 0; }
.list--top .li { height: 76px; }
.tr-icons { display: flex; flex: none; }
.tr-icons img { width: 34px; height: 34px; padding: 6px; box-sizing: border-box; border-radius: 10px; background: #fff; box-shadow: 0 0 0 2px rgba(20,21,24,.9); }
.tr-icons img + img { margin-left: -8px; }
.tr-icons .tr-plus { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-left: -8px; background: rgba(255,255,255,.12); box-shadow: 0 0 0 2px rgba(20,21,24,.9); font-size: 12px; font-weight: 600; color: #fff; }
.li { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0; border-bottom: 1px solid var(--g-line); }
.li-t { flex: 1; display: grid; gap: 2px; min-width: 0; }
.li-t .fine { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mono { font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255,255,255,.8); overflow-wrap: anywhere; }
.view--done .s1 { animation-delay: .1s; } .view--done .s2 { animation-delay: .3s; } .view--done .s3 { animation-delay: .5s; }
.view--done .h { animation: rise 1.1s var(--spring) .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: none; } }

/* The brain talking, right of the card */
.aside { flex: 1; align-self: flex-end; max-width: 640px; margin-left: auto; margin-bottom: 0; display: flex; flex-direction: column; gap: 12px; }
.dg { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.05)), rgba(14,15,17,.5);
  -webkit-backdrop-filter: blur(8px) saturate(1.7) brightness(.96); backdrop-filter: blur(8px) saturate(1.7) brightness(.96); box-shadow: var(--glass-shadow); }
.bar { height: 72px; border-radius: 24px; display: flex; align-items: center; gap: 16px; padding: 0 14px 0 16px; opacity: 0; }
.ask-line { flex: 1; min-width: 0; font-size: 20px; letter-spacing: -.015em; color: #fff; white-space: nowrap; overflow: hidden; }
.ask { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 0; }
.caret { display: inline-block; width: 2px; height: 24px; background: #fff; margin-left: 3px; vertical-align: -4px; opacity: 0; }
.send { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.send svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ans { border-radius: 19px; padding: 16px 16px 16px 72px; opacity: 0; display: flex; align-items: center; gap: 16px; }
.ans p { flex: 1; min-width: 0; font-size: 16px; }
.aside { min-width: 0; }
.open { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 18px; border-radius: 999px; flex: none; white-space: nowrap;
  background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.18); color: #fff; font: 500 14px "Inter", sans-serif; letter-spacing: -.005em; text-decoration: none; }
.open:hover { background: rgba(255,255,255,.16); }
.go-sm { width: 26px; height: 26px; border-radius: 999px; background: #fff; display: grid; place-items: center; }
.go-sm svg { width: 12px; height: 12px; fill: none; stroke: #1a1a1a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ans p { font-size: 18px; line-height: 1.35; color: #fff; }
.aside.play .bar { animation: arrive .8s var(--arrive) 1.6s both; }
.aside.play .ask { animation: type 1.3s steps(30, end) 2.1s forwards; }
.aside.play .caret { animation: blip 0s linear 2.1s forwards, blop 0s linear 3.5s forwards; }
.aside.play .send { animation: dip .3s ease 3.4s both; }
.aside.play .ans { animation: arrive 1s var(--arrive) 3.8s both; }
@keyframes type { to { max-width: 20em; } }
@keyframes dip { 50% { transform: translateY(2px); } }

/* Stripe's card form grows (tabs, Link, errors): it takes all the room down to the fine print and scrolls inside it,
   so the card never changes size and the scroll area reaches as far down as it can */
.pay { flex: 1; min-height: 0; }
.el { flex: 1 1 0; min-height: 160px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; margin-right: -6px; padding-right: 6px; }
.view--pay .push { margin-top: 0; }

/* Phone: the photo stays full-bleed, the card becomes a sheet */
@media (max-width: 640px) {
  .shell { padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .logo { width: 120px; height: 26px; margin-left: -6px; }
  .who { font-size: 13px; gap: 14px; }
  .stagebox { padding: 24px 0 16px; }
  .card { min-height: 0; padding: 28px 22px 24px; border-radius: 24px; }
  .view, .pane { gap: 20px; }
  .h { font-size: 36px; }
  .h--pay { font-size: 32px; }
  .wh { font-size: 56px; margin-top: 36px; }
  .wsub { font-size: 18px; }
  .view--start { padding: 4px 0 0; }
  .wend { margin-top: 32px; }
  .v { font-size: 20px; }
  .v--mail { font-size: 16px; }
  .el { height: auto; overflow: visible; }
  .reach { gap: 16px; }
  .qr { width: 96px; height: 96px; padding: 10px; }
  .qr svg { width: 76px; height: 76px; }
  .dnum { font-size: 22px; }
  .end--split { flex-wrap: wrap; }
  .notice { top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0s !important; transition-duration: 1ms !important; }
  .mark--busy .bTL, .mark--busy .bBR { animation: none !important; }
}

/* App Store badge, as in the design: black, thin light rim */
.store { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 8px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
  color: #fff; text-decoration: none; flex: none; }
.store svg { width: 18px; height: 18px; fill: #fff; }
.store-t { display: grid; line-height: 1.05; }
.store-t span { font-size: 9px; font-weight: 400; }
.store-t b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.store.soon { cursor: default; }

/* ---------- Leaving and page changes (2026-10-22) ---------- */
/* Sign out: the card and photo settle away before WorkOS ends the login, instead of a hard cut. */
html.leaving .card { animation: leave .38s var(--arrive) forwards; }
html.leaving .frame { transition: opacity .5s ease; opacity: .35; }
/* Same-origin page changes (to the portal, back to start) cross-fade instead of cutting. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtout .35s var(--arrive) both; }
::view-transition-new(root) { animation: vtin .55s var(--arrive) both; }
@keyframes vtout { to { opacity: 0; } }
@keyframes vtin { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; } }

/* ---------- Half and half (2026-10-23, design canvas "Onboarding: half and half") ---------- */
/* The page: a soft, blurred copy of the step's photo behind everything */
.ambient { position: fixed; inset: 0; overflow: hidden; background: #0e0f11; }
.ambient img { position: absolute; inset: -80px; width: calc(100% + 160px); height: calc(100% + 160px); object-fit: cover; filter: blur(56px) brightness(.42) saturate(1.15); opacity: 0; transition: opacity 1.2s ease; }
.ambient img.on { opacity: 1; }
.ambient.mosaic-on::after { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 620px at 78% 42%, rgba(74,111,165,.30), transparent 70%), radial-gradient(620px 520px at 14% 92%, rgba(242,201,168,.10), transparent 70%); }
.shell { row-gap: 0; }
.card { padding-top: 36px; padding-bottom: 36px; }

/* The frame: the step's photo under Connectry glass, the same height as the card. The rim bends the photo like
   thick glass (app.js lens(), Chromium only); faces stay straight because only the outer edge refracts. */
.frame { position: relative; margin: 0; min-width: 0; min-height: 640px; border-radius: 24px; overflow: hidden; background: #16171a;
  box-shadow: 0 2px 5px rgba(0,0,0,.22), 0 10px 24px rgba(0,0,0,.28), 0 26px 60px rgba(0,0,0,.22); animation: arrive 1.1s var(--arrive) .25s both; }
.frame-media { position: absolute; inset: 0; }
.frame .photo, .frame .cut { object-position: var(--pos, 50% 50%); }
.rim { position: absolute; inset: 0; z-index: 2; border-radius: 24px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0, rgba(255,255,255,.04) 14%, rgba(255,255,255,0) 26%), linear-gradient(180deg, transparent 58%, rgba(10,11,13,.42) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.35), inset 0 0 48px rgba(255,255,255,.07); }
.sheen { position: absolute; inset: 0; z-index: 2; border-radius: 24px; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.2) 50%, rgba(255,255,255,0) 62%); transform: translateX(-110%); animation: sheen 1.8s cubic-bezier(.65,0,.35,1) 1.1s forwards; }
@keyframes sheen { 0% { transform: translateX(-110%); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(110%); opacity: 0; } }

/* Welcome: our people, drifting once in opposite directions and settling. Nothing loops. */
.mosaic { position: absolute; inset: 0; display: flex; gap: 10px; padding-left: 1px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0, #000 18%, #000 62%, rgba(0,0,0,.35) 88%, rgba(0,0,0,.18) 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0, #000 18%, #000 62%, rgba(0,0,0,.35) 88%, rgba(0,0,0,.18) 100%); }
.mz-col { flex: 1; display: flex; flex-direction: column; gap: 10px; will-change: transform; }
.mz-col img { display: block; width: 100%; aspect-ratio: 114 / 150; object-fit: cover; border-radius: 12px; opacity: 0; animation: mz-in 1.4s var(--arrive) forwards; }
.mz-up { transform: translateY(-60px); animation: mz-up 180s cubic-bezier(.16,.6,.3,1) forwards; }
.mz-down { transform: translateY(-420px); animation: mz-down 200s cubic-bezier(.16,.6,.3,1) forwards; }
.mz-slow { animation-duration: 220s; }
@keyframes mz-up { from { transform: translateY(-60px); } to { transform: translateY(-420px); } }
@keyframes mz-down { from { transform: translateY(-420px); } to { transform: translateY(-60px); } }
@keyframes mz-in { from { opacity: 0; transform: scale(.97); } to { opacity: .94; transform: none; } }
.plusone { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; padding: 18px 20px; border-radius: 16px; display: flex; align-items: center; gap: 22px; animation: arrive 1.1s var(--arrive) 1.6s both; }
.plusone .stack { position: relative; display: flex; flex: none; }
.plusone .stack img { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px rgba(30,31,35,.9); }
.plusone .stack img + img { margin-left: -10px; }
.plusone .joins { opacity: 0; transform: translateX(14px) scale(.9); animation: join 1s var(--spring) 2.9s forwards; }
@keyframes join { to { opacity: 1; transform: none; } }
.plusone .badge { position: absolute; right: -8px; top: -8px; height: 18px; min-width: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; display: grid; place-items: center;
  font-size: 10px; font-weight: 600; color: #fff; background: var(--blue); box-shadow: 0 0 0 2px rgba(30,31,35,.9), 0 0 14px rgba(127,163,214,.6); opacity: 0; transform: scale(.4); animation: pop .7s var(--spring) 3.6s forwards; }
@keyframes pop { 60% { opacity: 1; transform: scale(1.12); } to { opacity: 1; transform: none; } }
.plus-t { display: grid; gap: 2px; }

/* Welcome card */
.view--start { gap: 0; }
.view--start .wh { margin-top: 18px; font-size: 64px; line-height: 1; letter-spacing: -.04em; }
.view--start .wsub { font-size: 18px; }
.view--start .wsub { margin-top: 18px; }
.promises { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.promise { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.promise .fine { font-size: 14px; }
.ptile { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), inset 0 0 0 1px rgba(255,255,255,.08), 0 6px 14px -8px rgba(0,0,0,.5); }
.ptile svg { width: 20px; height: 20px; fill: none; stroke: var(--blue-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.view--start .wend { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.view--start .center { margin-top: 14px; }
.pill.quiet { justify-content: center; color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(255,255,255,.1); }
.pill.quiet:hover { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)); }

/* Step bars with their names under them */
.steps--named li { position: relative; margin-bottom: 18px; }
.steps--named li span { position: absolute; top: 10px; left: 0; font-size: 12px; color: rgba(255,255,255,.58); white-space: nowrap; }
.steps--named li.here span { color: #fff; }

/* Choose how you start */
.opts { display: grid; gap: 12px; }
.opt { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 0; border-radius: 18px; padding: 20px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.1); transition: box-shadow .3s, background .3s; }
.opt.on { background: linear-gradient(180deg, rgba(127,163,214,.18), rgba(127,163,214,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1.5px var(--blue-light), 0 12px 30px -16px rgba(74,111,165,.7); }
.opt-h { display: flex; align-items: center; gap: 12px; }
.opt-h .t { flex: 1; }
.radio { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); transition: box-shadow .3s; }
.opt.on .radio { box-shadow: inset 0 0 0 6px var(--blue-light); }
.opt-tag { font-size: 13px; color: rgba(255,255,255,.62); }
.opt-line { display: block; margin: 8px 0 0 32px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.72); }
.opt-inc { display: grid; gap: 8px; margin: 14px 0 0 32px; }
.opt-inc span { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.82); }
.opt-inc svg, .tcheck svg { width: 15px; height: 15px; fill: none; stroke: var(--blue-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Pick your first tools */
.tsearch { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.tsearch:focus-within { box-shadow: inset 0 0 0 1px var(--blue-light), 0 0 0 4px rgba(127,163,214,.18); }
.tsearch svg { width: 18px; height: 18px; flex: none; fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.7; stroke-linecap: round; }
.tsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: 400 16px "Inter", sans-serif; }
.tsearch input::placeholder { color: rgba(255,255,255,.45); }
.tgrid { margin-top: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tool { position: relative; height: 104px; border: 0; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; font: inherit; color: #fff; cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.1); transition: box-shadow .25s, background .25s; }
.tool[aria-pressed="true"] { background: linear-gradient(180deg, rgba(127,163,214,.18), rgba(127,163,214,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1.5px var(--blue-light); }
.ticon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 12px -6px rgba(0,0,0,.5); }
.ticon img { width: 24px; height: 24px; object-fit: contain; display: block; }
.ticon--plus { background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.26), inset 0 0 0 1px rgba(255,255,255,.08); }
.ticon--plus svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; }
.tname { font-size: 13px; font-weight: 500; line-height: 1.25; }
.tcheck { position: absolute; right: 12px; top: 12px; width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--blue-light); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--spring); }
.tcheck svg { stroke: #fff; width: 13px; height: 13px; }
.tool[aria-pressed="true"] .tcheck { opacity: 1; transform: none; }
.tool:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

/* Say hi: the brain talking inside the frame, then the frame opens into the portal */
.frame .aside { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; max-width: none; margin: 0; display: none; }
.frame .aside.play { display: flex; }
.frame .aside .mark { border: 0; padding: 0; cursor: pointer; }
.frame.opening { position: fixed; z-index: 50; transition: top 1.1s cubic-bezier(.65,0,.35,1), left 1.1s cubic-bezier(.65,0,.35,1), width 1.1s cubic-bezier(.65,0,.35,1), height 1.1s cubic-bezier(.65,0,.35,1), border-radius 1.1s cubic-bezier(.65,0,.35,1); }
.frame.opening .photo { transition: filter 1.2s ease .4s; }
.frame.open { border-radius: 0; }
.frame.open .photo { filter: blur(18px) brightness(.5) saturate(1.1) !important; }
.frame.open .aside, .frame.open .credit, .frame.open .rim { opacity: 0; transition: opacity .4s ease; }
/* The portal's arrival frame, drawn here first so the page change is invisible: the portal's dark ground and the
   lockup in the middle at the same size (portal/app.css .veil and .intro-lock match these numbers). */
.intro { position: fixed; inset: 0; z-index: 60; opacity: 0; visibility: hidden; pointer-events: none;
  background: radial-gradient(75% 65% at 100% 0%, rgba(49,71,105,.48), transparent 72%), radial-gradient(65% 60% at 0% 100%, rgba(52,46,42,.48), transparent 72%), linear-gradient(160deg, #131821 0%, #0f1216 55%, #111111 100%); }
.intro-lock { position: absolute; left: 50%; top: 50%; width: clamp(220px, 25vw, 320px); transform: translate(-50%, -50%); }
.intro-lock img { display: block; width: 100%; height: auto; opacity: 0; transform: translateY(8px);
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.intro-shine { position: absolute; inset: 0; opacity: 0;
  -webkit-mask: url("/logo-white.svg") 0 0 / 100% 100% no-repeat; mask: url("/logo-white.svg") 0 0 / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(184,205,236,.95) 50%, transparent 62%, transparent 100%) 100% 0 / 300% 100%; }
html.to-portal .intro { visibility: visible; opacity: 1; transition: opacity 1.3s cubic-bezier(.33,0,.2,1) .9s; }
html.to-portal .intro-lock img { animation: introRise 1.1s cubic-bezier(.22,.61,.36,1) 1.35s both, introFeather 1.3s cubic-bezier(.33,0,.2,1) 1.4s both; }
/* one gentle shimmer once it has formed: never repeats (the design system's no-shimmer rule, waived here by Fabian) */
html.to-portal .intro-shine { animation: introShine 1.25s cubic-bezier(.45,0,.25,1) 2.6s both; }
@keyframes introRise { to { opacity: 1; transform: none; } }
@keyframes introFeather { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes introShine { 0% { background-position: 100% 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { background-position: 0 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html.to-portal .intro { transition: none; }
  html.to-portal .intro-lock img { animation: none; opacity: 1; transform: none; -webkit-mask: none; mask: none; }
  html.to-portal .intro-shine { animation: none; }
}
html.to-portal .card, html.to-portal .top, html.to-portal .foot { opacity: 0; filter: blur(8px); transition: opacity .5s ease, filter .5s ease; }

/* Below a laptop width there is no room for two: the card alone, over the blurred photo */
@media (max-width: 1000px) {
  .stagebox { grid-template-columns: minmax(0, 1fr); }
  .frame { display: none; }
  .card { min-height: 0; }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The footer's three columns need a laptop's width too (10 Nov 2026: between 641 and 1000 px the copyright broke
     into a narrow column and "Contact" ran into the social icons). It stacks here, as it already did on a phone. */
  .foot { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .legal { flex-wrap: wrap; gap: 8px 16px; }
  .foot .social { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .mz-col, .mz-col img { animation: none !important; opacity: .94; } .sheen { display: none; } }

/* Choose: two options fit the card without growing it */
#view-choose { gap: 20px; }
#view-choose .opt { padding: 16px 20px; }
#view-choose .opt-line { margin-top: 6px; }
#view-choose .opt-inc { gap: 6px; margin-top: 10px; }

/* ---------- Our own sign-in (2026-10-24): the same WorkOS sign-in as the iPhone app, on our screens ---------- */
.push-top { margin-top: auto; }
/* One under the other, full width, the same as Continue as on Welcome back */
.provs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.prov { height: 48px; border: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font: 500 15px/1 "Inter", sans-serif; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(255,255,255,.1); transition: background .2s; }
.prov:hover { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)); }
.prov:disabled { opacity: .5; cursor: default; }
.prov:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
.pv { width: 17px; height: 17px; flex: none; }
.or { display: flex; align-items: center; gap: 14px; font-size: 12px; color: rgba(255,255,255,.5); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.emailform { display: grid; gap: 8px; }
.emailform .or { margin-bottom: 10px; }
.emailform .field { height: 52px; border-radius: 14px; }
.last { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.1); }
.last-who { width: 52px; height: 52px; border-radius: 999px; flex: none; display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, rgba(127,163,214,.35), rgba(74,111,165,.35)); }
.last-who img { width: 100%; height: 100%; object-fit: cover; }
.last-who .initials { font-size: 18px; }
.last-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.last-t .fine { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptile--lg { width: 52px; height: 52px; border-radius: 15px; }
.ptile--lg svg { width: 22px; height: 22px; }
.slot .ptile--lg { margin-right: auto; }
/* The code: one real input (paste, autofill, screen readers), drawn as six glass boxes */
.otp { position: relative; height: 76px; }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; font-size: 16px; color: transparent; caret-color: transparent; }
.otp-boxes { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; pointer-events: none; }
.otp-boxes i { font-style: normal; border-radius: 16px; display: grid; place-items: center; font-size: 32px; font-weight: 500; color: #fff;
  background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.16); transition: box-shadow .2s; }
.otp-boxes i.at { box-shadow: inset 0 0 0 1.5px var(--blue-light), 0 0 0 4px rgba(127,163,214,.18); }
.otp-boxes i.at:empty::after { content: ""; width: 2px; height: 30px; background: var(--blue-light); }
.sep { display: inline-block; width: 22px; }
@media (max-width: 640px) { .provs { grid-template-columns: 1fr; } .otp { height: 60px; } .otp-boxes i { font-size: 24px; } }

/* Welcome back with a remembered account: the providers show, the email form opens on request (fits without scrolling) */
#view-signin.has-last:not(.email-open) #signin-form, #view-signin.has-last:not(.email-open) #signin-next { display: none; }
#view-signin.has-last.email-open .provs, #view-signin.has-last.email-open #signin-use-email, #view-signin.has-last.email-open #signin-or { display: none; }
#view-signin.has-last .end { justify-content: space-between; }
.center-link { align-self: center; }

/* The Connectry app icon (25 Oct 2026): every mark tile sits on the icon's own ground, brackets at its proportion. */
.mark { background: #232a36 url(img/app-ground-128.png) center / cover; }
.mark svg { width: 56%; height: 56%; }
.mark--sm svg, .mark--tile svg, .qr .mark svg { width: 56%; height: 56%; }

/* Logo where connectry.io has it (25 Oct 2026): same size (28 px lockup), same corner (the site's gutter, centred
   about 42 px from the top), so going from the website to sign-up the logo does not jump. */
.shell { padding-top: 22px; }
.top { height: 40px; margin-left: calc(max(20px, 4vw) - var(--pad-x)); margin-bottom: 8px; }
.logo { width: 130px; height: 28px; margin-left: 0; }
@media (max-width: 760px) { .top { margin-left: 0; } .logo { width: 120px; height: 26px; margin-left: -6px; } }

/* Signing in (3 Nov 2026): the ground and the lockup while the account loads, then on into the portal's landing.
   The same pieces as the end of sign-up (.intro), quicker: it should feel like an arrival, not a wait. */
.intro { transition: opacity .4s ease, visibility 0s linear .4s; }
html.arriving .intro { visibility: visible; opacity: 1; transition: opacity .45s cubic-bezier(.33,0,.2,1); }
html.arriving .intro-lock img { animation: introRise .8s cubic-bezier(.22,.61,.36,1) .2s both, introFeather .9s cubic-bezier(.33,0,.2,1) .25s both; }
html.to-brain .intro-shine { animation: introShine 1s cubic-bezier(.45,0,.25,1) .25s both; }
html.arriving .card, html.arriving .top, html.arriving .foot { opacity: 0; filter: blur(8px); transition: opacity .35s ease, filter .35s ease; }
@media (prefers-reduced-motion: reduce) {
  html.arriving .intro { transition: none; }
  html.arriving .intro-lock img { animation: none; opacity: 1; transform: none; -webkit-mask: none; mask: none; }
  html.to-brain .intro-shine { animation: none; }
}

/* Welcome back (4 Nov 2026; canvas Lapsed): what is off, what still works, what a restart brings back, two ways on. */
.view--lapsed { gap: 24px; }
.view--lapsed .head { gap: 12px; }
.lp-list { border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); }
.lp-row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 18px; }
.lp-row + .lp-row { box-shadow: 0 -1px 0 rgba(255,255,255,.08); }
.lp-tile { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.lp-tile--brain { background: rgba(74,111,165,.35); }
.lp-tile svg { width: 18px; height: 18px; }
.lp-tile--brain svg path { fill: #fff; }
.lp-tile:not(.lp-tile--brain) svg path { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.lp-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lp-t b { font-size: 15px; font-weight: 500; }
.lp-t small { font-size: 13px; color: var(--g-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--g-muted); }
.lp-st i { width: 6px; height: 6px; border-radius: 999px; background: #8e8f9a; }
.lp-st.live { color: rgba(255,255,255,.86); } .lp-st.live i { background: #7fa3d6; }
.lp-back { display: grid; gap: 10px; }
.lp-perks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #fff; }
.lp-perks svg { flex: none; width: 14px; height: 14px; fill: none; stroke: #7fa3d6; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-acts { margin-top: auto; display: grid; gap: 12px; }
.lp-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-btns .pill { width: 100%; }
@media (max-width: 760px) { .lp-btns { grid-template-columns: minmax(0, 1fr); } }
