/* Mobile welcome shares the approved home palette; other screens keep theirs. */
html:not(.desktop):has(.welcome) {
  --bg: #f8f8f2; --text: #252620; --text-2: #62655b; --text-3: #727569;
  --line: rgba(37,38,32,.14); color-scheme: light;
}
html:not(.desktop):has(.welcome) #device { background: var(--bg); }
html.framed:has(.welcome) .status-bar { color: var(--text); background: var(--bg); }
html.framed:has(.welcome) .sb-icons { filter: invert(1); }
html:not(.desktop) .screen.welcome {
  height: var(--app-h); min-height: 0; flex: none; overflow-y: auto;
  padding: calc(var(--top) + 12px) 22px calc(var(--bottom) + 20px);
  scrollbar-width: none; overscroll-behavior-y: contain;
}
html:not(.desktop) .welcome > * { flex-shrink: 0; }
html:not(.desktop) .welcome > .spacer { flex: 1 0 20px; max-height: 32px; }
html:not(.desktop) .welcome-top { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
html:not(.desktop) .welcome .brand-wordmark { display: inline-flex; align-items: center; gap: 6px; font: 800 29px/1 "Twoyo Display", sans-serif; letter-spacing: -1.6px; }
html:not(.desktop) .welcome .brand-period { color: #7b9341; }
html:not(.desktop) .welcome .brand-mark { display: inline-block; width: 32px; height: 30px; position: relative; transform: rotate(-7deg); }
html:not(.desktop) .welcome .brand-mark i { position: absolute; width: 18px; height: 26px; border-radius: 11px; top: 1px; left: 0; background: currentColor; }
html:not(.desktop) .welcome .brand-mark i:last-child { left: 13px; top: 4px; }
html:not(.desktop) .welcome .brand-mark i::after { content: ""; position: absolute; width: 3px; height: 3px; border-radius: 50%; top: 8px; right: 5px; background: #f8f8f2; }
html:not(.desktop) .welcome .mobile-call-preview { display: block; padding: 10px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 8px 26px #25262008; }
html:not(.desktop) .mobile-call-heading { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 8px 10px; font: 600 13px/1.4 "Twoyo Sans", sans-serif; letter-spacing: -.1px; color: #252620; }
html:not(.desktop) .mobile-call-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #7b9341; }
html:not(.desktop) .mobile-call-count { display: inline-flex; align-items: center; gap: 6px; flex: none; margin-left: auto; background: #eef3e2; color: #465c23; padding: 5px 10px; border-radius: 999px; font: 600 12px/1.3 "Twoyo Sans", sans-serif; letter-spacing: .2px; }
html:not(.desktop) .mobile-call-count .i { width: 16px; height: 16px; flex: none; }
html:not(.desktop) .welcome .face-grid { width: 100%; height: clamp(220px, 32dvh, 282px); aspect-ratio: auto; margin: 0; gap: 5px; border-radius: 17px; animation: none; grid-template-rows: 1fr 1fr; }
html:not(.desktop) .welcome-person { border-radius: 12px; min-height: 0; }
html:not(.desktop) .welcome .mobile-call-logo { width: 56px; height: 56px; z-index: 2; background: #252620; border: 5px solid #fff; box-shadow: 0 2px 8px #25262014; }
html:not(.desktop) .welcome .mobile-call-logo img { width: 29px; height: 29px; object-fit: contain; }
html:not(.desktop) .welcome-portrait { object-position: center 35%; }
html:not(.desktop) .mobile-call-label { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 20px 8px 8px; color: #fff; background: linear-gradient(transparent, #0008); font-size: 10px; font-weight: 600; }
html:not(.desktop) .mobile-call-label .i { width: 13px; height: 13px; }
html:not(.desktop) .welcome-person:nth-child(-n+2) .mobile-call-label { top: 0; bottom: auto; padding: 8px 8px 20px; background: linear-gradient(#0008, transparent); }
html:not(.desktop) .welcome-copy { display: flex; flex: 1; flex-direction: column; }
html:not(.desktop) .welcome-text { text-align: left; margin-top: 22px; }
html:not(.desktop) .welcome .welcome-text h1 { font: 750 36px/1.08 "Twoyo Display", sans-serif; letter-spacing: -1px; }
html:not(.desktop) .welcome .brand-highlight { position: relative; isolation: isolate; }
html:not(.desktop) .welcome .brand-highlight::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 1px; height: 4px; background: #d5fa70; border-radius: 50%; transform: rotate(-1.5deg); }
html:not(.desktop) .welcome-text .sub { margin-top: 12px; font-size: 15px; line-height: 1.45; max-width: 330px; }
html:not(.desktop) .welcome-copy > .spacer { flex: 1 0 2px; }
html:not(.desktop) .welcome .welcome-actions { margin-top: 22px; gap: 10px; }
html:not(.desktop) .welcome .btn-primary { border-radius: 999px; background: #252620; color: #f8f8f2; min-height: 54px; }
html:not(.desktop) .welcome .btn-primary:active:not(:disabled) { background: #404337; }
html:not(.desktop) .welcome .welcome-start { display: flex; gap: 12px; min-height: 60px; padding: 12px 22px; box-shadow: 0 3px 10px #2526200d; }
html:not(.desktop) .welcome-start-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: none; }
html:not(.desktop) .welcome-start-icon img { display: block; width: 25px; height: 25px; object-fit: contain; filter: invert(1); }
html:not(.desktop) .welcome-start-label { flex: 1; text-align: left; font: 600 17px/1.3 "Twoyo Sans", sans-serif; letter-spacing: -.2px; }
html:not(.desktop) .welcome-start-arrow { display: grid; place-items: center; }
html:not(.desktop) .welcome-start-arrow .i { width: 22px; height: 22px; }
html:not(.desktop) .welcome-auth-note { color: #62655b; font: 400 12px/1.5 "Twoyo Sans", sans-serif; }
html:not(.desktop) .welcome .legal { margin: 16px 4px 0; font-size: 11px; line-height: 1.6; }
html:not(.desktop) .welcome .legal a { text-decoration: underline; text-decoration-color: #c3c7b8; text-underline-offset: 2px; }
html:not(.desktop) .welcome :focus-visible { outline: 2px solid #526b29; outline-offset: 4px; }
@media (max-width: 350px) {
  html:not(.desktop) .screen.welcome { padding-inline: 18px; }
  html:not(.desktop) .welcome .welcome-text h1 { font-size: 32px; }
}
