body.landing { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; transition: opacity .35s var(--ease); }
.leaving body.landing { opacity: 0; }

.os { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(36px, 7vh, 88px) var(--gutter) clamp(24px, 5vh, 56px); text-align: center; }
.os-mark { width: clamp(124px, 15vw, 176px); aspect-ratio: 1; color: var(--ink); filter: drop-shadow(0 10px 18px rgb(var(--shadow-rgb) / calc(.08 * var(--shadow-k)))); }
.os-mark svg { width: 100%; height: 100%; overflow: visible; }
.os-name { margin: clamp(18px, 2.6vh, 28px) 0 0; font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.02em; --i: 1; }
.os-line { margin-top: 12px; font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; color: var(--muted); --i: 2; }

.os-card { width: min(440px, 100%); margin-top: clamp(30px, 5vh, 48px); padding: 22px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-md); --i: 3; }
.os-card-h { margin: 0; font-weight: 800; font-size: 17px; line-height: 1.35; text-wrap: balance; }
.os-locked { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 24px; }
.os-lock { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.os-lock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.os-locked .os-btn { margin-top: 4px; }

.os-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; height: 48px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 800; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-sm); -webkit-tap-highlight-color: transparent;
	transition: translate .6s var(--ease), box-shadow .6s var(--ease), scale .6s var(--ease), opacity .6s var(--ease); }
.os-btn.go { padding: 0 14px 0 20px; }
.os-btn svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .6s var(--ease); }
@media (hover: hover) {
	.os-btn:hover { translate: 0 -2px; box-shadow: var(--shadow-md); transition-duration: .35s; }
	.os-btn:hover svg { translate: -2px 0; transition-duration: .35s; }
	.os-btn.go:hover svg { translate: 2px 0; }
}
.os-btn:active { scale: .95; transition-duration: .35s, .35s, .4s, .35s; }

.os-gate { display: grid; padding: 18px 20px 20px; text-align: left; }
.os-state { grid-area: 1 / 1; transition: opacity .45s var(--ease), translate .6s var(--ease), visibility 0s; }
.os-gate:not([data-state="form"]) .os-form, .os-gate:not([data-state="in"]) .os-in { opacity: 0; translate: 0 6px; visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), translate .6s var(--ease), visibility 0s linear .6s; }
.os-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 6px 9px; }
.os-label { flex: none; font-weight: 800; font-size: 13px; color: var(--muted); }
.os-row { display: flex; gap: 10px; }
.os-input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; outline: none;
	box-shadow: inset 0 1px 2px rgb(var(--shadow-rgb) / .08), 0 0 0 0 color-mix(in srgb, var(--ink) 0%, transparent); transition: box-shadow .6s var(--ease), background-color .6s var(--ease); }
@media (hover: hover) { .os-input:hover { background: color-mix(in srgb, var(--paper) 70%, var(--soft)); transition-duration: .35s; } }
.os-input:focus { background: var(--card); box-shadow: inset 0 1px 2px rgb(var(--shadow-rgb) / .04), 0 0 0 2.5px color-mix(in srgb, var(--ink) 85%, transparent); transition-duration: .35s; }
.os-note { min-width: 0; margin: 0; font-weight: 700; font-size: 13px; line-height: 1.3; text-align: right; color: #c2410c; transition: opacity .3s var(--ease); }
.os-note.out { opacity: 0; }
.busy .os-btn.go { opacity: .6; pointer-events: none; }
.busy .os-btn.go svg { animation: os-wait .9s var(--ease) infinite; }
@keyframes os-wait { 50% { translate: 4px 0; } }
.os-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }

@media (max-width: 640px) {
	.os-card { padding: 18px; }
	.os-gate { padding: 16px 16px 16px; }
	.os-row { flex-direction: column; }
	.os-input { flex: none; width: 100%; }
	.os-row .os-btn { width: 100%; }
}

/* the landing as Main's page in the OneShot SideBar page's card: the inner card is paper so it still reads as a card */
.st-view .os { flex: none; padding: clamp(28px, 5vh, 56px) 0 clamp(8px, 2vh, 20px); }
.st-view .os-card { background: var(--paper); box-shadow: none; }
.st-view .os-input, .st-view .os-lock { background: var(--card); }
