/* Public homepage and email login. */
body.xf { --ink:#1d2433; --ink-2:#4b5468; --muted:#8a92a6; --faint:#c2c8d4; --line:#e9edf3; --tint:#f5f7fa;
  --blue:#2f6ff5; --blue-h:#2563eb; --blue-soft:rgba(47,111,245,.09); --green:#1fae6c; --green-soft:rgba(31,174,108,.11);
  --amber:#e8960c; --amber-soft:rgba(232,150,12,.12); --red:#e5484d;
  margin:0; background:#fff; color:var(--ink); min-height:100vh;
  font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif; -webkit-font-smoothing:antialiased; }
body.xf * { box-sizing:border-box; }
body.xf button, body.xf input { font:inherit; color:inherit; }
body.xf [hidden] { display:none !important; }

.xf .ph { display:block; width:100%; height:100%; background:center/contain no-repeat; }

.xf .landing { max-width:1200px; margin:0 auto; padding:0 20px 20px; min-height:calc(100vh - 56px); display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; }
.xf .intro { display:flex; gap:28px; align-items:center; }
.xf .shots { position:relative; width:300px; height:300px; flex:none; }
.xf .shots .ph { position:absolute; width:190px; height:230px; animation:xfbob 6s ease-in-out infinite; }
.xf .shots .ph:nth-child(1) { left:0; top:30px; z-index:3; }
.xf .shots .ph:nth-child(2) { left:60px; top:0; z-index:2; animation-delay:-2s; }
.xf .shots .ph:nth-child(3) { left:115px; top:50px; width:165px; height:200px; z-index:1; animation-delay:-4s; }
@keyframes xfbob { 50% { transform:translateY(-6px); } }

.xf .landing h1 { margin:0; font-size:40px; line-height:1.2; letter-spacing:-.5px; }
.xf .landing h1 em { font-style:normal; color:var(--blue); }
.xf .lead { margin:12px 0 18px; font-size:15px; color:var(--ink-2); }
.xf .points { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.xf .points li { display:flex; gap:10px; align-items:flex-start; }
.xf .points b { display:block; }
.xf .points span { color:var(--muted); font-size:13px; }
.xf .ico { width:30px; height:30px; flex:none; border-radius:9px; background:var(--blue-soft); color:var(--blue); display:grid; place-items:center; }
.xf .login-card { background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:0 1px 2px rgba(20,30,60,.03),0 10px 30px rgba(20,30,60,.06); padding:26px 28px; max-width:420px; width:100%; justify-self:end; }

.xf .tabpane h2 { margin:20px 0 4px; font-size:22px; }
.xf .desc { margin:0 0 6px; color:var(--muted); font-size:13px; }
.xf .fld { display:block; margin-top:12px; }
.xf .fld > span:first-child { display:block; font-size:13px; color:var(--ink-2); margin-bottom:6px; }
.xf .fld input { display:block; width:100%; height:44px; padding:0 12px; border:1px solid var(--line); border-radius:12px; background:#fff; font-size:15px; outline:none; }
.xf .fld input:focus { border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-soft); }
.xf .row { display:flex; gap:8px; }
.xf .ghost { flex:none; height:44px; padding:0 14px; border:0; border-radius:12px; background:var(--tint); color:var(--blue); font-weight:600; cursor:pointer; white-space:nowrap; }
.xf .ghost:disabled { color:var(--muted); cursor:default; }
.xf .msg { min-height:18px; margin:10px 0 0; font-size:12px; color:var(--red); }
.xf .msg.ok { color:var(--green); }
.xf .foot { margin-top:14px; font-size:12px; color:var(--muted); text-align:center; }
.xf .foot a { color:var(--blue); text-decoration:none; }

.xf .btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; height:46px; margin-top:16px; border:0; border-radius:12px; background:var(--blue); color:#fff; font-size:16px; font-weight:700; cursor:pointer; }
.xf .btn:hover { background:var(--blue-h); }
.xf .btn:disabled { opacity:.5; cursor:not-allowed; }

.xf .ph-pro-burgundy{background-image:url('./product-pro-burgundy.webp?v=20261018-login-ui-2')}
.xf .ph-pro-blue{background-image:url('./product-pro-blue.webp?v=20261018-login-ui-2')}
.xf .ph-pro-silver{background-image:url('./product-pro-silver.webp?v=20261018-login-ui-2')}

@media (max-width:1080px) and (min-width:901px) { .xf .shots { display:none; } }

@media (max-width:900px) {
  .xf .landing { grid-template-columns:1fr; min-height:0; gap:20px; padding:8px 16px 32px; }
  .xf .intro { flex-direction:column; gap:6px; text-align:center; }
  .xf .shots { width:230px; height:200px; }
  .xf .shots .ph { width:140px !important; height:170px !important; }
  .xf .shots .ph:nth-child(2) { left:50px; } .xf .shots .ph:nth-child(3) { left:95px; top:30px; }
  .xf .landing h1 { font-size:28px; } .xf .lead { margin:8px 0 0; }
  .xf .points { display:none; }
  .xf .login-card { justify-self:stretch; max-width:none; padding:20px; }
}

@media (prefers-reduced-motion:reduce) { .xf .shots .ph { animation:none; } }
