/* The screens between the landing page and the app (sign-up, sign-in, the legal texts): the same header and footer as the landing page,
   one centred card in between. The header and the footer are the rules of landing.css; this file only adds the page body. */
.flowmain { max-width: 32rem; margin: 0 auto; padding: 16px 20px 56px; min-height: 58vh; }
.flowmain h1 { font-size: clamp(1.8rem, 5vw, 2.3rem); line-height: 1.1; margin: 0 0 10px; }
.flowmain .intro { color: var(--p2); font-size: 1rem; margin: 0 0 6px; }
.flowmain .formcard { max-width: none; }
.flowmain .formcard h1 { margin-top: 0; }
.flowmain .note { margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--amber) 12%, transparent); font-size: .92rem; }
.flowmain .hint { display: block; margin-top: 6px; color: var(--p3); font-size: .82rem; }
.flowmain .hidden, .flowmain [hidden] { display: none !important; }
.flowmain .status.error, .flowmain .error { order: -1; margin: 0 0 14px; min-height: 0; color: var(--red); text-align: center; font-size: .875rem; line-height: 1.4; font-weight: 500; }
.flowmain .error:empty { display: none; }
.flowmain button.link { width: auto; min-height: 44px; margin: 8px 0 0; padding: 6px 0; border: 0; background: none; color: var(--mea); font: inherit; font-size: .95rem; cursor: pointer; }
.flowmain button[disabled] { opacity: .4; }
.flowmain .formcard .btn.primary { margin-top: 16px; }
.flowmain ul.households { list-style: none; padding: 0; margin: 12px 0 0; }
.flowmain ul.households li { margin: 8px 0; }
.flowmain ul.households button { width: 100%; text-align: left; padding: 13px 14px; border: 0; border-radius: 14px; background: var(--fill); color: var(--ptext); font: inherit; cursor: pointer; }
.flowmain .code { font-size: 1.6rem; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.flowmain .formcard input[type=text], .flowmain .formcard input[type=email] { width: 100%; padding: 13px 14px; font: inherit; color: var(--ptext); border: 0; border-radius: 14px; background: var(--fill); }
.flowmain .signout { text-align: center; margin: 14px 0 0; }

/* the legal texts: the same page, a wider column, the text as it was */
.docmain { max-width: 46rem; margin: 0 auto; padding: 8px 20px 56px; }
.docmain h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 8px 0 12px; }
.docmain h2 { font-size: 1.3rem; margin: 30px 0 8px; }
.docmain h3 { font-size: 1.05rem; margin: 20px 0 6px; font-family: var(--f-ui); font-weight: 600; }
.docmain p, .docmain li { line-height: 1.6; }
.docmain ul { padding-left: 22px; }
.docmain .note { color: var(--p2); border: 1px solid var(--sep); border-radius: 12px; padding: 10px 14px; }
/* a legal text in two languages: the one that matches the language switch shows */
html[lang="en"] [data-doc="de"], html:not([lang="en"]) [data-doc="en"] { display: none; }
