/* LAT Lab account page: sign in, create an account, enter the emailed code, new password.
 * Same tokens and look as the tool (css/app.css). No outside files. */
@font-face { font-family: Outfit; font-weight: 100 900; font-display: swap; src: url(outfit.woff) format('woff'); }
:root {
    --paper: #FBFBFD; --card: #FFFFFF; --tint: #F4F7FC; --soft: #E9F0FA; --hair: #DDE3EA; --hair-strong: #B9C6D6;
    --ink: #0B1217; --body: #3D4852; --sub: #586470;
    --blue: #007EF8; --blue-ink: #0062C4; --mint: #00D9C0; --teal: #00BFA9; --teal-ink: #00756A; --red: #E53935; --red-ink: #C02A27;
    --t-xs: 13px; --t-sm: 14px; --t-md: 15px; --t-lg: 17px; --t-xl: 21px;
    --r-control: 8px; --r-card: 12px; --r-full: 999px;
    --ring: 0 0 0 3px #B5D8FD;
    --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; background: radial-gradient(620px 380px at 18% 24%, rgba(0, 126, 248, .07), transparent 70%), radial-gradient(560px 360px at 34% 86%, rgba(0, 217, 192, .08), transparent 70%), var(--paper); color: var(--ink); font-family: Outfit, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: var(--t-md); line-height: 1.45; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

/* header and footer: the same bars as the tool */
.top { display: flex; align-items: center; gap: 16px; padding: 10px 24px; border-bottom: 1px solid var(--hair); background: var(--card); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.powered { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--hair); border-radius: var(--r-full); font-size: var(--t-xs); color: var(--sub); }
.powered svg { height: 20px; width: auto; }
.foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 10px 24px; border-top: 1px solid var(--hair); background: var(--card); font-size: var(--t-xs); color: var(--sub); }
.foot > svg { height: 20px; width: auto; } .foot .sep { width: 1px; height: 18px; background: var(--hair-strong); } .foot .partner { height: 18px; width: auto; }
.foot .fund { color: var(--ink); font-weight: 600; } .foot .docs { margin-left: auto; color: var(--blue-ink); font-weight: 600; text-decoration: none; } .foot .docs:hover { text-decoration: underline; }

/* two columns: what LAT Lab is, and the form */
main { flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 440px); align-items: center; gap: 64px; width: 100%; max-width: 1120px; margin: 0 auto; padding: 32px 24px; }
.pitch h1 { margin: 0 0 14px; font-size: 44px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.pitch .lead { margin: 0 0 26px; max-width: 520px; font-size: 19px; color: var(--body); }
.pitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pitch li { display: flex; align-items: center; gap: 14px; }
.pitch li div { display: flex; flex-direction: column; min-width: 0; } .pitch li div > span { display: block; } .pitch li strong { font-size: var(--t-lg); } .pitch li div span { color: var(--sub); font-size: var(--t-md); }
/* The OptX mark inside a line of text: the height of the letters, never larger. The size is also written
   on the element itself, so it holds even before this file has loaded. */
.optx-inline { height: 17px; width: 52px; margin-right: 6px; vertical-align: -3px; }
.pitch li div a { color: var(--blue-ink); font-weight: 600; text-decoration: none; } .pitch li div a:hover { text-decoration: underline; }
.ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #E3F0FF; color: var(--ink); }
.ic.mint { background: #D9F8F3; } .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.card { padding: 30px 30px 24px; border: 1px solid var(--hair); border-radius: 16px; background: var(--card); box-shadow: 0 18px 44px rgba(11, 18, 23, .07); }
.view { display: flex; flex-direction: column; animation: viewIn .28s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; } to { opacity: 1; } }
h2 { margin: 0 0 4px; font-size: 27px; font-weight: 700; letter-spacing: -.01em; }
.sub { margin: 0 0 16px; color: var(--body); } .sub strong { color: var(--ink); word-break: break-all; }
label { margin: 12px 0 5px; font-size: var(--t-sm); font-weight: 600; } label .hint { margin-left: 6px; font-weight: 400; color: var(--sub); }
input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--hair-strong); border-radius: var(--r-control); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
input:hover { border-color: var(--sub); } input:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
input.bad { border-color: var(--red); }
input.code { height: 56px; text-align: center; font-size: 28px; font-weight: 700; letter-spacing: .32em; font-variant-numeric: tabular-nums; padding-left: .32em; }
input.code::placeholder { color: #C9D2DC; }
.pw { position: relative; } .pw input { padding-right: 64px; }
.eye { position: absolute; right: 6px; top: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--blue-ink); font: inherit; font-size: var(--t-xs); font-weight: 600; cursor: pointer; } .eye:hover { background: var(--tint); }
.meter { height: 4px; margin-top: 8px; border-radius: 2px; background: var(--soft); overflow: hidden; } .meter i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--red); transition: width .25s var(--ease), background .25s; }
.msg { min-height: 20px; margin: 12px 0 0; font-size: var(--t-sm); color: var(--red-ink); } .msg.good { color: var(--teal-ink); } .msg:empty { min-height: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-top: 8px; padding: 0 18px; border: 1px solid var(--hair-strong); border-radius: var(--r-control); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .15s, box-shadow .2s; }
.btn.primary { border-color: var(--blue); background: var(--blue); color: #fff; } .btn.primary:hover { background: var(--blue-ink); box-shadow: 0 6px 16px rgba(0, 126, 248, .25); }
.btn:focus-visible, .link:focus-visible, .eye:focus-visible, .brand:focus-visible { outline: none; box-shadow: var(--ring); }
.btn[disabled] { opacity: .65; cursor: default; box-shadow: none; }
.btn.working::after { content: ''; width: 16px; height: 16px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: var(--t-sm); color: var(--sub); }
.link { padding: 2px 3px; border: 0; border-radius: 4px; background: none; color: var(--blue-ink); font: inherit; font-weight: 600; cursor: pointer; } .link:hover { text-decoration: underline; } .link[disabled] { color: var(--sub); cursor: default; text-decoration: none; }
.fine { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--hair); font-size: var(--t-xs); color: var(--sub); }

@media (max-width: 900px) {
    main { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px 16px; align-items: start; }
    .pitch h1 { font-size: 30px; } .pitch .lead { font-size: 16px; margin-bottom: 0; } .pitch ul { display: none; }
    .card { padding: 22px 18px 18px; } .top, .foot { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .view { animation: none; } .btn.working::after { animation-duration: 2s; } }

/* The full name of the model, marked like with a highlighter; its initials spell LAT. */
.lat-name { padding: 0 3px; border-radius: 4px; background: linear-gradient(transparent 56%, rgba(0, 217, 192, .30) 56%); color: var(--ink); font-weight: 700; white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lat-name b { color: var(--blue); font-weight: 700; } .lat-name i { color: var(--blue-ink); font-style: normal; font-weight: 700; }
@media (max-width: 640px) { .lat-name { white-space: normal; } }
