/*
Login/Register, its state screens (login-link-sent, login-link-expired, login-link-invalid),
the magic-link landing page (VerifyLogin), the returning-user placeholder (pledge-linked)
and the signed-out page (logged-out).
Sketch "Login Register" frame — body already carries the site-wide dark gradient
(Base.css's body rule), so this page adds only the cloud art and its own content.
*/

/*
Sketch "Login Register": the top cloud starts 31px below the header and the heading's top
edge sits 128px below the cloud's. The cloud is 134.6px tall, so the heading pulls up into
it by the difference. Both clouds are in flow so the bottom one follows the content (27px
below the button in the frame) at any content or viewport height. They are 411px wide, wider
than a 375px viewport: the negative inline margins centre them and .AuthPage's overflow-x:
clip trims the overhang. Not hidden: that makes .AuthPage a scroll container on the y-axis
too, giving a second scrollbar.
*/
main {
	padding-top:                   31px;
}

.AuthPage {
	overflow-x:                    clip;
}

.AuthClouds {
	display:                       block;
	margin-inline:                 calc(50% - 411px / 2);
	width:                         411px;
}

.AuthCloudsTop {
	margin-bottom:                 calc(128px - 134.6px);
}

.AuthCloudsBottom {
	margin-top:                    27px;
}

.AuthPageInner {
	margin-inline:                 auto;
	max-width:                     400px;
	padding-inline:                var(--Viewport-InlinePadding);
	position:                      relative;
}

.AuthPageInner > *:last-child {
	margin-bottom:                 0;
}

.AuthTitle {
	font-family:                   var(--Typeface02-FontFamily);
	font-size:                     48px;
	font-variation-settings:       var(--Typeface02-FontVariationSettings);
	line-height:                   48px;
	margin:                        0 0 8px;
}

.AuthBodyText {
	font-family:                   var(--Typeface03-FontFamily);
	font-size:                     16px;
	font-weight:                   400;
	line-height:                   24px;
	margin:                        0 0 40px;
}

.AuthInlineLink {
	color:                         inherit;
	text-decoration:               underline;
}

.AuthButton {
	width:                         100%;
}

/* Stacked buttons (logged-out). */
.AuthButton + .AuthButton {
	margin-top:                    16px;
}

/*
MagicLinkForm.tpl — LoginForm component markup, styled with Base.css's generic
.FormField* classes (no Forms/*.json backs this, so Templates/Form/*.tpl isn't in play).
*/
.MagicLinkFormError:empty {
	display:                       none;
}

.MagicLinkFormInner .FormField {
	margin-bottom:                 40px;
}

.MagicLinkFormSubmit {
	width:                         100%;
}
